/* ==========================================================
   GrowthJini  |  style.css
   Edit colours in the :root blocks below. Light is the base;
   dark is applied automatically from the visitor's system
   setting, or with the toggle in the header.
   ========================================================== */

:root {
  --bg: #F7F4FF;
  --bg-soft: #EEE8FF;
  --surface: #FFFFFF;
  --surface-2: #F3EEFF;
  --text: #1A1140;
  --muted: #554E8A;
  --line: rgba(52, 28, 140, 0.14);
  --line-strong: rgba(52, 28, 140, 0.30);
  --accent: #6D3FE0;
  --focus: #6D3FE0;
  --glow-1: rgba(124, 58, 237, 0.26);
  --glow-2: rgba(255, 92, 147, 0.20);
  --star: 109, 63, 224;
  --header-bg: rgba(247, 244, 255, 0.82);
  --chip-bg: rgba(255, 255, 255, 0.86);
  --shadow: 0 30px 60px -30px rgba(60, 30, 160, 0.35);
  --shadow-sm: 0 14px 30px -20px rgba(60, 30, 160, 0.35);
  --spot: rgba(255, 176, 32, 0.24);
  --jini-a: #7C3AED;
  --jini-b: #E0338A;
  --ink: #1A1140;
  --gold-1: #FFD36B;
  --gold-2: #FFB020;
  --error: #C62828;
  /* dropdown (select) colours: the open list uses these */
  --select-bg: #FFFFFF;
  --select-text: #1A1140;
  --select-hover-bg: #6D3FE0;
  --select-hover-text: #FFFFFF;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1140' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;

  --font-display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F0A2E;
    --bg-soft: #150E3E;
    --surface: rgba(255, 255, 255, 0.055);
    --surface-2: rgba(255, 255, 255, 0.09);
    --text: #F4F1FF;
    --muted: #B9B2DE;
    --line: rgba(255, 255, 255, 0.13);
    --line-strong: rgba(255, 255, 255, 0.28);
    --accent: #B79BFF;
    --focus: #FFC857;
    --glow-1: rgba(124, 58, 237, 0.50);
    --glow-2: rgba(255, 92, 147, 0.26);
    --star: 255, 255, 255;
    --header-bg: rgba(15, 10, 46, 0.74);
    --chip-bg: rgba(30, 20, 84, 0.72);
    --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
    --shadow-sm: 0 14px 30px -20px rgba(0, 0, 0, 0.7);
    --spot: rgba(255, 200, 87, 0.15);
    --jini-a: #FFC857;
    --jini-b: #FF5C93;
    --error: #FF8A8F;
    --select-bg: #231A63;
    --select-text: #F4F1FF;
    --select-hover-bg: #7C3AED;
    --select-hover-text: #FFFFFF;
    --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F1FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0F0A2E;
  --bg-soft: #150E3E;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-2: rgba(255, 255, 255, 0.09);
  --text: #F4F1FF;
  --muted: #B9B2DE;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.28);
  --accent: #B79BFF;
  --focus: #FFC857;
  --glow-1: rgba(124, 58, 237, 0.50);
  --glow-2: rgba(255, 92, 147, 0.26);
  --star: 255, 255, 255;
  --header-bg: rgba(15, 10, 46, 0.74);
  --chip-bg: rgba(30, 20, 84, 0.72);
  --shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
  --shadow-sm: 0 14px 30px -20px rgba(0, 0, 0, 0.7);
  --spot: rgba(255, 200, 87, 0.15);
  --jini-a: #FFC857;
  --jini-b: #FF5C93;
  --error: #FF8A8F;
  --select-bg: #231A63;
  --select-text: #F4F1FF;
  --select-hover-bg: #7C3AED;
  --select-hover-text: #FFFFFF;
  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4F1FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: inherit; }

html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 5.5rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* keeps the phone status bar area filled with the header colour */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
}

