/* Finella join-list site. Tokens first, then glass, then layout. */

:root {
  --navy: #0b1622;
  --navy-2: #10213a;
  --ink: #0f1a28;
  --mist: #e8f0f6;
  --mist-70: rgba(232, 240, 246, 0.72);
  --mist-50: rgba(232, 240, 246, 0.5);
  --green: #22c58f;
  --green-deep: #10946f;
  --mint: #ddf3ea;
  --amber: #f2b94c;
  --amber-deep: #d88e1a;
  --red: #ff6b6b;
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-shine: rgba(255, 255, 255, 0.28);
  --shadow: 0 24px 60px rgba(2, 8, 18, 0.45);
  --radius: 28px;
  --radius-sm: 16px;
  --display: 'Instrument Sans', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--mist);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* Sky: three slow orbs behind everything. The glass needs something to refract. */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 800px at 80% -10%, #16314b 0%, transparent 60%),
  radial-gradient(900px 700px at -10% 100%, #0f3b33 0%, transparent 60%),
  var(--navy); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.orb-a { width: 46vw; height: 46vw; left: 48%; top: -12%; background: radial-gradient(circle, #1fbf8a 0%, rgba(31, 191, 138, 0) 70%); animation: drift-a 38s ease-in-out infinite alternate; }
.orb-b { width: 36vw; height: 36vw; left: -10%; top: 40%; background: radial-gradient(circle, #2a6cff 0%, rgba(42, 108, 255, 0) 70%); opacity: 0.35; animation: drift-b 46s ease-in-out infinite alternate; }
.orb-c { width: 28vw; height: 28vw; left: 70%; top: 70%; background: radial-gradient(circle, #f2b94c 0%, rgba(242, 185, 76, 0) 70%); opacity: 0.22; animation: drift-c 52s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-12vw, 10vh) scale(1.12); } }
@keyframes drift-b { to { transform: translate(14vw, -12vh) scale(0.92); } }
@keyframes drift-c { to { transform: translate(-10vw, -14vh) scale(1.08); } }

/* Glass. One recipe, used everywhere. */
.glass {
  position: relative;
  background: linear-gradient(135deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 var(--glass-shine), var(--shadow);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}
.glass::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 38%);
  mix-blend-mode: screen;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--green); color: var(--ink); box-shadow: 0 10px 30px rgba(34, 197, 143, 0.35); }
.btn-primary:hover { background: #2fd49c; }
.btn-primary[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-glass { background: var(--glass-strong); border-color: var(--glass-line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: var(--mist); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn-wide { width: 100%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  padding: 16px var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 22, 34, 0.6); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-color: rgba(255, 255, 255, 0.08); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; text-decoration: none; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px rgba(34, 197, 143, 0.7); display: inline-block; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav > .btn { margin-left: auto; }
.nav-links + .btn { margin-left: 0; }
.nav-links a { text-decoration: none; color: var(--mist-70); font-weight: 500; }
.nav-links a:hover { color: var(--mist); }

/* Hero */
main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 80px);
  align-items: center; min-height: calc(100vh - 80px); padding: clamp(32px, 6vh, 72px) 0;
}
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
h1 { font-size: clamp(52px, 8vw, 104px); line-height: 0.98; font-weight: 700; letter-spacing: -0.045em; }
h1 em { font-style: normal; color: var(--green); }
.lede { font-size: clamp(18px, 2vw, 22px); color: var(--mist-70); max-width: 520px; margin-top: 24px; }
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.hint { font-size: 14px; color: var(--mist-50); }

/* Compliance card: the signature. */
.card-compliance { padding: 26px; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease; }
.cc-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cc-title { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.cc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist-50); }
.cc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, 0.22); border: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 10px; }
.seg-btn { border: 0; background: transparent; color: var(--mist-70); min-height: 44px; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.seg-btn.is-on { background: rgba(255, 255, 255, 0.16); color: var(--mist); box-shadow: inset 0 1px 0 var(--glass-shine); }
.obligations { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.obligations li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.18); border: 1px solid rgba(255, 255, 255, 0.06); animation: rise 0.35s ease both; }
.obligations .ob-k { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist-50); font-weight: 600; }
.obligations .ob-v { font-size: 15px; line-height: 1.35; }
.obligations .ob-f { display: block; margin-top: 2px; color: var(--red); font-weight: 600; font-size: 13px; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.countdown { margin-top: 18px; padding: 16px 18px; border-radius: 18px; background: linear-gradient(135deg, rgba(242, 185, 76, 0.16), rgba(242, 185, 76, 0.04)); border: 1px solid rgba(242, 185, 76, 0.3); }
.cd-label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); font-weight: 600; }
.cd-digits { display: flex; align-items: baseline; gap: 6px 10px; margin-top: 6px; flex-wrap: wrap; }
.cd-num { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.cd-digits small { font-size: 12px; color: var(--mist-50); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 8px; }
.cd-foot { margin-top: 8px; font-size: 13px; color: var(--mist-70); }

/* Deadlines band */
.band { padding: clamp(56px, 9vh, 110px) 0 0; }
.band h2, .how h2, .join h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.tile { padding: 26px; min-height: 220px; display: flex; flex-direction: column; gap: 6px; }
.band h2 em { font-style: normal; color: var(--red); }
.tile h3 { font-size: 16px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: var(--mist-70); }
.tile .fine-tag { align-self: flex-start; margin-top: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 107, 107, 0.16); border: 1px solid rgba(255, 107, 107, 0.45); color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.tile .big { font-family: var(--display); font-size: clamp(36px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin-top: 10px; color: var(--red); }
.tile .fine { color: var(--mist-70); font-size: 15px; }
.tile .when { margin-top: auto; padding-top: 14px; font-size: 14px; color: var(--green); font-weight: 600; }
.tile-hot { border-color: rgba(255, 107, 107, 0.45); background: linear-gradient(135deg, rgba(255, 107, 107, 0.18), rgba(255, 107, 107, 0.04)); }
.tile-hot .when { color: var(--amber); }
.source { margin-top: 18px; font-size: 14px; color: var(--mist-70); max-width: 760px; }

/* How it works: copy left, phone right */
.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding: clamp(72px, 12vh, 140px) 0; }
.steps { list-style: none; counter-reset: step; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; display: flex; align-items: center; gap: 16px; font-size: clamp(18px, 2vw, 22px); color: var(--mist-70); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--glass-strong); border: 1px solid var(--glass-line); font-family: var(--display); font-weight: 700; color: var(--green); font-size: 15px; flex: none; }
.steps b { color: var(--mist); font-weight: 600; }
.note { margin-top: 26px; font-size: 14px; color: var(--mist-50); max-width: 420px; }
.phone { width: min(400px, 100%); margin-left: auto; padding: 18px; border-radius: 38px; }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.phone-id { display: grid; line-height: 1.2; }
.phone-id small { color: var(--mist-50); font-size: 12px; }
.chat { display: grid; gap: 10px; padding: 16px 4px 6px; min-height: 360px; align-content: start; }
.msg { max-width: 86%; padding: 10px 14px 20px; border-radius: 18px; font-size: 15px; line-height: 1.4; position: relative; opacity: 0; transform: translateY(8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.msg.is-in { opacity: 1; transform: none; }
.msg.me { justify-self: end; background: rgba(34, 197, 143, 0.22); border-bottom-right-radius: 6px; }
.msg.bot { justify-self: start; background: rgba(255, 255, 255, 0.12); border-bottom-left-radius: 6px; }
.msg time { position: absolute; right: 10px; bottom: 5px; font-size: 10px; color: var(--mist-50); }
.msg .file { display: inline-grid; place-items: center; margin-right: 8px; padding: 2px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.3); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; vertical-align: middle; }
.choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.choices em { font-style: normal; font-size: 13px; padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); }
.choices em:first-child { background: var(--green); color: var(--ink); border-color: transparent; font-weight: 600; }
.typing { display: none; gap: 4px; padding: 6px 12px 2px; }
.typing.is-on { display: inline-flex; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mist-50); animation: blink 1.1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 50% { opacity: 0.25; } }

/* Who */
.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.who-card { padding: 26px; }
.who-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.who-card p { color: var(--mist-70); }

/* Join */
.join { padding: clamp(72px, 12vh, 140px) 0; }
.join-card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(26px, 4vw, 48px); }
.join-copy p { margin-top: 14px; color: var(--mist-70); font-size: 18px; max-width: 360px; }
form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--mist-70); }
.field input { padding: 13px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(0, 0, 0, 0.22); color: var(--mist); transition: border-color 0.2s ease; }
.field input::placeholder { color: rgba(232, 240, 246, 0.35); }
.field input:focus { border-color: var(--green); outline: none; }
.field.is-error input { border-color: #ff8a80; }
.field .err { color: #ffb4ad; font-size: 13px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips legend { float: left; width: 100%; font-size: 14px; color: var(--mist-70); margin-bottom: 6px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(0, 0, 0, 0.18); cursor: pointer; font-size: 15px; transition: background 0.2s ease, border-color 0.2s ease; }
.chips input:checked + span { background: rgba(34, 197, 143, 0.22); border-color: var(--green); }
.chips input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--mist); }
.consent input { margin-top: 3px; accent-color: var(--green); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-msg { min-height: 1.4em; font-size: 14px; color: var(--mist-70); }
.form-msg.is-error { color: #ffb4ad; }
.form-done { display: grid; gap: 10px; padding: 8px 0; }
.form-done h3 { font-size: 28px; }
.form-done p { color: var(--mist-70); }

/* Footer */
.foot { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 48px; display: grid; gap: 8px; font-size: 14px; color: var(--mist-70); }
.foot .dot { width: 8px; height: 8px; margin-right: 6px; box-shadow: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .how { grid-template-columns: 1fr; }
  .phone { margin-left: 0; }
  .join-card { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { gap: 12px; padding: 12px 16px; }
  .nav-links { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
  .who { grid-template-columns: 1fr; }
  .card-compliance { padding: 18px; }
  .obligations li { grid-template-columns: 1fr; gap: 4px; }
  .cd-num { font-size: 32px; }
  .seg-btn { font-size: 14px; padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orb { animation: none; }
  .cc-live i { animation: none; }
  .card-compliance { transition: none; transform: none; }
  .msg { transition: none; }
  .obligations li { animation: none; }
}

/* Hero phone: the accountant conversation. Messages stack from the bottom like a real chat. */
@media (min-width: 961px) { .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); } }
.phone-hero { width: min(440px, 100%); margin-left: auto; padding: 16px; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s ease; }
.phone-hero .chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 560px; min-height: 0; overflow: hidden; padding: 14px 4px 4px; }
.phone-hero .msg { display: none; opacity: 1; transform: none; max-width: 88%; }
.phone-hero .msg.is-in { display: block; animation: msg-in 0.35s ease; }
.phone-hero .msg.me { align-self: flex-end; }
.phone-hero .msg.bot { align-self: flex-start; }
.phone-hero .msg b { font-weight: 600; color: var(--mist); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.avatar { position: relative; overflow: hidden; flex: none; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone-note { padding: 8px 6px 0; font-size: 12px; color: var(--mist-50); }

/* What Finella handles */
.scope { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.chip { padding: 18px 20px; }
.chip h3 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.chip p { font-size: 14px; color: var(--mist-70); }

/* Fines band with the compliance card beside the tiles */
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 32px; align-items: start; }
.band-grid .card-compliance { transform: none; }
.tiles-col { grid-template-columns: 1fr; margin-top: 0; }
.tiles-col .tile { min-height: 0; }

/* How it works as one row */
.how { display: block; padding: clamp(56px, 9vh, 100px) 0 clamp(32px, 5vh, 56px); }
.steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps-row li { background: var(--glass); border: 1px solid var(--glass-line); border-radius: var(--radius-sm); padding: 18px 20px; }

@media (max-width: 960px) {
  .phone-hero { margin: 0 auto; }
  .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-grid { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .scope { grid-template-columns: 1fr; }
  .phone-hero .chat { height: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-hero { transition: none; transform: none; }
  .phone-hero .msg.is-in { animation: none; }
}

/* Floating WhatsApp button, bottom right: Tarek's photo with the WhatsApp badge. */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 20; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mist); }
.wa-label { font-size: 14px; font-weight: 600; padding: 10px 14px; border-radius: 999px; background: rgba(11, 22, 34, 0.86); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateX(8px); transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; animation: wa-peek 7s ease 1; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }
@keyframes wa-peek { 0% { opacity: 0; transform: translateX(8px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(8px); } }
.wa-avatar { position: relative; display: block; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.4); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); transition: transform 0.18s ease; }
.wa-float:hover .wa-avatar { transform: translateY(-2px) scale(1.03); }
.wa-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.wa-badge { position: absolute; right: -5px; bottom: -5px; width: 28px; height: 28px; border-radius: 50%; background: #008069; border: 2px solid var(--navy); display: grid; place-items: center; }
.wa-badge svg { width: 16px; height: 16px; fill: #ffffff; }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .wa-label { animation: none; } .wa-float:hover .wa-avatar { transform: none; } }

/* Colour by product area: green = bookkeeping, amber = tax, sky = invoices, violet = cash and wealth. Red stays for fines. */
:root { --sky: #4cc3ff; --violet: #a78bfa; --teal: #2dd4bf; }
.orb-b { background: radial-gradient(circle, #7c5cff 0%, rgba(124, 92, 255, 0) 70%); opacity: 0.42; }
.orb-c { background: radial-gradient(circle, #4cc3ff 0%, rgba(76, 195, 255, 0) 70%); opacity: 0.3; }
.sky::after { content: ''; position: absolute; width: 30vw; height: 30vw; left: 20%; top: 60%; border-radius: 50%; filter: blur(80px); opacity: 0.22; background: radial-gradient(circle, #f2b94c 0%, rgba(242, 185, 76, 0) 70%); }
.chip { border-top: 2px solid var(--area, var(--green)); }
.chip h3 { color: var(--area, var(--green)); }
.chip[data-area="books"] { --area: var(--green); }
.chip[data-area="tax"] { --area: var(--amber); }
.chip[data-area="invoices"] { --area: var(--sky); }
.chip[data-area="wealth"] { --area: var(--violet); }
.phone-hero .msg b.c-cash { color: var(--violet); }
.phone-hero .msg b.c-tax { color: var(--amber); }
.phone-hero .msg b.c-invoice { color: var(--sky); }
.phone-hero .msg.bot { background: rgba(76, 195, 255, 0.1); }
.obligations li { border-left: 3px solid var(--ob, rgba(255, 255, 255, 0.1)); }
.obligations li[data-ob="tax"] { --ob: var(--amber); }
.obligations li[data-ob="vat"] { --ob: var(--amber); }
.obligations li[data-ob="einv"] { --ob: var(--sky); }
.obligations li[data-ob="records"] { --ob: var(--green); }
.obligations .ob-k { color: var(--ob, var(--mist-50)); }
.steps-row li:nth-child(1)::before { color: var(--green); border-color: rgba(34, 197, 143, 0.5); }
.steps-row li:nth-child(2)::before { color: var(--amber); border-color: rgba(242, 185, 76, 0.5); }
.steps-row li:nth-child(3)::before { color: var(--sky); border-color: rgba(76, 195, 255, 0.5); }
.who-card:nth-child(1) { background: linear-gradient(135deg, rgba(76, 195, 255, 0.18), rgba(76, 195, 255, 0.04)); border-color: rgba(76, 195, 255, 0.3); }
.who-card:nth-child(1) h3 { color: var(--sky); }
.who-card:nth-child(2) { background: linear-gradient(135deg, rgba(167, 139, 250, 0.18), rgba(167, 139, 250, 0.04)); border-color: rgba(167, 139, 250, 0.3); }
.who-card:nth-child(2) h3 { color: var(--violet); }
.join-card { background: linear-gradient(135deg, rgba(34, 197, 143, 0.14), rgba(124, 92, 255, 0.12) 60%, rgba(255, 255, 255, 0.04)); }
.join-copy h2 { background: linear-gradient(90deg, var(--green), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countdown { background: linear-gradient(135deg, rgba(76, 195, 255, 0.16), rgba(167, 139, 250, 0.08)); border-color: rgba(76, 195, 255, 0.35); }
.cd-label { color: var(--sky); }
.tile-hot .when { color: var(--sky); }

/* QA pass 29 Oct: chat shows the complete exchange in place (no clipping), with pause/replay. */
.phone-hero .chat { height: auto; min-height: 0; overflow: visible; justify-content: flex-start; }
.phone-hero .msg { display: block; opacity: 1; transform: none; transition: opacity 0.35s ease, transform 0.35s ease; animation: none; }
.phone-hero .chat.is-animating .msg:not(.is-in) { opacity: 0; transform: translateY(8px); }
.phone-hero .msg.is-in { animation: none; }
.chat-ctl { margin-left: auto; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--glass-line); background: var(--glass-strong); color: var(--mist); font-size: 13px; font-weight: 600; cursor: pointer; }
.chat-ctl:hover { background: rgba(255, 255, 255, 0.18); }
.phone-hero .phone-top { gap: 12px; }

/* Compliance as an expandable, labelled indicative card under the fines */
.band .tiles { margin-top: 28px; }
.card-compliance { margin-top: 18px; padding: 0; transform: none; }
.card-compliance summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; min-height: 56px; }
.card-compliance summary::-webkit-details-marker { display: none; }
.card-compliance summary::after { content: '+'; font-size: 22px; color: var(--sky); margin-left: 8px; }
.card-compliance[open] summary::after { content: '–'; }
.card-compliance > :not(summary) { margin-left: 22px; margin-right: 22px; }
.card-compliance > .obligations { margin-bottom: 22px; }
.cc-tag { font-size: 12px; color: var(--mist-50); margin-left: auto; }
.obligations .ob-f a { color: var(--sky); font-weight: 500; }
.source a { color: var(--mist); }

/* Form states */
.field .err, #err-consent { display: block; min-height: 0; color: #ffb4ad; font-size: 13px; }
.field .err:empty, #err-consent:empty { display: none; }
.field input[aria-invalid="true"] { border-color: #ff8a80; }
.status-msg { margin-top: 14px; font-size: 14px; color: var(--green); min-height: 1.4em; }
.status-msg.is-error { color: #ffb4ad; }
.consent a { color: var(--sky); }
.foot a { color: var(--mist); }
.form-done h3:focus { outline: none; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 32px var(--gutter) 48px; }
.legal-card { padding: clamp(24px, 4vw, 44px); display: grid; gap: 12px; }
.legal-card h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 700; }
.legal-card h2 { font-size: 20px; font-weight: 600; margin-top: 14px; color: var(--sky); }
.legal-card p { color: var(--mist-70); }
.legal-card a { color: var(--sky); }
.legal-date { font-size: 13px; color: var(--mist-50); }

/* Tighter mobile rhythm */
@media (max-width: 640px) {
  .hero { gap: 28px; padding: 24px 0 8px; }
  .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .chip { padding: 14px; }
  .chip p { font-size: 13px; }
  .band { padding-top: 48px; }
  .tiles { gap: 10px; }
  .tile { padding: 18px; }
  .tile .big { font-size: 34px; }
  .how { padding: 48px 0 24px; }
  .steps-row li { padding: 14px 16px; }
  .join { padding: 40px 0 72px; }
}

/* Tarek landing page (/tarek): the floating button lands here before WhatsApp. */
.tarek { max-width: 560px; margin: 0 auto; padding: 32px var(--gutter) 48px; display: grid; gap: 20px; }
.tarek-card { padding: clamp(24px, 5vw, 40px); display: grid; justify-items: center; text-align: center; gap: 10px; }
.tarek-photo { position: relative; width: 120px; height: 120px; margin-bottom: 6px; }
.tarek-photo img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.4); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.tarek-photo .wa-badge { width: 38px; height: 38px; right: -2px; bottom: -2px; }
.tarek-photo .wa-badge svg { width: 21px; height: 21px; }
.tarek-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.tarek-card h1 { font-family: var(--display); font-size: clamp(36px, 8vw, 52px); font-weight: 700; line-height: 1.05; }
.tarek-lead { color: var(--mist-70); font-size: 17px; max-width: 34ch; margin-bottom: 10px; }
.btn-wa { background: #25d366; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35); }
.btn-wa:hover { background: #3ee07a; }
.tarek-note { font-size: 13px; color: var(--mist-50); }
.tarek-ask h2, .tarek-folio h2 { font-family: var(--display); font-size: 20px; font-weight: 600; }
.tarek-ask { display: grid; gap: 12px; }
.ask-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ask-list li { --area: var(--green); padding: 14px 16px 14px 18px; border-radius: var(--radius-sm); display: grid; gap: 2px; border-left: 3px solid var(--area); }
.ask-list li[data-area="tax"] { --area: var(--amber); }
.ask-list li[data-area="invoices"] { --area: var(--sky); }
.ask-k { font-weight: 600; color: var(--area); }
.ask-v { color: var(--mist-70); font-size: 15px; }
.tarek-folio { padding: clamp(20px, 4vw, 32px); display: grid; gap: 14px; }
.tarek-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; color: var(--mist-70); }
.tarek-steps strong { color: var(--mist); }
/* Step text stays on one line: bold verb and the rest flow together. */
.step-t { white-space: nowrap; }
.steps-row li { font-size: clamp(16px, 1.6vw, 20px); }

/* WhatsApp mark inside the hero line */
.wa-inline { white-space: nowrap; color: var(--mist); font-weight: 500; }
.wa-icon { width: 1.05em; height: 1.05em; fill: #25d366; vertical-align: -0.15em; margin-right: 0.22em; }

/* /tarek on narrow phones: let the grid shrink and the long button wrap. */
.tarek { grid-template-columns: minmax(0, 1fr); }
.tarek .btn-wa { white-space: normal; text-align: center; }
@media (max-width: 360px) { .tarek-card { padding: 20px 16px; } }

/* Floating Tarek button steps aside on phones while the chat demo or the form is on screen. */
@media (max-width: 640px) {
  .wa-float { transition: opacity 0.2s ease, transform 0.2s ease; }
  .wa-float.is-tucked { opacity: 0; transform: translateY(12px); pointer-events: none; }
  .wa-label { display: none; }
}

/* Calm pass (30 Oct): one brand accent (green), red only for fines, one quiet glow, solid headings. */
:root { --sky: var(--green); --violet: var(--green); --teal: var(--green); --amber: var(--green); }
.orb-b, .orb-c, .sky::after { display: none; }
.orb-a { opacity: 0.25; }
.join-card { background: linear-gradient(135deg, var(--glass-strong), var(--glass)); }
.join-copy h2 { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--mist); }
.countdown { background: rgba(255, 255, 255, 0.04); border-color: var(--glass-line); }
.cd-label, .tile-hot .when { color: var(--mist-70); }
.steps-row li:nth-child(n)::before { color: var(--green); border-color: rgba(34, 197, 143, 0.5); }
.legal-card h2 { color: var(--mist); }
.phone-hero .msg b.c-tax { color: var(--green); }

/* Tarek, inline before the form */
.meet { display: flex; align-items: center; gap: clamp(18px, 3vw, 32px); padding: clamp(40px, 7vh, 80px) 0 0; max-width: 760px; }
.meet-photo { flex: none; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--glass-line); }
.meet h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; }
.meet p { color: var(--mist-70); margin: 8px 0 16px; max-width: 52ch; }
@media (max-width: 640px) {
  .meet { flex-direction: column; align-items: flex-start; }
  .meet-photo { width: 72px; height: 72px; }
  .join-card { gap: 20px; }
}
.join-copy h2 { hyphens: manual; -webkit-hyphens: manual; }
.status-msg:empty { display: none; }
@media (max-width: 640px) { .join-copy h2 { font-size: clamp(28px, 8.4vw, 40px); } }

/* Early-access offer in the join card */
.join-copy .join-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin: 0 0 10px; }
.join-copy .join-terms { font-size: 14px; color: var(--mist-70); }
.chips .err { flex-basis: 100%; }
