:root {
    --ink: #17110d;
    --clay: #8b4a2f;
    --cocoa: #42251d;
    --cream: #fff8ec;
    --paper: #fffdf8;
    --sun: #ffb000;
    --mint: #78d6b5;
    --rose: #ff7b8a;
    --blue: #4f7cff;
    --muted: #766e65;
    --line: #eadfcd;
    --shadow: 0 22px 65px rgba(66, 37, 29, .14);
    --soft: 0 10px 30px rgba(66, 37, 29, .09);
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
    color: var(--ink);
    background: var(--cream);
    overflow-x: hidden;
}

a {
    text-decoration: none
}

.font-display {
    font-family: "DM Serif Display", Georgia, serif
}

.page-progress {
    position: fixed;
    inset: 0 auto auto 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rose), var(--sun), var(--mint), var(--blue));
    z-index: 2000
}

/* Navigation */
.nav-shell {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 14px 0;
    transition: .35s ease;
    background: rgba(255, 248, 236, .82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(234, 223, 205, .4)
}

.nav-shell.is-scrolled {
    padding: 8px 0;
    background: rgba(255, 253, 248, .92);
    box-shadow: 0 10px 35px rgba(66, 37, 29, .08)
}

.navbar-brand {
    font-weight: 900;
    letter-spacing: -.04em;
    color: var(--ink) !important;
    display: flex;
    align-items: center;
    gap: 10px
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(from 130deg, var(--sun), var(--rose), var(--blue), var(--mint), var(--sun));
    box-shadow: 0 12px 30px rgba(255, 176, 0, .28);
    position: relative
}

.logo-mark:after {
    content: "✚";
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--paper);
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--clay)
}

.nav-link {
    color: var(--cocoa) !important;
    font-weight: 800;
    font-size: .88rem;
    padding: 10px 12px !important;
    border-radius: 999px;
    transition: .25s ease
}

.nav-link:hover,
.nav-link.active {
    background: #fff;
    color: var(--clay) !important;
    box-shadow: 0 8px 18px rgba(66, 37, 29, .08)
}

.nav-cta,
.btn-core {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    font-weight: 900;
    color: var(--ink);
    background: var(--sun);
    box-shadow: 0 12px 0 var(--cocoa);
    transition: .22s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    position: relative;
    overflow: hidden;
    cursor: pointer
}

.nav-cta:hover,
.btn-core:hover {
    transform: translateY(4px);
    box-shadow: 0 8px 0 var(--cocoa);
    color: var(--ink)
}

.btn-ink {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 0 var(--sun)
}

.btn-ink:hover {
    color: #fff;
    box-shadow: 0 8px 0 var(--sun)
}

.btn-line {
    border: 2px solid var(--ink);
    background: transparent;
    color: var(--ink);
    box-shadow: none
}

.btn-line:hover {
    background: #fff;
    color: var(--ink);
    box-shadow: none;
    transform: translateY(-2px)
}

.navbar-toggler {
    border: 0
}

.navbar-toggler:focus {
    box-shadow: none
}

.hamb {
    font-size: 1.8rem
}

.ripple-dot {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    transform: scale(0);
    animation: ripple .65s ease-out;
    pointer-events: none
}

@keyframes ripple {
    to {
        transform: scale(6);
        opacity: 0
    }
}

/* General */
section {
    padding: 112px 0;
    position: relative
}

.kicker {
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: var(--clay);
    font-size: .76rem
}

.title {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 4.6rem);
    line-height: .95;
    letter-spacing: -.04em;
    color: var(--ink);
    margin: 10px 0 16px
}

.lead-copy {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8
}

.section-rule {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
    margin-top: 34px
}

/* Inner Page Hero */
.page-hero {
    padding: 100px 0 80px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 123, 138, .14), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(79, 124, 255, .14), transparent 25%),
        repeating-linear-gradient(90deg, rgba(66, 37, 29, .045) 0 1px, transparent 1px 76px),
        var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden
}

.page-hero .title {
    max-width: 800px;
    margin: 16px auto
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
    font-weight: 900;
    box-shadow: 6px 6px 0 var(--sun);
    font-size: .85rem
}

.breadcrumb a {
    color: var(--clay);
    font-weight: 900
}

.breadcrumb span {
    color: var(--muted)
}

