:root {
    --pink:   #FFF3F3;
    --pink-2: #f9e7e3;
    --teal:   #3d626c;
    --muted:  #879a9f;
    --rose:   #b06e6e;
    --white:  #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--muted);
    background: var(--white);
    font-size: 15px;
    line-height: 1.8;
}

.page-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(90deg, var(--white) 0 50%, var(--pink) 50% 100%);
    z-index: -2;
}

h1, h2, h3 {
    font-family: 'EB Garamond', serif;
    color: var(--teal);
    font-weight: 500;
    line-height: 1.15;
    margin: 0;
}

img { max-width: 100%; height: auto; display: block; }

/* ---------- Header ---------- */
.site-header {
    padding: 44px 6vw 0;
    text-align: center;
    position: relative;
    z-index: 2;
}
.logo img {
    width: 170px;
    height: auto;
    margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
    text-align: center;
    padding: 80px 6vw 60px;
    max-width: 880px;
    margin: 0 auto;
}
.eyebrow {
    font-family: 'Open Sans', sans-serif;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 12px;
    color: var(--rose);
    margin: 0 0 24px;
}
.headline {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 32px;
    font-weight: 500;
}
.lede {
    font-family: 'EB Garamond', serif;
    font-size: 22px;
    line-height: 1.55;
    color: var(--teal);
    max-width: 720px;
    margin: 0 auto;
}
.lede-accent {
    color: var(--rose);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* ---------- Hero image ---------- */
.hero-image {
    max-width: 1100px;
    margin: 40px auto 80px;
    padding: 0 6vw;
}
.hero-image img {
    width: 100%;
    aspect-ratio: 16 / 7;
    object-fit: cover;
    object-position: center 35%;
    box-shadow: 0 25px 60px rgba(61, 98, 108, 0.12);
}

/* ---------- Stats ---------- */
.stats {
    max-width: 1000px;
    margin: 0 auto 90px;
    padding: 0 6vw;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.stat {
    text-align: center;
    flex: 0 1 auto;
    min-width: 130px;
}
.stat-num {
    display: block;
    font-family: 'EB Garamond', serif;
    font-size: 56px;
    line-height: 1;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 10px;
}
.stat-label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
}
.stat-divider {
    width: 1px;
    height: 56px;
    background: rgba(176, 110, 110, 0.25);
}

/* ---------- Message ---------- */
.message {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 6vw 120px;
    text-align: center;
    font-family: 'EB Garamond', serif;
    font-size: 21px;
    line-height: 1.65;
    color: var(--teal);
}
.message p { margin: 0 0 24px; }
.message .signoff {
    margin-top: 50px;
    font-style: italic;
    font-size: 24px;
    color: var(--rose);
}

/* ---------- Community section ---------- */
.community {
    text-align: center;
    padding: 10px 6vw 100px;
    max-width: 1200px;
    margin: 0 auto;
}
.community-title {
    font-size: 38px;
    font-family: 'EB Garamond', serif;
    color: var(--teal);
    margin: 0 0 30px;
    font-weight: 500;
}
.community-dash {
    width: 44px;
    height: 2px;
    background: var(--rose);
    margin: 0 auto 56px;
    opacity: 0.7;
}
.community-sub {
    font-family: 'EB Garamond', serif;
    font-size: 20px;
    color: var(--teal);
    max-width: 760px;
    margin: 0 auto 90px;
    line-height: 1.55;
}
.community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}
.community-card {
    position: relative;
    text-align: center;
}
.community-icon {
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
    width: 58px;
    height: 58px;
    background: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(61, 98, 108, 0.13);
    z-index: 2;
    color: var(--teal);
}
.community-icon svg {
    width: 24px;
    height: 24px;
}
.community-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
}
.community-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.community-card h3 {
    font-family: 'EB Garamond', serif;
    font-size: 26px;
    color: var(--teal);
    margin: 0 0 14px;
    font-weight: 500;
}
.community-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--muted);
    max-width: 250px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- Final signoff (between community and footer) ---------- */
.final-signoff {
    text-align: center;
    padding: 20px 6vw 110px;
}
.final-signoff p {
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 26px;
    color: var(--rose);
    margin: 0;
    line-height: 1.5;
}

/* ---------- Terms page ---------- */
.terms-page .page-bg { display: none; }
.terms-page { background: #fff; }

/* Header on the terms page: logo left, nav center-right, dots far right.
   Shares the pink background with the hero band. */
.terms-page .site-header.terms-header {
    background: var(--pink);
    padding: 30px 5vw 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}
.terms-page .site-header.terms-header .logo img {
    width: 130px;
    margin: 0;
}
.terms-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 32px;
}
.terms-nav a {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    color: var(--teal);
    text-decoration: none;
    transition: color 0.2s;
}
.terms-nav a:hover { color: var(--rose); }
.terms-dots {
    color: var(--teal);
    font-size: 22px;
    letter-spacing: 4px;
}

