@font-face {
  font-family: "DM Sans";
  src: url("assets/DM-Sans-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --deep: #062d25;
  --app-green: #104b3f;
  --apricot: #ffa56c;
  --pale: #f3f6f3;
  --white: #fff;
  --muted: #52665c;
  --card-ivory: #e5dac4;
  --page-width: 76rem;
  --gutter: clamp(1.5rem, 5.4vw, 5rem);
  --section-space: clamp(4rem, 7.8vw, 7rem);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  color: var(--deep);
  background: var(--pale);
  font-size: 100%;
  line-height: 1.65;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; }
img { max-width: 100%; }
figure { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: .075em; }
a:hover { text-decoration-thickness: .12em; }
a:focus-visible, summary:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 3px; }
main:focus { outline: none; }
p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }
h1, h2 { margin: 0; font-weight: 500; letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.15; }
svg { display: inline-block; flex: 0 0 auto; width: 24px; height: 24px; vertical-align: middle; }
.wrap { width: min(100%, var(--page-width)); margin-inline: auto; padding-inline: var(--gutter); }
.reading { min-width: 0; max-width: 70ch; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.skip-link { position: absolute; z-index: 1; inset-inline-start: 1rem; top: -7rem; padding: .75rem 1rem; background: var(--white); color: var(--deep); }
.skip-link:focus { top: 1rem; }

.opening {
  background: var(--deep);
  color: var(--white);
  border-end-end-radius: clamp(5rem, 13vw, 12rem);
}
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: clamp(1.75rem, 4vw, 3rem); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; height: clamp(2.75rem, 5.5vw, 4.5rem); width: auto; }
.header-links { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); font-weight: 500; }
.contact-link, .languages a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.contact-link:hover { text-decoration: underline; }
.languages { display: flex; gap: .7rem; }
.languages a { min-width: 2rem; justify-content: center; font-size: .875rem; }
.languages a[aria-current] { text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 2px; text-underline-offset: .45em; }
.hero { padding-block: clamp(1.75rem, 4.5vw, 4rem) clamp(3.5rem, 7vw, 6rem); }
.hero h1 { max-width: 35ch; font-size: clamp(1.6rem, 3.2vw, 3rem); line-height: 1.2; }
.status { font-size: .9375rem; margin-block: 1.5rem 1rem; }
.button { display: inline-flex; gap: 1.5rem; align-items: center; justify-content: space-between; min-height: 56px; padding: .8rem 1.4rem; background: var(--apricot); color: var(--deep); border-radius: 100px; font-weight: 500; text-decoration: none; font-size: 1.0625rem; }
.button:hover { background: var(--white); }
.button svg { transition: transform 180ms ease-out; }
.button:hover svg { transform: translateY(3px); }
.button:focus-visible { outline-color: var(--white); }

.section-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.45fr); column-gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.story { padding-block: var(--section-space); }
.story h2 { max-width: 11ch; }
.signature { margin-top: 2rem; padding-top: 1rem; font-weight: 500; }
.signature::before { content: ""; display: block; width: 2.5rem; height: 4px; border-radius: 2px; background: var(--apricot); margin-bottom: 1rem; }
.project { padding-block: var(--section-space); background: var(--white); }
.project h2 { max-width: 13ch; }