/* Hero: functional care desk */
.hero {
    min-height: calc(100vh - 74px);
    padding: 54px 0 96px;
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 123, 138, .18), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(79, 124, 255, .18), transparent 25%),
        radial-gradient(circle at 50% 100%, rgba(120, 214, 181, .25), transparent 34%),
        repeating-linear-gradient(90deg, rgba(66, 37, 29, .045) 0 1px, transparent 1px 76px),
        var(--cream);
    overflow: hidden
}

.hero-orbit {
    position: absolute;
    right: -220px;
    top: 80px;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    border: 1px dashed rgba(66, 37, 29, .22);
    animation: spin 42s linear infinite
}

.hero-orbit:before,
.hero-orbit:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: var(--soft)
}

.hero-orbit:before {
    width: 86px;
    height: 86px;
    left: 64px;
    top: 64px
}

.hero-orbit:after {
    width: 56px;
    height: 56px;
    right: 92px;
    bottom: 82px
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 15px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
    font-weight: 900;
    box-shadow: 6px 6px 0 var(--sun)
}

.hero h1 {
    font-family: "DM Serif Display", Georgia, serif;
    font-size: clamp(3.2rem, 5.5vw, 4.4rem);
    line-height: .82;
    letter-spacing: -.07em;
    margin: 28px 0 26px;
    max-width: 900px
}

.hero h1 .paint {
    display: inline-block;
    background: linear-gradient(90deg, var(--clay), var(--rose));
    color: #fff;
    border-radius: 32px 8px 32px 8px;
    padding: 0 .12em .05em;
    transform: rotate(-1deg)
}

.hero-copy {
    max-width: 720px;
    color: #5f554b;
    font-size: 1.08rem;
    line-height: 1.82
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0
}

.hero-system {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 26px;
    align-items: stretch;
    margin-top: 44px
}

.hero-console {
    position: relative;
    border: 3px solid var(--ink);
    border-radius: 34px;
    background: var(--paper);
    padding: 20px;
    box-shadow: 18px 18px 0 var(--cocoa);
    min-height: 520px;
    overflow: hidden
}

.hero-console:before {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    top: 86px;
    height: 3px;
    background: var(--ink);
    transform: rotate(-4deg)
}

.console-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1
}

.console-dots {
    display: flex;
    gap: 8px
}

.console-dots span {
    width: 13px;
    height: 13px;
    border: 2px solid var(--ink);
    border-radius: 50%
}

.console-dots span:nth-child(1) {
    background: var(--rose)
}

.console-dots span:nth-child(2) {
    background: var(--sun)
}

.console-dots span:nth-child(3) {
    background: var(--mint)
}

.status-pill {
    border: 2px solid var(--ink);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900;
    background: #effdf6;
    font-size: .78rem
}

.care-planner {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #fffdf8, #fff3d6);
    border: 2px solid var(--ink);
    border-radius: 26px;
    padding: 22px
}

.planner-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-bottom: 18px
}

.planner-tabs button {
    border: 2px solid var(--ink);
    border-radius: 16px;
    padding: 12px 8px;
    background: #fff;
    font-weight: 900;
    transition: .2s ease;
    cursor: pointer
}

.planner-tabs button.active {
    background: var(--ink);
    color: #fff;
    transform: translateY(-4px)
}

.route-box {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 18px;
    align-items: center
}

.score-ring {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(var(--mint) var(--deg), #eadfcd 0);
    border: 3px solid var(--ink);
    position: relative;
    transition: .5s ease
}

.score-ring:after {
    content: "";
    position: absolute;
    inset: 14px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--ink)
}

.score-ring strong {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 900
}

.score-ring small {
    position: relative;
    z-index: 1;
    font-weight: 900;
    margin-top: -35px;
    color: var(--muted)
}

.route-label {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 900;
    color: var(--clay)
}

.route-title {
    font-family: "DM Serif Display";
    font-size: 2rem;
    line-height: 1;
    margin: 4px 0 8px
}

.route-text {
    color: var(--muted);
    margin: 0
}

.hero-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px
}

.choice {
    border: 2px solid var(--ink);
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    cursor: pointer;
    transition: .22s ease;
    text-align: left;
    font-weight: 900
}

