:root {
  --ink: #0b1928;
  --ink-2: #10283a;
  --cream: #f5efe3;
  --paper: #fffdf8;
  --teal: #28b8ad;
  --teal-dark: #167f7a;
  --coral: #ff684b;
  --muted: #64717b;
  --line: rgba(11, 25, 40, .14);
  --shadow: 0 24px 70px rgba(11, 25, 40, .16);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--teal-dark); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; }
p { line-height: 1.7; }

.site-header { position: sticky; top: 0; z-index: 50; padding: 14px 0; background: rgba(245,239,227,.88); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: border-color .18s ease, background .18s ease; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(255,253,248,.94); }
.nav { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:not(.nav-cta) { color: #3e4a54; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-cta { padding: 12px 18px; color: white; background: var(--ink); border-radius: 10px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.hero { position: relative; overflow: hidden; padding: 76px 0 92px; }
.hero::before { content: ''; position: absolute; width: 560px; height: 560px; right: -180px; top: -270px; border-radius: 50%; background: rgba(40,184,173,.18); filter: blur(1px); }
.hero-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 72px; }
.hero-copy h1 { max-width: 680px; margin-bottom: 24px; font-size: clamp(54px, 6.4vw, 92px); line-height: .94; }
.hero-copy .lead { max-width: 610px; margin-bottom: 30px; color: #46535d; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 800; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(11,25,40,.14); }
.button-primary { color: white; background: var(--ink); }
.button-secondary { background: transparent; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 13px; }

.product-stage { position: relative; padding: 20px 0; }
.product-stage::after { content: ''; position: absolute; inset: 9% 4% -3% 8%; z-index: -1; border-radius: 40px; background: var(--coral); transform: rotate(2.2deg); }
.device { overflow: hidden; background: #050b12; border: 10px solid var(--ink); box-shadow: var(--shadow); }
.device-tablet { border-radius: 28px; }
.device-phone { border-width: 7px; border-radius: 30px; }
.device img { width: 100%; height: auto; object-fit: contain; }
.authentic-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #52606a; font-size: 12px; font-weight: 700; }
.authentic-label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }

.proof { padding: 22px 0; color: white; background: var(--ink); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { padding: 12px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-item strong { display: block; margin-bottom: 5px; font-size: 15px; }
.proof-item span { color: #adbbc5; font-size: 12px; }

.story { padding: 128px 0; }
.story-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: center; gap: 80px; }
.story-copy { max-width: 460px; }
.story h2, .section-head h2, .split-copy h2, .study-copy h2, .pricing-head h2 { margin-bottom: 22px; font-size: clamp(44px, 5vw, 72px); line-height: .98; }
.story-copy > p:not(.eyebrow), .split-copy > p:not(.eyebrow), .study-copy > p:not(.eyebrow) { color: #53606a; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.feature-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); color: #34424c; font-size: 14px; }
.feature-list li::before { content: '↗'; color: var(--coral); font-weight: 900; }
.visual-card { position: relative; padding: 34px; background: #e7dcc7; border: 1px solid var(--line); border-radius: 20px; }
.visual-card .device { max-width: 920px; margin: auto; }
.visual-caption { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; color: #4d5962; font-size: 12px; }

.dark-section { padding: 128px 0; color: white; background: var(--ink); }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: end; margin-bottom: 54px; }
.section-head p { max-width: 580px; margin-bottom: 0; color: #b6c2ca; }
.dark-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dark-card { min-height: 510px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: var(--ink-2); }
.dark-card-copy { padding: 34px 34px 24px; }
.dark-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.dark-card p { max-width: 460px; color: #aec0ca; font-size: 14px; }
.dark-card-media { padding: 0 34px 34px; }
.dark-card-media.phone { display: flex; justify-content: center; }
.dark-card-media.phone .device { width: min(330px, 78%); }
.dark-card-media.tablet .device { width: 100%; }
.coral-card { display: flex; flex-direction: column; justify-content: space-between; color: var(--ink); background: var(--coral); border-color: transparent; }
.coral-card p { color: #43251e; }
.object-demo { width: min(360px, calc(100% - 68px)); margin: 0 auto 44px; padding: 28px; color: var(--ink); background: #fff8ed; border: 2px dashed rgba(11,25,40,.45); transform: rotate(-2deg); box-shadow: 12px 14px 0 rgba(11,25,40,.12); }
.object-demo strong { display: block; font-family: var(--serif); font-size: 31px; }
.object-demo span { font-weight: 800; }

.split-section { padding: 128px 0; }
.split-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; }
.split-visual { padding: 30px; background: #d8eee9; border-radius: 20px; border: 1px solid var(--line); }
.split-visual .device { border-radius: 20px; }
.split-copy { max-width: 460px; }
.metric-grid { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.metric { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.metric strong { text-transform: uppercase; letter-spacing: .08em; }
.metric span { color: #5b6871; }

.study-section { padding: 128px 0; color: white; background: #10283a; }
.study-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: center; }
.study-copy p:not(.eyebrow) { color: #c1ced6; }
.study-panel { padding: 34px; color: var(--ink); background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); }
.study-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.study-top strong { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.date-pill { padding: 9px 12px; color: white; background: var(--coral); border-radius: 8px; font-size: 12px; font-weight: 800; }
.progress-ring { width: 148px; aspect-ratio: 1; display: grid; place-items: center; margin: 0 auto 28px; border-radius: 50%; background: conic-gradient(var(--teal) 0 68%, #dce4e3 68%); }
.progress-ring::before { content: '68%'; width: 108px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--paper); font: 500 34px var(--serif); }
.study-bars { display: grid; gap: 13px; }
.study-bar { display: grid; grid-template-columns: 120px 1fr 42px; align-items: center; gap: 12px; font-size: 12px; }
.track { height: 8px; overflow: hidden; border-radius: 999px; background: #dfe5e4; }
.track span { display: block; height: 100%; border-radius: inherit; background: var(--teal); }

.pricing { padding: 128px 0; }
.pricing-head { max-width: 760px; margin-bottom: 50px; }
.pricing-head > p:not(.eyebrow) { color: #53606a; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.price-card { padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.55); }
.price-card.pro { color: white; background: var(--ink); border-color: var(--ink); }
.price-card h3 { font: 500 34px var(--serif); }
.price { margin: 22px 0 8px; font: 500 58px var(--serif); letter-spacing: -.04em; }
.price small { font: 600 14px var(--sans); letter-spacing: 0; }
.old-price { color: #7e8b94; text-decoration: line-through; }
.launch-pill { display: inline-block; margin-bottom: 24px; padding: 8px 11px; border-radius: 7px; color: var(--ink); background: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price-card ul { list-style: none; padding: 0; margin: 28px 0 0; }
.price-card li { padding: 11px 0; border-top: 1px solid currentColor; border-color: rgba(100,113,123,.2); font-size: 14px; }
.price-card.pro li { border-color: rgba(255,255,255,.14); }

.final-cta { padding: 110px 0; text-align: center; color: white; background: var(--teal-dark); }
.final-cta h2 { max-width: 850px; margin: 0 auto 26px; font-size: clamp(46px, 6vw, 80px); line-height: .98; }
.final-cta p { max-width: 620px; margin: 0 auto 28px; color: #d9f1ee; }
.final-cta .button { color: var(--ink); background: white; border-color: white; }

.site-footer { padding: 54px 0 30px; color: #c5d0d7; background: #07121d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; }
.footer-brand p { max-width: 320px; margin-top: 18px; color: #83929d; font-size: 13px; }
.footer-col strong { display: block; margin-bottom: 14px; color: white; font-size: 13px; }
.footer-col a { display: block; margin: 10px 0; color: #93a2ac; text-decoration: none; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #74838d; font-size: 12px; }

/* Feature index */
.page-hero { padding: 82px 0 70px; }
.page-hero h1 { max-width: 950px; margin-bottom: 24px; font-size: clamp(58px, 7vw, 102px); line-height: .92; }
.page-hero .lead { max-width: 720px; color: #53606a; font-size: 18px; }
.feature-index { padding: 0 0 110px; }
.feature-row { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; align-items: center; padding: 82px 0; border-top: 1px solid var(--line); }
.feature-row:nth-child(even) { grid-template-columns: 1.22fr .78fr; }
.feature-row:nth-child(even) .feature-row-copy { order: 2; }
.feature-row h2 { font-size: clamp(40px, 4.4vw, 64px); line-height: .98; }
.feature-row p { color: #53606a; }
.feature-row-visual { padding: 26px; background: #e6ded0; border-radius: 18px; border: 1px solid var(--line); }
.feature-row-visual.dark { background: var(--ink-2); }
.feature-row-visual .device { border-radius: 18px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.capability { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,253,248,.55); }
.capability strong { display: block; margin-bottom: 7px; font-size: 14px; }
.capability span { color: #68747d; font-size: 12px; line-height: 1.55; }

.reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid, .story-grid, .section-head, .split-grid, .study-grid, .feature-row, .feature-row:nth-child(even) { grid-template-columns: 1fr; gap: 44px; }
  .feature-row:nth-child(even) .feature-row-copy { order: 0; }
  .hero-copy h1 { max-width: 800px; }
  .story-copy, .split-copy, .study-copy { max-width: 720px; }
  .dark-showcase { grid-template-columns: 1fr; }
  .dark-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .shell { width: min(100% - 28px, 680px); }
  .site-header { padding: 9px 0; }
  .menu-button { display: block; }
  .nav-links { position: absolute; left: 14px; right: 14px; top: calc(100% + 4px); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px; }
  .nav-cta { text-align: center; }
  .hero { padding: 52px 0 68px; }
  .hero-grid { gap: 34px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(47px, 15vw, 68px); }
  .hero-copy .lead, .page-hero .lead { font-size: 16px; }
  .product-stage { padding: 8px 0; }
  .product-stage::after { inset: 6% -3% -2% 6%; border-radius: 22px; }
  .device { border-width: 6px; }
  .device-tablet { border-radius: 16px; }
  .proof { padding: 10px 0; }
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-item { padding: 13px 10px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .story, .dark-section, .split-section, .study-section, .pricing { padding: 82px 0; }
  .story h2, .section-head h2, .split-copy h2, .study-copy h2, .pricing-head h2 { font-size: clamp(40px, 12vw, 58px); }
  .visual-card, .split-visual { padding: 12px; border-radius: 13px; }
  .visual-caption { display: block; }
  .dark-card-copy { padding: 26px 22px 18px; }
  .dark-card-media { padding: 0 18px 22px; }
  .dark-card h3 { font-size: 30px; }
  .pricing-grid, .capability-grid { grid-template-columns: 1fr; }
  .price-card { padding: 28px 22px; }
  .study-panel { padding: 24px 18px; }
  .study-bar { grid-template-columns: 90px 1fr 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .page-hero { padding: 56px 0 42px; }
  .feature-row { gap: 30px; padding: 58px 0; }
}

/* Editorial refinement: KivoNote's palette and real captures, with a calmer
   reading rhythm inspired by the requested Anthropic reference. */
@font-face {
  font-family: 'Manrope';
  src: url('/assets/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --cream: #f8f7f2;
  --shadow: 0 12px 32px rgba(11, 25, 40, .09);
  --sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}
section[id] { scroll-margin-top: 100px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 5px; }
.scroll-sentinel { display: block; position: absolute; top: 0; height: 1px; }
.shell { width: min(1200px, calc(100% - 64px)); }
.site-header { padding: 8px 0; background: var(--cream); border-color: var(--line); backdrop-filter: none; }
.hero { padding: 68px 0 64px; }
.hero::before, .product-stage::after, .authentic-label::before { display: none; }
.hero-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; }
.hero-copy h1 { font-size: clamp(42px, 4.5vw, 64px); line-height: 1.08; letter-spacing: -.035em; }
.hero-copy .lead { max-width: 560px; }
.device { border-width: 5px; }
.device-tablet { border-radius: 18px; }
.authentic-label, .visual-caption { font-size: 14px; font-weight: 500; }
.proof { color: var(--ink); background: transparent; border-block: 1px solid var(--line); }
.proof-item { border-color: var(--line); }
.proof-item span { color: #53606a; font-size: 14px; line-height: 1.6; }
.story, .dark-section, .split-section, .study-section, .pricing { padding: 100px 0; }
.story h2, .section-head h2, .split-copy h2, .study-copy h2, .pricing-head h2 {
  font-size: clamp(36px, 3.6vw, 52px); line-height: 1.12; letter-spacing: -.03em;
}
.visual-card, .split-visual, .feature-row-visual { padding: 24px; background: #eeeee7; border-radius: 8px; }
.dark-section { color: var(--ink); background: #efefe8; border-block: 1px solid var(--line); }
.section-head p, .dark-card p { color: #53606a; }
.dark-showcase { gap: 40px 32px; align-items: start; }
.dark-card { min-height: 0; overflow: visible; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.dark-card p { font-size: 16px; }
.dark-card-copy { padding: 28px 0 12px; }
.dark-card-media { padding: 0; }
.dark-card-media.phone .device { width: min(230px, 78%); }
.study-section { color: var(--ink); background: #e9efeb; border-block: 1px solid var(--line); }
.study-copy p:not(.eyebrow) { color: #46535d; }
.study-panel { border-radius: 8px; border: 1px solid var(--line); box-shadow: none; }
.study-example { margin: 24px 0 0; color: #53606a; font-size: 14px; }
.date-pill { background: var(--teal-dark); font-size: 14px; }
.price-card { border-radius: 8px; }
.final-cta .eyebrow { color: #e1f4f0; }
.button { border-radius: 6px; font-weight: 700; }
.nav-cta { border-radius: 6px; }
.button:hover { transform: none; box-shadow: none; }
.button-primary:hover, .nav-cta:hover { background: #243a43; color: white; }
.button-secondary:hover { background: #e9efeb; }
.hero-grid > *, .story-grid > *, .split-grid > *, .study-grid > *, .dark-showcase > * { min-width: 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .product-stage { width: min(720px, 100%); margin-inline: auto; }
}
@media (max-width: 820px) {
  .shell { width: calc(100% - 36px); }
  .hero { padding: 44px 0 52px; }
  .hero-copy h1, .page-hero h1 { font-size: clamp(36px, 9vw, 52px); line-height: 1.12; }
  .hero-actions .button { flex: 1 1 200px; }
  .story, .dark-section, .split-section, .study-section, .pricing { padding: 64px 0; }
  .story h2, .section-head h2, .split-copy h2, .study-copy h2, .pricing-head h2 { font-size: clamp(34px, 8.5vw, 46px); }
  .visual-card, .split-visual, .feature-row-visual { padding: 12px; }
  .proof-item { border-color: var(--line); }
  .study-top { align-items: flex-start; flex-direction: column; gap: 14px; }
  .study-bar { grid-template-columns: minmax(0, 1fr) minmax(40px, 1fr) 36px; }
}

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