:root {
  --cloud: #f0eee9;
  --cloud-bright: #fbfaf5;
  --cloud-soft: #e7e2d7;
  --cloud-muted: #c9c5bb;
  --cloud-ink: #172823;
  --cloud-text: #51605b;
  --cloud-subtle: #68756f;
  --cloud-line: rgba(23,40,35,.16);
  --cloud-line-strong: rgba(23,40,35,.28);
  --cloud-glass: rgba(240,238,233,.12);
  --bg: #0b2422;
  --bg-soft: #12312d;
  --bg-card: #173a35;
  --bg-card2: #0f2f2b;
  --ink: var(--cloud);
  --muted: #cbd4cf;
  --gold: #c7aa6c;
  --gold-deep: #7a6032;
  --gold-soft: #eadbb5;
  --cyan: #9dd8d0;
  --cyan-deep: #4e9d94;
  --teal-cloud: #2e6f67;
  --line: rgba(240,238,233,.18);
  --line-soft: rgba(240,238,233,.10);
  --cyan-line: rgba(157,216,208,.24);
  --gold-line: rgba(199,170,108,.34);
  --serif: 'Marcellus', serif;
  --sans: 'Jost', system-ui, sans-serif;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    linear-gradient(180deg, rgba(240,238,233,.22) 0%, rgba(240,238,233,.08) 48%, rgba(240,238,233,0) 100%),
    radial-gradient(900px 500px at 80% -8%, rgba(240,238,233,.075), transparent 60%),
    radial-gradient(760px 460px at 5% 0%, rgba(199,170,108,.08), transparent 55%);
  background-repeat: no-repeat;
  background-size: 100% 980px, auto, auto;
  background-attachment: scroll, fixed, fixed;
}
::selection { background: var(--cloud); color: var(--cloud-ink); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 36px; }
em { font-style: normal; color: var(--gold); }
.cy { color: var(--cyan); }
a { color: inherit; }

/* ── NAV ── */
nav { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; gap: 20px; position: relative; z-index: 5; }
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover { color: var(--cloud); }
.nav-cta {
  border: 1px solid rgba(240,238,233,.58) !important; padding: 10px 22px; border-radius: 100px;
  color: var(--cloud) !important; background: var(--cloud-glass);
  transition: border-color .2s, color .2s, background .2s !important;
}
.nav-cta:hover { border-color: var(--cloud) !important; color: var(--cloud) !important; background: rgba(240,238,233,.18); }

/* ── HERO ── */
.hero { padding: 104px 0 110px; text-align: center; position: relative; }
.eyebrow {
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--cloud); margin-bottom: 32px; line-height: 1.6;
}
.eyebrow .pulse { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--cloud); vertical-align: middle; margin-right: 10px; position: relative; top: -1px; box-shadow: 0 0 0 0 rgba(240,238,233,.55); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,238,233,.48); } 70% { box-shadow: 0 0 0 9px rgba(240,238,233,0); } 100% { box-shadow: 0 0 0 0 rgba(240,238,233,0); } }
@keyframes pulseTeal { 0% { box-shadow: 0 0 0 0 rgba(46,111,103,.5); } 70% { box-shadow: 0 0 0 8px rgba(46,111,103,0); } 100% { box-shadow: 0 0 0 0 rgba(46,111,103,0); } }
.hero h1 {
  font-family: var(--serif); font-size: clamp(44px, 7vw, 84px);
  line-height: 1.08; letter-spacing: .01em; margin-bottom: 26px; font-weight: 400;
}
.hero-sub {
  font-size: clamp(16px, 2.1vw, 20px); color: var(--muted);
  max-width: 660px; margin: 0 auto 28px; font-weight: 300; line-height: 1.65;
}
.hero-proof-link {
  width: min(620px, 100%); margin: 0 auto 34px; padding: 14px 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  color: inherit; text-decoration: none; border: 1px solid rgba(240,238,233,.28); border-radius: 100px;
  background: rgba(240,238,233,.11);
  transition: border-color .2s, background .2s, transform .2s;
}
.hero-proof-link:hover { border-color: rgba(240,238,233,.58); background: rgba(240,238,233,.16); transform: translateY(-1px); }
.hero-proof-mark { width: 34px; height: 34px; flex: none; }
.hero-proof-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero-proof-copy { min-width: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; flex-wrap: wrap; line-height: 1.35; }
.hero-proof-copy strong { font-family: var(--serif); color: var(--ink); font-size: 18px; font-weight: 400; letter-spacing: .02em; }
.hero-proof-copy span { color: var(--muted); font-size: 13px; letter-spacing: .04em; }
.btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; max-width: 100%;
  font-family: var(--sans); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding: 15px 32px; border-radius: 100px; transition: .22s; cursor: pointer; border: none; line-height: 1.25;
}
.btn-primary {
  background: linear-gradient(180deg, var(--cloud-bright), var(--cloud));
  color: var(--cloud-ink); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(23,40,35,.08);
}
.btn-primary:hover { background: var(--cloud-bright); transform: translateY(-2px); }