.choice span {
    display: block;
    font-size: .78rem;
    color: var(--muted);
    font-weight: 700;
    margin-top: 3px
}

.choice.active {
    background: var(--sun);
    transform: rotate(-1deg) translateY(-4px)
}

.pulse-lane {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 92px;
    border: 2px solid var(--ink);
    border-radius: 22px;
    background: #17110d;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff
}

.pulse-line {
    width: 92%;
    height: 52px;
    background: linear-gradient(90deg, transparent 0 6%, var(--mint) 6% 8%, transparent 8% 18%, var(--mint) 18% 20%, transparent 20% 30%, var(--rose) 30% 33%, transparent 33% 42%, var(--sun) 42% 44%, transparent 44% 100%);
    clip-path: polygon(0 50%, 7% 50%, 10% 20%, 13% 82%, 17% 50%, 27% 50%, 32% 15%, 37% 87%, 42% 50%, 50% 50%, 55% 35%, 60% 65%, 65% 50%, 100% 50%);
    animation: pulseMove 2.6s linear infinite;
    background-size: 220% 100%
}

@keyframes pulseMove {
    to {
        background-position: -220% 0
    }
}

.hero-side {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 18px
}

.impact-board {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.impact-token {
    border: 2px solid var(--ink);
    border-radius: 26px;
    padding: 20px;
    background: var(--paper);
    box-shadow: 8px 8px 0 rgba(66, 37, 29, .16);
    transition: .25s ease
}

.impact-token:hover {
    transform: translateY(-6px) rotate(1deg)
}

.impact-token:nth-child(2) {
    background: #eff7ff
}

.impact-token:nth-child(3) {
    background: #fff1f3
}

.impact-token:nth-child(4) {
    background: #ecfff6
}

.impact-token b {
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 900
}

.impact-token span {
    font-size: .82rem;
    color: var(--muted);
    font-weight: 800
}

.highlight-strip {
    border: 3px solid var(--ink);
    border-radius: 30px;
    background: var(--cocoa);
    color: #fff;
    padding: 22px;
    display: grid;
    gap: 12px;
    box-shadow: 14px 14px 0 var(--sun)
}

.highlight-strip div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900
}

.highlight-strip i {
    font-style: normal;
    background: #fff;
    color: var(--ink);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.trust-marquee {
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0
}

.trust-track {
    display: inline-block;
    animation: marquee 18s linear infinite;
    font-weight: 900;
    color: var(--cocoa)
}

.trust-track span {
    margin: 0 24px
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

/* About */
.about {
    background: var(--paper)
}

.story-layout {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 46px;
    align-items: start
}

.story-stamp {
    position: sticky;
    top: 110px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    aspect-ratio: 1;
    background: radial-gradient(circle, #fff 0 45%, #ffe7a8 46% 100%);
    display: grid;
    place-items: center;
    text-align: center;
    padding: 28px;
    box-shadow: 16px 16px 0 var(--rose)
}

.story-stamp strong {
    font-family: "DM Serif Display";
    font-size: 3rem;
    line-height: .9
}

.story-stamp span {
    font-weight: 900;
    color: var(--clay)
}

.about-copy {
    columns: 2;
    column-gap: 34px;
    color: var(--muted);
    line-height: 1.85
}

.about-copy p {
    break-inside: avoid
}

.metrics-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 36px;
    border: 3px solid var(--ink);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.metric-cell {
    padding: 24px;
    background: #fff;
    border-right: 3px solid var(--ink)
}

.metric-cell:last-child {
    border-right: 0
}

.metric-cell strong {
    font-size: 2.05rem;
    font-weight: 900
}

.metric-cell span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: .85rem
}

.metric-cell:nth-child(2) {
    background: #fff1f3
}

.metric-cell:nth-child(3) {
    background: #eff7ff
}

.metric-cell:nth-child(4) {
    background: #ecfff6
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 40px
}

.value-card {
    border: 3px solid var(--ink);
    border-radius: 28px;
    background: var(--paper);
    padding: 28px;
    box-shadow: 10px 10px 0 rgba(66, 37, 29, .13);
    transition: .25s ease
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 4px 4px 0 rgba(66, 37, 29, .2)
}

.value-card .emoji {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    border: 2px solid var(--ink);
    display: grid;
    place-items: center;
    background: var(--sun);
    font-size: 1.7rem;
    margin-bottom: 14px
}

.value-card h3 {
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 10px
}

.value-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.65
}

/* Services */
.services {
    background: #211510;
    color: #fff;
    overflow: hidden
}

.services .title,
.services .kicker {
    color: #fff
}

.services .lead-copy {
    color: #d6c6b4
}

.service-rail {
    position: relative;
    margin-top: 48px
}

.service-rail:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(var(--sun), var(--rose), var(--mint));
    transform: translateX(-50%)
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 90px 1fr;
    gap: 22px;
    align-items: center;
    margin-bottom: 26px
}

