/* Good River Wellness public site.
   Colors come from the lotus logo: river navy, sun orange, plum, and the seven petal colors
   (one per facet of wellness; see /css/petals.css, generated from config/site.js). */

:root {
  --river: #0a3d67;
  --river-deep: #072a48;
  --river-mid: #145b80;
  --sun: #f7941d;
  --sun-light: #ffb347;
  --sun-dark: #e07d06;
  --plum: #584a64;
  --plum-soft: #8a7f96;
  --cream: #fffaf1;
  --sand: #f6efe3;
  --ink: #1f2a37;
  --muted: #5b6573;
  --line: #e8dfcf;
  --leaf: #2fa84f;
  --rainbow: linear-gradient(90deg, #e5242b, #f15a29, #f7941d, #e0b100, #8dc63f, #2fa84f, #0072bc);
  --radius: 20px;
  --shadow-sm: 0 2px 10px rgba(10, 61, 103, 0.06);
  --shadow-lg: 0 18px 48px rgba(7, 42, 72, 0.18);

  /* Bootstrap */
  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--cream);
  --bs-heading-color: var(--river);
  --bs-link-color-rgb: 10, 61, 103;
  --bs-link-hover-color-rgb: 7, 42, 72;
  --bs-border-color: var(--line);
}

.petal-river { --petal: #0a3d67; }

body { line-height: 1.65; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Kanit", "Inter", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.005em;
}
h2, .h2 { font-size: clamp(1.75rem, 2.6vw, 2.4rem); }

a { text-underline-offset: 0.18em; }

.skip-link:focus {
  position: absolute; top: 0.5rem; left: 0.5rem; z-index: 2000;
  background: #fff; padding: 0.5rem 1rem; border-radius: 8px; box-shadow: var(--shadow-lg);
}

.narrow { max-width: 920px; }
.text-river { color: var(--river); }
.fine-print { font-size: 0.875rem; color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); font-size: 0.85em; }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--plum); margin-bottom: 0.6rem;
}
.eyebrow-light { color: #ffd08a; }
.lead-muted { color: var(--muted); font-size: 1.1rem; max-width: 44rem; }

/* A lighter rainbow, legible on river navy. */
.text-rainbow {
  background: linear-gradient(90deg, #ff8a80, #ffb74d, #ffe066, #a5e07a, #6fd3a0, #7cc4ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Buttons --------------------------------------------------------------------- */

.btn { --bs-btn-border-radius: 999px; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.4rem; }
.btn-lg { --bs-btn-padding-x: 1.8rem; --bs-btn-font-size: 1.05rem; }

.btn-sun {
  --bs-btn-color: var(--ink); --bs-btn-bg: var(--sun); --bs-btn-border-color: var(--sun);
  --bs-btn-hover-color: var(--ink); --bs-btn-hover-bg: var(--sun-light); --bs-btn-hover-border-color: var(--sun-light);
  --bs-btn-active-color: var(--ink); --bs-btn-active-bg: var(--sun-dark); --bs-btn-active-border-color: var(--sun-dark);
  --bs-btn-focus-shadow-rgb: 247, 148, 29;
}
.btn-river-outline {
  --bs-btn-color: var(--river); --bs-btn-border-color: var(--river); --bs-btn-bg: transparent;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--river); --bs-btn-hover-border-color: var(--river);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--river-deep); --bs-btn-active-border-color: var(--river-deep);
  --bs-btn-focus-shadow-rgb: 10, 61, 103;
  border-width: 2px;
}
.btn-outline-light { border-width: 2px; }

.link-arrow { font-weight: 600; color: var(--river); text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform 0.2s ease; }
.link-arrow:hover { text-decoration: underline; }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(3px); }