img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, .brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--gold-2);
  color: var(--ink);
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 0.75rem); }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(clamp(1.1rem, 4vw, 2rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1.1rem, 4vw, 2rem), env(safe-area-inset-right, 0px));
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2,
.why-head h2,
.contact-copy h2,
.audit-copy h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  line-height: 1.08;
}
.section-head p,
.why-head p,
.contact-copy p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 38rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.95rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--ink);
  box-shadow: 0 12px 28px -12px rgba(255, 176, 32, 0.85);
}
.btn-gold::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(255, 176, 32, 0.95); }
.btn-gold:hover::after { left: 130%; }
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text); }

.text-link {
  display: inline-block;
  margin-top: auto;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { text-decoration-color: var(--gold-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.9rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--text); }
.brand-lockup { display: block; height: 4.1rem; width: auto; overflow: visible; }
.brand-mark { width: 2.6rem; height: auto; aspect-ratio: 220 / 270; flex: none; overflow: visible; }
.brand-word { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.jini {
  background: linear-gradient(135deg, var(--jini-a), var(--jini-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; gap: clamp(1rem, 2.4vw, 2rem); }
.nav-links a {
  position: relative;
  padding: 0.4rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--jini-a), var(--jini-b));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--text); }
.icon-btn svg {
  width: 1.2rem; height: 1.2rem;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* theme toggle shows the icon for the theme you would switch to */
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }

.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(58rem 36rem at 88% 8%, var(--glow-1), transparent 62%),
    radial-gradient(42rem 28rem at -4% 96%, var(--glow-2), transparent 62%),
    var(--bg);
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--chip-bg);
  font-size: 0.92rem;
  font-weight: 600;
}
.pill-dot {
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), #FF4D8D);
  box-shadow: 0 0 0 4px rgba(255, 92, 147, 0.2);
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 4.7rem);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.04em;
}
.lead {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--muted);
}
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1rem; margin-top: 2rem; }
.fine { color: var(--muted); font-size: 0.98rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.2rem;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--muted);
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-points li::before {
  content: "";
  width: 1.05rem; height: 1.05rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-4.6-4.6 1.8-1.8 2.8 2.8 6-6 1.8 1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.6 17.2-4.6-4.6 1.8-1.8 2.8 2.8 6-6 1.8 1.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
  aspect-ratio: 640 / 700;
}
.hero-svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* One orchestrated entrance: trail draws, then the genie flies in */
.trail { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.6s cubic-bezier(0.5, 0, 0.2, 1) 0.15s both; }
.node { transform-box: fill-box; transform-origin: center; animation: pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both; }
.node.n1 { animation-delay: 0.5s; }
.node.n2 { animation-delay: 0.95s; }
.node.n3 { animation-delay: 1.4s; }
.genie-in { transform-box: fill-box; transform-origin: center; animation: genie-in 1.2s cubic-bezier(0.2, 0.9, 0.3, 1.15) 1s both; }
.genie-bob { transform-box: fill-box; transform-origin: 50% 80%; animation: bob 6s ease-in-out 2.4s infinite; }
.tw { transform-box: fill-box; transform-origin: center; animation: twinkle 3.6s ease-in-out infinite; }
.tw.t2 { animation-delay: 0.7s; }
.tw.t3 { animation-delay: 1.4s; }
.tw.t4 { animation-delay: 2.1s; }
.tw.t5 { animation-delay: 2.8s; }

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes genie-in {
  from { opacity: 0; transform: translate(-120px, 150px) scale(0.6) rotate(-10deg); }
  to   { opacity: 1; transform: none; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(1.6deg); }
}
@keyframes twinkle {
  0%, 100% { transform: scale(0.55) rotate(0deg); opacity: 0.55; }
  50%      { transform: scale(1.1) rotate(25deg); opacity: 1; }
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--chip-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
}
.chip-ico, .why-ico {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
}
.chip-ico { width: 2rem; height: 2rem; }
.chip-ico svg, .why-ico svg {
  width: 55%; height: 55%;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.why-ico svg.fill { fill: currentColor; stroke: none; }
.chip-a { left: -3%; top: 9%; transform: rotate(-3deg); }
.chip-b { left: -10%; top: 50%; transform: rotate(2deg); }
.chip-c { right: -2%; bottom: 7%; transform: rotate(-2deg); }

/* ---------- Make a wish ---------- */
.wish { background: var(--bg-soft); }
.wish-panel {
  display: grid;
  gap: 1.8rem;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.wish-options { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.wish-chip {
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 600 0.98rem/1.2 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.wish-chip:hover { border-color: var(--text); background: var(--surface-2); }
.wish-chip[aria-pressed="true"] {
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  border-color: transparent;
  color: var(--ink);
}

.wish-result {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.6vw, 1.7rem);
  border-radius: 22px;
  background: var(--surface-2);
  min-height: 11rem;
}
.wish-genie { width: clamp(4.5rem, 12vw, 6.5rem); height: auto; aspect-ratio: 220 / 270; flex: none; overflow: visible; }
.wish-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.15; }
.wish-body { margin-top: 0.5rem; color: var(--muted); max-width: 36rem; }
.wish-cta { margin-top: 1rem; }
.wish-cta[hidden] { display: none; }
.wish-result.is-new .wish-genie { animation: wiggle 0.7s ease; }
.wish-result.is-new .wish-text { animation: rise 0.45s ease both; }
@keyframes wiggle {
  0% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-9deg) scale(1.1); }
  60% { transform: rotate(7deg) scale(1.08); }
  100% { transform: rotate(0) scale(1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Services ---------- */
.bento { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.7rem;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease;
}
.card:hover { border-color: var(--line-strong); }
.card h3 { font-size: 1.32rem; line-height: 1.2; }
.pitch { color: var(--muted); }

/* spotlight that follows the pointer */
.spot { overflow: hidden; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--spot), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.spot:hover::before, .spot:focus-within::before { opacity: 1; }

.ico {
  display: grid;
  place-items: center;
  width: 3rem; height: 3rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--a), var(--b));
  box-shadow: 0 12px 24px -12px var(--b);
}
.ico svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico svg.fill, .chip-ico svg.fill { fill: currentColor; stroke: none; }

.ticks { display: grid; gap: 0.5rem; margin-bottom: 0.4rem; }
.ticks li { position: relative; padding-left: 1.4rem; font-size: 0.99rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--a), var(--b));
}

