:root {
    --teal: #00747b;
    --blue: #006093;
    --navy: #092d4f;
    --green: #427c18;
    --ink: #1a3348;
    --muted: #5d7384;
    --cream: #f3f8f6;
    --peach: #eef6f0;
    --card: #ffffff;
    --line: rgba(9, 45, 79, 0.09);
    --display: "Fraunces", serif;
    --body: "Nunito", sans-serif;
    --shadow: 0 16px 40px rgba(9, 45, 79, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ink);
    background:
        radial-gradient(ellipse 70% 40% at 10% 0%, rgba(0, 116, 123, 0.1), transparent 50%),
        radial-gradient(ellipse 50% 35% at 90% 5%, rgba(66, 124, 24, 0.08), transparent 45%),
        var(--cream);
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

code {
    font-family: var(--body);
    font-weight: 800;
    font-size: 0.92em;
    color: var(--teal);
    background: rgba(0, 116, 123, 0.1);
    padding: 0.1em 0.4em;
    border-radius: 6px;
}

.shell { width: min(1040px, calc(100% - 2.2rem)); margin-inline: auto; }

.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 80;
    background: linear-gradient(90deg, var(--green), var(--teal));
}

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(243, 248, 246, 0.85);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-bottom-color: var(--line);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 68px; gap: 1rem;
}
.brand img { width: 142px; }
.site-nav { display: flex; align-items: center; gap: 0.95rem; }
.site-nav a { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.site-nav a:hover, .site-nav a.is-current { color: var(--teal); }
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: #fff; }

.nav-toggle {
    display: none; width: 42px; height: 42px; border: 1px solid var(--line);
    border-radius: 12px; background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; width: 17px; height: 2px; margin: 5px auto; background: var(--navy); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 0.7rem 1.3rem; border-radius: 999px;
    border: 1px solid transparent; font-family: var(--body); font-size: 1rem;
    font-weight: 800; cursor: pointer; transition: 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn-primary {
    background: var(--green); color: #fff;
    box-shadow: 0 10px 24px rgba(66, 124, 24, 0.28);
}
.btn-primary:hover { background: #356314; color: #fff; }
.btn-soft {
    background: #fff; color: var(--navy); border-color: var(--line);
}
.btn-soft:hover { border-color: var(--teal); color: var(--teal); }

/* Hero */
.hero {
    position: relative; padding: 3.5rem 0 2.5rem; overflow: hidden;
}
.hero-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 30%, rgba(0, 116, 123, 0.14), transparent 40%),
        radial-gradient(circle at 20% 70%, rgba(66, 124, 24, 0.1), transparent 35%);
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; align-items: center;
}
.welcome {
    display: inline-block; margin: 0 0 0.75rem; padding: 0.4rem 0.9rem;
    border-radius: 999px; background: rgba(66, 124, 24, 0.12); color: var(--green);
    font-size: 0.82rem; font-weight: 800;
}
.brand-word {
    margin: 0 0 0.5rem;
    font-family: var(--display);
    font-size: clamp(2.6rem, 6vw, 4rem);
    font-weight: 700; letter-spacing: -0.03em; line-height: 0.95; color: var(--navy);
}
.brand-sm { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--teal); }
.hero-copy h1 {
    margin: 0 0 0.9rem; max-width: 18ch;
    font-family: var(--display); font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; color: var(--ink);
}
.lede { margin: 0; max-width: 38ch; color: var(--muted); font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.4rem; }
.hero-note { margin: 1rem 0 0; font-size: 0.9rem; font-weight: 700; color: var(--muted); }

/* Phone art */
.hero-art {
    position: relative; display: flex; justify-content: center; min-height: 420px; align-items: center;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0;
}
.b1 {
    width: 280px; height: 280px; background: rgba(0, 116, 123, 0.18); top: 8%; right: 8%;
    animation: drift 8s ease-in-out infinite;
}
.b2 {
    width: 180px; height: 180px; background: rgba(66, 124, 24, 0.16); bottom: 10%; left: 10%;
    animation: drift 9s ease-in-out infinite reverse;
}
@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -14px); }
}