.terms-hero {
    background: var(--pink);
    padding: 0 5vw 30px;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}
.terms-hero-inner {
    padding-left: 1vw;
}
.terms-hero-title {
    font-family: 'EB Garamond', serif;
    font-size: 150px;
    line-height: 1;
    margin: 0 0 0 -10px;
    color: transparent;
    -webkit-text-stroke: 1px #D8A5A6;
    letter-spacing: 4px;
    font-weight: 400;
    pointer-events: none;
    user-select: none;
    text-align: left;
}
.terms-breadcrumb {
    margin: 18px 0 0;
    font-family: 'EB Garamond', serif;
    font-size: 15px;
    color: var(--rose);
}
.terms-breadcrumb a {
    color: var(--rose);
    text-decoration: none;
}
.terms-breadcrumb a:hover { text-decoration: underline; }
.terms-breadcrumb span { margin: 0 6px; opacity: 0.6; }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

.terms-body {
    max-width: none;
    margin: 0;
    padding: 60px 5vw 100px 6vw;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
    text-align: left;
}
.terms-h1 {
    font-family: 'EB Garamond', serif;
    font-size: 34px;
    color: var(--teal);
    font-weight: 500;
    margin: 0 0 30px;
    text-align: left;
}
.terms-intro {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--muted);
    margin: 0 0 40px;
    line-height: 1.85;
    max-width: 1500px;
}
.terms-body h2 {
    font-size: 24px;
    color: var(--teal);
    margin: 45px 0 16px;
    font-weight: 500;
    text-align: left;
}
.terms-body h3 {
    font-size: 20px;
    color: var(--teal);
    margin: 30px 0 14px;
    font-weight: 500;
}
.terms-body p {
    margin: 0 0 18px;
    max-width: 1500px;
}
.terms-body ul, .terms-body ol {
    margin: 0 0 18px;
    padding-left: 24px;
    max-width: 1500px;
}
.terms-body li {
    margin-bottom: 8px;
}
.terms-body ul ul {
    margin-top: 8px;
    margin-bottom: 8px;
}
.terms-body strong {
    color: var(--teal);
    font-weight: 600;
}
.terms-body a {
    color: var(--rose);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.terms-body a:hover {
    color: var(--teal);
}
.terms-thankyou {
    margin-top: 50px !important;
    font-family: 'EB Garamond', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--rose);
    text-align: center;
}

@media (max-width: 900px) {
    .terms-page .site-header.terms-header { padding: 22px 22px 14px; flex-wrap: wrap; }
    .terms-nav { display: none; }
    .terms-dots { display: none; }
    .terms-hero { padding: 0 22px 24px; }
    .terms-hero-title { font-size: 80px; }
    .terms-h1 { font-size: 28px; }
    .terms-body { padding: 40px 22px 70px; font-size: 14px; }
    .terms-body h2 { font-size: 21px; }
    .terms-intro { font-size: 14px; }
}
@media (max-width: 520px) {
    .terms-hero-title { font-size: 56px; }
    .terms-h1 { font-size: 24px; }
}

/* ---------- Footer ---------- */
.footer {
    background: var(--pink-2);
    text-align: center;
    padding: 80px 24px 60px;
    color: var(--teal);
    position: relative;
}
.stamp {
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
    opacity: 0.85;
}
.stamp svg {
    width: 100%;
    height: 100%;
    animation: spin 40s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.footer h2 {
    font-size: 32px;
    margin-bottom: 14px;
}
.footer-tagline {
    font-family: 'EB Garamond', serif;
    font-size: 16px;
    color: var(--teal);
    margin: 0 0 36px;
}
.footer-copy {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .page-bg { background: var(--white); }
    .headline { font-size: 40px; }
    .lede { font-size: 19px; }
    .hero { padding: 50px 22px 40px; }
    .hero-image { margin: 30px auto 60px; padding: 0 22px; }
    .hero-image img { aspect-ratio: 4 / 3; object-position: center; }
    .stats { gap: 24px; margin-bottom: 70px; }
    .stat-num { font-size: 42px; }
    .stat-divider { height: 40px; }
    .message { font-size: 18px; padding-bottom: 80px; }
    .message .signoff { font-size: 20px; }
    .footer { padding: 60px 22px 40px; }

    .community { padding: 20px 22px 80px; }
    .community-title { font-size: 28px; }
    .community-sub { font-size: 17px; margin-bottom: 60px; }
    .community-grid { grid-template-columns: 1fr; gap: 70px; }
    .community-photo { width: 260px; height: 260px; }
    .community-icon { left: calc(50% - 130px); }
    .final-signoff { padding: 10px 22px 80px; }
    .final-signoff p { font-size: 21px; }
}

@media (max-width: 520px) {
    .headline { font-size: 32px; }
    .lede { font-size: 17px; }
    .stat-divider { display: none; }
    .stats { gap: 32px 18px; }
}