.card-hero {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 30px;
  background:
    radial-gradient(30rem 20rem at 0% 0%, rgba(255, 176, 32, 0.14), transparent 60%),
    var(--surface);
}
.card-hero h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; letter-spacing: -0.03em; }
.card-hero .pitch { font-size: 1.12rem; }
.card-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.tag {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 700;
}

.timeline { position: relative; display: grid; align-content: center; padding-left: 1.9rem; }
.timeline li { position: relative; display: grid; gap: 0.15rem; padding-bottom: 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.9rem; top: 0.35rem;
  width: 0.95rem; height: 0.95rem;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--a);
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(-1.425rem - 1px);
  top: 1.3rem; bottom: -0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--a), var(--b));
  opacity: 0.5;
}
.timeline li:last-child::before { background: linear-gradient(135deg, var(--a), var(--b)); border-color: transparent; }
.timeline strong { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.01em; }
.timeline span { color: var(--muted); font-size: 0.99rem; }

/* ---------- Platforms ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.platform {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  border-radius: 30px;
  color: #fff;
  box-shadow: var(--shadow);
}
.p-li { background: linear-gradient(135deg, #0A58C2 0%, #1F76E0 55%, #3B9CF0 100%); }
.p-ig { background: linear-gradient(135deg, #5B2BC4 0%, #B02A8F 55%, #E04476 100%); }
.platform h3 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; }
.platform p { max-width: 30rem; color: rgba(255, 255, 255, 0.92); }
.platform .platform-lead { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.015em; color: #fff; }
.platform-bg {
  position: absolute;
  right: -2.5rem; bottom: -3rem;
  width: clamp(11rem, 26vw, 16rem);
  height: auto;
  color: rgba(255, 255, 255, 0.14);
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  pointer-events: none;
}
.platform-bg.fill { fill: currentColor; stroke: none; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; position: relative; }
.pills li {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.93rem;
  font-weight: 600;
}

/* ---------- Free audit ---------- */
.audit-section { padding-block: 0; }
.audit {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(26rem 18rem at 100% 0%, rgba(255, 200, 87, 0.35), transparent 62%),
    linear-gradient(125deg, #2E1580 0%, #6B2BD3 48%, #C42A78 100%);
  box-shadow: var(--shadow);
}
.audit-copy p { margin-top: 1rem; color: rgba(255, 255, 255, 0.9); font-size: 1.15rem; max-width: 34rem; }
.audit .fine { color: rgba(255, 255, 255, 0.85); }
.audit-spark { position: absolute; pointer-events: none; }
.audit-spark.a1 { width: 2.3rem; right: 3.5%; top: 4%; opacity: 0.9; }
.audit-spark.a2 { width: 1.6rem; left: 46%; bottom: 10%; opacity: 0.7; }

.audit-checks { display: grid; gap: 0.9rem; position: relative; }
.audit-checks li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.audit-checks strong { display: block; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.01em; }
.audit-checks span { color: rgba(255, 255, 255, 0.88); font-size: 0.98rem; }
.check {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--ink);
}
.audit-checks .check { display: grid; }
.check svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- How it works ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
}
.steps::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 1.4rem; right: calc(25% - 2.6rem);
  border-top: 2px dashed var(--line-strong);
}
.steps li { position: relative; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.8rem; height: 2.8rem;
  margin-bottom: 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 0 0 6px var(--bg);
}
.steps h3 { font-size: 1.3rem; }
.steps p { margin-top: 0.4rem; color: var(--muted); max-width: 17rem; }

