/* comply.gg — brand system. Mint, cream, plum. Huggable. Unsettling. */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Quicksand:wght@500;600;700&display=swap');

:root {
  --mint: #C7EFD4;
  --mint-deep: #A7DDBE;
  --cream: #F6F3EA;
  --cream-2: #EFEADC;
  --slate: #3A4A57;
  --slate-2: #5B6B78;
  --plum: #8E6C8C;      /* used only for the word Optimal */
  --plum-deep: #6E4E6C;
  --grey: #B8BDB5;      /* Concerning tier */
  --good: #7CCB97;
  --shadow: 0 18px 50px -24px rgba(58, 74, 87, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(58, 74, 87, 0.4);
  --radius: 26px;
  --radius-sm: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--cream);
  color: var(--slate);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* faint mint vignette + the always-present "Reassurance" pulse */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% -10%, rgba(199,239,212,0.6), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(142,108,140,0.06), transparent 40%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(199,239,212,0.0);
  animation: reassure 7s var(--ease) infinite;
}
@keyframes reassure { 0%,100%{opacity:0} 50%{opacity:0.5} }

main, header, footer, section { position: relative; z-index: 1; }

a { color: inherit; }

/* ---------- Harmony bar (top) ---------- */
.harmony {
  position: sticky; top: 0; z-index: 100;
  background: var(--mint);
  border-bottom: 1px solid rgba(58,74,87,0.08);
  font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
}
.harmony__inner {
  max-width: 1180px; margin: 0 auto; padding: 9px 24px;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
}
.harmony__dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--good);
  box-shadow: 0 0 0 0 rgba(124,203,151,0.7); animation: ping 2.4s infinite;
}
@keyframes ping { 0%{box-shadow:0 0 0 0 rgba(124,203,151,0.6)} 70%{box-shadow:0 0 0 10px rgba(124,203,151,0)} 100%{box-shadow:0 0 0 0 rgba(124,203,151,0)} }
.harmony__msg { flex: 1; }
.harmony__session { font-variant-numeric: tabular-nums; opacity: 0.8; }

/* ---------- Nav ---------- */
.nav {
  max-width: 1180px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.brand__pip {
  width: 34px; height: 34px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--mint) 60%, var(--mint-deep));
  box-shadow: var(--shadow-sm); animation: breathe 5s var(--ease) infinite;
}
@keyframes breathe { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
.brand__name { font-size: 22px; letter-spacing: -0.02em; }
.brand__name b { color: var(--slate); }
.brand__name .gg { color: var(--slate-2); font-weight: 700; }
.nav__links { display: flex; gap: 26px; font-weight: 700; font-size: 15px; }
.nav__links a { text-decoration: none; opacity: 0.8; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  font-family: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
  border: none; border-radius: 999px; padding: 16px 30px;
  background: var(--slate); color: var(--cream); letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm); transition: transform .15s var(--ease), box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--mint { background: var(--mint-deep); color: var(--slate); }
.btn--plum { background: var(--plum); color: #fff; }
.btn--ghost { background: transparent; color: var(--slate); border: 2px solid rgba(58,74,87,0.15); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px; margin: 0 auto; padding: 40px 24px 70px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; } }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); color: var(--slate);
  padding: 7px 14px; border-radius: 999px; font-weight: 800; font-size: 13px;
  margin-bottom: 22px;
}
.hero__h1 {
  font-size: clamp(38px, 6vw, 66px); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 900; color: var(--slate);
}
.hero__h1 em { font-style: normal; color: var(--plum); }
.hero__sub { font-size: 19px; color: var(--slate-2); margin-top: 20px; max-width: 520px; }
.hero__cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__fine { margin-top: 16px; font-size: 13px; color: var(--slate-2); opacity: 0.85; }

