/* TAYVO Early Access — built by Midlands Made */

:root {
  --ink: #0d3226;
  --ink-soft: #29473c;
  --green: #1e7a4f;
  --green-deep: #0f5237;
  --green-bright: #2e9e63;
  --mint: #e7f1ea;
  --mint-soft: #f2f7f3;
  --paper: #f7f8f6;
  --card: #ffffff;
  --line: #dde7df;
  --muted: #5b6f64;
  --err: #c0392b;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 88% 0%, rgba(46, 158, 99, 0.14), transparent 60%),
    radial-gradient(800px 600px at -5% 22%, rgba(30, 122, 79, 0.10), transparent 60%),
    radial-gradient(900px 700px at 105% 55%, rgba(46, 158, 99, 0.09), transparent 60%),
    radial-gradient(700px 500px at -5% 85%, rgba(30, 122, 79, 0.08), transparent 60%),
    var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); }

.sec-h { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.8px; line-height: 1.12; }
.sec-sub { font-size: 17px; color: var(--muted); margin-top: 12px; max-width: 46ch; }

/* ---------- header ---------- */
.site-head { padding: 26px 0 10px; }
.head-row { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--green); }
.head-right { display: flex; align-items: center; gap: 12px; }
.ea-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint);
  border: 1px solid #c3d8ca;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--green-deep);
  white-space: nowrap;
}
.ea-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #b6f0cf;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 158, 99, 0.45); }
  55% { box-shadow: 0 0 0 6px rgba(46, 158, 99, 0); }
}
.lang-switch {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  font: inherit;
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.lang-switch button.on {
  background: var(--green-deep);
  color: #fff;
}
.lang-switch button:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }

.head-cta {
  font-size: 13.5px; font-weight: 700;
  color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #1c8153 0%, #0f5237 100%);
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.head-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .head-cta:hover { background: linear-gradient(180deg, #23905c 0%, #135e3f 100%); }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 34px 0 72px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob-a { width: 480px; height: 480px; right: -140px; top: -120px; background: #cfe6d6; }
.blob-b { width: 380px; height: 380px; left: -160px; bottom: -140px; background: #d9ecdf; }
@media (hover: hover) and (pointer: fine) {
  .blob-a { animation: drift 20s ease-in-out infinite alternate; }
  .blob-b { animation: drift 24s ease-in-out infinite alternate-reverse; }
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-50px, 36px, 0) scale(1.12); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 56px;
  align-items: start;
}

.hero-h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -1.2px;
  max-width: 12ch;
}
.hero-h1 .line { display: block; }
.hero-h1 .accent {
  color: var(--green);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.09em;
  letter-spacing: -0.5px;
}
.lede {
  font-size: 18px;
  color: var(--muted);
  max-width: 42ch;
  margin-top: 22px;
}

/* benefits */
.benefits { list-style: none; margin-top: 38px; display: grid; gap: 18px; max-width: 480px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit h3 { font-size: 16.5px; font-weight: 700; letter-spacing: -0.2px; }
.benefit p { font-size: 15px; color: var(--muted); margin-top: 2px; }
.b-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 180ms var(--ease-out);
}
.b-icon svg { width: 24px; height: 24px; }
.b-icon.big { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
@media (hover: hover) and (pointer: fine) {
  .benefit:hover .b-icon { transform: translateY(-3px); }
}
/* icon stroke draw-in on reveal (decorative; shapes still visible without JS) */
.has-js .benefit .b-icon path,
.has-js .benefit .b-icon rect,
.has-js .benefit .b-icon circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 0.9s var(--ease-out) 0.25s;
}
.has-js .benefit.is-in .b-icon path,
.has-js .benefit.is-in .b-icon rect,
.has-js .benefit.is-in .b-icon circle { stroke-dashoffset: 0; }

/* trust chips */
.trust-chips {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  max-width: 480px;
}
.trust-chips li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 9px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
}
.t-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.t-icon svg { width: 14px; height: 14px; }

/* ---------- form card ---------- */
.form-col { position: relative; }
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px 32px 30px;
  box-shadow: 0 24px 60px rgba(13, 50, 38, 0.12);
  scroll-margin-top: 24px;
}
.form-card h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.6px; }
.form-sub { font-size: 15px; color: var(--muted); margin-top: 8px; }

