/* SharedLife — multi-page site. Layout: sticky nav, coloured page heroes, alternating ivory and surface bands, deep-green feature bands. Palette: forest green, terracotta, marigold, blush, sage (from the crane logo and Indian wedding colours). */
:root {
  --bg: #FBF6EE;
  --surface: #FFFCF7;
  --ink: #183A2B;
  --ink-soft: #4B5B51;
  --muted: #6A766D;
  --line: #EADFCB;
  --green: #1F4D3A;
  --green-deep: #163A2B;
  --terra: #C2512F;
  --marigold: #EBA937;
  --blush: #F6D5C6;
  --sage: #D6E6D9;
  --on-dark: #FBF4EA;
  --on-dark-soft: #CFE0D2;
  --chip: #FEFFFF;
  --display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12201A; --surface: #1A2B23; --ink: #F1EADC; --ink-soft: #C3CCC4; --muted: #9AA69D; --line: #2C3F35;
    --green: #2A6A4F; --green-deep: #0D1813; --terra: #EE8B66; --marigold: #F2BE5C; --blush: #3E2A21; --sage: #20372B;
    --on-dark: #F6EFE3; --on-dark-soft: #BFD3C4; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12201A; --surface: #1A2B23; --ink: #F1EADC; --ink-soft: #C3CCC4; --muted: #9AA69D; --line: #2C3F35;
  --green: #2A6A4F; --green-deep: #0D1813; --terra: #EE8B66; --marigold: #F2BE5C; --blush: #3E2A21; --sage: #20372B;
  --on-dark: #F6EFE3; --on-dark-soft: #BFD3C4; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--terra); }
.h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 44px); line-height: 1.18; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }
section { padding-block: 88px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 44px; }
.head.center { align-items: center; text-align: center; }
.head.center .lede { margin-inline: auto; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; border: 2px solid var(--terra); background: var(--terra); color: #FFF8F1; cursor: pointer; font-family: var(--body); transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px var(--terra); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { box-shadow: 0 10px 22px -12px var(--ink); }
.btn.gold { background: var(--marigold); border-color: var(--marigold); color: #2A1C05; }
.btn.gold:hover { box-shadow: 0 10px 22px -10px var(--marigold); }
.btn.light { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 20px; }
.brand img { width: 42px; height: 42px; border-radius: 50%; background: var(--chip); object-fit: cover; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 700; }
.menu a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-soft); transition: background .2s, color .2s; }
.menu a:hover { background: var(--sage); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--ink); color: var(--bg); }
.nav .cta { padding: 10px 18px; }
.toggle { display: none; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 800 14px var(--body); cursor: pointer; }
@media (max-width: 980px) {
  .toggle { display: inline-flex; }
  .nav .cta { display: none; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open .menu { display: flex; }
  .menu a { padding: 12px 14px; font-size: 17px; }
}

/* home hero */
.hero { position: relative; overflow: hidden; padding-block: 80px 96px; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 6.6vw, 82px); line-height: 1.06; letter-spacing: -.01em; }
.hero h1 em { color: var(--terra); }
.rotator { margin-top: 18px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; color: var(--ink-soft); min-height: 1.5em; }
.rotator b { color: var(--green); border-bottom: 3px solid var(--marigold); transition: opacity .35s, transform .35s; display: inline-block; }
:root[data-theme="dark"] .rotator b { color: var(--marigold); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .rotator b { color: var(--marigold); } }
.rotator b.out { opacity: 0; transform: translateY(8px); }
.hero .lede { margin-top: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.reassure { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.reassure span::before { content: '✓ '; color: var(--green); font-weight: 800; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.blob.a { width: 420px; height: 420px; background: var(--blush); right: -120px; top: -140px; }
.blob.b { width: 260px; height: 260px; background: var(--sage); right: 30%; bottom: -150px; animation-duration: 18s; }
.blob.c { width: 140px; height: 140px; background: var(--marigold); opacity: .28; left: -50px; top: 40%; animation-duration: 11s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-30px, 24px) scale(1.08); } }
.logo-plate { justify-self: center; width: min(380px, 100%); aspect-ratio: 1; max-width: 100%; border-radius: 32px; overflow: hidden; background: var(--chip); box-shadow: 0 30px 60px -30px rgba(24, 58, 43, .45); transform: rotate(-2deg); animation: settle 1.1s ease-out both; }
.logo-plate img { width: 100%; height: 100%; display: block; }
@keyframes settle { from { transform: rotate(-8deg) translateY(16px); } to { transform: rotate(-2deg); } }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .logo-plate { width: 220px; grid-row: 1; } }