/* ---- Header ---------------------------------------------------------------------- */

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(10, 61, 103, 0.08); }
.site-header .navbar { padding: 0.65rem 0; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand img { height: auto; }
.brand-word { font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.35rem; color: var(--river); letter-spacing: 0.01em; white-space: nowrap; }
.brand-word span { color: var(--plum); font-weight: 400; }
.brand-light .brand-word { color: #fff; }
.brand-light .brand-word span { color: #d9d2e0; }

.navbar-toggler { border: 0; font-size: 1.9rem; color: var(--river); padding: 0.25rem 0.5rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(10, 61, 103, 0.2); }

.site-header .nav-link { color: var(--ink); font-weight: 500; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--river); }
.site-header .nav-link.active { color: var(--river); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.nav-signin { color: var(--ink); font-weight: 500; text-decoration: none; }
.nav-signin:hover { color: var(--river); }
.dropdown-menu { border-color: var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 0.5rem; }
.dropdown-item { border-radius: 8px; padding: 0.55rem 0.85rem; display: flex; gap: 0.6rem; align-items: center; }
.dropdown-item i { color: var(--river); }

@media (min-width: 1200px) {
  .site-header .nav-link { padding-left: 0.8rem !important; padding-right: 0.8rem !important; }
  .site-header .nav-link.active::after {
    content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.1rem; height: 3px;
    border-radius: 3px; background: var(--sun);
  }
}
@media (max-width: 1199.98px) {
  .navbar-collapse { padding: 0.75rem 0 1rem; }
  .site-header .nav-link { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
  .nav-actions { margin-top: 1rem; }
}

/* ---- Heroes ---------------------------------------------------------------------- */

.hero, .page-hero {
  position: relative; overflow: hidden; color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 85% 10%, rgba(247, 148, 29, 0.22), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(47, 168, 79, 0.18), transparent 45%),
    linear-gradient(160deg, var(--river-deep) 0%, var(--river) 50%, var(--river-mid) 100%);
}
.hero h1, .hero h2, .page-hero h1, .page-hero h2 { color: #fff; }
.hero { padding: 5rem 0 9rem; }
.hero-title { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 600; margin-bottom: 1.25rem; }
.hero-lede { font-size: 1.15rem; max-width: 40em; }
.hero-lede strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 1.75rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: 0.95rem; }
.hero-points i { color: var(--sun-light); margin-right: 0.35rem; }
.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 120px; display: block; }

.page-hero { padding: 4.5rem 0 4.75rem; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--rainbow); }
.page-hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); max-width: 22em; }
.page-hero-lede { font-size: 1.15rem; max-width: 42em; margin-bottom: 0; }
.page-hero .hero-actions { margin-bottom: 0; }
.page-hero-compact { padding: 3.25rem 0 3.5rem; }

.hero-stat-list { list-style: none; padding: 0; margin: 0; }
.hero-stat-list li {
  display: flex; gap: 1rem; align-items: center; color: #fff;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px; padding: 1rem 1.25rem; margin-bottom: 0.75rem;
}
.hero-stat-list i { font-size: 1.6rem; color: var(--sun-light); }