#ea-form { margin-top: 24px; }
.field { margin-bottom: 18px; }
.field > label, .field legend {
  display: block;
  font-size: 14px; font-weight: 600;
  margin-bottom: 8px;
}
.field em { color: var(--err); font-style: normal; }

.control { position: relative; }
.control input, .control select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 13px 44px 13px 15px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}
.control select:invalid { color: #8a988f; }
.control input::placeholder { color: #8a988f; }
.control input:focus, .control select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(30, 122, 79, 0.13);
}
.f-icon {
  position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: #90a197;
  pointer-events: none;
  transition: color 160ms var(--ease-out);
}
.f-icon svg { width: 19px; height: 19px; }
.control input:focus ~ .f-icon, .control select:focus ~ .f-icon { color: var(--green); }

.err {
  display: none;
  font-size: 13px; color: var(--err);
  margin-top: 6px;
}
.field.invalid .err { display: block; }
.field.invalid .control input, .field.invalid .control select { border-color: var(--err); }

/* radio cards */
.alerts { border: 0; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-card {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  background: var(--card);
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.radio-card:active { transform: scale(0.97); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.r-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #b9c8be;
  display: inline-block;
  position: relative;
  transition: border-color 160ms var(--ease-out);
}
.radio-card input:checked + .r-dot { border-color: var(--green); }
.radio-card input:checked + .r-dot::after {
  content: "";
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--green);
}
.radio-card:has(input:checked) {
  border-color: var(--green);
  background: var(--mint-soft);
}

/* consent */
.check { display: flex; gap: 11px; align-items: flex-start; cursor: pointer; font-size: 13.5px; color: var(--ink-soft); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.c-box {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  margin-top: 1px;
  border: 2px solid #b9c8be;
  border-radius: 6px;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.c-box svg { width: 12px; height: 12px; opacity: 0; transition: opacity 120ms var(--ease-out); }
.check input:checked ~ .c-box { background: var(--green); border-color: var(--green); }
.check input:checked ~ .c-box svg { opacity: 1; }
.check input:focus-visible ~ .c-box { box-shadow: 0 0 0 4px rgba(30, 122, 79, 0.13); }

/* honeypot */
.hp { position: absolute; left: -9999px; top: -9999px; }

/* CTA */
.cta-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 16px;
  letter-spacing: 0.4px;
  color: #fff;
  background: linear-gradient(180deg, #23895a 0%, #14603f 55%, #0f5237 100%);
  border: 0;
  border-radius: 14px;
  padding: 17px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), inset 0 -1px 0 rgba(0, 0, 0, 0.22), 0 8px 22px rgba(15, 82, 55, 0.24);
  cursor: pointer;
  margin-top: 4px;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
  text-decoration: none;
}
.cta-btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  transform: translateX(-160%) skewX(-18deg);
  animation: sheen 5.5s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes sheen {
  0% { transform: translateX(-160%) skewX(-18deg); }
  22% { transform: translateX(420%) skewX(-18deg); }
  100% { transform: translateX(420%) skewX(-18deg); }
}
.cta-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover { background: linear-gradient(180deg, #2a9a66 0%, #17724b 55%, #12603f 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 12px 28px rgba(15, 82, 55, 0.32); }
  .cta-btn:hover .cta-arrow { transform: translateX(4px); }
}
.cta-arrow { display: inline-flex; transition: transform 200ms var(--ease-out); }
.cta-arrow svg { width: 20px; height: 20px; }
.cta-btn.small { width: auto; padding: 14px 26px; font-size: 15px; }
.cta-btn.inline { width: auto; margin-top: 34px; padding: 16px 28px; }
.cta-btn.light {
  width: auto;
  background: linear-gradient(180deg, #ffffff 0%, #e6f0ea 100%);
  color: var(--green-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(13, 50, 38, 0.1), 0 8px 22px rgba(0, 0, 0, 0.2);
}
@media (hover: hover) and (pointer: fine) {
  .cta-btn.light:hover { background: linear-gradient(180deg, #ffffff 0%, #d9e9df 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(13, 50, 38, 0.1), 0 12px 28px rgba(0, 0, 0, 0.28); }
}
.cta-btn[disabled] { opacity: 0.7; cursor: default; }

.privacy-note {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; color: var(--muted);
  margin-top: 16px;
}
.privacy-note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }

/* success state */
.success { text-align: center; padding: 26px 6px 14px; }
.s-icon {
  display: inline-flex;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.s-icon svg { width: 30px; height: 30px; }
.success:not([hidden]) .s-icon path,
.success:not([hidden]) .s-icon circle {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.7s var(--ease-out) forwards;
}
.success:not([hidden]) .s-icon path { animation-delay: 0.35s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.4px; }
.success p { font-size: 15px; color: var(--muted); margin-top: 10px; max-width: 34ch; margin-left: auto; margin-right: auto; }

/* ---------- categories strip ---------- */
.cats { padding: 72px 0 64px; }
.cat-chips {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  max-width: 760px;
}
.cat-chips li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cat-chips li:hover { transform: translateY(-3px); border-color: var(--green); background: var(--mint-soft); }
}

/* ---------- app features ---------- */
.app-feats { padding: 84px 0; }
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}
.feat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .feat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13, 50, 38, 0.09); }
}
.feat-card h3 { font-size: 17.5px; font-weight: 700; letter-spacing: -0.2px; margin-top: 16px; }
.feat-card p { font-size: 15px; color: var(--muted); margin-top: 7px; max-width: 44ch; }

/* ---------- how it works ---------- */
.how { padding: 84px 0; background: var(--mint-soft); }
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}
.steps { list-style: none; margin-top: 34px; display: grid; gap: 26px; max-width: 500px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--line);
  color: var(--green-deep);
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(13, 50, 38, 0.07);
}
.step h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.2px; }
.step p { font-size: 15px; color: var(--muted); margin-top: 3px; }