/* subpage hero */
.page-hero { position: relative; overflow: hidden; background: var(--green-deep); color: var(--on-dark); padding-block: 72px; }
.page-hero.terra { background: #9A3F22; }
.page-hero.gold { background: #8A5A12; }
.page-hero .wrap { position: relative; display: flex; flex-direction: column; gap: 16px; }
.page-hero .eyebrow { color: var(--marigold); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.4vw, 64px); line-height: 1.1; max-width: 18ch; }
.page-hero p.sub { font-size: 19px; color: var(--on-dark-soft); max-width: 60ch; }
.page-hero.terra p.sub, .page-hero.gold p.sub { color: #FBE6D8; }
.page-hero .ring { position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; border: 40px solid rgba(235, 169, 55, .22); animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
.page-hero .ring.two { right: 140px; top: auto; bottom: -160px; width: 240px; height: 240px; border-width: 28px; border-color: rgba(246, 213, 198, .16); }

/* marquee */
.marquee { overflow: hidden; background: var(--marigold); color: #2A1C05; padding-block: 14px; }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: scroll 40s linear infinite; font-weight: 800; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.marquee span::after { content: '✦'; margin-left: 40px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0; transition: transform .25s, box-shadow .25s, border-color .25s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.lift:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(24, 58, 43, .5); border-color: var(--terra); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.25; }
.card p, .card li { color: var(--ink-soft); }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.card .for { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card .go { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--terra); }
.card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-size: 24px; color: #2A1C05; }
.i-blush { background: var(--blush); color: var(--ink); } .i-sage { background: var(--sage); color: var(--ink); } .i-gold { background: var(--marigold); } .i-terra { background: var(--terra); color: #FFF8F1 !important; }
.card.dark { background: var(--green); border-color: var(--green); color: var(--on-dark); }
.card.dark p, .card.dark li { color: var(--on-dark-soft); }
.card.dark .for, .card.dark .go { color: var(--marigold); }
.card.top-terra { border-top: 6px solid var(--terra); }
.card.top-gold { border-top: 6px solid var(--marigold); }
.card.top-green { border-top: 6px solid var(--green); }

/* philosophy band */
.belief { background: var(--terra); color: #FFF6EE; padding-block: 84px; position: relative; overflow: hidden; }
:root[data-theme="dark"] .belief { background: #7A3219; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .belief { background: #7A3219; } }
.belief .eyebrow { color: #FFE2C9; margin-bottom: 20px; }
.belief .old { font-family: var(--display); font-size: clamp(20px, 2.6vw, 30px); text-decoration: line-through; text-decoration-thickness: 2px; opacity: .75; }
.belief .new { font-family: var(--display); font-size: clamp(30px, 4.6vw, 56px); line-height: 1.2; margin-top: 14px; max-width: 22ch; }
.belief .more { margin-top: 24px; max-width: 60ch; color: #FCE3D4; font-size: 18px; }
.belief .btn { margin-top: 28px; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps li { display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; }
.steps .n { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: var(--on-dark); display: grid; place-items: center; font-family: var(--display); font-size: 22px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg); }
.steps li:not(:last-child)::after { content: ''; position: absolute; left: 56px; right: -24px; top: 27px; border-top: 2px dashed var(--line); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; gap: 32px; } .steps li::after { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* stats */
.stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stats div { display: flex; flex-direction: column; }
.stats b { font-family: var(--display); font-weight: 400; font-size: 48px; color: var(--terra); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats span { font-size: 14px; color: var(--muted); font-weight: 700; }

/* split layout */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* syllabus */
.syllabus { width: 100%; border-collapse: collapse; font-size: 16px; }
.syllabus th { text-align: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 0 10px; border-bottom: 2px solid var(--ink); }
.syllabus td { padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.syllabus td:first-child { width: 86px; color: var(--terra); font-weight: 800; font-variant-numeric: tabular-nums; }
.syllabus tr { transition: background .2s; }
.syllabus tbody tr:hover { background: var(--sage); }
.syllabus tr:last-child td { border-bottom: 0; font-weight: 800; }

/* prenup phases & tiers */
.dark-band { background: var(--green-deep); color: var(--on-dark); }
.dark-band .eyebrow { color: var(--marigold); }
.dark-band .lede { color: var(--on-dark-soft); }
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase { border-radius: 20px; padding: 30px; display: flex; flex-direction: column; gap: 10px; background: rgba(251, 244, 234, .06); border: 1px solid rgba(251, 244, 234, .16); min-width: 0; transition: transform .25s, background .25s; }
.phase:hover { transform: translateY(-6px); background: rgba(251, 244, 234, .1); }
.phase .k { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }
.phase h3 { font-family: var(--display); font-weight: 400; font-size: 24px; }
.phase p { color: var(--on-dark-soft); }
@media (max-width: 860px) { .phases { grid-template-columns: 1fr; } }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pills span { font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 999px; background: var(--sage); color: var(--ink); }
.pills.alt span:nth-child(3n+1) { background: var(--blush); }
.pills.alt span:nth-child(3n+2) { background: var(--sage); }
.pills.alt span:nth-child(3n) { background: color-mix(in srgb, var(--marigold) 35%, var(--bg)); }
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; }
.tier { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; transition: transform .25s, box-shadow .25s; }
.tier:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(24, 58, 43, .5); }
.tier.pop { border: 2px solid var(--terra); }
.tier .badge { position: absolute; top: -14px; left: 28px; background: var(--terra); color: #FFF8F1; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.tier .name { font-weight: 800; color: var(--muted); }
.tier .price { font-family: var(--display); font-size: 42px; font-variant-numeric: tabular-nums; }
.tier ul { margin: 6px 0 0; padding-left: 20px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.tier .btn { margin-top: auto; align-self: flex-start; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) { .tiers { grid-template-columns: 1fr; } }

/* founders */
.founder { display: grid; grid-template-columns: 132px 1fr; gap: 26px; align-items: start; }
.founder img { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 6px var(--blush); }
.founder > div { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.founder .role { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.founder h3 { font-family: var(--body); font-weight: 800; font-size: 22px; }
@media (max-width: 460px) { .founder { grid-template-columns: 1fr; } }

/* faq */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 880px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--terra); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-family: var(--display); font-size: 19px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--terra); font: 800 22px var(--body); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 70ch; }

/* cta band */
.cta-band { padding-block: 72px; background: linear-gradient(120deg, var(--green) 0%, var(--green-deep) 100%); color: var(--on-dark); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 40px); max-width: 22ch; }
.cta-band p { color: var(--on-dark-soft); margin-top: 10px; max-width: 52ch; }

/* contact */
.mailbox { background: var(--surface); border: 2px solid var(--terra); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mailbox .addr { font-family: var(--display); font-size: clamp(17px, 2.3vw, 23px); overflow-wrap: anywhere; user-select: all; }
.mailbox .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mailbox .ok { font-size: 14px; color: var(--muted); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; color: var(--ink-soft); }
.checklist li::before { content: ''; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--marigold); box-shadow: inset 0 0 0 6px color-mix(in srgb, var(--marigold) 40%, var(--bg)); }

/* footer */
footer { background: var(--green-deep); color: var(--on-dark-soft); padding-block: 56px 40px; font-size: 15px; }
footer .wrap { display: flex; flex-direction: column; gap: 32px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
footer .brand { color: var(--on-dark); }
footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--marigold); }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--on-dark); text-decoration: underline; }
footer .legal { border-top: 1px solid rgba(251, 244, 234, .15); padding-top: 20px; font-size: 13px; opacity: .85; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > :first-child { grid-column: 1 / -1; } }

/* entrance motion: elements are visible at rest; this only adds a short rise on load */
.rise { animation: rise .8s ease-out both; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .2s; } .rise.d3 { animation-delay: .3s; }
@keyframes rise { from { transform: translateY(14px); opacity: .2; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.m-only { display: none; }
@media (max-width: 980px) { .m-only { display: block; } }
@media (max-width: 1080px) and (min-width: 981px) { .menu a { padding: 8px 9px; font-size: 14px; } }