/* ── SECTION BASE ── */
section { padding: 92px 0; border-top: 1px solid var(--line-soft); position: relative; }
.sec-label {
  font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--cyan); text-align: center; margin-bottom: 20px;
}
.sec-title {
  font-family: var(--serif); font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.22; text-align: center; letter-spacing: .01em; margin-bottom: 20px;
}
.sec-body {
  font-size: 17px; color: var(--muted); max-width: 680px;
  margin: 0 auto 52px; text-align: center; font-weight: 300; line-height: 1.75;
}

/* ── CREED ── */
.creed {
  text-align: center; color: var(--cloud-ink);
  background:
    linear-gradient(180deg, var(--cloud-bright) 0%, var(--cloud) 100%);
  border-top-color: var(--cloud-line);
}
.creed .sec-label { color: var(--teal-cloud); }
.creed-line { font-family: var(--serif); font-size: clamp(26px, 4vw, 44px); line-height: 1.32; max-width: 920px; margin: 0 auto 24px; font-weight: 400; letter-spacing: .01em; }
.creed-line em { color: var(--gold-deep); }
.creed p { color: var(--cloud-text); max-width: 720px; margin: 0 auto; font-size: 16.5px; line-height: 1.85; font-weight: 300; }
.creed p + p { margin-top: 16px; }
.creed p strong { color: var(--cloud-ink); font-weight: 400; }
.creed-points {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  margin: 38px auto 0;
}
.creed-points span {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 22px;
  color: var(--teal-cloud); font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; line-height: 1.4;
}
.creed-points .cdot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal-cloud); flex: none;
  animation: pulseTeal 2.6s infinite;
}
.creed-points span:nth-child(2) .cdot { animation-delay: .85s; }
.creed-points span:nth-child(3) .cdot { animation-delay: 1.7s; }
.creed-points span:nth-child(2) {
  border-left: 1px solid rgba(23,40,35,.2);
  border-right: 1px solid rgba(23,40,35,.2);
}

/* ── THE PROBLEM ── */
#problem {
  background:
    linear-gradient(180deg, rgba(240,238,233,.055) 0%, rgba(240,238,233,0) 38%);
}
/* ── A BETTER ROAD: answer cards ── */
.fix-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fix-card {
  background:
    linear-gradient(180deg, rgba(240,238,233,.055) 0%, rgba(240,238,233,0) 44%),
    linear-gradient(180deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 30px 30px; transition: border-color .25s;
}
.fix-card:hover { border-color: rgba(240,238,233,.28); }
.fix-card h4 { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.25; margin-bottom: 16px; }
.fix-card > h4 + p { font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-top: -4px; }
.fix-card h4 .aff { color: var(--gold); }
.fix-card h4 .neg { color: rgba(240,238,233,.42); }
.answer-hinge { text-align: center; font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px); color: var(--ink); line-height: 1.35; margin: 0 auto 42px; }
.sec-body.lead-in { margin-bottom: 30px; }
.complaint-ticker { position: relative; height: 100px; max-width: 760px; margin: 0 auto 8px; }
.complaint-ticker .cmpl {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 11px; opacity: 0; animation: complaintCycle 15s infinite;
}
.complaint-ticker .cmpl:nth-child(2) { animation-delay: 2.5s; }
.complaint-ticker .cmpl:nth-child(3) { animation-delay: 5s; }
.complaint-ticker .cmpl:nth-child(4) { animation-delay: 7.5s; }
.complaint-ticker .cmpl:nth-child(5) { animation-delay: 10s; }
.complaint-ticker .cmpl:nth-child(6) { animation-delay: 12.5s; }
.complaint-ticker .tag { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.complaint-ticker .q { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 3.4vw, 32px); color: var(--ink); line-height: 1.2; text-align: center; }
@keyframes complaintCycle {
  0% { opacity: 0; transform: translateY(9px); }
  3% { opacity: 1; transform: translateY(0); }
  14% { opacity: 1; transform: translateY(0); }
  17.5% { opacity: 0; transform: translateY(-9px); }
  100% { opacity: 0; }
}