/* phone mockup */
.how-visual { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 280px; height: 560px;
  border-radius: 44px;
  background: var(--ink);
  padding: 12px;
  box-shadow: 0 30px 70px rgba(13, 50, 38, 0.28);
}
@media (hover: hover) and (pointer: fine) {
  .phone { animation: float 7s ease-in-out infinite; }
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}
.ph-notch {
  position: absolute; top: 24px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 22px;
  border-radius: 999px;
  background: var(--ink);
  z-index: 2;
}
.screen {
  height: 100%;
  border-radius: 34px;
  background: linear-gradient(170deg, #f4f9f5, #e3efe7);
  overflow: hidden;
  padding: 58px 14px 14px;
  display: flex; flex-direction: column;
}
.screen > * { flex: 0 0 auto; }
.ph-head {
  font-family: var(--font-display);
  font-weight: 700; font-size: 17px;
  color: var(--ink);
  margin: 0 4px 14px;
}
.ph-head b { color: var(--green); }

.toast-slot { position: relative; height: 92px; }
.toast {
  position: absolute; left: 0; right: 0; top: 0;
  display: flex; gap: 10px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(13, 50, 38, 0.10);
  opacity: 0;
  transform: translate3d(0, -16px, 0) scale(0.96);
}
.toast-icon {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 11px;
  background: var(--mint);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.toast-icon svg { width: 18px; height: 18px; }
.toast-txt { min-width: 0; }
.toast-txt strong { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.toast-txt em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.3; }
.toast { animation: toastCycle 12.6s ease-in-out infinite; }
.toast.t2 { animation-delay: 4.2s; }
.toast.t3 { animation-delay: 8.4s; }
@keyframes toastCycle {
  0% { opacity: 0; transform: translate3d(0, -16px, 0) scale(0.96); }
  3.5% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  28% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  33% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.97); }
  100% { opacity: 0; transform: translate3d(0, 12px, 0) scale(0.97); }
}

