@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/cormorant-garamond.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #f4efe6;
  --card: #fffdf8;
  --cream: #f6f1e7;
  --ink: #1c1915;
  --soft: #5e584e;
  --line: #e3d9c8;
  --track: #e5dccb;
  --forest: #1e4d3a;
  --forest-deep: #143528;
  --hero: linear-gradient(180deg, #27664b, #14382b);
  --gold: #8a5a2a;
  --gold-soft: #f3e6cf;
  --sage: #e5f3ea;
  --coral: #a33b2b;
  --blush: #f8e6e1;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(20px, 5.5vw, 72px);
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--sans);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }
:is(a, button, summary):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
[id] { scroll-margin-top: 24px; }
.wrap { width: min(100% - var(--gutter) * 2, 1240px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 10px; left: 10px; padding: 10px 16px; transform: translateY(-170%); background: var(--card); color: var(--forest-deep); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 82px; }
.wordmark { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 9px; color: var(--forest-deep); font: 700 34px/.9 var(--serif); letter-spacing: -.05em; text-decoration: none; }
.wordmark img { width: 35px; height: 35px; object-fit: contain; }
.site-nav, .footer-nav { display: flex; align-items: center; gap: clamp(17px, 2.4vw, 39px); }
.site-nav a, .footer-nav a { color: var(--soft); font-size: 14px; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { color: var(--forest-deep); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; min-height: 51px; align-items: center; justify-content: center; gap: 9px; padding: 11px 19px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.button span { font-size: 17px; line-height: 1; }
.button-primary { background: var(--forest); color: #fffdf8; }
.button-primary:hover { background: var(--forest-deep); }
.button-quiet { color: var(--forest-deep); }
.button-quiet:hover { border-color: var(--line); background: var(--card); }
.button-light { background: var(--card); color: var(--forest-deep); }
.button-light:hover { background: var(--gold-soft); }
.header-cta { flex-shrink: 0; min-height: 44px; font-size: 13px; }
.menu-toggle { display: none; }

.hero { display: grid; align-items: center; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(35px, 5.3vw, 88px); padding-block: clamp(48px, 6.1vw, 99px) clamp(56px, 6.4vw, 106px); }
.eyebrow { margin: 0 0 13px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero h1, .section-intro h2, .closing-panel h2 { margin: 0; font: 600 clamp(54px, 7.15vw, 108px)/.85 var(--serif); letter-spacing: -.052em; }
.hero h1 em, .section-intro h2 em { color: var(--forest); font-weight: 600; }
.hero-description { max-width: 35ch; margin: 25px 0 23px; color: var(--soft); font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-note { margin: 15px 0 0; color: var(--soft); font-size: 12px; font-weight: 500; }
.hero-visual { position: relative; isolation: isolate; height: clamp(390px, 41vw, 535px); min-width: 0; }
.hero-photo { position: absolute; inset: 0; border: 1px solid #b3a48b; border-radius: 7px 92px 7px 7px; background: #d7c6a9 url('/assets/hero-linen.webp') 59% center / cover no-repeat; }
.hero-device { position: absolute; top: 50%; left: 54%; width: min(44%, 228px); margin: 0; transform: translate(-50%, -50%) rotate(-6deg); border: 6px solid #192221; border-radius: 26px; background: var(--paper); box-shadow: 15px 23px 46px #271b1590, 0 0 0 1px #eee7d965; }
.hero-device .screen-button { border-radius: 20px; overflow: hidden; }
.hero-device img { width: 100%; height: auto; }
.hero-quote { position: absolute; inset: auto auto 7% -3%; width: min(44%, 218px); margin: 0; padding: 11px 17px 14px; border: 1px solid #dfd4bf; border-radius: 6px; background: var(--card); box-shadow: 0 8px 25px #4b362328; }
.hero-quote-mark { display: block; height: 24px; color: var(--gold); font: 600 48px/.8 var(--serif); }
.hero-quote blockquote { margin: 0; font: 700 clamp(19px, 1.9vw, 27px)/1.03 var(--serif); letter-spacing: -.015em; }
.hero-quote figcaption { margin-top: 8px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .065em; text-transform: uppercase; }

.habit { border-block: 1px solid var(--line); background: var(--card); }
.habit-inner { display: grid; grid-template-columns: 1fr 2.05fr; align-items: start; gap: 50px; padding-block: clamp(39px, 5.2vw, 75px); }
.section-intro h2, .closing-panel h2 { font-size: clamp(42px, 5.1vw, 73px); line-height: .96; }
.habit-intro h2 { font-size: clamp(35px, 3.8vw, 56px); }
.habit-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 45px); margin: 0; padding: 0; list-style: none; }
.step-index { display: grid; width: 35px; height: 35px; margin-bottom: 12px; place-items: center; border: 1px solid #e3ca9f; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-size: 14px; font-weight: 700; }
.habit-steps h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.2; }
.habit-steps p, .feature-panel p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.6; }

.features { padding-block: clamp(64px, 8vw, 120px); }
.feature-intro { margin-bottom: 29px; }
.feature-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.feature-panel { min-width: 0; padding: clamp(21px, 3.2vw, 37px); border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.feature-panel h3 { margin: 14px 0 8px; font: 700 clamp(33px, 3.7vw, 56px)/.92 var(--serif); letter-spacing: -.035em; }
.feature-panel p { max-width: 34ch; }
.feature-symbol { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--line); border-radius: 9px; background: var(--gold-soft); color: var(--gold); font-size: 21px; }
.blocks-panel { position: relative; grid-column: span 7; min-height: 320px; overflow: hidden; background: var(--hero); color: var(--card); }
.blocks-copy { position: relative; z-index: 1; width: 52%; }
.blocks-panel p { color: #e5f3ea; }
.blocks-symbol { display: grid; grid-template: repeat(2, 8px) / repeat(2, 8px); justify-content: center; align-content: center; gap: 3px; border-color: #739b88; background: #305f4a; transform: rotate(-7deg); }
.blocks-symbol i { width: 8px; height: 8px; border-radius: 2px; background: #f3d7a4; }
.blocks-symbol i:first-child { grid-column: 2; background: #badbc8; }
.blocks-screen { position: absolute; right: 7%; top: clamp(32px, 5vw, 70px); width: 34%; height: auto; transform: rotate(6deg); border: 5px solid #182f26; border-radius: 16px; box-shadow: 0 14px 40px #021710aa; }
.daily-panel { grid-column: span 5; }
.personal-panel, .plans-panel { grid-column: span 6; }
.personal-panel { background: var(--cream); }
.plans-panel { background: var(--sage); }
.personal-symbol { background: var(--card); }
.plans-symbol { border-color: #b0c5b7; background: #d6e9dc; color: var(--forest-deep); }
.practice-sample { display: grid; gap: 4px; margin-top: 16px; }
.practice-sample span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 5px; background: var(--cream); color: var(--forest-deep); font-size: 11px; font-weight: 700; }
.practice-sample span:first-child { border-color: #cedfd3; background: var(--sage); }

.faq { border-block: 1px solid var(--line); background: var(--cream); }
.faq-inner { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(28px, 7vw, 104px); padding-block: clamp(46px, 7vw, 96px); }
.inline-link { display: inline-block; margin-top: 17px; color: var(--forest); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; min-height: 54px; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 1px; color: var(--forest-deep); font-weight: 700; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; color: var(--gold); font-size: 20px; line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { margin: 0 30px 16px 0; color: var(--soft); font-size: 14px; }
.closing { padding-block: clamp(48px, 7vw, 93px); }
.closing-panel { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(24px, 5vw, 63px); border-radius: 10px; background: var(--hero); color: var(--card); }
.closing-panel h2 { font-size: clamp(37px, 4.9vw, 69px); }
.closing-panel p { margin: 10px 0 0; color: var(--sage); }
.closing-panel .button { flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; min-height: 110px; padding-block: 21px; }
.footer-nav { flex-wrap: wrap; }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-brand p { margin: 0; color: var(--soft); font-size: 13px; }

@media (max-width: 990px) {
  .hero { gap: 33px; }
  .hero h1 { font-size: clamp(55px, 7.5vw, 84px); }
  .hero-device { width: min(46%, 205px); }
  .habit-inner { gap: 25px; }
  .habit-steps { gap: 16px; }
}
@media (max-width: 720px) {
  .header-inner { min-height: 64px; gap: 10px; }
  .wordmark { gap: 6px; font-size: 30px; }
  .wordmark img { width: 30px; height: 30px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; width: 44px; height: 44px; flex: 0 0 auto; place-content: center; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--card); color: var(--forest); cursor: pointer; }
  .menu-toggle-icon { width: 17px; height: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; }
  .menu-toggle span:not([aria-hidden]) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .site-nav { position: absolute; z-index: 4; inset: calc(100% + 5px) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 5px; border: 1px solid var(--line); border-radius: 9px; background: var(--card); box-shadow: 0 10px 22px #4c36241f; }
  .menu-toggle[aria-expanded='true'] ~ .site-nav { display: flex; }
  .site-nav a { padding: 9px 12px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 41px 45px; }
  .hero h1 { font-size: clamp(55px, 12vw, 83px); }
  .hero-description { margin-block: 17px 16px; }
  .hero-visual { height: clamp(326px, 96vw, 446px); }
  .hero-photo { border-top-right-radius: 58px; }
  .hero-device { width: min(47%, 200px); border-width: 5px; border-radius: 20px; }
  .hero-quote { left: 4%; bottom: 6%; width: min(45%, 190px); padding: 9px 11px; }
  .hero-quote blockquote { font-size: clamp(18px, 5.25vw, 24px); }
  .hero-quote figcaption { font-size: 8px; }
  .habit-inner, .faq-inner { grid-template-columns: 1fr; }
  .habit-steps { grid-template-columns: 1fr; gap: 0; }
  .habit-steps li { position: relative; padding: 14px 0 14px 48px; border-top: 1px solid var(--line); }
  .habit-steps li:last-child { border-bottom: 1px solid var(--line); }
  .step-index { position: absolute; top: 14px; left: 0; width: 33px; height: 33px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-panel { grid-column: auto; }
  .blocks-panel { min-height: 279px; }
  .blocks-screen { right: 6%; top: 48px; width: 36%; }
  .feature-panel p { overflow-wrap: anywhere; }
  .closing-panel { align-items: flex-start; flex-direction: column; gap: 15px; }
  .footer-inner { justify-content: flex-start; }
}
@media (max-width: 350px) {
  .header-inner .wordmark { font-size: 27px; }
  .hero-actions .button { padding-inline: 12px; }
  .blocks-copy { width: 55%; }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

.screen-button { display: block; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.screen-button img { width: 100%; height: auto; }
.section-lede { max-width: 39ch; color: var(--soft); font-size: 17px; line-height: 1.65; }
.practice { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 100px); padding-block: clamp(60px, 8vw, 112px); }
.practice-choices { display: grid; margin-top: 27px; gap: 6px; }
.practice-choice { display: grid; grid-template-columns: 30px 1fr 20px; align-items: center; gap: 13px; width: 100%; padding: 15px 16px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.practice-choice:hover { background: var(--card); }
.practice-choice[aria-pressed='true'] { border-color: #b4ccbb; background: var(--sage); }
.choice-number { color: var(--gold); font-size: 12px; font-weight: 700; }
.practice-choice strong { display: block; font-size: 16px; }
.practice-choice small { display: block; margin-top: 3px; color: var(--soft); font-size: 13px; }
.choice-arrow { color: var(--forest); opacity: 0; }
.practice-choice[aria-pressed='true'] .choice-arrow { opacity: 1; }
.practice-stage { display: grid; justify-items: center; padding: 26px 24px 23px; border-radius: 120px 12px 12px 12px; background: var(--hero); }
.stage-label { margin: 0 0 19px; color: var(--gold-soft); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.practice-phone { width: min(100%, 246px); margin: 0; border: 5px solid #1b2b24; border-radius: 22px; box-shadow: 0 22px 35px #081c2540; background: var(--paper); }
.practice-phone .screen-button { overflow: hidden; border-radius: 17px; }
.stage-caption { margin: 22px 0 3px; color: var(--card); font-size: 13px; font-weight: 700; }
.stage-hint { margin: 0; color: #d1dfd3; font-size: 11px; }
.collection-section { padding-block: clamp(60px, 7vw, 100px); border-block: 1px solid var(--line); background: var(--card); }
.collection-intro { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 42px; }
.collection-intro .section-lede { max-width: 35ch; margin-bottom: 3px; }
.app-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gallery-item { display: flex; flex-direction: column; margin: 0; min-width: 0; }
.gallery-item figcaption { flex: 1; padding-bottom: 24px; }
.gallery-item .eyebrow { font-size: 10px; }
.gallery-item h3 { margin: 9px 0; font: 600 clamp(28px, 2.65vw, 39px)/1 var(--serif); letter-spacing: -.035em; }
.gallery-item p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.65; }
.gallery-stage { display: grid; place-items: center; padding: 30px 23px; border: 1px solid var(--line); border-radius: 10px; }
.library-stage { background: #eee2cd; }
.progress-stage { background: #e2ebe1; }
.profile-stage { background: #e9e5db; }
.gallery-phone { width: min(100%, 245px); border: 4px solid #243e32; border-radius: 22px; box-shadow: 0 12px 25px #182d281f; }
.gallery-phone img { border-radius: 18px; }
.line-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 7vw, 100px); padding-block: clamp(60px, 8vw, 112px); }
.line-stage { display: grid; justify-items: center; gap: 24px; padding: 35px 20px 26px; border: 1px solid var(--line); border-radius: 12px 120px 12px 12px; background: #ede3d1; }
.line-phone { width: min(100%, 245px); border: 5px solid #243e32; border-radius: 23px; transform: rotate(-4deg); box-shadow: 10px 18px 30px #46351b2b; }
.line-phone img { border-radius: 18px; }
.line-caption { color: var(--gold); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.preview-open { overflow: hidden; }
.screenshot-dialog { width: min(94vw, 720px); max-height: 94dvh; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.screenshot-dialog::backdrop { background: #0c231bd9; }
.dialog-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.dialog-toolbar p { flex: 1; margin: 0; color: var(--soft); font-size: 13px; }
.dialog-close { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 44px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); color: var(--forest); font-size: 14px; font-weight: 700; cursor: pointer; }
.dialog-close span { font-size: 22px; }
.dialog-image { width: auto; height: auto; max-width: 100%; max-height: 77dvh; margin-inline: auto; object-fit: contain; }
@media (max-width: 990px) {
  .app-gallery { gap: 16px; }
  .gallery-stage { padding: 24px 14px; }
  .practice, .line-feature { gap: 30px; }
}
@media (max-width: 720px) {
  .practice, .line-feature { grid-template-columns: 1fr; gap: 28px; }
  .section-lede { font-size: 16px; }
  .practice-choice { padding: 12px 10px; gap: 8px; }
  .practice-choice strong { font-size: 15px; }
  .practice-choice small { font-size: 12px; }
  .practice-stage { border-top-left-radius: 80px; }
  .collection-intro { display: block; margin-bottom: 30px; }
  .collection-intro .section-lede { margin-top: 20px; }
  .app-gallery { grid-template-columns: 1fr; gap: 36px; }
  .gallery-item figcaption { padding-bottom: 17px; }
  .gallery-item h3 { font-size: 36px; }
  .gallery-stage { padding: 25px 20px; }
  .gallery-phone { width: min(82%, 255px); }
  .line-copy { grid-row: 1; }
  .dialog-toolbar { align-items: start; gap: 8px; }
  .dialog-toolbar p { font-size: 11px; }
}