/* ── PLATFORM (Resonance) ── */
.proof-bridge { margin-top: 90px; padding-top: 48px; border-top: 1px solid var(--line-soft); }
.platform-shell {
  border: 1px solid rgba(23,40,35,.18); border-radius: 22px; overflow: hidden; margin-top: 12px;
  color: var(--ink); box-shadow: 0 24px 70px rgba(11,36,34,.22);
  background:
    radial-gradient(700px 300px at 85% -20%, rgba(240,238,233,.14), transparent 60%),
    var(--bg-card2);
}
.platform-head { padding: 40px 40px 8px; }
.platform-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.platform-mark { width: 50px; height: 50px; flex: none; }
.platform-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.platform-name { font-family: var(--serif); font-size: 24px; letter-spacing: .02em; }
.platform-name span { color: var(--cyan); }
.platform-shell .cy { color: var(--cyan); }
.platform-head h3 { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-weight: 400; line-height: 1.25; margin-bottom: 14px; max-width: 620px; }
.platform-head p { color: var(--muted); font-size: 15.5px; max-width: 600px; line-height: 1.7; }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); margin-top: 34px; border-top: 1px solid var(--line-soft); }
.module { background: var(--bg-card2); padding: 24px 24px; transition: background .25s; display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: start; }
.module:hover { background: var(--bg-card); }
.module .micon { width: 26px; height: 26px; margin-top: 2px; grid-row: span 2; }
.module .micon svg { width: 100%; height: 100%; fill: none; stroke: var(--cyan); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.module h5 { font-size: 15px; font-weight: 500; letter-spacing: .02em; margin-bottom: 6px; }
.module p { font-size: 13px; color: var(--muted); line-height: 1.65; }
.platform-cta { padding: 30px 40px 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); }
.platform-cta p { color: var(--muted); font-size: 14px; max-width: 460px; }
.platform-cta .gold { color: var(--gold-soft); }
.platform-cta .btn-primary { background: linear-gradient(180deg, var(--cloud-bright), var(--cloud)); color: var(--cloud-ink); }