.service-empty {
    grid-column: 3;
    grid-row: 1
}

.service-row:nth-child(even) .service-note {
    grid-column: 3
}

.service-row:nth-child(even) .service-empty {
    grid-column: 1;
    grid-row: 1
}

.service-icon {
    grid-column: 2;
    grid-row: 1;
    width: 86px;
    height: 86px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sun);
    font-size: 2.1rem;
    color: var(--ink);
    box-shadow: 0 0 0 10px #211510;
    z-index: 2;
    transition: .3s ease
}

.service-note {
    grid-column: 1;
    grid-row: 1;
    border: 2px solid rgba(255, 255, 255, .2);
    background: rgba(255, 253, 248, .08);
    border-radius: 0 28px 28px 28px;
    padding: 24px;
    backdrop-filter: blur(10px);
    transition: .3s ease
}

.service-note:hover {
    background: #fff;
    color: var(--ink);
    transform: translateY(-8px)
}

.service-note:hover p {
    color: var(--muted)
}

.service-note:hover+.service-icon,
.service-row:hover .service-icon {
    transform: scale(1.08) rotate(-8deg);
    background: var(--rose)
}

.service-note h3 {
    font-size: 1.28rem;
    font-weight: 900;
    margin-bottom: 8px
}

.service-note p {
    color: #d6c6b4;
    margin: 0;
    font-size: .95rem;
    line-height: 1.7;
    transition: .3s
}

/* Detailed Services Page */
.services-detailed {
    background: var(--cream)
}

.service-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px
}

.service-detailed-card {
    border: 3px solid var(--ink);
    border-radius: 30px;
    background: var(--paper);
    padding: 32px;
    box-shadow: 12px 12px 0 rgba(66, 37, 29, .12);
    transition: .3s ease
}

.service-detailed-card:hover {
    transform: translateY(-8px);
    box-shadow: 4px 4px 0 rgba(66, 37, 29, .2)
}

.service-detailed-card .card-icon {
    width: 72px;
    height: 72px;
    border: 3px solid var(--ink);
    border-radius: 22px;
    background: var(--sun);
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 18px
}

.service-detailed-card h3 {
    font-family: "DM Serif Display";
    font-size: 1.6rem;
    margin-bottom: 12px
}

.service-detailed-card p {
    color: var(--muted);
    line-height: 1.75;
    margin: 0
}

.service-features {
    margin-top: 16px;
    padding-left: 0;
    list-style: none
}

.service-features li {
    padding: 6px 0;
    color: var(--ink);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px
}

.service-features li:before {
    content: "✓";
    color: var(--clay);
    font-weight: 900
}

/* Why */
.why {
    background: linear-gradient(180deg, #fffdf8, #fff3dd)
}

.why-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: start
}

.feature-stack {
    display: grid;
    gap: 16px
}

.feature-panel {
    background: var(--paper);
    border: 3px solid var(--ink);
    border-radius: 28px;
    padding: 24px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    box-shadow: 10px 10px 0 rgba(66, 37, 29, .13);
    transition: .25s ease
}

.feature-panel:hover {
    transform: translateX(10px);
    box-shadow: 4px 4px 0 rgba(66, 37, 29, .2)
}

.feature-panel .emoji {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    border: 2px solid var(--ink);
    display: grid;
    place-items: center;
    background: var(--sun);
    font-size: 1.7rem
}

.feature-panel h3 {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 6px
}

.feature-panel p {
    color: var(--muted);
    margin: 0;
    font-size: .94rem;
    line-height: 1.65
}

.trust-dashboard {
    position: sticky;
    top: 110px;
    border: 3px solid var(--ink);
    border-radius: 36px;
    background: var(--ink);
    color: #fff;
    padding: 28px;
    box-shadow: 16px 16px 0 var(--mint);
    overflow: hidden
}

