:root {
  --primary: #103F45;
  --accent: #F4B54B;
  --background: #F6F3E9;
  --surface: #FFFFFF;
  --text: #163034;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--background); }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; background: var(--text); color: var(--surface); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 760; text-decoration: none; }
.brand img { border-radius: 12px; }
.site-header nav a, .site-footer a { text-underline-offset: 4px; }
.hero { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .75fr); align-items: center; gap: clamp(40px, 8vw, 104px); padding-block: 64px 96px; }
.hero-copy h1 { max-width: 12ch; margin: 8px 0 20px; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .94; letter-spacing: -.055em; }
.eyebrow { margin: 0; color: var(--primary); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tagline { max-width: 34ch; margin: 0 0 12px; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 690; line-height: 1.35; }
.description { max-width: 54ch; margin: 0; color: color-mix(in srgb, var(--text) 74%, transparent); line-height: 1.7; }
.store-row { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 28px; }
.store-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border-radius: 12px; background: #050505; }
.store-button img { width: auto; height: 40px; }
.store-button.disabled { position: relative; cursor: not-allowed; opacity: .62; }
.store-button.disabled small { position: absolute; right: 7px; bottom: 3px; padding: 1px 5px; border-radius: 999px; background: var(--accent); color: #111; font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.hero-device { width: min(100%, 420px); justify-self: center; }
.device-composite { width: 100%; height: auto; }
.device-overlay { position: relative; width: 100%; }
.device-overlay .device-screen { position: absolute; z-index: 1; object-fit: cover; }
.device-overlay .device-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.screens { padding-block: 88px 112px; }
.section-heading { max-width: 700px; margin-bottom: 32px; }
.section-heading h2 { margin: 8px 0 0; font-size: clamp(2rem, 5vw, 4.4rem); letter-spacing: -.04em; }
.screenshot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.screenshot-card { margin: 0; overflow: hidden; border-radius: 22px; background: var(--surface); box-shadow: 0 18px 50px color-mix(in srgb, var(--text) 10%, transparent); }
.screenshot-card img { width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }
.screenshot-card figcaption { padding: 18px 20px 22px; font-weight: 680; line-height: 1.4; }
.site-footer { border-top: 1px solid color-mix(in srgb, var(--text) 12%, transparent); }
.footer-inner { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: color-mix(in srgb, var(--text) 70%, transparent); font-size: .9rem; }
.footer-inner div { display: flex; gap: 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

@media (max-width: 800px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 48px 80px; }
  .hero-device { width: min(82vw, 390px); }
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 72px; }
  .hero-copy h1 { font-size: clamp(2.65rem, 15vw, 4.4rem); }
  .screenshot-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* BorrowKey: warm paper, petrol enamel, and clear editorial hierarchy. */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--background); border-bottom: 1px solid #16303418; min-height: 76px; }
.hero { gap: 72px; padding-block: 68px 78px; }
.hero-copy h1, h2, .document h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; letter-spacing: -.055em; }
.hero-copy h1 { font-size: clamp(3.25rem, 5.5vw, 5.4rem); line-height: 1.04; max-width: 12ch; margin-block: 22px; }
em { color: var(--primary); }
.eyebrow { line-height: 1.6; font-size: .7rem; }
.hero-device { width: min(100%, 340px); transform: rotate(3deg); filter: drop-shadow(0 24px 30px #103f4518); }
.store-row { margin-top: 28px; }
.store-button { background: transparent; border-radius: 0; padding: 0; align-items: flex-start; flex-direction: column; gap: 10px; }
.store-button img { height: 56px; width: auto; }
.store-button.disabled { opacity: 1; cursor: default; }
.store-button.disabled img { filter: grayscale(1); opacity: .48; }
.store-button.disabled small { position: static; background: transparent; padding: 0; color: #536669; font-size: .7rem; font-weight: 700; letter-spacing: .09em; }
.availability { color: #536669; font-size: .8rem; margin-top: 23px; }
.screens { border-top: 1px solid #16303418; padding-block: 74px 88px; }
.section-heading h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.1; }
.screenshot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.screenshot-card { border-radius: 16px; box-shadow: 0 12px 34px #103f4510; border: 1px solid #16303410; }
.screenshot-card img { aspect-ratio: auto; object-fit: contain; height: auto; }
.screenshot-card figcaption { padding: 16px 13px 20px; font-size: .8rem; line-height: 1.45; }
.feature-band { padding-block: 82px 94px; background: #e9e9dc; }
.feature-band h2, .plans h2, .closing h2 { font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.06; margin: 18px 0 45px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 45px 48px; }
.feature-number { display: inline-block; font-family: ui-monospace, monospace; color: #687573; font-size: .8rem; border-top: 2px solid var(--accent); padding-top: 12px; min-width: 40px; }
.feature-grid h3 { font-size: 1.12rem; letter-spacing: -.025em; margin: 16px 0 10px; }
.feature-grid p, .plan-copy p { color: #455e60; line-height: 1.75; font-size: .95rem; margin-block: 0 18px; }
.plans { padding-block: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.plans h2 { font-size: clamp(2.5rem, 4vw, 3.8rem); margin-bottom: 0; }
.plan-copy { padding-top: 20px; }
.plan-copy .fine { font-size: .78rem; line-height: 1.7; }
.closing { text-align: center; border-top: 1px solid #16303418; padding-block: 72px 96px; }
.closing h2 { margin-bottom: 22px; }
.closing p { color: #536669; margin-bottom: 30px; }
.closing .store-button { align-items: center; }
.site-footer { background: #10363b; color: #f6f3e9; }
.footer-inner { color: #d7e0dc; min-height: 142px; flex-wrap: wrap; }
.footer-inner nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-inner small { color: #b8c9c5; font-size: .7rem; }
.maker { text-decoration: none; display: inline-flex; flex-direction: column; gap: 8px; min-height: 44px; justify-content: center; }
.maker span { font-size: .55rem; letter-spacing: .17em; color: #b8c9c5; }
.maker img { width: auto; height: 22px; }
.document { max-width: 780px; padding-block: 72px 96px; line-height: 1.8; }
.document h1 { font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1.05; margin-block: 20px 32px; }
.document h2 { font-size: 2rem; margin-top: 44px; }
.document .lead { font-size: 1.2rem; }
.document a { text-underline-offset: 4px; }
@media (max-width: 900px) { .hero { gap: 40px; } .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .feature-grid { gap: 35px; } }
@media (max-width: 800px) { .hero-copy { text-align: center; } .hero-copy h1 { max-width: 14ch; margin-inline: auto; } .hero-copy .description { margin-inline: auto; } .tagline { max-width: none; } .store-row { justify-content: center; } .hero-device { width: 275px; } .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans { grid-template-columns: 1fr; gap: 18px; padding-block: 72px; } .footer-inner { padding-block: 32px; } }
@media (max-width: 520px) { .wrap { width: calc(100% - 40px); } .hero { padding-block: 42px 64px; } .hero-copy h1 { font-size: 3.15rem; } .hero-device { width: 235px; } .screenshot-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 2px 24px; margin-inline: -2px; } .screenshot-card { flex: 0 0 76%; scroll-snap-align: start; } .feature-grid { grid-template-columns: 1fr; gap: 30px; } .feature-band { padding-block: 64px; } .feature-band h2 { margin-bottom: 35px; } .feature-grid article { max-width: 34ch; } .site-header { min-height: 70px; } .brand img { width: 36px; height: 36px; } .footer-inner nav { gap: 18px; } .document { padding-block: 48px 64px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