.prototype { padding-block: var(--section-space); background: var(--apricot); }
.prototype-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 23rem); column-gap: clamp(3rem, 8vw, 9rem); row-gap: 2rem; align-items: center; }
.prototype-intro { align-self: start; padding-block: 1.5rem; }
.prototype-intro p { max-width: 24ch; font-size: clamp(1.1875rem, 2vw, 1.6rem); line-height: 1.45; margin-top: 1.5rem; }
.account-figure { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 23rem; }
.card-figure { width: 100%; max-width: 22rem; }
.card-personal { grid-column: 1; grid-row: 2; align-self: end; }
.card-business { max-width: 19rem; margin-top: 2rem; }
/* Approved native card family: retain its proportions, lettering and arch artwork. */
.payment-card { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.586; padding: 24px; border-radius: 14px; background: var(--deep); color: var(--white); font-size: 12px; line-height: 1.3; }
.payment-card-ivory { background: var(--card-ivory); color: var(--deep); }
.payment-card-header { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; font-weight: 500; }
.payment-card-wordmark { display: block; width: 100px; height: auto; flex: none; }
.payment-card-arch { position: absolute; right: -2%; bottom: -12%; width: 43%; height: auto; opacity: .075; z-index: 0; }
.payment-card-chip { position: absolute; left: 24px; top: 46%; width: 39px; height: 29px; border: 1px solid #a8976f; border-radius: 6px; background: #d7c89e; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); overflow: hidden; }
.payment-card-chip span:nth-child(3n+2) { border-inline: 1px solid #a8976f; }
.payment-card-chip span:nth-child(-n+3) { border-bottom: 1px solid #a8976f; }
.payment-card-footer { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; align-items: end; justify-content: space-between; gap: 8px; letter-spacing: .4px; font-weight: 500; }
.iphone-device {
  position: relative;
  aspect-ratio: 1311 / 2708;
}
/* Screen opening measured from the original transparent 1311 × 2708 frame.
   The frame itself contains the camera, rim and side buttons. */
.iphone-display { position: absolute; left: 4.119%; top: 1.625%; width: 91.838%; height: 96.75%; display: flex; flex-direction: column; overflow: hidden; border-radius: 10% / 4.6%; background: var(--pale); }
.device-frame { position: relative; z-index: 1; display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }
.iphone-status { display: flex; flex: 0 0 7.15%; justify-content: space-between; align-items: center; padding-inline: 7%; background: var(--pale); color: var(--deep); font-size: 12px; font-weight: 600; }
.device-indicators { display: inline-flex; gap: 7px; align-items: center; }
.device-signal { width: 14px; height: 10px; background: currentColor; clip-path: polygon(0 100%, 0 70%, 20% 70%, 20% 100%, 27% 100%, 27% 40%, 47% 40%, 47% 100%, 54% 100%, 54% 15%, 74% 15%, 74% 100%, 81% 100%, 81% 0, 100% 0, 100% 100%); }
.device-battery { position: relative; width: 19px; height: 10px; border: 1px solid currentColor; border-radius: 2px; }
.device-battery::before { content: ""; position: absolute; inset: 1px; background: currentColor; border-radius: 1px; }
.device-battery::after { content: ""; position: absolute; right: -3px; top: 2px; width: 2px; height: 4px; background: currentColor; border-radius: 1px; }
.iphone-home { position: absolute; inset: auto 0 .6%; display: grid; place-items: center; pointer-events: none; }
.iphone-home::after { content: ""; display: block; width: 34%; height: 4px; border-radius: 3px; background: var(--deep); }
/* Original 390 × 844 capture: bottom alignment removes ~56 top presenter rows
   at this screen ratio. Keep the complete app navigation and original pixels. */
.account-viewport { flex: 1; min-height: 0; overflow: hidden; background: var(--pale); }
.account-viewport img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
figcaption { margin-top: 1.1rem; font-size: .9375rem; line-height: 1.5; }

.business { background: var(--white); padding-block: var(--section-space); }
.business-layout { max-width: 90rem; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.business-copy { padding-inline-start: max(var(--gutter), calc((100vw - var(--page-width)) / 2 + var(--gutter))); min-width: 0; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.business-copy h2 { margin-bottom: 1.6rem; }
.city-figure { min-width: 0; overflow: hidden; border-start-start-radius: clamp(5rem, 12vw, 11rem); }
/* Keep this supporting photo out of native image gestures; its frame owns the rounded edge. */
.city-figure img { display: block; width: 100%; height: clamp(24rem, 38vw, 32rem); object-fit: cover; pointer-events: none; }
.business-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem); }
.business-visual { min-width: 0; }
.business-visual > img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.business-visual h3 { margin: 0; font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 500; line-height: 1.3; }
.business-preview-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .875rem; }

.access { padding-block: var(--section-space); }
.access-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem); gap: clamp(3rem, 9vw, 10rem); align-items: center; }
.access-copy p { margin-top: 1.6rem; max-width: 40ch; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); }
.phone-figure { width: 100%; max-width: 21rem; justify-self: center; }
.handset-device {
  position: relative;
  width: min(100%, 18rem);
  margin-inline: auto;
  aspect-ratio: 296 / 695;
}
/* Device Shots supplies the 242 × 322 opening at (27, 66) in the 296 × 695
   original frame. Scale screen contents with it, never stretch the handset. */