.trust-dashboard:before {
    content: "";
    position: absolute;
    inset: auto -20% -35% auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: var(--blue);
    opacity: .4
}

.dash-number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1
}

.dash-label {
    color: #d9cdbc;
    font-weight: 800
}

.mini-bars {
    margin-top: 28px;
    display: grid;
    gap: 13px
}

.mini-bars span {
    height: 13px;
    border-radius: 999px;
    background: #fff;
    display: block;
    position: relative;
    overflow: hidden
}

.mini-bars span:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--w);
    background: linear-gradient(90deg, var(--sun), var(--rose))
}

/* Testimonials */
.testimonials {
    background: var(--paper)
}

.quote-wall {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 18px;
    margin-top: 44px
}

.quote-card {
    border: 2px solid var(--ink);
    border-radius: 26px;
    background: #fff;
    padding: 24px;
    box-shadow: 8px 8px 0 rgba(66, 37, 29, .12);
    transition: .25s ease
}

.quote-card:hover {
    transform: translateY(-7px) rotate(-.6deg);
    box-shadow: 12px 12px 0 var(--sun)
}

.quote-card:nth-child(1),
.quote-card:nth-child(6) {
    grid-column: span 5
}

.quote-card:nth-child(2),
.quote-card:nth-child(5) {
    grid-column: span 4
}

.quote-card:nth-child(3),
.quote-card:nth-child(4) {
    grid-column: span 3
}

.stars {
    letter-spacing: 2px;
    color: #ff9d00;
    font-size: 1rem
}

.review {
    color: #51463d;
    line-height: 1.72;
    margin: 14px 0
}

.person {
    display: flex;
    gap: 12px;
    align-items: center
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 2px solid var(--ink);
    background: linear-gradient(135deg, var(--rose), var(--sun));
    display: grid;
    place-items: center;
    font-weight: 900
}

.person strong {
    display: block
}

.person span {
    font-size: .84rem;
    color: var(--muted);
    font-weight: 800
}

/* FAQ */
.faq {
    background: linear-gradient(135deg, #eff7ff, #fff8ec)
}

.faq-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 32px;
    align-items: start
}

.faq-note {
    position: sticky;
    top: 110px;
    border: 3px solid var(--ink);
    border-radius: 32px;
    padding: 28px;
    background: var(--sun);
    box-shadow: 14px 14px 0 var(--cocoa)
}

.faq-item {
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 22px;
    margin-bottom: 14px;
    overflow: hidden
}

.faq-button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 22px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    font-weight: 900;
    color: var(--ink);
    cursor: pointer
}

.faq-plus {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    transition: .25s
}

.faq-item.open .faq-plus {
    transform: rotate(45deg);
    background: var(--rose)
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .42s cubic-bezier(.2, .9, .2, 1)
}

.faq-body div {
    padding: 0 22px 22px;
    color: var(--muted);
    line-height: 1.75
}

/* Newsletter */
.newsletter {
    background: #211510;
    color: #fff
}

.newsletter .title {
    color: #fff
}

.signup-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    border: 3px solid #fff;
    border-radius: 38px;
    overflow: hidden;
    box-shadow: 18px 18px 0 var(--sun);
    background: #2f1d16
}

.signup-copy {
    padding: 42px;
    background: radial-gradient(circle at 20% 20%, rgba(255, 176, 0, .22), transparent 35%), #2f1d16
}

.signup-form {
    padding: 42px;
    background: var(--paper);
    color: var(--ink)
}

.field-label {
    font-size: .84rem;
    font-weight: 900;
    color: var(--cocoa);
    margin-bottom: 8px;
    display: block
}

.input-modern {
    width: 100%;
    border: 2px solid var(--ink);
    border-radius: 18px;
    padding: 13px 15px;
    background: #fff;
    font-weight: 700;
    color: var(--ink);
    outline: 0;
    transition: .2s;
    font-family: inherit;
    font-size: 1rem
}

.input-modern:focus {
    box-shadow: 0 0 0 5px rgba(255, 176, 0, .28);
    transform: translateY(-2px)
}

textarea.input-modern {
    resize: vertical;
    min-height: 120px
}