.phone {
    position: relative; z-index: 2; width: min(300px, 100%);
    background: #fff; border-radius: 28px; border: 1px solid var(--line);
    box-shadow: var(--shadow); overflow: hidden; animation: float 5.5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.phone-top {
    display: flex; align-items: center; gap: 0.65rem; padding: 1rem;
    background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff;
}
.ava {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.2);
    display: grid; place-items: center; font-weight: 800;
}
.phone-top strong { display: block; font-size: 0.95rem; }
.phone-top small { opacity: 0.85; font-size: 0.78rem; }
.phone-chat { padding: 1rem; display: grid; gap: 0.65rem; min-height: 220px; background: #f7fbfa; }
.msg {
    max-width: 88%; padding: 0.75rem 0.9rem; border-radius: 16px; font-size: 0.9rem; line-height: 1.4;
}
.msg.them {
    background: #fff; border: 1px solid var(--line); border-radius: 16px 16px 16px 5px;
    animation: pop 0.5s ease 0.3s both;
}
.msg.me {
    margin-left: auto; color: #eefdf8;
    background: linear-gradient(135deg, var(--teal), #0a8a82);
    border-radius: 16px 16px 5px 16px;
    animation: pop 0.5s ease 0.9s both;
}
.msg.typing {
    display: inline-flex; gap: 4px; width: fit-content; padding: 0.7rem 0.9rem;
    background: #fff; border: 1px solid var(--line); animation: pop 0.4s ease 1.4s both;
}
.msg.typing i {
    width: 6px; height: 6px; border-radius: 50%; background: var(--muted);
    animation: bounce 1s ease infinite;
}
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
    0%, 60%, 100% { transform: none; opacity: 0.5; }
    30% { transform: translateY(-3px); opacity: 1; }
}
@keyframes pop {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.phone-foot { padding: 0.85rem 1rem 1.1rem; }
.phone-foot span { display: block; font-size: 0.78rem; font-weight: 700; color: var(--muted); margin-bottom: 0.4rem; }
.soft-bar { height: 7px; border-radius: 999px; background: rgba(0,116,123,0.1); overflow: hidden; }
.soft-bar i {
    display: block; height: 100%; width: 45%;
    background: linear-gradient(90deg, var(--teal), var(--green));
    border-radius: inherit; animation: fill 2.5s ease infinite alternate;
}
@keyframes fill { from { width: 35%; } to { width: 75%; } }

.stamp {
    position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line);
    border-radius: 999px; padding: 0.5rem 0.85rem; font-size: 0.8rem; font-weight: 800;
    color: var(--navy); box-shadow: var(--shadow); animation: float 4.5s ease-in-out infinite;
}
.s1 { top: 12%; left: 0; color: var(--teal); animation-delay: 0.4s; }
.s2 { bottom: 16%; right: 0; color: var(--green); animation-delay: 0.9s; }

/* Promise row */
.promise { padding: 0.5rem 0 2rem; }
.promise-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.promise-row > div {
    display: flex; gap: 0.85rem; align-items: flex-start;
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 1.15rem 1.2rem; box-shadow: var(--shadow);
}
.emoji-dot {
    width: 14px; height: 14px; margin-top: 0.35rem; border-radius: 50%;
    background: var(--green); box-shadow: 0 0 0 6px rgba(66,124,24,0.12); flex-shrink: 0;
}
.promise-row strong { display: block; font-family: var(--display); font-size: 1.15rem; color: var(--navy); }
.promise-row p { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-warm { background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(238,246,240,0.9)); }
.eyebrow {
    margin: 0 0 0.45rem; font-size: 0.78rem; font-weight: 800;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal);
}
.center-head { text-align: center; max-width: 38rem; margin: 0 auto 2rem; }
.center-head h2, .story-text h2, .safe-copy h2, .cta h2 {
    margin: 0; font-family: var(--display); font-weight: 700;
    letter-spacing: -0.03em; line-height: 1.18; color: var(--navy);
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}

/* Story */
.story {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start;
}
.story-text p { color: var(--muted); margin: 0.85rem 0 0; }
.story-cards { display: grid; gap: 0.75rem; }
.story-cards article {
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    padding: 1.15rem 1.25rem; box-shadow: var(--shadow);
}
.story-cards article:last-child {
    background: linear-gradient(135deg, rgba(0,116,123,0.08), rgba(66,124,24,0.08));
    border-color: rgba(0,116,123,0.2);
}
.story-cards h3 {
    margin: 0 0 0.35rem; font-family: var(--display); font-size: 1.2rem; color: var(--navy);
}
.story-cards p { margin: 0; color: var(--muted); }

