:root {
  color-scheme: light;
  --ink: #0b1f33;
  --ink-700: #1c3a52;
  --paper: #fbf8f2;
  --paper-alt: #f3efe6;
  --white: #fff;
  --sage: #4c7a6b;
  --sage-dark: #345449;
  --line: #d9d2c4;
  --muted: #5a6b74;
  --focus: #1b6e5a;
  --sans: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  --serif: "New York", Georgia, "Times New Roman", serif;
  --gutter: 16px;
  --section: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--sans); font-weight: 650; line-height: 1.15; }
h1 { font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -.025em; text-wrap: balance; }
h2 { font-size: clamp(1.675rem, 2.3vw, 2rem); letter-spacing: -.018em; }
h3 { font-size: 1.25rem; }
a { color: var(--ink-700); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.shell { width: min(1200px, 100% - var(--gutter) * 2); margin-inline: auto; }
.skip-link { position: absolute; inset: 8px auto auto 8px; z-index: 10; padding: 8px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.navigation, .footer-content { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--ink); text-decoration: none; font-weight: 650; }
.wordmark img { border-radius: 8px; }
.navigation nav, .footer-content nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; }
.navigation nav a, .footer-content nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 600; text-decoration: none; }
.navigation nav a:hover, .footer-content nav a:hover { text-decoration: underline; }
.navigation nav .nav-download { padding-inline: 12px; border: 1px solid var(--line); border-radius: 8px; }

.hero { position: relative; isolation: isolate; }
.hero-inner { display: grid; gap: 32px; align-items: center; padding-block: 48px; }
.hero-copy { max-width: 520px; }
.product-name { margin-bottom: 12px; font-size: clamp(1.125rem, 1.75vw, 1.4rem); font-weight: 650; color: var(--sage-dark); }
.hero-description { margin-top: 16px; max-width: 36ch; color: var(--ink-700); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 24px; }
.button, .text-link { align-items: center; justify-content: center; display: inline-flex; gap: 8px; min-height: 44px; font-size: 1rem; font-weight: 650; }
.button { background: var(--sage); color: var(--white); text-decoration: none; padding: 12px 16px; border-radius: 8px; transition: background-color .15s, transform .15s; }
.button:hover { background: var(--sage-dark); transform: translateY(-1px); }
.text-link { text-decoration-thickness: 1px; }
.availability { margin-top: 16px; color: var(--ink-700); font-size: .875rem; }
.hero-visual { position: relative; min-width: 0; min-height: 448px; padding: 24px; background: var(--paper-alt); border-radius: 24px; display: grid; place-items: center; }
.phone { width: min(190px, 60%); align-self: center; animation: settle .4s ease-out both; }
.phone img, .product-shot img { border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: 0 20px 40px rgb(11 31 51 / .12); filter: saturate(.65) hue-rotate(-18deg); }
.phone figcaption, .product-shot figcaption { width: fit-content; margin: 12px auto 0; padding: 4px 8px; border: 1px solid var(--sage); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: .8125rem; font-weight: 650; text-align: center; line-height: 1.4; }
.phone figcaption span { display: block; font-weight: 400; }
.phone.planner { display: none; animation-delay: .08s; }

.workflow, .download-section { padding-block: var(--section); }
.workflow { scroll-margin-top: 16px; }
.feature-grid { display: grid; gap: 16px; margin-top: 24px; align-items: stretch; }
.feature { min-width: 0; min-height: 100%; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.feature p { margin-top: 12px; color: var(--ink-700); }
.product-shot { margin-top: 24px; }
.product-shot img { width: min(100%, 174px); height: 240px; object-fit: cover; object-position: top; margin-inline: auto; }
.obligations { margin-top: 24px; border-block: 1px solid var(--line); }
.obligations div { padding-block: 16px; }
.obligations div + div { border-top: 1px solid var(--line); }
.obligations dt { color: var(--sage-dark); font-weight: 650; }
.obligations dd { color: var(--ink-700); font-size: .9375rem; }

.download-section { padding-top: 0; }
.download-panel { display: grid; gap: 24px; margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-alt); }
.download-panel h3 { margin-bottom: 8px; }
.download-panel p { color: var(--ink-700); }
.download-details { border-top: 1px solid var(--line); padding-top: 16px; font-size: .9375rem; }
.download-details a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer { padding-block: 12px; border-top: 1px solid var(--line); font-size: .875rem; }
.footer-content { flex-wrap: wrap; gap: 4px 24px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; }
.document { max-width: 680px; margin-block: var(--section); padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow-wrap: anywhere; }
.document h1 { margin-top: 16px; text-wrap: initial; }
.document h2 { margin-top: 32px; font-size: 1.35rem; }
.document p { margin-top: 16px; color: var(--ink-700); font-family: var(--serif); }
.document a { color: var(--sage-dark); text-decoration: underline; }

@keyframes settle {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes reveal {
  from { opacity: .72; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.feature.is-visible { animation: reveal .3s ease-out; }

@media (max-width: 479px) {
  .navigation nav a[href="#workflow"], .document-page .navigation nav a:first-child { display: none; }
  .navigation nav { gap: 4px 8px; justify-content: flex-end; }
  .navigation nav a { padding-inline: 4px; }
  .navigation nav .nav-download { padding-inline: 8px; }
  .hero-actions > * { width: 100%; }
}
@media (min-width: 480px) {
  :root { --gutter: 24px; }
  .hero-visual { display: block; min-height: 560px; }
  .phone { position: absolute; }
  .phone.conversation { z-index: 2; width: min(47%, 214px); inset: auto auto 24px 14%; }
  .phone.planner { display: block; width: min(41%, 184px); inset: 24px 13% auto auto; }
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section: 64px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .download-panel { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
  .download-details { grid-column: 1 / -1; }
  .document { padding: 48px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 48px; --section: 96px; }
  .hero-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; min-height: 658px; padding-block: 0; }
  .hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 48%; background: var(--paper-alt); }
  .hero-visual { min-height: 648px; background: transparent; }
  .phone.conversation { width: min(50%, 244px); inset: auto auto 32px 19%; }
  .phone.planner { width: min(42%, 206px); inset: 32px 15% auto auto; }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { padding: 32px; }
}
@media (min-width: 1440px) { :root { --gutter: 80px; } }
@media (prefers-reduced-motion: reduce) {
  .phone, .feature.is-visible { animation: none; }
  .button:hover { transform: none; }
}