.ph-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--muted);
  margin: 16px 4px 8px;
}
.ph-job, .ph-profile {
  display: flex; gap: 10px; align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 12px;
  margin-bottom: 8px;
}
.ph-job-icon {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-job-icon svg { width: 16px; height: 16px; }
.ph-job-txt { min-width: 0; flex: 1; }
.ph-job-txt strong { display: block; font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.ph-job-txt em { display: block; font-style: normal; font-size: 11px; color: var(--muted); margin-top: 1px; }
.ph-offer {
  flex: 0 0 auto;
  font-size: 11px; font-weight: 700;
  color: #fff;
  background: var(--green-deep);
  border-radius: 999px;
  padding: 5px 11px;
}
.ph-avatar {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green-deep);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-check {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-deep);
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-check svg { width: 12px; height: 12px; }
.ph-bell {
  position: relative;
  float: right;
  width: 28px; height: 28px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.ph-bell svg { width: 15px; height: 15px; }
.ph-bell i {
  position: absolute; top: -3px; right: -3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--green-bright);
  border: 2px solid #f4f9f5;
}

/* ---------- feature band ---------- */
.feature-band { background: var(--ink); color: #eef5f0; padding: 46px 0; }
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.band-item { display: flex; gap: 15px; align-items: flex-start; }
.band-item h3 { font-size: 15.5px; font-weight: 700; color: #fff; }
.band-item p { font-size: 13.5px; color: #a9c3b4; margin-top: 3px; }
.band-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #8fd6ad;
  display: inline-flex; align-items: center; justify-content: center;
}
.band-icon svg { width: 21px; height: 21px; }

/* ---------- FAQ ---------- */
.faq { padding: 84px 0; }
.faq-wrap { max-width: 720px; }
.faq-list { margin-top: 30px; display: grid; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.faq-item.open { border-color: #c3d8ca; box-shadow: 0 10px 26px rgba(13, 50, 38, 0.07); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font: inherit;
  font-size: 16px; font-weight: 700;
  color: var(--ink);
  text-align: left;
  background: none; border: 0;
  padding: 19px 22px;
  cursor: pointer;
}
.faq-q:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; border-radius: 16px; }
.faq-plus {
  position: relative;
  flex: 0 0 auto;
  width: 22px; height: 22px;
}
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2.5px;
  border-radius: 2px;
  background: var(--green-deep);
  transform: translate(-50%, -50%);
  transition: transform 260ms var(--ease-out);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 320ms var(--ease-out);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a-inner p { font-size: 15px; color: var(--muted); padding: 0 22px 20px; max-width: 58ch; }

/* ---------- final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--green-deep), var(--ink));
  color: #fff;
  padding: 78px 0;
  text-align: center;
}
.final-inner h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -1px; }
.final-inner p { font-size: 17px; color: #cfe3d7; margin-top: 12px; }
.final-inner .cta-btn { margin-top: 30px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 22px 0; }
.foot-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: #a9c3b4;
}
.foot-links { display: flex; gap: 22px; }
.foot-links a { color: #cfe3d7; text-decoration: none; }
.foot-links a:hover { color: #fff; text-decoration: underline; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 248, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  z-index: 50;
  transform: translateY(110%);
  transition: transform 300ms var(--ease-out);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .cta-btn { width: 100%; }

/* ---------- reveals (JS-gated: no JS = everything visible) ---------- */
.has-js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.has-js .reveal.is-in { opacity: 1; transform: none; }
.has-js .hero-h1 .line { transition-duration: 0.7s; }
.has-js .hero-h1 .line:nth-child(2) { transition-delay: 0.07s; }
.has-js .hero-h1 .line:nth-child(3) { transition-delay: 0.14s; }
.has-js .hero-h1 .line:nth-child(4) { transition-delay: 0.21s; }
.has-js .benefits .benefit:nth-child(2) { transition-delay: 0.06s; }
.has-js .benefits .benefit:nth-child(3) { transition-delay: 0.12s; }
.has-js .benefits .benefit:nth-child(4) { transition-delay: 0.18s; }
.has-js .steps .step:nth-child(2) { transition-delay: 0.08s; }
.has-js .steps .step:nth-child(3) { transition-delay: 0.16s; }
.has-js .band-grid .band-item:nth-child(2) { transition-delay: 0.06s; }
.has-js .band-grid .band-item:nth-child(3) { transition-delay: 0.12s; }
.has-js .band-grid .band-item:nth-child(4) { transition-delay: 0.18s; }
.has-js .cat-chips li:nth-child(2) { transition-delay: 0.04s; }
.has-js .cat-chips li:nth-child(3) { transition-delay: 0.08s; }
.has-js .cat-chips li:nth-child(4) { transition-delay: 0.12s; }
.has-js .cat-chips li:nth-child(5) { transition-delay: 0.16s; }
.has-js .cat-chips li:nth-child(6) { transition-delay: 0.2s; }
.has-js .cat-chips li:nth-child(7) { transition-delay: 0.24s; }
.has-js .cat-chips li:nth-child(8) { transition-delay: 0.28s; }
.has-js .feat-grid .feat-card:nth-child(2) { transition-delay: 0.06s; }
.has-js .feat-grid .feat-card:nth-child(3) { transition-delay: 0.12s; }
.has-js .feat-grid .feat-card:nth-child(4) { transition-delay: 0.18s; }
.has-js .faq-list .faq-item:nth-child(2) { transition-delay: 0.06s; }
.has-js .faq-list .faq-item:nth-child(3) { transition-delay: 0.12s; }
.has-js .faq-list .faq-item:nth-child(4) { transition-delay: 0.18s; }
.has-js .how-visual.reveal { transform: translateY(28px); transition-duration: 0.8s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-js .reveal { opacity: 1; transform: none; transition: none; }
  .ea-dot { animation: none; }
  .sticky-cta { transition: none; }
  .blob-a, .blob-b { animation: none; }
  .phone { animation: none; }
  .toast { animation: none; }
  .toast.t1 { opacity: 1; transform: none; }
  .cta-btn::after { animation: none; }
  .has-js .benefit .b-icon path,
  .has-js .benefit .b-icon rect,
  .has-js .benefit .b-icon circle { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .success:not([hidden]) .s-icon path,
  .success:not([hidden]) .s-icon circle { animation: none; stroke-dasharray: none; stroke-dashoffset: 0; }
  .faq-a { transition: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 960px) {
  .hero { padding: 22px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-col { order: 2; }
  .how { padding: 64px 0; }
  .cats { padding: 56px 0 48px; }
  .app-feats { padding: 64px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 44px; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .faq { padding: 64px 0; }
  .sticky-cta { display: block; }
  .lang-switch {
  display: inline-flex;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.lang-switch button {
  font: inherit;
  font-size: 12.5px; font-weight: 700;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
.lang-switch button.on {
  background: var(--green-deep);
  color: #fff;
}
.lang-switch button:focus-visible { outline: 2px solid var(--green); outline-offset: 1px; }

.head-cta { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .site-head { padding: 20px 0 8px; }
  .logo { font-size: 23px; }
  .head-right { gap: 7px; }
  .ea-pill { font-size: 10px; padding: 6px 10px; letter-spacing: 0.2px; gap: 6px; }
  .ea-dot { width: 7px; height: 7px; }
  .lang-switch { padding: 2px; }
  .lang-switch button { padding: 5px 9px; font-size: 11px; }
  .hero-h1 { font-size: clamp(34px, 9.6vw, 42px); }
  .lede { font-size: 16.5px; }
  .benefits { margin-top: 30px; gap: 16px; }
  .form-card { padding: 26px 20px 24px; border-radius: 18px; }
  .form-card h2 { font-size: 23px; }
  .band-grid { grid-template-columns: 1fr; }
  .radio-row { flex-direction: column; }
  .radio-card { width: 100%; }
  .foot-row { justify-content: center; text-align: center; }
  .phone { width: 250px; height: 500px; }
  .toast-slot { height: 106px; }
  .toast-txt strong { font-size: 11.5px; }
  .toast-txt em { font-size: 10.5px; }
  .final-cta { padding: 62px 0; }
  body { padding-bottom: 76px; }
}


/* ---------- feedback motion (final polish) ---------- */
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.field.shake .control { animation: shakeX 0.32s var(--ease-out); }

.f-icon { transition: color 200ms var(--ease-out), transform 200ms var(--ease-out); }
.f-icon.ok { color: var(--green); transform: translateY(-50%) scale(1.08); }

.form-card.pulse {
  animation: cardPulse 1.2s var(--ease-out);
}
@keyframes cardPulse {
  0% { box-shadow: 0 24px 60px rgba(13, 50, 38, 0.12), 0 0 0 0 rgba(30, 122, 79, 0.35); }
  70% { box-shadow: 0 24px 60px rgba(13, 50, 38, 0.12), 0 0 0 16px rgba(30, 122, 79, 0); }
  100% { box-shadow: 0 24px 60px rgba(13, 50, 38, 0.12), 0 0 0 0 rgba(30, 122, 79, 0); }
}

.cta-btn .spin {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinRot 0.7s linear infinite;
}
@keyframes spinRot { to { transform: rotate(360deg); } }
.cta-btn.sending .cta-arrow { display: none; }

.success:not([hidden]) {
  animation: springIn 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes springIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* bell rings as each toast lands (same 12.6s cycle, toasts at 0/4.2/8.4s +0.44s entry) */
.ph-bell svg { transform-origin: 50% 15%; animation: bellRing 12.6s ease-in-out infinite; animation-delay: 0.4s; }
@keyframes bellRing {
  0%, 4.2%, 33.3%, 37.5%, 66.6%, 70.8%, 100% { transform: rotate(0deg); }
  1% { transform: rotate(13deg); }
  1.9% { transform: rotate(-10deg); }
  2.8% { transform: rotate(6deg); }
  3.6% { transform: rotate(-3deg); }
  34.3% { transform: rotate(13deg); }
  35.2% { transform: rotate(-10deg); }
  36.1% { transform: rotate(6deg); }
  36.9% { transform: rotate(-3deg); }
  67.6% { transform: rotate(13deg); }
  68.5% { transform: rotate(-10deg); }
  69.4% { transform: rotate(6deg); }
  70.2% { transform: rotate(-3deg); }
}

/* language switch crossfade */
main, .site-head { transition: opacity 0.16s ease; }
html.lang-fading main, html.lang-fading .site-head { opacity: 0.3; }

/* hero parallax layer (JS-driven, desktop only) */
.hero-bg { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .field.shake .control { animation: none; }
  .form-card.pulse { animation: none; }
  .success:not([hidden]) { animation: none; }
  .ph-bell svg { animation: none; }
  main, .site-head { transition: none; }
}


/* ---------- signup ticket pop-up (Noah's pick: C, no punch holes) ---------- */
.join-ovl {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center;
  background: rgba(6, 26, 19, 0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s var(--ease-out);
  padding: 20px;
}
.join-ovl.show { display: flex; }
.join-ovl.in { opacity: 1; }
.join-close {
  position: absolute; top: 18px; right: 18px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); border: 0; color: #fff;
  font-size: 18px; cursor: pointer;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.join-close:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .join-close:hover { background: rgba(255, 255, 255, 0.22); }
}
.ticket {
  width: 360px; max-width: 94vw;
  background: #fdfdfb;
  background-image: radial-gradient(var(--line) 1px, transparent 1.3px);
  background-size: 18px 18px;
  border-radius: 18px; padding: 26px;
  position: relative; color: var(--ink);
  transform: translateY(44px) rotate(-3deg); opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.join-ovl.in .ticket { transform: translateY(0) rotate(0); opacity: 1; }
.tk-head { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 19px; }
.tk-head b { color: var(--green); }
.tk-head small { font-size: 10px; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; align-self: center; font-family: var(--font-body); font-weight: 700; }
.tk-body { border-top: 2px dashed var(--line); margin-top: 15px; padding-top: 17px; padding-bottom: 34px; }
.tk-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.tk-line { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.tk-stamp {
  position: absolute; right: 18px; bottom: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 1.5px;
  color: var(--green); border: 3px solid var(--green); border-radius: 8px; padding: 6px 13px;
  text-transform: uppercase;
  transform: rotate(-12deg) scale(3); opacity: 0;
  transition: transform 0.3s cubic-bezier(0.22, 1.2, 0.36, 1) 0.45s, opacity 0.15s ease 0.45s;
}
.join-ovl.in .tk-stamp { transform: rotate(-12deg) scale(1); opacity: 0.92; }
@media (prefers-reduced-motion: reduce) {
  .join-ovl, .ticket, .tk-stamp { transition: none; }
}
