:root {
  color-scheme: light dark;
  --paper: #fffdf9;
  --surface: #ffffff;
  --ink: #202522;
  --muted: #68706b;
  --line: #dcded8;
  --coral: #df6f5d;
  --coral-dark: #bb4d3d;
  --teal: #1e706d;
  --teal-soft: #dceeed;
  --yellow: #f1c75b;
  --peach: #fae4dd;
  --focus: #215fc5;
  --max: 76rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151917;
    --surface: #1c211e;
    --ink: #f7f8f4;
    --muted: #b4bbb5;
    --line: #39413c;
    --coral: #f18a77;
    --coral-dark: #ffab9c;
    --teal: #70c1bc;
    --teal-soft: #213b39;
    --yellow: #f1c75b;
    --peach: #442b27;
    --focus: #8bb8ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-wrap: break-word; background: var(--paper); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 0.18em; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 48rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; padding: 0.7rem 1rem; transform: translateY(-180%); border-radius: 4px; background: var(--ink); color: var(--paper); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; width: 100%; color: #fff; }
.header-inner { display: flex; width: min(100% - 2rem, var(--max)); min-height: 4.75rem; align-items: center; justify-content: space-between; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: inherit; font-weight: 760; text-decoration: none; }
.brand b { color: #ffd76f; }
.brand-mark { display: grid; width: 2rem; height: 2rem; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 5px; border-radius: 5px; background: #fff; border: 1px solid #cbd2cc; }
.brand-mark span { border-radius: 1px; background: var(--coral); }
.brand-mark span:nth-child(2) { background: var(--teal); }
.brand-mark span:nth-child(3) { background: var(--yellow); }
.site-nav { display: flex; align-items: center; gap: 0.2rem; }
.site-nav a { padding: 0.65rem 0.75rem; border-radius: 4px; color: #fff; font-size: 0.88rem; font-weight: 700; text-decoration: none; text-shadow: 0 1px 12px rgb(0 0 0 / 55%); }
.site-nav a:hover { background: rgb(255 255 255 / 16%); color: #fff; }
.menu-button { display: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #cbd2cc; border-radius: 5px; background: rgb(255 255 255 / 82%); color: #1d2420; font-size: 1.25rem; }

.hero { position: relative; display: grid; min-height: 92svh; overflow: hidden; align-items: center; isolation: isolate; background: #18211d; }
.hero-image { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-image-in 900ms ease-out both; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(15 22 19 / 88%) 0%, rgb(15 22 19 / 72%) 38%, rgb(15 22 19 / 16%) 64%, transparent 82%); content: ""; }
.hero-inner { width: min(100% - 2rem, var(--max)); margin: 4rem auto 0; color: #fff; animation: hero-copy-in 650ms 100ms ease-out both; }
.hero h1 { max-width: 10.5ch; color: #fff; text-shadow: 0 2px 22px rgb(0 0 0 / 30%); }
.hero-inner > * { max-width: 34rem; }
.free-kicker { display: flex; align-items: baseline; gap: 0.55rem; margin: 0 0 0.8rem; color: #fff; font-size: 1.1rem; font-weight: 900; line-height: 1; }
.free-kicker strong { color: #ffd76f; font-size: 3rem; letter-spacing: 0; }
.eyebrow { margin: 0 0 0.65rem; color: var(--teal); font-size: 0.76rem; font-weight: 820; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; text-wrap: balance; }
h1 { margin-bottom: 1rem; font-size: 3.65rem; line-height: 1.01; }
h2 { margin-bottom: 0.75rem; font-size: 2.55rem; line-height: 1.08; }
h3 { margin-bottom: 0.5rem; font-size: 1.18rem; line-height: 1.25; }
.hero-lead { margin: 0; color: #f4f6f2; font-size: 1.16rem; text-shadow: 0 1px 16px rgb(0 0 0 / 35%); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; align-items: center; margin-top: 1.6rem; }
.hero-note { margin: 0.9rem 0 0; color: #e5ebe6; font-size: 0.82rem; font-weight: 700; }
.text-link { color: #fff; font-weight: 760; text-decoration: none; }
.text-link:hover { color: #ffd76f; }

.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: 0.72rem 1rem; border: 1px solid transparent; border-radius: 5px; font-weight: 780; line-height: 1.2; text-align: center; text-decoration: none; transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--coral); color: #fff; }
.button.primary:hover { background: var(--coral-dark); }
.button.hero-primary { min-height: 3.35rem; padding-inline: 1.2rem; background: #ffd76f; color: #202522; box-shadow: 0 10px 28px rgb(0 0 0 / 22%); }
.button.hero-primary:hover { background: #ffe49a; transform: translateY(-2px); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button.secondary:hover { border-color: var(--teal); background: var(--teal-soft); }
.button.accent { background: var(--yellow); color: #242018; }
.button.accent:hover { background: #ffd971; }

.template-section, .steps-section, .printing-section, .faq-section { padding: 6rem 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.65fr); gap: 2.5rem; align-items: end; margin-bottom: 2.5rem; }
.section-heading h2 { max-width: 17ch; margin-bottom: 0; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.section-heading.compact { grid-template-columns: 1fr; }

.template-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3.5rem 1.5rem; }
.template-card { display: grid; min-width: 0; grid-template-columns: minmax(9rem, 0.8fr) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.template-preview { position: relative; aspect-ratio: 0.74; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: 0 10px 24px rgb(51 57 53 / 10%); transition: transform 180ms ease, box-shadow 180ms ease; }
.template-card:hover .template-preview { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 16px 34px rgb(51 57 53 / 15%); }
.template-copy p { margin: 0 0 1rem; color: var(--muted); }
.template-type { margin-bottom: 0.35rem !important; color: var(--coral-dark) !important; font-size: 0.72rem; font-weight: 820; text-transform: uppercase; }
.template-copy .button { width: 100%; font-size: 0.88rem; }
.preview-title, .year-title { position: absolute; top: 7%; left: 8%; width: 42%; height: 4%; background: #28332d; }
.preview-columns { position: absolute; top: 19%; right: 7%; bottom: 25%; left: 7%; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid #d7ddd8; }
.preview-columns i + i { border-left: 1px solid #d7ddd8; }
.preview-columns i:nth-child(1) { border-top: 6px solid #ec9485; }.preview-columns i:nth-child(2) { border-top: 6px solid #78aaa7; }.preview-columns i:nth-child(3) { border-top: 6px solid #f1c75b; }.preview-columns i:nth-child(4) { border-top: 6px solid #cba4bf; }.preview-columns i:nth-child(5) { border-top: 6px solid #6c9080; }
.preview-lines { position: absolute; right: 7%; bottom: 9%; left: 7%; height: 9%; border-top: 1px solid #d7ddd8; border-bottom: 1px solid #d7ddd8; }
.photo-area { position: absolute; top: 6%; right: 7%; left: 7%; height: 29%; background: #dceeed; border-bottom: 8px solid #ec9485; }
.month-grid { position: absolute; top: 43%; right: 7%; bottom: 7%; left: 7%; display: grid; grid-template-columns: repeat(7, 1fr); grid-auto-rows: 1fr; border: 1px solid #d7ddd8; }
.month-grid i { border-right: 1px solid #e2e5e1; border-bottom: 1px solid #e2e5e1; }
.routine-head { position: absolute; top: 7%; left: 7%; width: 50%; height: 5%; background: #28332d; }
.routine-row { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); position: relative; top: 22%; height: 15%; margin: 0 7%; border-bottom: 1px solid #d7ddd8; }
.routine-row i { border-right: 1px solid #d7ddd8; }
.routine-row i:not(:first-child)::after { display: block; width: 38%; aspect-ratio: 1; margin: 42% auto 0; border: 1px solid #8da19a; border-radius: 2px; content: ""; }
.year-months { position: absolute; top: 20%; right: 7%; bottom: 7%; left: 7%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.year-months i { border-top: 5px solid #78aaa7; background: repeating-linear-gradient(#fff, #fff 10%, #e4e7e3 11%, #fff 12%); }

.steps-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin: 0; padding: 0; list-style: none; }
.steps-list li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.75rem; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.steps-list li > span { color: var(--coral); font-size: 0.78rem; font-weight: 850; }
.steps-list p { margin: 0; color: var(--muted); }

.lead-band { padding: 4rem 0; background: var(--teal); color: #fff; }
.lead-layout { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; align-items: center; }
.lead-band .eyebrow { color: #d9f6f3; }.lead-band h2 { margin-bottom: 0.75rem; }.lead-band p { margin-bottom: 0; color: #e4f1ef; }
.lead-button { min-height: 3.4rem; padding-inline: 1.25rem; background: #fff; color: #174f4d; white-space: nowrap; }
.lead-button:hover { background: #fff4d1; transform: translateY(-2px); }
.inline-form, .modal-form { display: grid; gap: 0.75rem; }
.inline-form > label:first-child, .modal-form > label:first-child { font-weight: 760; }
.input-action { display: grid; grid-template-columns: 1fr auto; gap: 0.55rem; }
input[type="email"] { width: 100%; min-height: 3.15rem; padding: 0.75rem 0.85rem; border: 1px solid #b8c4be; border-radius: 5px; background: #fff; color: #202522; }
.consent { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.55rem; align-items: start; color: inherit; font-size: 0.78rem; line-height: 1.4; }
.consent input { width: 1rem; height: 1rem; margin: 0.12rem 0 0; accent-color: var(--coral); }
.form-message { min-height: 1.4em; margin: 0 !important; color: #fff3b0 !important; font-size: 0.84rem; font-weight: 720; }

.free-section { padding: 6rem 0; overflow: hidden; background: #202b28; color: #f9fbf8; }
.free-layout { display: grid; grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1fr); gap: 5rem; align-items: center; }
.free-display { margin: 0; color: #ffd76f; font-size: clamp(5rem, 13vw, 10rem); font-weight: 920; line-height: 0.78; }
.free-copy { max-width: 35rem; }
.free-copy .eyebrow { color: #9edbd7; }
.free-copy > p { color: #d6dfda; }

.print-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--line); }
.print-grid article { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.print-grid p { color: var(--muted); }
.product-icon { display: grid; width: 2.5rem; aspect-ratio: 1; place-items: center; margin-bottom: 1rem; border-radius: 5px; background: var(--teal-soft); color: var(--teal); font-size: 1.4rem; }

.faq-section { border-top: 1px solid var(--line); background: var(--surface); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.2rem 0; cursor: pointer; font-weight: 760; }
.faq-list p { max-width: 42rem; margin: 0 0 1.25rem; color: var(--muted); }

.site-footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-layout { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; color: var(--muted); font-size: 0.86rem; }
.footer-layout nav { display: flex; flex-wrap: wrap; gap: 1rem; }.footer-layout p { margin: 0.5rem 0 0; }.footer-layout > p { margin: 0; }.footer-brand { color: var(--ink); }

dialog { width: min(100% - 2rem, 34rem); max-height: calc(100svh - 2rem); overflow-y: auto; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 80px rgb(0 0 0 / 30%); }
dialog::backdrop { background: rgb(16 22 19 / 68%); }
.dialog-body { padding: 2rem; }.dialog-body > p { color: var(--muted); }.dialog-body h2 { font-size: 2rem; }
.dialog-close { position: absolute; z-index: 2; top: 0.7rem; right: 0.7rem; display: grid; width: 2.6rem; aspect-ratio: 1; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.5rem; }
.modal-form { margin-top: 1.4rem; }.modal-form .consent { color: var(--muted); }.modal-form .form-message { color: var(--coral-dark) !important; }
.download-actions { display: grid; gap: 0.65rem; margin-top: 1.5rem; }
.toast { position: fixed; z-index: 60; right: 1rem; bottom: 1rem; max-width: min(24rem, calc(100% - 2rem)); margin: 0; padding: 0.8rem 1rem; border-radius: 5px; background: #202b28; color: #fff; font-weight: 700; box-shadow: 0 8px 24px rgb(0 0 0 / 20%); }.toast[hidden] { display: none; }

.legal-main { padding: 7rem 0 5rem; }.legal-main h1 { font-size: 3rem; }.legal-main h2 { margin-top: 2.25rem; font-size: 1.5rem; }.legal-main p, .legal-main li { color: var(--muted); }.legal-main .eyebrow { color: var(--teal); }
.legal-page .site-header { position: relative; color: var(--ink); }
.legal-page .brand b { color: var(--coral-dark); }
.legal-page .site-nav a { color: var(--ink); }

@keyframes hero-copy-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image-in { from { opacity: 0.7; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 62rem) {
  h1 { font-size: 3rem; }
  .template-card { grid-template-columns: 1fr; align-items: start; }
  .template-preview { width: min(100%, 17rem); }
  .free-layout { gap: 2.5rem; }
}

@media (max-width: 46rem) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 2rem; }
  .site-header { position: absolute; }
  .menu-button { display: grid; place-items: center; }
  .site-nav { position: absolute; top: 4.3rem; right: 1rem; left: 1rem; display: none; padding: 0.45rem; border: 1px solid #d6ddd7; border-radius: 6px; background: #fffdf9; box-shadow: 0 12px 35px rgb(35 42 37 / 16%); }
  .site-nav.open { display: grid; }
  .site-nav a { color: #2e3832; }
  .hero { min-height: 46rem; align-items: end; }
  .hero-image { object-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, rgb(13 20 17 / 94%) 0%, rgb(13 20 17 / 74%) 54%, rgb(13 20 17 / 22%) 100%); }
  .hero-inner { margin: 0 auto; padding: 7rem 0 2.5rem; }
  .free-kicker strong { font-size: 2.35rem; }
  .hero-lead { font-size: 1rem; }
  .template-section, .steps-section, .printing-section, .faq-section, .free-section { padding: 4.5rem 0; }
  .section-heading, .template-grid, .steps-list, .lead-layout, .free-layout, .print-grid, .footer-layout { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .template-grid { gap: 3rem; }
  .template-card { grid-template-columns: minmax(8rem, 0.8fr) minmax(0, 1fr); }
  .template-preview { width: 100%; }
  .steps-list { gap: 1.75rem; }
  .lead-layout { gap: 2rem; }
  .lead-button { width: 100%; white-space: normal; }
  .free-layout { gap: 2rem; }
  .footer-layout { align-items: start; }
}

@media (max-width: 32rem) {
  .template-card { grid-template-columns: 1fr; }
  .template-preview { width: min(100%, 16rem); }
  .hero-actions .button { width: 100%; }
}

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

@media print {
  .site-header, .hero-actions, .lead-band, .free-section, .printing-section, .site-footer, dialog, .toast { display: none !important; }
  .hero { min-height: auto; padding: 1rem 0; }.hero-image, .hero::after { display: none; }.hero-inner { margin: 0; }
  body { background: #fff; color: #000; }
}