/* ── THE PARTNERSHIP (merged) ── */
#partnership {
  background:
    linear-gradient(180deg, var(--cloud-bright) 0%, var(--cloud) 100%);
  color: var(--cloud-ink); border-top-color: var(--cloud-line);
}
#partnership .sec-label { color: var(--teal-cloud); }
#partnership .sec-title { color: var(--cloud-ink); }
#partnership .sec-title em { color: var(--gold-deep); }
#partnership .sec-body { color: var(--cloud-text); }
#partnership .process-steps::before { background: var(--cloud-line-strong); }
#partnership .step-num { border-color: var(--cloud-line-strong); background: var(--cloud-bright); color: var(--teal-cloud); }
#partnership .step-body h4 { color: var(--cloud-ink); }
#partnership .step-body p { color: var(--cloud-text); }
#partnership .step-tags { display: flex; flex-wrap: wrap; align-items: center; margin-top: 12px; }
#partnership .step-tags span { font-size: 11.5px; letter-spacing: .04em; color: var(--teal-cloud); }
#partnership .step-tags span:not(:last-child)::after { content: '·'; color: var(--cloud-muted); margin: 0 9px; }
.process-steps { display: flex; flex-direction: column; max-width: 780px; margin: 0 auto; position: relative; }
.process-steps::before { content: ''; position: absolute; left: 19px; top: 28px; bottom: 28px; width: 1px; background: var(--cyan-line); }
.step { display: flex; gap: 26px; align-items: flex-start; padding: 24px 0; }
.step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--cyan-line); background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--cyan); font-family: var(--serif); position: relative; z-index: 1; }
.step-body h4 { font-family: var(--serif); font-size: 18px; font-weight: 400; line-height: 1.2; margin-bottom: 6px; padding-top: 9px; }
.step-body p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ── CONTACT ── */
.contact-box {
  background:
    linear-gradient(165deg, var(--bg-card) 0%, var(--bg-card2) 100%);
  color: var(--ink); border: 1px solid var(--line); border-radius: 22px;
  padding: 68px 48px; text-align: center; margin: 60px auto 96px;
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
}
.contact-box h2 { font-family: var(--serif); font-size: clamp(26px, 3.8vw, 42px); margin-bottom: 14px; letter-spacing: .01em; font-weight: 400; }
.contact-box h2 em { color: var(--gold); }
.contact-box > p { color: var(--muted); margin: 0 auto 34px; font-size: 16px; font-weight: 300; max-width: 520px; }
.form { display: flex; flex-direction: column; gap: 12px; max-width: 500px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 15px 20px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(240,238,233,.05); color: var(--ink); font-size: 16px; font-family: var(--sans);
  font-weight: 300; appearance: none; -webkit-appearance: none;
}
.form select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239dd8d0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 44px; }
.form select option { background: var(--bg-card); color: var(--ink); }
.form textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form input::placeholder, .form textarea::placeholder { color: var(--muted); opacity: .6; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--cyan-deep); box-shadow: 0 0 0 3px rgba(78,157,148,.2); }
.form .btn-primary { align-self: center; margin-top: 4px; }
.form .btn-primary[disabled] { opacity: .55; cursor: wait; transform: none; }
.form-success { display: none; padding: 12px 0; }
.form-success .note { font-family: var(--serif); font-size: clamp(19px, 3vw, 26px); color: var(--cyan); line-height: 1.5; margin-bottom: 10px; }
.form-success .sub { color: var(--muted); font-size: 15px; }
.form-error { display: none; color: var(--gold); font-size: 14px; margin-top: 10px; }
.hidden-field { display: none; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line-soft); }
.faq-more > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 20px 0; font-family: var(--sans); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); transition: color .2s;
}
.faq-more > summary::-webkit-details-marker { display: none; }
.faq-more > summary svg { width: 16px; height: 11px; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease, stroke .2s; }
.faq-more > summary:hover { color: var(--cloud); }
.faq-more > summary:hover svg { stroke: var(--cloud); }
.faq-more[open] > summary svg { transform: rotate(180deg); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  list-style: none; cursor: pointer; display: block; position: relative;
  padding: 20px 40px 20px 0; font-family: var(--serif); font-size: clamp(16px, 1.9vw, 19px);
  font-weight: 400; line-height: 1.4; color: var(--ink); transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary::after {
  content: '+'; position: absolute; right: 2px; top: 16px; font-size: 22px; line-height: 1;
  color: var(--cyan); font-family: var(--sans); font-weight: 300;
}
.faq-item[open] summary::after { content: '\2013'; }
.faq-a { padding: 0 40px 22px 0; }
.faq-a p { color: var(--muted); font-size: 15px; line-height: 1.75; font-weight: 300; }
.faq-note { max-width: 700px; margin: 26px auto 0; text-align: center; font-size: 12px; line-height: 1.6; color: var(--muted); opacity: .65; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--line-soft); padding: 38px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-logo img { height: 34px; width: auto; display: block; }
footer p { color: var(--muted); font-size: 12px; letter-spacing: .05em; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 12px; letter-spacing: .05em; transition: color .2s; }
.foot-links a:hover { color: var(--cyan); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  body { background-attachment: scroll; }
  .module-grid { grid-template-columns: 1fr; }
  .creed-points { flex-direction: column; max-width: 280px; }
  .creed-points span { padding: 11px 0; }
  .creed-points span:nth-child(2) {
    border-left: 0; border-right: 0;
    border-top: 1px solid rgba(23,40,35,.18);
    border-bottom: 1px solid rgba(23,40,35,.18);
  }
}
@media (max-width: 680px) {
  nav { padding: 18px 0; }
  .hero { padding: 28px 0 60px; }
  .eyebrow { font-size: 10px; letter-spacing: .16em; margin-bottom: 16px; }
  .hero h1 { font-size: 38px; margin-bottom: 14px; }
  .hero-sub { margin-bottom: 16px; }
  .complaint-ticker { height: 124px; }
  .fix-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .nav-links .nav-hide { display: none; }
  .contact-box { padding: 46px 24px; }
  .platform-head, .platform-cta { padding-left: 26px; padding-right: 26px; }
  .hero-proof-link { margin-bottom: 16px; align-items: flex-start; justify-content: flex-start; text-align: left; }
  .hero-proof-copy { justify-content: flex-start; }
}
@media (max-width: 480px) { .wrap { padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .creed-points .cdot { animation: none; }
  .complaint-ticker { height: auto; }
  .complaint-ticker .cmpl { animation: none; position: static; opacity: 0; }
  .complaint-ticker .cmpl:first-child { opacity: 1; }
  .complaint-ticker .cmpl:not(:first-child) { display: none; }
}