/* ---------- Why ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why-head { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6.5rem); }
.why-list { display: grid; }
.why-list li { display: flex; gap: 1.2rem; padding-block: 1.6rem; border-top: 1px solid var(--line-strong); }
.why-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.why-ico { width: 3rem; height: 3rem; }
.why-list h3 { font-size: 1.28rem; }
.why-list p { margin-top: 0.3rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 52rem; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.7rem; height: 0.7rem;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding-bottom: 1.4rem; color: var(--muted); max-width: 40rem; animation: rise 0.35s ease both; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { display: grid; gap: 1rem; margin-top: 2rem; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-list li > div { min-width: 0; flex: 1; }
.contact-label { display: block; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.contact-value { display: block; font-weight: 700; word-break: break-word; text-decoration: none; }
.contact-value:hover { color: var(--accent); text-decoration: underline; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: none;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  font: 700 0.88rem/1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.copy-btn:hover { background: var(--surface-2); }
.copy-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.form { gap: 1.1rem; padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: 26px; box-shadow: var(--shadow); }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.97rem; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
  font: 500 1rem/1.4 var(--font-body);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.22);
}
.field input:user-invalid,
.field input[aria-invalid="true"] { border-color: var(--error); }

/* Dropdown: custom arrow, and a solid background for the open list so it
   is readable in both themes (the field itself is see-through). */
.field select {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  padding-right: 2.9rem;
  background-image: var(--select-arrow);
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.15rem;
  text-overflow: ellipsis;
  cursor: pointer;
}
.field select option,
.field select optgroup {
  background-color: var(--select-bg);
  color: var(--select-text);
  font-family: var(--font-body);
}
.field select option:checked,
.field select option:hover,
.field select option:focus {
  background: var(--select-hover-bg) linear-gradient(0deg, var(--select-hover-bg), var(--select-hover-bg));
  color: var(--select-hover-text);
}