.check-line {
    display: flex;
    gap: 10px;
    align-items: flex-start
}

.check-line input {
    margin-top: 4px;
    width: 19px;
    height: 19px;
    accent-color: var(--clay)
}

.check-line label {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.55
}

.text-link {
    font-weight: 900;
    color: var(--clay);
    border-bottom: 2px solid var(--clay)
}

.text-link:hover {
    color: var(--rose)
}

/* Contact */
.contact {
    background: var(--paper)
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 24px;
    margin-top: 42px
}

.contact-form {
    border: 3px solid var(--ink);
    border-radius: 34px;
    background: #fff;
    padding: 32px;
    box-shadow: 14px 14px 0 var(--blue)
}

.contact-cards {
    display: grid;
    gap: 14px
}

.info-tile {
    border: 2px solid var(--ink);
    border-radius: 24px;
    padding: 22px;
    background: #fff;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    align-items: center;
    transition: .25s
}

.info-tile:hover {
    transform: translateX(-8px);
    background: #fff1f3
}

.info-icon {
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: var(--sun);
    border: 2px solid var(--ink);
    display: grid;
    place-items: center;
    font-size: 1.5rem
}

.info-tile small {
    display: block;
    font-weight: 900;
    color: var(--clay);
    text-transform: uppercase;
    letter-spacing: .12em
}

.info-tile strong {
    display: block;
    line-height: 1.45;
    color: var(--ink)
}

/* Subscribe Page Specific */
.subscribe-hero {
    background: var(--paper);
    padding: 60px 0
}

.subscribe-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px
}

.benefit-card {
    border: 3px solid var(--ink);
    border-radius: 24px;
    background: var(--cream);
    padding: 26px;
    text-align: center;
    box-shadow: 10px 10px 0 rgba(66, 37, 29, .12);
    transition: .25s
}

.benefit-card:hover {
    transform: translateY(-6px)
}

.benefit-card .icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
    display: block
}

.benefit-card h4 {
    font-weight: 900;
    margin-bottom: 8px
}

.benefit-card p {
    color: var(--muted);
    margin: 0;
    font-size: .92rem;
    line-height: 1.55
}

.subscribe-form-wrap {
    max-width: 680px;
    margin: 60px auto 0;
    border: 3px solid var(--ink);
    border-radius: 36px;
    background: #fff;
    padding: 42px;
    box-shadow: 16px 16px 0 var(--sun)
}

/* Unsubscribe Page */
.unsubscribe-hero {
    background: linear-gradient(135deg, #fff1f3, #fff8ec);
    padding: 60px 0
}

.unsubscribe-form-wrap {
    max-width: 620px;
    margin: 40px auto 0;
    border: 3px solid var(--ink);
    border-radius: 36px;
    background: #fff;
    padding: 42px;
    box-shadow: 16px 16px 0 var(--rose)
}

/* Policy Pages */
.policy-page {
    background: var(--paper);
    padding: 80px 0 100px
}

.policy-container {
    max-width: 880px;
    margin: 0 auto
}

.policy-section {
    margin-bottom: 34px;
    padding: 28px;
    background: var(--cream);
    border: 2px solid var(--line);
    border-radius: 22px
}

.policy-section h3 {
    font-family: "DM Serif Display";
    font-size: 1.6rem;
    margin-bottom: 14px;
    color: var(--clay)
}

.policy-section p {
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 12px
}

.policy-intro {
    background: var(--cocoa);
    color: #fff;
    padding: 32px;
    border-radius: 26px;
    margin-bottom: 36px;
    box-shadow: 14px 14px 0 var(--sun)
}

.policy-intro p {
    color: #d8caba;
    line-height: 1.85
}

footer {
    background: #120c09;
    color: #d8caba;
    padding: 72px 0 28px
}

.footer-brand {
    font-weight: 900;
    color: #fff;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    gap: 10px
}

.footer-heading {
    color: #fff;
    font-weight: 900;
    margin-bottom: 16px
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0
}

.footer-list li {
    margin-bottom: 9px
}

.footer-list a {
    color: #d8caba;
    font-weight: 700;
    font-size: .92rem
}

.footer-list a:hover {
    color: var(--sun)
}

.socials {
    display: flex;
    gap: 10px
}

.socials a {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .06);
    font-size: 1.1rem
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 38px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: #a99b8c
}