/* Sample WellScore card in the home hero. */
.score-card { background: #fff; color: var(--ink); border-radius: 24px; padding: 1.75rem; box-shadow: var(--shadow-lg); max-width: 440px; margin-left: auto; }
.score-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.score-card-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin: 0; }
.score-card-value { font-family: "Kanit", sans-serif; font-size: 3rem; font-weight: 600; color: var(--river); line-height: 1; margin: 0.25rem 0 0; }
.score-card-value span { font-size: 1.1rem; color: var(--muted); font-weight: 400; }
.score-bars { list-style: none; padding: 0; margin: 0; }
.score-bars li { display: grid; grid-template-columns: 88px 1fr; gap: 0.75rem; align-items: center; margin: 0.55rem 0; }
.score-bar-name { font-size: 0.88rem; font-weight: 600; }
.score-bar-track { height: 10px; background: #eef0f3; border-radius: 10px; overflow: hidden; }
.score-bar-fill { display: block; height: 100%; border-radius: 10px; background: var(--petal, var(--river)); }
.score-w-58 { width: 58%; } .score-w-64 { width: 64%; } .score-w-71 { width: 71%; } .score-w-74 { width: 74%; }
.score-w-82 { width: 82%; } .score-w-86 { width: 86%; } .score-w-90 { width: 90%; }
.score-card-note { font-size: 0.78rem; color: var(--muted); margin: 1rem 0 0; }

/* ---- Sections -------------------------------------------------------------------- */

.section { padding: 5rem 0; }
.section-tight { padding: 3.5rem 0; }
.section-sand { background: var(--sand); }
.section-river {
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(150deg, var(--river-deep), var(--river) 60%, #2a4f74);
}
.section-river h2, .section-river h3, .section-river strong { color: #fff; }
.section-head { max-width: 46rem; margin: 0 auto 2.75rem; }
.section-head .lead-muted { margin-top: 0.75rem; }

/* Cards shared by several pages. */
.feature-tile, .audience-card, .portal-card, .plan-card, .post-card, .contact-card, .contact-form, .token-steps {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.feature-tile { padding: 1.75rem; height: 100%; }
.feature-tile p:last-child { margin-bottom: 0; }
.feature-tile-wide { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature-icon, .audience-icon, .portal-icon, .facet-icon {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.45rem; margin-bottom: 1rem;
  color: var(--petal, var(--river));
  background: color-mix(in srgb, var(--petal, var(--river)) 13%, #fff);
}

.audience-card, .portal-card {
  display: flex; flex-direction: column; height: 100%; padding: 1.75rem; color: var(--ink);
  text-decoration: none; border-top: 5px solid var(--petal, var(--river));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.audience-card:hover, .portal-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.audience-card h3, .portal-card h2 { font-size: 1.3rem; }
.audience-card p, .portal-card p { color: var(--muted); flex: 1; }
.portal-alt { text-align: center; font-size: 0.92rem; margin-top: 0.85rem; color: var(--muted); }

/* "How well are you, really?" */
.assurance {
  display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 3rem; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 3rem; box-shadow: var(--shadow-sm);
}
.assurance-gauge { text-align: center; }
.assurance-gauge img { max-width: 100%; height: auto; }
.assurance-question { font-family: "Kanit", sans-serif; font-size: 1.35rem; line-height: 1.35; color: var(--plum); margin: 1.25rem 0 0; }
.assurance-question strong { color: var(--river); font-weight: 600; }
.assurance-copy p { color: var(--muted); }
@media (max-width: 991.98px) { .assurance { grid-template-columns: 1fr; padding: 2rem; gap: 1.5rem; } }

/* Seven facets */
.facet-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; }
.facet-card { background: #fff; border-radius: 18px; padding: 1.5rem 1.25rem; border: 1px solid var(--line); border-top: 5px solid var(--petal); }
.facet-card h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.facet-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.facet-icon { width: 46px; height: 46px; font-size: 1.3rem; margin-bottom: 0.85rem; }

/* Numbered steps in a row */
.step-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step-row-3 { grid-template-columns: repeat(3, 1fr); }
.step-row li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.step-row h3 { font-size: 1.2rem; }
.step-row p { color: var(--muted); margin: 0; }
.step-num {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--river); color: #fff; font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.2rem; margin-bottom: 1rem;
}
@media (max-width: 991.98px) { .step-row, .step-row-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .step-row, .step-row-3 { grid-template-columns: 1fr; } }

/* The 8-step member journey */
.journey { list-style: none; padding: 0; margin: 0; }
.journey-step { display: grid; grid-template-columns: 60px 1fr; gap: 1.5rem; position: relative; padding-bottom: 2.75rem; }
.journey-step:not(:last-child)::before {
  content: ""; position: absolute; left: 28px; top: 64px; bottom: 6px; width: 4px; border-radius: 4px;
  background: color-mix(in srgb, var(--petal) 35%, #fff);
}
.journey-num {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #fff; border: 4px solid var(--petal); color: var(--river);
  font-family: "Kanit", sans-serif; font-weight: 600; font-size: 1.5rem;
}
.journey-step h2 { font-size: 1.45rem; margin: 0.6rem 0 0.5rem; }
.journey-step p { color: var(--muted); }

.callout { display: flex; gap: 1.25rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--sun); border-radius: 16px; padding: 1.75rem; }
.callout > i { font-size: 2rem; color: var(--river); line-height: 1; }

/* Tokens */
.token-example { background: #fff; color: var(--ink); border-radius: 24px; padding: 2rem; box-shadow: var(--shadow-lg); max-width: 460px; margin-left: auto; position: relative; }
.token-coin { width: 64px; height: auto; margin-bottom: 0.75rem; }
.token-example .token-coin { position: absolute; top: -26px; right: 24px; width: 72px; }
.token-example-title { font-family: "Kanit", sans-serif; font-size: 1.25rem; color: var(--river); font-weight: 600; }
.token-example dl { margin: 0; }
.token-example dl div { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px dashed var(--line); }
.token-example dt { font-weight: 500; }
.token-example dd { margin: 0; font-variant-numeric: tabular-nums; }
.token-example .token-total { border-bottom: 0; font-size: 1.2rem; font-weight: 700; color: var(--river); }
.token-example .token-total dt { font-weight: 700; }
.token-note { font-size: 0.8rem; color: var(--muted); margin: 0.5rem 0 0; }
.token-rates { list-style: none; padding: 0; max-width: 22rem; }
.token-rates li { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); }
.token-steps { padding: 2rem; }
.token-steps ol { padding-left: 1.25rem; margin: 0; }
.token-steps li { margin-bottom: 1rem; color: var(--muted); }
.token-steps li strong { color: var(--ink); }
.token-steps li:last-child { margin-bottom: 0; }

/* Plans */
.plan-card { display: flex; flex-direction: column; height: 100%; padding: 2rem; position: relative; }
.plan-card-featured { border: 2px solid var(--sun); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 999px;
}
.plan-name { font-size: 1.6rem; margin-bottom: 0.35rem; }
.plan-blurb { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan-price { margin: 0.5rem 0 0.75rem; }
.plan-amount { font-family: "Kanit", sans-serif; font-size: 2.6rem; font-weight: 600; color: var(--river); line-height: 1; }
.plan-per { color: var(--muted); margin-left: 0.35rem; }
.plan-startup { background: var(--sand); border-radius: 12px; padding: 0.75rem 0.9rem; font-size: 0.88rem; }
.plan-highlights, .plan-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.plan-highlights li, .plan-features li { display: flex; gap: 0.6rem; padding: 0.35rem 0; }
.plan-highlights i { color: var(--sun-dark); }
.plan-features { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.93rem; }
.plan-features i { color: var(--leaf); }

/* Seasons */
.season-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.season { background: #fff; border-radius: 18px; padding: 1.5rem; border: 1px solid var(--line); }
.season i { font-size: 1.8rem; }
.season h3 { font-size: 1.2rem; margin: 0.5rem 0 0.25rem; }
.season p { margin: 0; color: var(--muted); }
.season-winter i { color: #4f81b0; }
.season-spring i { color: #5fa82e; }
.season-summer i { color: var(--sun-dark); }
.season-autumn i { color: #c0582a; }

/* The Flow */
.post-card { height: 100%; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-img { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-img img.post-card-placeholder { object-fit: contain; padding: 2.5rem; }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.2rem; color: var(--ink); }
.post-category { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 600; color: var(--plum); margin-bottom: 0.4rem; }
.post-meta { font-size: 0.85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; }
.post-meta > * + *::before { content: "\2022"; margin-right: 0.6rem; }
.post-excerpt { color: var(--muted); font-size: 0.95rem; flex: 1; }

/* Employers */
.inventory-grid, .portal-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.inventory-grid li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem; }
.inventory-grid i, .portal-grid i { font-size: 1.5rem; color: var(--river); }
.inventory-grid h3, .portal-grid h3 { font-size: 1.1rem; margin: 0.5rem 0 0.25rem; }
.inventory-grid p, .portal-grid p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.portal-grid li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 1.25rem; }
.portal-grid i { color: var(--sun-light); }
.portal-grid p { color: rgba(255, 255, 255, 0.78); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding: 0.3rem 0 0.3rem 1.85rem; }
.check-list li::before { content: "\f272"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0.3rem; color: var(--leaf); font-weight: 700; }

.privacy-panel { background: var(--river); color: rgba(255, 255, 255, 0.88); border-radius: 24px; padding: 2.5rem; }
.privacy-panel > i { font-size: 2.4rem; color: var(--sun-light); }
.privacy-panel h3 { color: #fff; margin: 0.75rem 0; }
.privacy-panel p { margin: 0; }

/* Community groups */
.quote-panel { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.5rem; text-align: center; }
.quote-panel img { height: auto; margin-bottom: 1rem; }
.quote-panel p { font-family: "Kanit", sans-serif; font-size: 1.35rem; line-height: 1.45; color: var(--river); margin: 0; }

/* Partners */
.pledge-row { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.pledge-row li { display: flex; gap: 1rem; align-items: flex-start; }
.pledge-row i {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem;
  color: var(--petal); background: color-mix(in srgb, var(--petal) 13%, #fff);
}
.pledge-row p { font-family: "Kanit", sans-serif; font-size: 1.12rem; line-height: 1.45; color: var(--river); margin: 0.2rem 0 0; }
.tag-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-cloud li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.95rem; font-size: 0.92rem; font-weight: 500; }

/* About */
.mission-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.5rem 2.25rem 2rem; }
.mission-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--rainbow); }
.mission-card p { color: var(--muted); }
.mission-card p:last-child { margin-bottom: 0; }
.nd-seal { max-width: 240px; height: auto; }
.principles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.principles li { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--petal); border-radius: 18px; padding: 1.5rem; }
.principles h3 { font-size: 1.2rem; margin-bottom: 0.15rem; }
.principles p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.principles .principle-latin { font-style: italic; color: var(--plum); margin-bottom: 0.6rem; }
.founder { display: flex; gap: 2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 2.5rem; }
.founder-mark { flex: none; height: auto; }
.founder p:last-child { margin-bottom: 0; color: var(--muted); }
@media (max-width: 767.98px) { .founder { flex-direction: column; text-align: center; padding: 2rem; } }
.about-address { font-style: normal; line-height: 1.8; }
.external-links { list-style: none; padding: 0; }
.external-links li { margin-bottom: 0.6rem; }
.external-links a::after { content: " \2197"; }

/* Empty and error states */
.empty-state { text-align: center; padding: 3rem 1rem; max-width: 36rem; margin: 0 auto; }
.empty-state img { height: auto; margin-bottom: 1.25rem; }
.empty-state p { color: var(--muted); }

/* Contact */
.contact-form { padding: 2rem; }
.contact-form .form-control, .contact-form .form-select { border-radius: 12px; padding: 0.7rem 0.9rem; border-color: #d9cfbd; background-color: #fff; }
.contact-form .form-control:focus, .contact-form .form-select:focus { border-color: var(--river); box-shadow: 0 0 0 0.2rem rgba(10, 61, 103, 0.15); }
.form-label { font-weight: 600; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: flex; gap: 1rem; align-items: flex-start; background: #ebf7ee; border: 1px solid #9fd8ae; border-radius: 18px; padding: 1.75rem; }
.form-success > i { font-size: 2rem; color: var(--leaf); line-height: 1; }
.contact-card { padding: 1.75rem; margin-bottom: 1.25rem; }
.contact-list, .quick-links { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 0.85rem; padding: 0.45rem 0; }
.contact-list i { color: var(--river); font-size: 1.15rem; }
.quick-links li { padding: 0.35rem 0; }

/* ---- Closing call to action --------------------------------------------------- */

.cta-band { padding: 4.5rem 0; color: rgba(255, 255, 255, 0.88); background: linear-gradient(120deg, var(--river-deep), var(--river) 55%, var(--plum)); }
.cta-band-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-band p { margin: 0; font-size: 1.08rem; }
.cta-lotus { width: 120px; height: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 991.98px) {
  .cta-band-inner { grid-template-columns: 1fr; text-align: center; gap: 1.25rem; }
  .cta-lotus { margin: 0 auto; }
  .cta-actions { justify-content: center; }
}

/* ---- Footer ---------------------------------------------------------------------- */

.site-footer { background: var(--river-deep); color: rgba(255, 255, 255, 0.72); padding-bottom: 2rem; font-size: 0.95rem; }
.rainbow-rule { height: 5px; background: var(--rainbow); }
.site-footer .container { padding-top: 3.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-lede { font-family: "Kanit", sans-serif; font-size: 1.1rem; color: #fff; }
.footer-contact { font-style: normal; line-height: 1.8; }
.footer-heading { font-family: "Inter", sans-serif; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 0.25rem 0; }
.footer-disclaimer { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); border-top: 1px solid rgba(255, 255, 255, 0.12); margin: 3rem 0 1.25rem; padding-top: 1.5rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

/* ---- Small screens --------------------------------------------------------------- */

@media (max-width: 991.98px) {
  .hero { padding: 3.5rem 0 7.5rem; }
  .score-card, .token-example { margin: 0 auto; }
  .section { padding: 3.75rem 0; }
}
@media (max-width: 575.98px) {
  .brand-word { font-size: 1.15rem; }
  .season-grid { grid-template-columns: 1fr; }
  .feature-tile-wide { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* FAQ (native <details>, works without JavaScript) */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 0.75rem; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.4rem; position: relative;
  font-family: "Kanit", sans-serif; font-weight: 500; font-size: 1.1rem; color: var(--river);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\f282"; font-family: "bootstrap-icons"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%); transition: transform 0.2s ease; color: var(--plum);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq summary:focus-visible { outline: 3px solid rgba(10, 61, 103, 0.35); outline-offset: 2px; border-radius: 16px; }
.faq details p { padding: 0 1.4rem 1.25rem; margin: 0; color: var(--muted); }
.token-stack { width: 150px; height: auto; margin-bottom: 1rem; }

/* Partners: the two ways to partner */
.path-card {
  display: flex; flex-direction: column; align-items: flex-start; height: 100%;
  background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--petal, var(--river));
  border-radius: var(--radius); padding: 2.25rem;
}
.path-card h3 { font-size: 1.6rem; }
.path-card > p { color: var(--muted); }
.path-card .check-list { margin-bottom: 1.25rem; }
.path-card .btn { margin-top: auto; }
.path-for { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum) !important; margin-bottom: 0.35rem; }
.path-pay { display: flex; gap: 0.85rem; align-items: flex-start; width: 100%; background: var(--sand); border-radius: 14px; padding: 1rem 1.15rem; margin-bottom: 1.5rem; }
.path-pay i { font-size: 1.3rem; color: var(--river); line-height: 1.4; }
.path-pay p { margin: 0; }

.token-options { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.token-options li { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 18px; padding: 1.75rem; }
.token-options i { font-size: 1.9rem; color: var(--sun-light); }
.token-options h3 { font-size: 1.25rem; margin: 0.6rem 0 0.4rem; }
.token-options p { margin: 0; color: rgba(255, 255, 255, 0.8); }
