:root {
  --ink: #173323;
  --deep: #173f29;
  --green: #2e7d32;
  --cream: #f4efe3;
  --paper: #fffcf5;
  --muted: #5b675c;
  --line: rgba(23, 51, 35, .18);
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #c86c3e; outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1360px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 50; top: -100px; left: 20px; padding: 12px 18px; background: #fff; color: var(--ink); }
.skip-link:focus { top: 12px; }
.eyebrow { margin: 0 0 22px; color: var(--green); font-size: .77rem; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.section-pad { padding-block: clamp(90px, 10vw, 156px); }

.hero-shell { position: relative; }
.site-header { position: absolute; z-index: 12; top: 0; left: 50%; transform: translateX(-50%); height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { font-size: 1.13rem; font-weight: 700; letter-spacing: .14em; white-space: nowrap; }
.wordmark-dot { color: var(--green); }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: clamp(22px, 3vw, 52px); }
.desktop-nav a, .language-switch { font-size: .84rem; font-weight: 700; transition: opacity .2s ease; }
.desktop-nav a:hover, .language-switch:hover { opacity: .55; }
.language-switch { border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.mobile-nav { display: none; }

.hero { position: relative; min-height: 100svh; min-height: max(680px, 100svh); display: flex; align-items: center; isolation: isolate; overflow: hidden; background: var(--cream); }
.hero-image, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center; animation: image-settle 1.6s ease-out both; }
.hero-scrim { z-index: -1; background: linear-gradient(180deg, rgba(244,239,227,.82), rgba(244,239,227,0) 180px), linear-gradient(90deg, rgba(244,239,227,.96) 0%, rgba(244,239,227,.88) 32%, rgba(244,239,227,.45) 52%, rgba(244,239,227,0) 74%); }
.hero-content { padding-block: 140px 105px; }
.hero-copy { max-width: 690px; }
.hero-eyebrow { margin-bottom: 20px; color: var(--deep); animation: rise-in .7s ease-out .06s both; }
.hero h1 { display: flex; flex-direction: column; align-items: flex-start; gap: 23px; margin: 0; }
.hero-brand { display: block; font-size: clamp(4.5rem, 9vw, 8.5rem); line-height: .9; font-weight: 700; letter-spacing: -.065em; animation: rise-in .75s ease-out .12s both; }
.hero-promise { display: block; max-width: 590px; font-family: var(--serif); font-size: clamp(2rem, 3.25vw, 3.25rem); font-weight: 500; line-height: 1.14; letter-spacing: -.045em; animation: rise-in .8s ease-out .22s both; }
.hero-description { max-width: 480px; margin: 27px 0 0; font-size: 1.03rem; line-height: 1.65; animation: rise-in .8s ease-out .32s both; }
.hero-links { display: flex; align-items: flex-start; flex-direction: column; gap: 15px; margin-top: 35px; animation: rise-in .8s ease-out .42s both; }
.store-actions { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 0 22px; font-size: .91rem; font-weight: 700; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-3px); }
.button span, .text-link span { display: inline-block; transition: transform .2s ease; }
.button:hover span { transform: translate(2px, -2px); }
.button-primary { background: var(--deep); color: #fff; }
.button-primary:hover { background: var(--green); }
.button-apple { min-width: 170px; border: 1px solid var(--deep); background: rgba(244,239,227,.72); color: var(--deep); font-family: var(--sans); text-align: left; cursor: not-allowed; opacity: 1; }
.button-apple span { display: block; }
.button-apple small { display: block; margin-top: 2px; font-size: .65rem; font-weight: 600; letter-spacing: .02em; }
.button-apple:hover { transform: none; }
.button-apple:hover span { transform: none; }
.text-link { border-bottom: 1px solid var(--ink); padding-block: 7px; font-size: .87rem; font-weight: 700; }
.text-link:hover span { transform: translateY(3px); }
.availability-note { margin: 15px 0 0; color: #45604b; font-size: .76rem; font-weight: 600; }
.hero-caption { position: absolute; bottom: 24px; right: 48px; margin: 0; color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; text-shadow: 0 1px 5px #193b20; }

.idea { background: var(--paper); }
.idea-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(70px, 11vw, 175px); }
.idea-photo { position: relative; height: min(70vw, 680px); min-height: 520px; overflow: hidden; background: #d9ddcf; }
.idea-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s ease; }
.idea-photo:hover img { transform: scale(1.035); }
.photo-caption { position: absolute; bottom: 0; left: 0; padding: 15px 20px; background: var(--paper); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .03em; }
.idea-copy { max-width: 570px; }
h2, h3, p { overflow-wrap: break-word; }
.idea h2, .section-heading h2, .details h2, .download h2 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.idea h2 { font-size: clamp(3rem, 5vw, 5.3rem); }
.sample-prompt { margin: 46px 0 28px; padding-left: 22px; border-left: 2px solid var(--green); color: var(--deep); font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.25; }
.body-copy { max-width: 460px; margin: 0; font-size: 1.04rem; line-height: 1.75; }
.support-copy { max-width: 460px; margin: 20px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.idea-guide-link { display: inline-flex; align-items: baseline; gap: 12px; max-width: 460px; margin-top: 30px; border-bottom: 1px solid currentColor; padding-bottom: 7px; color: var(--deep); font-size: .88rem; font-weight: 700; line-height: 1.5; }
.idea-guide-link span { transition: transform .2s ease; }
.idea-guide-link:hover span { transform: translate(3px, -3px); }

.journey { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: .42fr 1fr; column-gap: 50px; align-items: start; margin-bottom: 64px; }
.section-heading .eyebrow { grid-row: span 2; padding-top: 12px; }
.section-heading h2 { max-width: 800px; font-size: clamp(3rem, 5.3vw, 5.8rem); }
.section-heading > p:last-child { grid-column: 2; margin: 20px 0 0; color: var(--muted); font-size: 1.03rem; }
.journey-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.journey-row { display: grid; grid-template-columns: .42fr 1fr 40px; gap: 50px; align-items: start; padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.journey-number { padding-top: 7px; color: var(--green); font-size: .8rem; font-weight: 700; letter-spacing: .15em; }
.journey-row h3 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.12; }
.journey-row p { max-width: 640px; margin: 11px 0 0; color: var(--muted); line-height: 1.65; }
.journey-arrow { font-size: 1.8rem; line-height: 1; transition: transform .25s ease; }
.journey-row:hover .journey-arrow { transform: translate(5px, -5px); }

.app-preview { overflow: hidden; background: #e8efe5; }
.preview-heading { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .5fr); align-items: end; gap: 70px; margin-bottom: 62px; }
.preview-heading h2 { max-width: 820px; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 5.6vw, 6rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.preview-heading > p { max-width: 330px; margin: 0 0 6px; color: var(--muted); line-height: 1.7; }
.preview-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(22px, 3vw, 46px); }
.preview-item { min-width: 0; margin: 0; }
.preview-item:nth-child(2) { margin-top: 54px; }
.preview-screen { overflow: hidden; border: 7px solid #1b2920; border-radius: 34px; background: #fff; box-shadow: 0 26px 55px rgba(22, 52, 31, .16); }
.preview-screen img { width: 100%; height: auto; }
.preview-item figcaption { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; }
.preview-item figcaption span { color: var(--green); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.preview-item figcaption strong { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.preview-note { margin: 44px 0 0; color: var(--muted); font-size: .8rem; }

.details { background: #dfe8dc; }
.details-grid { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(70px, 12vw, 190px); align-items: end; }
.details h2 { max-width: 720px; font-size: clamp(3.2rem, 5.6vw, 6rem); }
.details-lead > p:last-child { max-width: 500px; margin: 32px 0 0; font-size: 1.08rem; line-height: 1.75; }
.details-list { border-top: 1px solid var(--line); }
.detail-item { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding: 27px 0 31px; border-bottom: 1px solid var(--line); }
.detail-item > span { padding-top: 4px; color: var(--green); font-size: .75rem; font-weight: 700; }
.detail-item h3 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.detail-item p { max-width: 360px; margin: 9px 0 0; color: #455c49; font-size: .92rem; line-height: 1.65; }

.download { background: var(--deep); color: #fff; text-align: center; }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download .eyebrow { color: #b9dcac; }
.download h2 { max-width: 900px; font-size: clamp(3.8rem, 7.2vw, 8rem); }
.download p:not(.eyebrow) { max-width: 410px; margin: 26px 0 38px; color: #d6e5d8; line-height: 1.7; }
.button-light { background: var(--paper); color: var(--deep); }
.button-light:hover { background: #dfe8dc; }
.download .button-apple { border-color: rgba(255,255,255,.7); background: transparent; color: #fff; }
.download .store-actions { justify-content: center; }

.site-footer { padding-top: 72px; background: #112e1f; color: #f4f6eb; }
.footer-main { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; padding-bottom: 80px; }
.footer-wordmark { font-size: 1.3rem; }
.footer-main p { max-width: 270px; margin: 16px 0 0; color: #b6cbbc; font-size: .92rem; line-height: 1.6; }
.footer-main nav { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; font-size: .88rem; }
.footer-main nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.16); color: #b6cbbc; font-size: .72rem; }

@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes image-settle { from { transform: scale(1.045); } to { transform: scale(1); } }
.enhanced .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.enhanced .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1050px) {
  .wrap { width: min(100% - 64px, 1360px); }
  .hero-brand { font-size: clamp(4.5rem, 10vw, 7.2rem); }
  .hero-scrim { background: linear-gradient(180deg, rgba(244,239,227,.82), rgba(244,239,227,0) 180px), linear-gradient(90deg, rgba(244,239,227,.97) 0%, rgba(244,239,227,.88) 46%, rgba(244,239,227,.25) 82%); }
  .idea-grid, .details-grid { gap: 60px; }
  .idea-photo { min-height: 500px; }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1360px); }
  .site-header { height: 78px; }
  .desktop-nav { display: none; }
  .header-actions { gap: 24px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { width: 36px; height: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 23px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .mobile-nav[open] summary span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .mobile-nav[open] summary span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .mobile-nav nav { position: absolute; top: 69px; left: -20px; right: -20px; display: flex; flex-direction: column; gap: 0; padding: 12px 20px 20px; background: var(--paper); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
  .mobile-nav nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; font-weight: 700; }
  .hero { min-height: 100svh; min-height: max(660px, 100svh); align-items: flex-start; }
  .hero-image { object-position: 61% center; }
  .hero-scrim { background: linear-gradient(180deg, rgba(244,239,227,.97) 0%, rgba(244,239,227,.93) 39%, rgba(244,239,227,.66) 70%, rgba(244,239,227,.04) 100%); }
  .hero-content { padding-block: 122px 270px; }
  .hero-copy { max-width: 530px; }
  .hero-brand { font-size: clamp(3.9rem, 14vw, 6.8rem); }
  .hero-promise { max-width: 500px; font-size: clamp(2.2rem, 7vw, 3.1rem); }
  .hero-description { max-width: 420px; }
  .hero-caption { right: 20px; bottom: 20px; }
  .idea-grid, .details-grid { grid-template-columns: 1fr; }
  .idea-photo { width: min(100%, 550px); height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .idea-copy { max-width: 600px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { padding-top: 0; }
  .section-heading > p:last-child { margin-top: 20px; }
  .journey-row { grid-template-columns: 45px 1fr 24px; gap: 16px; }
  .preview-heading { display: block; margin-bottom: 46px; }
  .preview-heading > p { margin-top: 22px; }
  .preview-gallery { gap: 18px; }
  .preview-item:nth-child(2) { margin-top: 35px; }
  .preview-screen { border-width: 5px; border-radius: 24px; }
  .details-grid { gap: 70px; }
  .details-list { max-width: 650px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 36px, 1360px); }
  .site-header { height: 72px; }
  .wordmark { font-size: 1rem; }
  .hero { min-height: max(700px, 100svh); }
  .hero-image { object-position: 62% center; }
  .hero-content { padding-block: 114px 250px; }
  .hero-eyebrow { font-size: .66rem; margin-bottom: 15px; }
  .hero h1 { gap: 18px; }
  .hero-brand { font-size: clamp(3.25rem, 14vw, 4.2rem); }
  .hero-promise { font-size: clamp(2rem, 8.5vw, 2.6rem); }
  .hero-description { margin-top: 18px; font-size: .91rem; line-height: 1.52; }
  .hero-links { gap: 13px; margin-top: 22px; }
  .store-actions { justify-content: flex-start; }
  .button { min-height: 52px; }
  .hero-caption { display: none; }
  .section-pad { padding-block: 82px; }
  .idea-grid { gap: 48px; }
  .idea h2, .section-heading h2, .details h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .sample-prompt { margin-top: 32px; }
  .section-heading { margin-bottom: 38px; }
  .journey-row { padding-block: 27px; }
  .journey-row h3 { font-size: 1.9rem; }
  .journey-row p { font-size: .9rem; }
  .preview-heading h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .preview-gallery { display: flex; gap: 18px; overflow-x: auto; margin-inline: -18px; padding: 0 18px 24px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
  .preview-item { flex: 0 0 min(72vw, 280px); scroll-snap-align: center; }
  .preview-item:nth-child(2) { margin-top: 0; }
  .preview-item figcaption { padding-top: 18px; }
  .preview-note { margin-top: 18px; }
  .details-grid { gap: 45px; }
  .download h2 { font-size: clamp(3.3rem, 14vw, 5rem); }
  .site-footer { padding-top: 60px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 50px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

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