/* Features */
.feature-flow {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.feature-flow-all {
    grid-template-columns: repeat(4, 1fr);
}
.feature-flow article {
    background: #fff; border: 1px solid var(--line); border-radius: 22px;
    padding: 1.2rem; box-shadow: var(--shadow); text-align: center;
}
.feature-flow h3 {
    margin: 0.85rem 0 0.4rem; font-family: var(--display); font-size: 1.15rem; color: var(--navy);
}
.feature-flow p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.illus {
    height: 110px; border-radius: 16px;
    background: linear-gradient(160deg, #f7fbfa, #e5f1ef);
    display: grid; place-items: center; position: relative; overflow: hidden;
}
.illus-qr { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.qr {
    width: 54px; height: 54px; border: 2px solid var(--navy); border-radius: 8px; background: #fff;
    background-image:
        linear-gradient(var(--navy) 0 0), linear-gradient(var(--navy) 0 0),
        linear-gradient(var(--navy) 0 0), repeating-conic-gradient(var(--navy) 0 25%, #fff 0 50%);
    background-size: 30% 30%, 30% 30%, 30% 30%, 18% 18%;
    background-position: 12% 12%, 88% 12%, 12% 88%, 50% 50%;
    background-repeat: no-repeat;
}
.hand-phone {
    width: 36px; height: 58px; border-radius: 8px; background: var(--navy); padding: 4px;
}
.hand-phone span { display: block; height: 100%; border-radius: 5px; background: #dff3f1; }

.faces { display: flex; gap: 0.35rem; margin-bottom: 0.5rem; }
.faces i {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(0,116,123,0.2); border: 2px solid #fff;
}
.faces i:nth-child(2) { background: rgba(66,124,24,0.25); }
.faces i:nth-child(3) { background: rgba(0,96,147,0.25); }
.list-line {
    width: 70%; height: 8px; border-radius: 999px; background: rgba(9,45,79,0.12); margin: 0.25rem auto;
}
.list-line.short { width: 50%; }

.note {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 0.55rem 0.75rem; font-size: 0.85rem; font-weight: 700; color: var(--navy);
    box-shadow: 0 6px 16px rgba(9,45,79,0.06);
}
.note.small {
    margin-top: 0.4rem; margin-left: 1rem;
    background: linear-gradient(135deg, var(--teal), var(--blue)); color: #fff; border: 0;
}

.clock {
    width: 58px; height: 58px; border-radius: 50%; border: 4px solid rgba(0,116,123,0.2);
    border-top-color: var(--teal); display: grid; place-items: center;
    font-family: var(--display); font-weight: 700; color: var(--navy); font-size: 0.9rem;
    animation: spin 4s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pace-dots { display: flex; gap: 0.35rem; margin-top: 0.55rem; justify-content: center; }
.pace-dots i {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green); opacity: 0.35;
    animation: pulse 1.4s ease infinite;
}
.pace-dots i:nth-child(2) { animation-delay: 0.2s; }
.pace-dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* New feature illustrations */
.illus-inbox { display: flex; flex-direction: column; justify-content: center; gap: 0.4rem; padding: 0 1.2rem; }
.inbox-row {
    display: flex; align-items: center; gap: 0.5rem;
    background: #fff; border-radius: 10px; padding: 0.45rem 0.55rem;
    border: 1px solid var(--line);
}
.inbox-row.on { border-color: rgba(0,116,123,0.35); background: rgba(0,116,123,0.06); }
.inbox-row b {
    width: 18px; height: 18px; border-radius: 50%;
    background: rgba(0,116,123,0.25); flex-shrink: 0;
}
.inbox-row span {
    flex: 1; height: 7px; border-radius: 999px; background: rgba(9,45,79,0.12);
}
.inbox-row.on b { background: var(--green); }

.illus-bot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; }
.bot-chip {
    padding: 0.4rem 0.85rem; border-radius: 999px; background: #fff;
    border: 1px solid var(--line); font-size: 0.78rem; font-weight: 800; color: var(--navy);
}
.bot-chip.green {
    background: rgba(66,124,24,0.12); border-color: rgba(66,124,24,0.25); color: var(--green);
}
.bot-line { width: 2px; height: 12px; background: rgba(0,116,123,0.3); }

.illus-shop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.45rem; }
.shop-box {
    width: 64px; height: 48px; border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,116,123,0.25), rgba(66,124,24,0.2));
    border: 1px solid var(--line);
}
.shop-price {
    font-size: 0.78rem; font-weight: 800; color: var(--navy);
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.7rem;
}

.illus-grow { display: flex; align-items: flex-end; justify-content: center; }
.grow-bars { display: flex; align-items: flex-end; gap: 0.45rem; height: 64px; }
.grow-bars i {
    width: 14px; border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, var(--teal), var(--green));
    animation: bar-up 1.6s ease infinite alternate;
}
.grow-bars i:nth-child(1) { height: 28px; }
.grow-bars i:nth-child(2) { height: 44px; animation-delay: 0.2s; }
.grow-bars i:nth-child(3) { height: 58px; animation-delay: 0.4s; }
@keyframes bar-up {
    from { opacity: 0.65; }
    to { opacity: 1; transform: scaleY(1.06); transform-origin: bottom; }
}