.footer-bottom a {
    color: #d8caba;
    margin-left: 14px;
    font-weight: 800
}

/* Modals */
.modal-content {
    border: 3px solid var(--ink);
    border-radius: 28px;
    box-shadow: 16px 16px 0 var(--sun);
    overflow: hidden
}

.modal-header {
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
    padding: 22px 26px
}

.modal-title {
    font-weight: 900
}

.modal-body {
    padding: 26px;
    line-height: 1.75;
    color: var(--muted)
}

.modal-body h6 {
    font-weight: 900;
    color: var(--ink);
    margin-top: 18px
}

.modal-footer {
    border-top: 2px solid var(--line);
    padding: 18px 26px
}

.btn-close:focus {
    box-shadow: none
}

.toast-note {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2100;
    background: var(--ink);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 14px 18px;
    box-shadow: 10px 10px 0 var(--sun);
    transform: translateY(30px);
    opacity: 0;
    transition: .3s
}

.toast-note.show {
    transform: none;
    opacity: 1
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(.98);
    transition: opacity .75s ease, transform .75s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

.reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: .75s ease
}

.reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: .75s ease
}

.reveal-left.in,
.reveal-right.in {
    opacity: 1;
    transform: none
}

.tilt {
    animation: tilt 5s ease-in-out infinite
}

@keyframes tilt {
    50% {
        transform: rotate(1.3deg) translateY(-6px)
    }
}

@media(max-width:1199px) {

    .hero-system,
    .story-layout,
    .why-grid,
    .faq-grid,
    .signup-wrap,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .story-stamp,
    .trust-dashboard,
    .faq-note {
        position: relative;
        top: auto
    }

    .story-stamp {
        max-width: 360px
    }

    .about-copy {
        columns: 1
    }

    .quote-card:nth-child(n) {
        grid-column: span 6
    }

    .service-detailed-grid {
        grid-template-columns: 1fr
    }

    .values-grid {
        grid-template-columns: 1fr
    }

    .subscribe-benefits {
        grid-template-columns: 1fr
    }
}

@media(max-width:991px) {
    .navbar-collapse {
        padding: 18px 0;
        background: var(--paper);
        border: 2px solid var(--ink);
        border-radius: 20px;
        margin-top: 12px
    }

    .hero h1 {
        font-size: clamp(3rem, 15vw, 5.8rem)
    }

    .service-rail:before {
        left: 43px
    }

    .service-row,
    .service-row:nth-child(even) {
        grid-template-columns: 86px 1fr
    }

    .service-icon {
        grid-column: 1
    }

    .service-note,
    .service-row:nth-child(even) .service-note {
        grid-column: 2
    }

    .service-empty {
        display: none
    }

    .impact-board,
    .metrics-ribbon {
        grid-template-columns: repeat(2, 1fr)
    }

    .metric-cell:nth-child(2) {
        border-right: 0
    }

    .metric-cell {
        border-bottom: 3px solid var(--ink)
    }

    .metric-cell:nth-child(n+3) {
        border-bottom: 0
    }
}

@media(max-width:767px) {
    section {
        padding: 78px 0
    }

    .hero {
        padding-top: 38px
    }

    .hero-system {
        gap: 34px
    }

    .hero-console {
        box-shadow: 8px 8px 0 var(--cocoa);
        padding: 15px;
        min-height: 610px
    }

    .planner-tabs,
    .hero-choices {
        grid-template-columns: 1fr 1fr
    }

    .route-box {
        grid-template-columns: 1fr
    }

    .score-ring {
        margin: auto
    }

    .pulse-lane {
        height: 74px
    }

    .impact-board,
    .metrics-ribbon,
    .quote-wall {
        grid-template-columns: 1fr
    }

    .metric-cell {
        border-right: 0 !important;
        border-bottom: 3px solid var(--ink) !important
    }

    .metric-cell:last-child {
        border-bottom: 0 !important
    }

    .quote-card:nth-child(n) {
        grid-column: span 12
    }

    .signup-copy,
    .signup-form,
    .contact-form,
    .subscribe-form-wrap,
    .unsubscribe-form-wrap {
        padding: 24px
    }

    .title {
        font-size: 2.4rem
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 12px
    }
}