:root {
  --ink: #0a1f3d;
  --ink-soft: #173253;
  --periwinkle: #c4d4f0;
  --sage: #5a8f7e;
  --sage-text: #3f6c60;
  --sage-light: #86b8a8;
  --paper: #f3f1ec;
  --white: #fefefe;
  --text: #1a1d23;
  --muted: #5a5f6b;
  --tertiary: #686e79;
  --coral: #c4706a;
  --line: rgba(10, 31, 61, 0.14);
  --shell: min(1180px, calc(100% - 40px));
  --focus: #2d6cdf;
  --header-height: 72px;
  --ease: 220ms cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body { margin: 0; color: var(--text); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button, a { touch-action: manipulation; }
button { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif; letter-spacing: -.045em; text-wrap: balance; }
h1 { max-width: 720px; margin-bottom: 26px; font-size: clamp(3.1rem, 6.2vw, 5.9rem); font-weight: 650; line-height: .97; }
h2 { margin-bottom: 22px; font-size: clamp(2.25rem, 4.6vw, 4.25rem); font-weight: 630; line-height: 1.02; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(96px, 11vw, 160px) 0; }
.section-kicker, .eyebrow { margin-bottom: 18px; color: var(--sage-text); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 16px; color: white; background: var(--ink); border-radius: 8px; transform: translateY(-140%); transition: transform var(--ease); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }

.site-header { position: sticky; z-index: 100; top: 0; min-height: var(--header-height); border-bottom: 1px solid rgba(10, 31, 61, .08); background: rgba(243, 241, 236, .86); backdrop-filter: blur(20px) saturate(140%); }
.nav { min-height: var(--header-height); display: flex; align-items: center; gap: 30px; }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav-links a, .footer-links a { color: var(--muted); font-size: .9rem; font-weight: 560; text-decoration: none; transition: color var(--ease); }
.nav-links a:hover, .footer-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.language-switcher { display: flex; align-items: center; gap: 4px; color: var(--tertiary); }
.language-switcher button { min-width: 36px; min-height: 44px; padding: 0; color: var(--tertiary); background: none; border: 0; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { color: var(--ink); font-weight: 750; }
.nav-cta { min-height: 44px; display: inline-flex; align-items: center; padding: 0 17px; color: white; background: var(--ink); border-radius: 12px; font-size: .86rem; font-weight: 650; text-decoration: none; transition: background var(--ease), transform var(--ease); }
.nav-cta:hover, .button-primary:hover { background: var(--ink-soft); transform: translateY(-1px); }

.hero { position: relative; min-height: calc(100dvh - var(--header-height)); overflow: hidden; padding: clamp(64px, 8vw, 116px) 0 36px; }
.hero-arc { position: absolute; z-index: -1; top: -14%; left: 59%; width: min(58vw, 830px); height: 126%; border-radius: 52% 0 0 52%; background: var(--periwinkle); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 72px); }
.hero-copy { padding-bottom: 40px; }
.hero-lede { max-width: 620px; margin-bottom: 32px; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.32rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 24px; }
.store-download { display: inline-flex; flex-direction: column; align-items: flex-start; }
.store-start { margin: 0 0 13px; color: var(--ink); font-size: .78rem; font-weight: 750; letter-spacing: .1em; line-height: 1; text-transform: uppercase; }
.store-badge-link { display: inline-block; border-radius: 8px; }
.store-badge { width: auto; height: 50px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 23px; border-radius: 13px; font-weight: 650; text-decoration: none; transition: background var(--ease), transform var(--ease); }
.button-primary { color: white; background: var(--ink); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 620; }
.price-line { max-width: 620px; margin: 22px 0 0; color: var(--ink); font-size: .93rem; font-weight: 620; line-height: 1.5; }
.product-figure { width: min(112%, 650px); margin: 0 auto; }
.device-stage { position: relative; height: clamp(350px, 42vw, 540px); }
.hero-device { position: absolute; filter: drop-shadow(0 22px 34px rgba(10,31,61,.2)); }
.hero-device img { width: 100%; }
.hero-device-mac { top: 7%; right: 0; width: 92%; }
.hero-device-ipad { right: -1%; bottom: 4%; width: 48%; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; }
.hero-device-iphone { bottom: 0; left: 0; width: 23%; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; }
.product-figure figcaption { margin: 14px 8px 0; color: rgba(10,31,61,.72); font-size: .72rem; line-height: 1.4; text-align: center; }
.proof-line { margin-top: 38px; padding-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(10,31,61,.18); color: var(--ink); font-size: .82rem; font-weight: 650; letter-spacing: .02em; }
.proof-line span:nth-child(2) { text-align: center; }
.proof-line span:last-child { text-align: right; }

.principles { background: var(--white); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.principle-grid article { padding-top: 26px; border-top: 2px solid var(--ink); }
.principle-grid h2 { margin-bottom: 18px; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.principle-grid p, .section-copy > p:last-child, .section-heading > p:last-child { max-width: 620px; margin-bottom: 0; color: var(--muted); }
.feature-media-grid { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: .78fr 1.22fr; gap: 28px; }
.feature-media { min-width: 0; margin: 0; padding: 30px; overflow: hidden; border-radius: 28px; }
.feature-media-copy p { margin-bottom: 8px; color: var(--sage-text); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.feature-media-copy h3 { max-width: 520px; margin-bottom: 0; color: var(--ink); font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.035em; line-height: 1.08; }
.share-demo { background: var(--white); }
.phone-pair { margin: 28px auto -112px; display: grid; grid-template-columns: repeat(2, 1fr); align-items: start; gap: 18px; }
.phone-shot { overflow: hidden; background: var(--paper); border: 1px solid rgba(10,31,61,.12); border-radius: 28px; box-shadow: 0 18px 32px rgba(10,31,61,.13); }
.phone-shot img { width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; object-position: top; }
.preview-demo { color: var(--periwinkle); background: var(--white); }
.preview-demo .feature-media-copy p { color: var(--sage-text); }
.preview-demo .feature-media-copy h3 { color: var(--ink); }
.preview-window { margin-top: 42px; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 16px; box-shadow: 0 22px 42px rgba(0,0,0,.24); }
.preview-window img { width: 100%; }

.split-layout, .retrieve-grid, .privacy-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: center; gap: clamp(64px, 10vw, 140px); }
.section-copy h2 { max-width: 540px; }
.cache-composition { position: relative; min-height: 570px; }
.saved-slip { position: absolute; z-index: 2; width: clamp(200px, 25vw, 310px); padding: 19px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(10,31,61,.09); }
.saved-slip span { display: block; margin-bottom: 4px; color: var(--tertiary); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.saved-slip strong { color: var(--ink); font-size: 1.04rem; }
.slip-link { top: 18px; left: 2%; transform: rotate(-4deg); }
.slip-text { top: 132px; right: 0; transform: rotate(3deg); }
.slip-image { top: 250px; left: 7%; transform: rotate(-2deg); }
.slip-pdf { top: 356px; right: 4%; transform: rotate(4deg); }
.cache-pocket { position: absolute; z-index: 3; right: 19%; bottom: 0; width: 250px; height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); }
.cache-pocket img { margin-bottom: 9px; border-radius: 17px; }
.cache-pocket span { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.capture-methods { margin-top: clamp(66px, 8vw, 108px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.capture-methods article { padding-top: 23px; border-top: 2px solid var(--ink); }
.capture-method-label { margin-bottom: 24px; color: var(--sage-text); font-size: .72rem; font-weight: 750; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.capture-methods h3 { margin-bottom: 12px; color: var(--ink); font-size: 1.24rem; letter-spacing: -.025em; line-height: 1.15; }
.capture-methods article > p:last-child { margin-bottom: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.content-section { background: var(--white); }
.section-heading { max-width: 780px; }
.content-rows { margin-top: 72px; border-top: 1px solid var(--line); }
.content-rows > div { min-height: 98px; display: grid; grid-template-columns: 20px 160px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); }
.content-rows strong { color: var(--ink); font-size: 1.25rem; }
.content-rows p { margin: 0; color: var(--muted); }
.type-icon { width: 21px; height: 21px; display: grid; place-items: center; }
.type-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.type-url { color: var(--periwinkle); }.type-text { color: var(--ink); }.type-image { color: var(--sage-text); }.type-pdf { color: var(--coral); }

.retrieve { overflow: hidden; }
.retrieve-grid { grid-template-columns: 1.08fr .92fr; }
.retrieve-shot { margin: 0; overflow: hidden; border-radius: 28px; box-shadow: 0 24px 54px rgba(10,31,61,.16); }
.retrieve-shot img { width: 100%; }
.retrieve-list { position: relative; min-height: 460px; padding: 54px; overflow: hidden; color: var(--periwinkle); background: var(--ink); border-radius: 40% 40% 26px 26px; }
.retrieve-list > span { min-height: 66px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(196,212,240,.2); font-size: 1.22rem; font-weight: 620; }
.retrieve-list b { font-variant-numeric: tabular-nums; font-weight: 500; opacity: .72; }
.search-pill { position: absolute; right: 34px; bottom: 28px; left: 34px; padding: 14px 18px; color: rgba(10,31,61,.64); background: var(--periwinkle); border-radius: 12px; font-size: .9rem; }

.privacy { color: var(--periwinkle); background: var(--ink); }
.privacy h2 { color: var(--periwinkle); }
.privacy .section-kicker { color: var(--sage-light); }
.privacy-grid > div > p:not(.section-kicker) { max-width: 600px; color: rgba(232,234,237,.75); }
.privacy-link { min-height: 44px; display: inline-flex; align-items: center; font-weight: 650; }
.privacy ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(196,212,240,.2); }
.privacy li { padding: 24px 0; display: grid; grid-template-columns: 170px 1fr; gap: 24px; border-bottom: 1px solid rgba(196,212,240,.2); }
.privacy li span { color: rgba(232,234,237,.7); font-size: .92rem; }

.pricing-heading { max-width: 700px; }
.tier-table { margin-top: 72px; border-top: 1px solid var(--line); }
.tier-table article { padding: 44px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; border-bottom: 1px solid var(--line); }
.tier-name { margin-bottom: 6px; color: var(--ink); font-size: 1.15rem; font-weight: 700; }
.tier-price { margin-bottom: 0; color: var(--ink); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tier-note { margin: 9px 0 0; color: var(--sage-text); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tier-table ul { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; list-style: none; }
.tier-table li { position: relative; padding-left: 20px; color: var(--muted); }
.tier-table li::before { content: ""; position: absolute; top: .66em; left: 0; width: 7px; height: 7px; background: var(--sage); border-radius: 50%; }
.tier-pro { padding-inline: 28px !important; background: rgba(196,212,240,.3); }

.final-cta { background: var(--periwinkle); }
.final-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 44px; }
.final-grid > img { border-radius: 25px; box-shadow: 0 14px 30px rgba(10,31,61,.14); }
.final-grid h2 { margin: 0; font-size: clamp(2.3rem, 4.8vw, 4.5rem); }
.final-grid .section-kicker { margin-bottom: 10px; }
.final-grid .store-start { color: var(--ink); }

footer { padding: 42px 0; color: var(--muted); background: var(--white); font-size: .84rem; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; }
.footer-brand { display: flex; align-items: center; gap: 6px; }
.footer-brand img { margin-right: 6px; border-radius: 8px; }
.footer-brand a { color: var(--ink); font-weight: 650; }
.footer-links { display: flex; gap: 24px; }
.footer-links a, .footer-brand a { min-height: 32px; display: inline-flex; align-items: center; }
.footer-grid > p { margin: 0; white-space: nowrap; }
.footer-grid .apple-legal { grid-column: 1 / -1; max-width: 880px; color: var(--tertiary); font-size: .72rem; line-height: 1.45; white-space: normal; }

@media (max-width: 960px) {
  :root { --shell: min(100% - 36px, 760px); }
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero-arc { top: 42%; left: 28%; width: 100%; height: 64%; }
  .hero-grid, .split-layout, .retrieve-grid, .privacy-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero-copy { padding-bottom: 16px; }
  .product-figure { width: min(92%, 650px); }
  .device-stage { height: min(540px, calc((100vw - 36px) * .83)); }
  .principle-grid { gap: 28px; }
  .feature-media-grid { grid-template-columns: 1fr; }
  .phone-pair { width: min(100%, 520px); margin-bottom: -150px; }
  .capture-methods { grid-template-columns: repeat(2, 1fr); gap: 50px 28px; }
  .split-layout, .retrieve-grid, .privacy-grid { gap: 64px; }
  .section-copy { max-width: 660px; }
  .retrieve-list, .retrieve-shot { order: 2; }
  .privacy li { grid-template-columns: 150px 1fr; }
  .final-grid { grid-template-columns: auto 1fr; }
  .final-grid > .store-download { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-grid > p { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --shell: min(100% - 32px, 560px); --header-height: 64px; }
  body { font-size: 16px; }
  .section { padding: 88px 0; }
  .nav { gap: 12px; }
  .brand img { width: 32px; height: 32px; }
  .brand span { display: none; }
  .nav-actions { margin-left: auto; gap: 8px; }
  .nav-cta { padding: 0 13px; }
  .hero { padding-top: 52px; }
  .hero-arc { top: 46%; left: 15%; width: 128%; height: 60%; }
  h1 { font-size: clamp(2.85rem, 13vw, 4rem); }
  .hero-lede { font-size: 1.05rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .product-figure { width: 100%; }
  .device-stage { height: min(540px, calc((100vw - 32px) * .83)); }
  .proof-line { gap: 20px; grid-template-columns: 1fr; }
  .proof-line span, .proof-line span:nth-child(2), .proof-line span:last-child { text-align: left; }
  .principle-grid { grid-template-columns: 1fr; gap: 46px; }
  .feature-media { padding: 22px; border-radius: 22px; }
  .phone-pair { margin-bottom: -72px; gap: 12px; }
  .phone-shot { border-radius: 20px; }
  .preview-window { margin-top: 28px; border-radius: 12px; }
  .capture-methods { grid-template-columns: 1fr; gap: 42px; }
  .cache-composition { min-height: 520px; }
  .saved-slip { width: min(74%, 280px); }
  .slip-link { left: 0; }.slip-text { right: 0; }.slip-image { left: 3%; }.slip-pdf { right: 0; }
  .cache-pocket { right: 10%; width: 220px; height: 145px; }
  .content-rows > div { padding: 22px 0; grid-template-columns: 16px 1fr; gap: 6px 14px; }
  .content-rows p { grid-column: 2; }
  .retrieve-list { min-height: 420px; padding: 40px 30px; border-radius: 28% 28% 22px 22px; }
  .privacy li { grid-template-columns: 1fr; gap: 6px; }
  .tier-table article { grid-template-columns: 1fr; gap: 32px; }
  .tier-table ul { grid-template-columns: 1fr; }
  .tier-pro { padding-inline: 18px !important; }
  .final-grid { grid-template-columns: 1fr; justify-items: start; }
  .final-grid > .store-download { grid-column: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; gap: 12px 22px; }
  .footer-grid > p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (forced-colors: active) {
  .type-icon, .tier-table li::before { border: 1px solid CanvasText; }
}