/* browser autofill would otherwise paint a pale box with unreadable text in dark mode */
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  box-shadow: 0 0 0 100px var(--select-bg) inset;
  transition: background-color 9999s ease-out 0s;
}
.form-submit { width: 100%; padding-block: 1rem; }
.form-note { min-height: 1.5em; font-size: 0.97rem; color: var(--muted); }
.form-note a { color: var(--accent); font-weight: 700; }
.form-note.is-error { color: var(--error); font-weight: 600; }
.form-note.is-ok { color: var(--text); }
.mail-fallback { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.mail-fallback .btn { flex: 1 1 9rem; }

.contact-mascot { display: flex; align-items: flex-end; gap: 1rem; margin-top: 2.2rem; }
.contact-mascot svg { width: clamp(5.5rem, 14vw, 7.5rem); height: auto; aspect-ratio: 220 / 270; flex: none; overflow: visible; }
.bubble {
  position: relative;
  margin-bottom: 2.4rem;
  padding: 0.75rem 1.1rem;
  border-radius: 18px 18px 18px 4px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
.footer-grid > * { min-width: 0; }
.footer-brand p { margin-top: 0.8rem; color: var(--muted); }
.footer-links, .footer-contact { display: grid; gap: 0.5rem; justify-items: start; }
.footer-links a, .footer-contact a { color: var(--muted); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover, .footer-contact a:hover { color: var(--text); text-decoration: underline; }
.footer-base { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-hero { grid-column: 1 / -1; grid-row: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .steps::before { display: none; }
  .why-grid, .contact-grid, .audit, .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .why-head { position: static; }
}

@media (max-width: 920px) {
  .menu-btn { display: inline-grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem clamp(1.1rem, 4vw, 2rem) 1.2rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links {
    max-height: calc(100vh - 5.5rem - env(safe-area-inset-top, 0px));
    max-height: calc(100dvh - 5.5rem - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav-links a { padding: 0.95rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 440px; margin-top: 1rem; }
  .brand-lockup { height: 3.5rem; }
  .chip { font-size: 0.82rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card-hero { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .wish-result { flex-direction: column; align-items: flex-start; }
  .cta-row .btn { flex: 1 1 100%; }
  .brand-lockup { height: 3.1rem; }
  .chip-a { left: 0; top: 2%; }
  .chip-b { left: 0; }
}

/* ---------- Small phones, touch screens, short and very large screens ---------- */
@media (max-width: 420px) {
  .section { padding-block: 3.5rem; }
  .hero h1 { letter-spacing: -0.035em; }
  .brand-lockup { height: 2.8rem; }
  .nav-actions { gap: 0.4rem; }
  .card, .card-hero { padding: 1.3rem; }
  .platform { padding: 1.4rem; }
  .audit { padding: 1.6rem 1.25rem; border-radius: 26px; }
  .chip { font-size: 0.78rem; padding-right: 0.8rem; }
  .chip-ico { width: 1.7rem; height: 1.7rem; }
  .contact-list li { padding: 0.85rem 0.9rem; gap: 0.75rem; }
  .copy-btn { padding: 0.45rem 0.7rem; }
  .mail-fallback .btn { flex-basis: 100%; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* bigger tap targets on touch devices */
@media (pointer: coarse) {
  .icon-btn { width: 2.9rem; height: 2.9rem; }
  .btn-sm { min-height: 2.75rem; }
  .copy-btn { min-height: 2.75rem; }
  .wish-chip { min-height: 2.75rem; }
  .text-link { padding-block: 0.6rem; }
  .nav-links a { min-height: 2.75rem; }
  .footer-links a, .footer-contact a { padding-block: 0.35rem; }
}

/* phones held sideways: keep the hero from filling the whole screen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { padding-block: 1.5rem 2.5rem; }
  .section { padding-block: 3rem; }
}

/* very large monitors: a little more breathing room */
@media (min-width: 1700px) {
  .wrap { max-width: 1320px; }
  body { font-size: 1.125rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