.handset-screen { position: absolute; left: 9.1216%; top: 9.4964%; width: 81.7568%; height: 46.3309%; container-type: inline-size; overflow: hidden; background: var(--pale); color: var(--deep); line-height: 1.4; }
.handset-screen > div { padding: 6.5%; font-size: 6.6cqw; }
.handset-screen p { margin: 0; }
.handset-screen-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: .65em; margin-bottom: 1.1em; border-bottom: 1px solid #a1ae98; font-weight: 600; }
.handset-balance-label { font-size: .875em; }
.handset-screen .handset-balance { margin-top: .15em; font-size: 1.55em; font-weight: 600; letter-spacing: -.025em; white-space: nowrap; }
.handset-receipt { margin-top: 1.1em; padding-top: .85em; border-top: 1px solid #a1ae98; }
.handset-screen .handset-amount { margin-block: .25em; font-size: 1.25em; font-weight: 600; white-space: nowrap; }
.handset-screen .handset-date { margin-top: .5em; font-size: .75em; }
.phone-figure figcaption { max-width: 30ch; margin-inline: auto; }

.closing { background: var(--app-green); color: var(--white); border-start-start-radius: clamp(4rem, 10vw, 9rem); }
.service { padding-block: var(--section-space) 3rem; }
.contact { padding-block: 2rem var(--section-space); }
.contact h2 svg { display: block; width: 32px; height: 32px; margin-top: 1.25rem; color: var(--apricot); }
.contact .reading { align-self: center; }
.contact a { text-decoration-color: var(--apricot); overflow-wrap: anywhere; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 2.5rem; }
.footer-brand { display: inline-flex; flex: 0 0 auto; }
.footer-brand img { display: block; width: auto; height: 2.5rem; }
.site-footer p { color: var(--muted); font-size: .875rem; text-align: end; }
.footer-meta { min-width: 0; max-width: 56ch; text-align: end; }
.footer-meta > p { margin: 0; }
.footer-legal { display: inline-flex; align-items: center; white-space: nowrap; }
.footer-separator { margin-inline: .4rem; }
.legal-link { display: inline-flex; align-items: center; min-height: 44px; }
.legal-header { background: var(--deep); color: var(--white); }
.legal-content { padding-block: var(--section-space); }
.legal-content h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.1; }
.legal-intro { margin-top: 1.5rem; }
.legal-content section { margin-top: 2.5rem; }
.legal-content h2 { margin-bottom: 1rem; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.25; }
.legal-return { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 90rem) {
  .business-copy { padding-inline-start: calc((90rem - var(--page-width)) / 2 + var(--gutter)); }
}

@media (max-width: 48rem) {
  .section-grid, .prototype-layout, .business-layout, .access-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .story h2, .project h2 { max-width: 18ch; }
  .prototype-intro { padding: 0; }
  .prototype-intro p { max-width: 30ch; margin-block: 1rem 0; }
  .account-figure, .phone-figure { justify-self: center; width: min(100%, 21rem); }
  .account-figure { grid-column: 1; grid-row: 2; }
  .card-personal { grid-column: 1; grid-row: 3; width: min(100%, 19rem); justify-self: center; }
  .business-copy { padding-inline: var(--gutter); }
  .city-figure img { height: 17rem; }
  .business-showcase { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .service { padding-bottom: 2rem; }
  .contact { padding-top: 1.5rem; }
  .contact h2 svg { display: inline; margin: 0 0 0 .5rem; width: 24px; height: 24px; }
  .site-footer { flex-direction: column; align-items: start; gap: 1.5rem; }
  .site-footer p { text-align: start; }
  .footer-meta { text-align: start; }
}

@media (max-width: 23rem) {
  .site-header { gap: .5rem; }
  .brand img { height: 2.1rem; }
  .header-links { gap: .65rem; font-size: .875rem; }
  .languages { gap: .5rem; }
  .hero h1 { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button svg { transition: none; }
}

@media print {
  .skip-link, .header-links, .button { display: none; }
  .opening, .closing, .prototype { print-color-adjust: exact; }
  .section-grid, .prototype-layout, .business-layout, .access-layout { display: block; }
  section { break-inside: avoid; }
  .account-figure, .phone-figure { max-width: 15rem; margin-block: 1.5rem; }
}