/* Path steps */
.path {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem;
}
.path li {
    text-align: center; background: #fff; border: 1px solid var(--line);
    border-radius: 20px; padding: 1.15rem 0.75rem; box-shadow: var(--shadow);
}
.path span {
    display: grid; place-items: center; width: 36px; height: 36px; margin: 0 auto 0.65rem;
    border-radius: 50%; background: var(--peach); color: var(--teal);
    font-family: var(--display); font-weight: 700;
}
.path h3 {
    margin: 0 0 0.3rem; font-family: var(--display); font-size: 1.05rem; color: var(--navy);
}
.path p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Who grid */
.family-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem;
}
.family-grid article {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    padding: 1.25rem; box-shadow: var(--shadow);
    transition: transform 0.2s ease;
}
.family-grid article:hover { transform: translateY(-4px); }
.family-grid h3 {
    margin: 0 0 0.4rem; font-family: var(--display); font-size: 1.2rem; color: var(--navy);
}
.family-grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Safety */
.safe-wrap {
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start;
}
.safe-copy p { margin: 0.85rem 0 0; color: var(--muted); }
.safe-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.safe-list li {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 1rem 1.15rem; box-shadow: var(--shadow);
}
.safe-list strong {
    display: block; font-family: var(--display); font-size: 1.1rem; color: var(--navy); margin-bottom: 0.2rem;
}
.safe-list span { color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 700px; }
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 0 1.1rem; margin-bottom: 0.65rem; box-shadow: var(--shadow);
}
.faq details[open] { border-color: rgba(0,116,123,0.25); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1rem 1.75rem 1rem 0;
    font-family: var(--display); font-size: 1.1rem; font-weight: 700; color: var(--navy);
    position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0; top: 1rem; color: var(--teal); font-weight: 700;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

/* CTA */
.cta {
    text-align: center; padding: 2.75rem 1.5rem; border-radius: 28px;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,116,123,0.12), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(66,124,24,0.1), transparent 35%),
        #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cta p { margin: 0.85rem auto 0; max-width: 44ch; color: var(--muted); }
.cta .hero-cta { justify-content: center; }

/* Sticky */
.sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    transform: translateY(120%); transition: transform 0.3s ease; pointer-events: none;
}
.sticky-cta.is-show { transform: none; pointer-events: auto; }
.sticky-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    margin-bottom: 0.85rem; padding: 0.75rem 1rem; border-radius: 999px;
    background: rgba(9, 45, 79, 0.94); color: #fff;
    width: min(560px, calc(100% - 2rem)); box-shadow: var(--shadow);
}
.sticky-inner span { font-size: 0.88rem; font-weight: 700; }
.sticky-inner .btn-primary { box-shadow: none; }

