:root {
  --cream: #fafcf8;
  --paper: #fffdfa;
  --frost: #e6ede7;
  --evergreen: #293f39;
  --evergreen-text: #fff8ed;
  --evergreen-muted: #c7d4cd;
  --cranberry: #7f2828;
  --cranberry-dark: #641f1f;
  --pine: #4d705e;
  --holly: #49665c;
  --sage: #d8e3dc;
  --line: #b8c9bf;
  --shadow: 0 18px 55px rgba(41, 63, 57, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--holly);
  background: var(--cream);
  font: 400 16px/1.7 "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img { max-width: 100%; }
a { color: var(--cranberry); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #c7853a;
  outline-offset: 4px;
}

h1, h2, .brand {
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
}

h1 { margin: 0 0 22px; color: var(--cranberry); font-size: clamp(2.35rem, 6vw, 4.65rem); line-height: 1.08; letter-spacing: -0.035em; }
h2 { margin: 0 0 18px; color: var(--cranberry); font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -0.02em; }
h3 { margin: 0 0 10px; color: var(--holly); font-size: 1.08rem; line-height: 1.4; }
p { margin: 0 0 18px; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: #fff; background: var(--cranberry); }
.skip-link:focus { top: 16px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid rgba(49, 91, 72, 0.14); background: rgba(250, 252, 248, 0.96); }
.site-header nav { width: min(1180px, calc(100% - 32px)); min-height: 68px; margin: auto; display: flex; align-items: center; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cranberry); font-size: 1.02rem; text-decoration: none; }
.brand img { border-radius: 8px; box-shadow: 0 5px 14px rgba(38, 55, 47, 0.13); }
.nav-links { margin-left: auto; display: flex; gap: 8px; }
.nav-links a, .sign-in { padding: 9px 11px; color: var(--holly); font-size: 0.92rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .sign-in:hover { color: var(--cranberry); }
.sign-in { margin-left: 2px; color: var(--cranberry); }

main > section, .breadcrumbs { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.breadcrumbs { padding: 20px 0 0; display: flex; gap: 9px; align-items: center; overflow: hidden; color: #597066; font-size: 0.84rem; white-space: nowrap; }
.breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }

.home-hero { position: relative; isolation: isolate; overflow: hidden; width: 100%; max-width: none; min-height: min(640px, 74vh); display: grid; align-items: start; padding: clamp(40px, 7vw, 82px) max(24px, calc((100% - 1120px) / 2)); background: #f1e8d7; }
.home-hero-media { position: absolute; z-index: -1; inset: 0; }
.home-hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center right; }
.home-hero-copy { width: min(540px, 100%); padding: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.home-hero h1 { font-size: clamp(2.4rem, 5.8vw, 4.25rem); text-shadow: 0 1px 14px rgba(250, 252, 248, 0.92); }
.home-hero .lead { text-shadow: 0 1px 12px rgba(250, 252, 248, 0.96); }
.page-hero { min-height: 480px; padding: clamp(52px, 8vw, 96px) 0; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(28px, 7vw, 92px); align-items: center; }
.lead { max-width: 680px; color: #3d5349; font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.75; }
.eyebrow { margin-bottom: 12px; color: var(--pine); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }

.cta-row { margin-top: 25px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 17px; border: 1px solid var(--cranberry); border-radius: 9px; font-weight: 700; text-decoration: none; }
.button.primary { color: #fff; background: var(--cranberry); box-shadow: 0 8px 22px rgba(127, 40, 40, 0.2); }
.button.primary:hover { background: var(--cranberry-dark); }
.cta-label-compact { display: none; }
.button.secondary { color: var(--cranberry); background: rgba(255, 253, 250, 0.92); }
.join-link { padding: 10px 6px; font-weight: 700; }

.trust-strip, .platform-band { margin-top: 34px; padding: 19px 24px; display: flex; justify-content: center; flex-wrap: wrap; gap: 22px 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--pine); font-weight: 700; font-size: 0.9rem; }
.trust-strip span::before, .platform-band span::before { content: "✓"; margin-right: 8px; color: var(--cranberry); }

.section-heading { max-width: 760px; padding: 88px 0 46px; text-align: center; }
.section-heading > p:not(.eyebrow) { color: #536a60; font-size: 1.05rem; }
.benefit-grid, .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit-grid { padding-bottom: 88px; }
.benefit-grid article, .card-grid article, .link-cards .card-grid a { padding: 25px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.benefit-grid p, .card-grid p { margin-bottom: 0; color: #536a60; }

.soft-section { width: 100%; max-width: none; padding: 0 max(20px, calc((100% - 1120px) / 2)) 92px; color: var(--evergreen-muted); background: var(--evergreen); }
.soft-section .section-heading h2, .soft-section .three-steps h3 { color: var(--evergreen-text); }
.soft-section .section-heading > p:not(.eyebrow), .soft-section .three-steps p { color: var(--evergreen-muted); }
.soft-section .eyebrow { color: #b8c9bf; }
.soft-section .card-grid h3 { color: var(--holly); }
.soft-section .card-grid p { color: #536a60; }
.three-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.three-steps article { position: relative; text-align: center; }
.three-steps article > span { position: absolute; z-index: 2; left: calc(50% - 115px); top: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--cranberry); font-weight: 700; }
.three-steps .screenshot { width: 210px; margin: 0 auto 24px; }
.three-steps p { color: #536a60; }

.screenshot { display: block; width: min(360px, 100%); margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(38, 55, 47, 0.18)); }
.screenshot img { width: 100%; height: auto; display: block; }
.hero-stack { min-height: 410px; display: flex; align-items: center; justify-content: center; }
.hero-stack .screenshot { width: 205px; margin: 0; }
.hero-stack .screenshot + .screenshot { margin-left: -58px; transform: translateY(36px) rotate(3deg); }
.hero-stack .screenshot:first-child { transform: rotate(-3deg); }

.content-grid { padding: 88px 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 8vw, 104px); align-items: center; }
.content-grid.reverse { grid-template-columns: 380px minmax(0, 1fr); }
.content-grid.reverse > div { grid-column: 2; }
.content-grid.reverse > picture { grid-column: 1; grid-row: 1; }
.content-grid p { color: #4b6257; }
.text-link { font-weight: 700; }

.notice, .guide-intro { margin-top: 58px; margin-bottom: 58px; padding: 28px 32px; border-left: 5px solid var(--cranberry); border-radius: 7px; color: var(--evergreen-muted); background: var(--evergreen); }
.notice h2, .guide-intro h2 { color: var(--evergreen-text); }
.notice a, .guide-intro a { color: var(--evergreen-text); }
.notice h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
.notice p:last-child, .guide-intro p:last-child { margin-bottom: 0; }
.steps-list { padding-left: 22px; }
.steps-list li { margin: 0 0 18px; padding-left: 7px; }

.guide-step { padding: 86px 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) 340px; gap: 34px; align-items: center; border-top: 1px solid var(--line); }
.step-number { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--cranberry); font: 400 1.5rem "Libre Baskerville", Georgia, serif; }

.faq { max-width: 840px; padding: 84px 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 36px 20px 0; cursor: pointer; color: var(--holly); font-weight: 700; }
.faq details p { padding: 0 34px 20px 0; color: #536a60; }

.link-cards { padding-bottom: 92px; }
.link-cards .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-cards .card-grid a { color: inherit; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.link-cards .card-grid a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link-cards p { margin-bottom: 0; color: #536a60; }
.privacy-band { width: 100%; max-width: none; padding: 80px max(24px, calc((100% - 820px) / 2)); color: var(--evergreen-muted); background: var(--evergreen); text-align: center; }
.privacy-band .eyebrow, .privacy-band h2, .privacy-band a { color: #fff8ed; }
.privacy-band p { font-size: 1.04rem; }

.related { padding: 76px 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 2rem; }
.related-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.related-links a { padding: 21px; display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 11px; color: inherit; background: var(--paper); text-decoration: none; }
.related-links strong { color: var(--cranberry); }
.related-links span { color: #536a60; font-size: 0.9rem; }

.final-cta { width: 100%; max-width: none; padding: 78px max(24px, calc((100% - 840px) / 2)); color: var(--evergreen-muted); background: var(--evergreen); text-align: center; }
.final-cta h2 { color: var(--evergreen-text); }
.final-cta .button.secondary { color: var(--evergreen-text); border-color: #b8c9bf; background: transparent; }
.final-cta .join-link { color: var(--evergreen-text); }
.final-cta .cta-row { justify-content: center; }

.site-footer { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 58px 0 30px; display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 38px; }
.site-footer nav { display: grid; align-content: start; gap: 8px; }
.site-footer nav h2 { margin: 0 0 6px; color: var(--holly); font: 700 0.86rem "Manrope", sans-serif; }
.site-footer nav a { color: #52675e; font-size: 0.88rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--cranberry); text-decoration: underline; }
.footer-brand { margin-bottom: 14px; }
.site-footer > div p { color: #64766e; font-size: 0.9rem; }
.copyright { grid-column: 1 / -1; margin-top: 18px; padding-top: 20px; border-top: 1px solid var(--line); color: #64766e; font-size: 0.82rem; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .sign-in { margin-left: auto; }
  .home-hero { min-height: 670px; padding-bottom: 190px; }
  .home-hero-media img { object-position: center; }
  .home-hero-copy { width: 100%; }
  .page-hero { grid-template-columns: 1fr; padding-top: 52px; }
  .hero-stack { min-height: 340px; }
  .benefit-grid, .card-grid, .three-steps, .link-cards .card-grid, .related-links { grid-template-columns: 1fr 1fr; }
  .content-grid, .content-grid.reverse { grid-template-columns: 1fr; padding: 66px 0; }
  .content-grid.reverse > div, .content-grid.reverse > picture { grid-column: auto; grid-row: auto; }
  .content-grid picture { width: min(320px, 80vw); }
  .guide-step { grid-template-columns: 54px 1fr; }
  .guide-step picture { grid-column: 2; width: min(320px, 75vw); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > div { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  main > section, .breadcrumbs { width: min(100% - 30px, 1120px); }
  .home-hero { width: 100%; min-height: 650px; padding: 44px 22px 190px; }
  .home-hero-copy { width: min(355px, 100%); }
  .home-hero h1 { max-width: 340px; margin-bottom: 20px; font-size: clamp(2.05rem, 9.5vw, 2.45rem); line-height: 1.12; text-shadow: 0 1px 12px rgba(250, 252, 248, 0.9); }
  .home-hero .eyebrow { margin-bottom: 8px; font-size: 0.68rem; }
  .home-hero .lead { max-width: 350px; margin-bottom: 18px; color: #293f39; font-size: 1rem; line-height: 1.55; text-shadow: 0 1px 10px rgba(250, 252, 248, 0.95); }
  .home-hero .cta-row { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.12fr; gap: 10px; }
  .home-hero .button { min-height: 48px; padding: 10px 12px; }
  .home-hero .cta-label-full { display: none; }
  .home-hero .cta-label-compact { display: inline; }
  .home-hero .button.secondary { grid-column: 1 / -1; grid-row: 2; }
  .home-hero .join-link { grid-column: 2; grid-row: 1; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--holly); background: rgba(250, 252, 248, 0.9); text-decoration: none; }
  .cta-row { align-items: stretch; }
  .button { width: 100%; }
  .join-link { width: 100%; text-align: center; }
  .benefit-grid, .card-grid, .three-steps, .link-cards .card-grid, .related-links { grid-template-columns: 1fr; }
  .section-heading { padding-top: 66px; }
  .benefit-grid { padding-bottom: 66px; }
  .soft-section { padding-bottom: 66px; }
  .trust-strip, .platform-band { justify-content: flex-start; gap: 13px; }
  .trust-strip span, .platform-band span { width: 100%; }
  .hero-stack { min-height: 300px; }
  .hero-stack .screenshot { width: 175px; }
  .guide-step { grid-template-columns: 1fr; gap: 18px; }
  .guide-step picture { grid-column: auto; }
  .step-number { width: 44px; height: 44px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div { grid-column: auto; }
}

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