/* hero score card */
.scorecard {
  background: #fff; border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid rgba(58,74,87,0.06);
  position: relative; overflow: hidden;
}
.scorecard__label { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); }
.scorecard__num { font-size: 76px; font-weight: 900; letter-spacing: -0.04em; color: var(--slate); font-variant-numeric: tabular-nums; line-height: 1; margin: 8px 0; }
.scorecard__tier { display: inline-block; font-weight: 800; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--mint); color: var(--slate); }
.scorecard__tier.is-plum { background: var(--plum); color: #fff; }
.scorecard__bar { height: 12px; border-radius: 999px; background: var(--cream-2); margin-top: 22px; overflow: hidden; }
.scorecard__fill { height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--mint-deep), var(--good)); transition: width 2s var(--ease); }
.scorecard__row { display: flex; justify-content: space-between; font-size: 12px; margin-top: 8px; color: var(--slate-2); font-weight: 700; }

/* ---------- Section shell ---------- */
section.block { max-width: 1180px; margin: 0 auto; padding: 70px 24px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); margin-bottom: 12px; }
.h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -0.02em; color: var(--slate); max-width: 760px; }
.lead { font-size: 18px; color: var(--slate-2); max-width: 640px; margin-top: 14px; }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 880px) { .tiers { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: #fff; border-radius: var(--radius-sm); padding: 22px; border: 1px solid rgba(58,74,87,0.06); box-shadow: var(--shadow-sm); }
.tier__chip { width: 14px; height: 14px; border-radius: 50%; margin-bottom: 14px; }
.tier__name { font-weight: 800; font-size: 17px; }
.tier__range { font-size: 13px; color: var(--slate-2); font-weight: 700; margin-bottom: 10px; }
.tier__desc { font-size: 14px; color: var(--slate-2); }

/* ---------- Benefits grid ---------- */
.benefits { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 36px; }
@media (max-width: 880px) { .benefits { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: #fff; border-radius: var(--radius-sm); padding: 26px; border: 1px solid rgba(58,74,87,0.06); box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.benefit:hover { transform: translateY(-4px); }
.benefit__icon { font-size: 26px; margin-bottom: 12px; }
.benefit__name { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.benefit__desc { font-size: 14.5px; color: var(--slate-2); }
.benefit__tm { font-variant-position: super; font-size: 0.6em; }

/* ---------- Testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 880px) { .tcards { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .tcards { grid-template-columns: 1fr; } }
.tcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid rgba(58,74,87,0.06); }
.tcard__media { aspect-ratio: 4/3; background: linear-gradient(160deg, var(--mint), var(--cream-2)); display: grid; place-items: center; position: relative; overflow: hidden; }
.choice__num { font-size: clamp(48px, 9vw, 96px); font-weight: 900; letter-spacing: -0.04em; color: var(--plum); font-variant-numeric: tabular-nums; line-height: 1; }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__media video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--cream-2); }
.tcard__media[data-has-video="1"]::after {
  content: '● LIVE TESTIMONY'; position: absolute; top: 10px; left: 10px;
  background: rgba(142,108,140,0.92); color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; padding: 4px 9px; border-radius: 999px; z-index: 2;
}
.tcard__media[data-has-video="1"] { cursor: pointer; }
.tcard__media[data-has-video="1"]:hover video { filter: brightness(1.05); }
.tcard__ph { font-weight: 800; color: var(--slate); opacity: 0.35; letter-spacing: 0.05em; font-size: 13px; }
.tcard__body { padding: 22px 24px 26px; }
.tcard__quote { font-size: 17px; font-weight: 700; color: var(--slate); line-height: 1.45; }
.tcard__meta { margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--slate-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tcard__chip { background: var(--mint); color: var(--slate); padding: 3px 10px; border-radius: 999px; }
.tcard__chip.is-plum { background: var(--plum); color: #fff; }

/* ---------- Pip feature ---------- */
.pip { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .pip { grid-template-columns: 1fr; } }
.pip__orb { aspect-ratio: 1; max-width: 360px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff, var(--mint) 55%, var(--mint-deep) 100%);
  box-shadow: var(--shadow); animation: breathe 5s var(--ease) infinite; overflow: hidden; }
.pip__orb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Score checker ---------- */
.checker { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); border: 1px solid rgba(58,74,87,0.06); max-width: 720px; margin: 36px auto 0; text-align: center; }
.checker__input { display: flex; gap: 10px; margin: 22px 0 0; }
.checker__input input { flex: 1; font-family: inherit; font-size: 16px; padding: 15px 20px; border: 2px solid rgba(58,74,87,0.12); border-radius: 999px; outline: none; color: var(--slate); }
.checker__input input:focus { border-color: var(--mint-deep); }
.checker__result { margin-top: 26px; min-height: 70px; }
.checker__result .scorecard__num { font-size: 56px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq__item { border-bottom: 1px solid rgba(58,74,87,0.1); padding: 20px 0; }
.faq__q { font-weight: 800; font-size: 18px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .arrow { transition: transform .2s; }
.faq__item[open] .arrow { transform: rotate(45deg); }
.faq__a { margin-top: 12px; color: var(--slate-2); font-size: 16px; }

/* ---------- CTA band ---------- */
.ctaband { background: var(--mint); border-radius: var(--radius); padding: 50px; text-align: center; margin: 30px 0 0; }
.ctaband h3 { font-size: clamp(26px,3.5vw,38px); font-weight: 900; letter-spacing: -0.02em; color: var(--slate); }
.ctaband p { color: var(--slate-2); margin: 12px auto 26px; max-width: 520px; }

/* ---------- Footer ---------- */
footer { background: var(--slate); color: var(--cream); margin-top: 60px; }
.foot { max-width: 1180px; margin: 0 auto; padding: 60px 24px 40px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot h4 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 14px; }
.foot a { display: block; color: var(--cream); text-decoration: none; padding: 5px 0; opacity: 0.85; font-size: 15px; }
.foot a:hover { opacity: 1; }
.foot__fine { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 12.5px; opacity: 0.55; line-height: 1.7; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; background: rgba(58,74,87,0.4); backdrop-filter: blur(6px); padding: 24px; }
.modal.is-open { display: grid; }
.modal__card { background: var(--cream); border-radius: var(--radius); padding: 40px; max-width: 460px; text-align: center; box-shadow: var(--shadow); animation: pop .3s var(--ease); }
@keyframes pop { from { transform: scale(0.94); opacity: 0; } }
.modal__pip { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 18px; background: radial-gradient(circle at 35% 30%, #fff, var(--mint) 60%, var(--mint-deep)); animation: breathe 5s infinite; }
.modal__h { font-size: 24px; font-weight: 900; letter-spacing: -0.02em; }
.modal__p { color: var(--slate-2); margin: 12px 0 24px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 900;
  background: var(--slate); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow); opacity: 0; transition: all .35s var(--ease); pointer-events: none; }
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast b { color: var(--mint-deep); }

/* ---------- Reassurance tones toggle ---------- */
.tones { position: fixed; bottom: 22px; right: 22px; z-index: 200; background: #fff; border-radius: 999px; padding: 10px 16px 10px 12px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; cursor: pointer; border: 1px solid rgba(58,74,87,0.08); }
.tones__eq { display: flex; gap: 2px; align-items: flex-end; height: 14px; }
.tones__eq i { width: 3px; background: var(--mint-deep); border-radius: 2px; animation: eq 1s infinite var(--ease); }
.tones__eq i:nth-child(2){animation-delay:.2s} .tones__eq i:nth-child(3){animation-delay:.4s} .tones__eq i:nth-child(4){animation-delay:.1s}
@keyframes eq { 0%,100%{height:3px} 50%{height:14px} }
.tones.is-off .tones__eq i { animation: none; height: 3px; opacity: 0.4; }

/* ---------- utility ---------- */
.wrap-narrow { max-width: 760px; margin: 0 auto; }
.muted { color: var(--slate-2); }
.center { text-align: center; }
.plum { color: var(--plum); }