/* Footer */
.site-footer {
    padding: 1.75rem 0 4.75rem; border-top: 1px solid var(--line); background: #fff;
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-inner .brand img { width: 118px; }
.footer-inner p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.footer-links { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.footer-links a { font-weight: 800; color: var(--blue); }

.reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
    .hero-grid, .story, .safe-wrap { grid-template-columns: 1fr; }
    .feature-flow, .feature-flow-all, .path, .promise-row { grid-template-columns: 1fr 1fr; }
    .family-grid { grid-template-columns: 1fr 1fr; }
    .stamp { display: none; }
}

@media (max-width: 720px) {
    .nav-toggle { display: inline-block; }
    .site-nav {
        position: absolute; top: 68px; left: 0; right: 0; display: none;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 0.7rem 1.1rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
    .site-nav .btn { margin-top: 0.65rem; width: 100%; }
    .feature-flow, .feature-flow-all, .path, .promise-row, .family-grid { grid-template-columns: 1fr; }
    .sticky-inner { border-radius: 18px; width: calc(100% - 1.5rem); flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .phone, .blob, .stamp, .soft-bar i, .clock, .pace-dots i, .msg, .msg.typing i, .grow-bars i, .reveal {
        animation: none !important; transition: none !important; opacity: 1; transform: none;
    }
}

/* —— Legal pages —— */
body.is-legal { background: #fff; }
.legal-hero {
    padding: 2.4rem 0 1.4rem;
    background:
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(0, 116, 123, 0.12), transparent 55%),
        linear-gradient(180deg, #eef6f3, #fff 85%);
    border-bottom: 1px solid var(--line);
}
.legal-hero .eyebrow { margin: 0 0 0.35rem; color: var(--teal); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.legal-hero h1 {
    margin: 0 0 0.45rem; font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--navy); line-height: 1.15;
}
.legal-hero .meta { margin: 0; color: var(--muted); font-size: 0.95rem; }
.legal-layout {
    display: grid; grid-template-columns: 220px 1fr; gap: 2rem;
    padding: 2rem 0 4rem; align-items: start;
}
.legal-toc {
    position: sticky; top: 84px; padding: 1rem; border-radius: 16px;
    background: var(--cream); border: 1px solid var(--line);
}
.legal-toc strong { display: block; margin-bottom: 0.55rem; color: var(--navy); font-size: 0.85rem; }
.legal-toc a {
    display: block; padding: 0.35rem 0; font-size: 0.9rem; font-weight: 700;
    color: var(--muted); border-bottom: 1px solid transparent;
}
.legal-toc a:hover { color: var(--teal); }
.legal-body h2 {
    margin: 2rem 0 0.7rem; font-family: var(--display); font-size: 1.35rem; color: var(--navy);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { margin: 1.25rem 0 0.45rem; font-size: 1.05rem; color: var(--blue); }
.legal-body p, .legal-body li { color: var(--ink); }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { margin: 0.35rem 0; }
.legal-body a { color: var(--teal); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.legal-callout {
    margin: 1.2rem 0; padding: 1rem 1.15rem; border-radius: 14px;
    background: rgba(0, 116, 123, 0.08); border: 1px solid rgba(0, 116, 123, 0.18);
}
.legal-callout strong { color: var(--navy); }
.footer-legal { width: 100%; display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 0.35rem; }
.footer-legal a { font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.footer-legal a:hover { color: var(--teal); }
.site-footer .footer-stack { display: flex; flex-direction: column; gap: 0.45rem; flex: 1; min-width: 200px; }

/* Cookie consent (WATI/Flaxxa-style bar, Messageroots colors) */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
    display: none; gap: 1.1rem; align-items: center; justify-content: space-between;
    padding: 1.05rem 1.2rem; border-radius: 18px;
    background: linear-gradient(135deg, #092d4f 0%, #0a3d52 55%, #074a4f 100%);
    color: #e8f1f0; box-shadow: 0 18px 50px rgba(9, 45, 79, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-banner.is-show { display: flex; }
.cookie-banner-copy { display: flex; gap: 0.9rem; align-items: flex-start; max-width: 720px; }
.cookie-lock {
    flex: 0 0 auto; width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(145deg, var(--teal), var(--green));
    color: #fff; font-size: 1.15rem;
}
.cookie-banner h3 { margin: 0 0 0.25rem; font-size: 1.05rem; color: #fff; font-weight: 800; }
.cookie-banner p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: rgba(232, 241, 240, 0.82); }
.cookie-banner p a { color: #7fd4db; font-weight: 700; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; flex-shrink: 0; }
.cookie-btn {
    appearance: none; border-radius: 999px; padding: 0.55rem 1rem; font: inherit;
    font-weight: 800; font-size: 0.88rem; cursor: pointer; border: 1px solid rgba(255,255,255,0.35);
    background: transparent; color: #fff;
}
.cookie-btn:hover { background: rgba(255,255,255,0.08); }
.cookie-btn-primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--teal), var(--green));
    color: #fff;
}
.cookie-btn-primary:hover { filter: brightness(1.05); background: linear-gradient(135deg, var(--teal), var(--green)); }
.cookie-panel {
    display: none; margin-top: 0.85rem; padding-top: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.12); width: 100%;
}
.cookie-banner.is-customize .cookie-panel { display: block; }
.cookie-banner.is-customize { flex-wrap: wrap; }
.cookie-opt {
    display: flex; align-items: flex-start; gap: 0.65rem; margin: 0.55rem 0;
    font-size: 0.88rem; color: rgba(232, 241, 240, 0.9);
}
.cookie-opt input { margin-top: 0.2rem; accent-color: var(--teal); }
.cookie-opt strong { display: block; color: #fff; }
.cookie-opt span { display: block; color: rgba(232, 241, 240, 0.7); font-size: 0.82rem; }

@media (max-width: 860px) {
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc { position: static; }
    .cookie-banner { flex-direction: column; align-items: stretch; left: 0.65rem; right: 0.65rem; bottom: 0.65rem; }
    .cookie-actions { justify-content: stretch; }
    .cookie-btn { flex: 1; text-align: center; }
}
