:root {
  --bg-base: oklch(0.15 0.02 240);
  --bg-deep: oklch(0.10 0.02 240);
  --bg-pitch: oklch(0.07 0.015 240);
  --bg-surface: oklch(0.20 0.02 240 / 0.55);
  --bg-surface-2: oklch(0.22 0.025 240 / 0.75);

  --green: oklch(0.86 0.22 145);
  --green-2: oklch(0.78 0.20 145);
  --blue: oklch(0.68 0.20 255);
  --blue-2: oklch(0.60 0.18 255);

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --txt: #ffffff;
  --txt-2: rgba(255, 255, 255, 0.72);
  --txt-3: rgba(255, 255, 255, 0.48);
  --txt-4: rgba(255, 255, 255, 0.30);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sans: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  --glow-g: 0 0 0 1px oklch(0.86 0.22 145 / 0.5),
            0 12px 36px -10px oklch(0.86 0.22 145 / 0.55),
            0 0 70px -10px oklch(0.86 0.22 145 / 0.45);
  --glow-g2: 0 0 0 1px oklch(0.86 0.22 145 / 0.7),
             0 18px 60px -12px oklch(0.86 0.22 145 / 0.7),
             0 0 100px -12px oklch(0.86 0.22 145 / 0.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--txt);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 50% 35% at 12% 8%, oklch(0.86 0.22 145 / 0.10), transparent 60%),
    radial-gradient(ellipse 45% 35% at 95% 18%, oklch(0.68 0.20 255 / 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 95%, oklch(0.68 0.20 255 / 0.06), transparent 70%);
}
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 80%);
}

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

.wrap {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px;
}

/* ── Reveal animation (PHP landing uses .revealed) ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  background: oklch(0.10 0.02 240 / 0.7);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 18px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--txt);
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--bg-pitch);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  position: relative;
  box-shadow: 0 0 24px -6px var(--green);
}
.logo-mark svg { display: block; }
.logo small {
  font-family: var(--mono); font-weight: 500;
  font-size: 11px; color: var(--txt-3);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-top: 2px; display: block;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: var(--txt-2); text-decoration: none;
  padding: 8px 14px; border-radius: var(--r-pill);
  transition: color 180ms ease, background 180ms ease;
}
.nav-links a:hover { color: var(--txt); background: rgba(255,255,255,0.04); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 14.5px; line-height: 1;
  padding: 15px 22px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform 180ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green); color: oklch(0.18 0.04 145);
  box-shadow: var(--glow-g);
}
.btn-primary:hover { transform: scale(1.02); box-shadow: var(--glow-g2); background: oklch(0.90 0.22 145); }
.btn-secondary {
  background: rgba(255,255,255,0.04); color: var(--txt);
  border-color: var(--line-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-secondary:hover { transform: scale(1.02); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.btn-ghost { background: transparent; color: var(--txt-2); padding: 10px 14px; font-size: 13px; }
.btn-ghost:hover { color: var(--txt); }
.btn .arrow { transition: transform 220ms ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { padding: 11px 16px; font-size: 13px; }

/* ============ Type ============ */
.gradient-text {
  background: linear-gradient(100deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.mono { font-family: var(--mono); }
.label-mono {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--txt-3);
}

/* ============ HERO ============ */
.hero {
  padding: 70px 0 30px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-meta {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-meta .live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--green); padding: 6px 12px;
  border-radius: var(--r-pill);
  background: oklch(0.86 0.22 145 / 0.08);
  border: 1px solid oklch(0.86 0.22 145 / 0.25);
}
.hero-meta .live .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.hero-meta .ts {
  font-family: var(--mono); font-size: 11px; color: var(--txt-3);
  letter-spacing: 0.06em;
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero h1 .l { display: block; }
.hero h1 .accent {
  font-family: var(--mono);
  font-weight: 500;
  font-style: italic;
  background: linear-gradient(100deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.hero .lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--txt-2);
  max-width: 56ch;
  margin: 0 0 36px;
  line-height: 1.6;
}
.hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 11px;
  color: var(--txt-3); letter-spacing: 0.06em;
}
.hero-trust span::before {
  content: "✓"; color: var(--green); margin-right: 8px;
}

/* ===== Hero scheduler component ===== */
.scheduler {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, oklch(0.18 0.02 240 / 0.85), oklch(0.13 0.02 240 / 0.85));
  border: 1px solid var(--line-2);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 50px 100px -40px rgba(0,0,0,0.7),
    0 25px 70px -25px oklch(0.68 0.20 255 / 0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.scheduler::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  left: -80px; top: 30%;
  background: oklch(0.86 0.22 145 / 0.18);
  filter: blur(60px); border-radius: 50%; pointer-events: none; z-index: 0;
}
.scheduler::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -60px; bottom: -40px;
  background: oklch(0.68 0.20 255 / 0.20);
  filter: blur(60px); border-radius: 50%; pointer-events: none; z-index: 0;
}

.sched-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  position: relative; z-index: 1;
}
.sched-head .title {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
}
.sched-head .title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 10px var(--green);
}
.sched-head .badge {
  font-family: var(--mono); font-size: 10px;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: oklch(0.68 0.20 255 / 0.12); color: var(--blue);
  border: 1px solid oklch(0.68 0.20 255 / 0.3);
  text-transform: uppercase; letter-spacing: 0.12em;
}

.sched-body { padding: 22px; position: relative; z-index: 1; }

.sched-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.07);
}
.sched-row:last-child { border-bottom: none; }

.sched-row .time {
  font-family: var(--mono); font-size: 12px;
  color: var(--txt-3); letter-spacing: 0.04em;
  line-height: 1.4;
}
.sched-row .time strong {
  display: block; color: var(--txt); font-weight: 600;
  font-size: 14px; letter-spacing: -0.01em;
}

.sched-row .who {
  display: flex; align-items: center; gap: 12px;
}
.sched-row .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue));
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  color: oklch(0.15 0.02 240);
  font-family: var(--mono);
}
.sched-row .info .name { font-size: 13.5px; font-weight: 600; }
.sched-row .info .msg {
  font-size: 12px; color: var(--txt-3); margin-top: 2px;
  max-width: 32ch;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.sched-row .status {
  font-family: var(--mono); font-size: 10px;
  padding: 5px 10px; border-radius: var(--r-pill);
  text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid;
  white-space: nowrap;
}
.st-sent  { background: oklch(0.86 0.22 145 / 0.10); color: var(--green); border-color: oklch(0.86 0.22 145 / 0.3); }
.st-queue { background: oklch(0.68 0.20 255 / 0.10); color: var(--blue);  border-color: oklch(0.68 0.20 255 / 0.3); }
.st-now {
  background: var(--green); color: oklch(0.15 0.02 240);
  border-color: var(--green);
  box-shadow: 0 0 18px -4px var(--green);
  font-weight: 700;
}

.sched-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.015);
  font-family: var(--mono); font-size: 11px;
  color: var(--txt-3); letter-spacing: 0.04em;
  position: relative; z-index: 1;
}
.sched-foot .right { color: var(--green); }
.sched-foot .right strong { color: var(--txt); font-weight: 600; }

/* ============ Stats strip ============ */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 90px;
}
.strip-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; align-items: center;
}
@media (max-width: 720px) { .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
.strip-item .num {
  font-family: var(--mono); font-size: 32px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
  background: linear-gradient(180deg, var(--txt), var(--txt-3));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.strip-item .lbl {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--txt-3); margin-top: 6px;
}

/* ============ Section base ============ */
section { padding: 110px 0; }
.sec-head {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: end;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--line); padding-bottom: 28px;
}
@media (max-width: 720px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }
.sec-head .ix {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--txt-3); white-space: nowrap;
}
.sec-head .ix strong { color: var(--green); font-weight: 500; }
.sec-head h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.02; margin: 0;
  text-wrap: balance;
}
.sec-head .lede {
  grid-column: 2;
  font-size: 16px; color: var(--txt-2); max-width: 60ch;
  margin: 18px 0 0;
}
@media (max-width: 720px) { .sec-head .lede { grid-column: 1; } }

/* ============ How it works ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-left: 1px solid var(--line);
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.step {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  position: relative;
  transition: background 220ms ease;
}
.step:hover { background: oklch(0.20 0.02 240 / 0.4); }
.step .num {
  font-family: var(--mono);
  font-size: 64px; font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--txt-4);
  margin-bottom: 26px;
  display: flex; align-items: baseline; gap: 8px;
}
.step .num .slash { color: var(--green); font-size: 36px; }
.step .num .total { font-size: 18px; color: var(--txt-4); }
.step h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em; margin: 0 0 12px;
}
.step p { font-size: 14.5px; color: var(--txt-2); margin: 0; }
.step .visual {
  margin-top: 26px;
  height: 110px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.02);
  padding: 14px;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
  font-family: var(--mono); font-size: 11px;
}
.vline { display: flex; align-items: center; gap: 8px; color: var(--txt-3); }
.vline .ki { color: var(--blue); }
.vline .vk { color: var(--green); }
.vline .tarrow { color: var(--txt-4); margin: 0 4px; }
.vline .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); flex-shrink: 0; }
.vline .pip.b { background: var(--blue); box-shadow: 0 0 6px var(--blue); }

/* ============ Use cases ============ */
.cases {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .cases { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .cases { grid-template-columns: repeat(2, 1fr); } }

.case {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: oklch(0.18 0.02 240 / 0.4);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
  cursor: default;
}
.case:hover {
  transform: translateY(-3px);
  border-color: oklch(0.86 0.22 145 / 0.4);
  background: oklch(0.20 0.02 240 / 0.6);
}
.case .ic {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: grid; place-items: center;
  background: oklch(0.86 0.22 145 / 0.10);
  border: 1px solid oklch(0.86 0.22 145 / 0.25);
  color: var(--green);
  margin-bottom: 16px;
}
.case:nth-child(even) .ic {
  background: oklch(0.68 0.20 255 / 0.10);
  border-color: oklch(0.68 0.20 255 / 0.25);
  color: var(--blue);
}
.case h4 {
  font-size: 14px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.case p {
  font-family: var(--mono); font-size: 11px;
  color: var(--txt-3); margin: 0;
  line-height: 1.5;
}

/* ============ Showcase: Two-column with terminal ============ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 1000px) {
  .showcase { grid-template-columns: 1fr; gap: 40px; }
}

.showcase h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0 0 20px;
}
.showcase p { font-size: 16px; color: var(--txt-2); margin: 0 0 24px; }
.showcase ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 14px;
}
.showcase ul li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--txt-2);
}
.showcase ul li .ck {
  width: 18px; height: 18px; border-radius: 50%;
  background: oklch(0.86 0.22 145 / 0.14);
  border: 1px solid oklch(0.86 0.22 145 / 0.4);
  color: var(--green);
  display: grid; place-items: center; flex-shrink: 0;
  margin-top: 2px;
}

.terminal {
  background: var(--bg-pitch);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7);
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.term-bar .d { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.term-bar .d.r { background: oklch(0.70 0.20 25 / 0.5); }
.term-bar .d.y { background: oklch(0.85 0.18 90 / 0.5); }
.term-bar .d.g { background: oklch(0.86 0.22 145 / 0.6); }
.term-bar .ttl {
  margin-left: 8px;
  font-family: var(--mono); font-size: 11px;
  color: var(--txt-3); letter-spacing: 0.04em;
}
.term-body {
  padding: 22px;
  font-family: var(--mono); font-size: 12.5px;
  line-height: 1.8;
  min-height: 360px;
}
.tline { color: var(--txt-2); }
.tprompt { color: var(--green); }
.tcomment { color: var(--txt-4); }
.tkey { color: var(--blue); }
.tval { color: var(--green); }
.tstr { color: oklch(0.85 0.14 60); }
.tok { color: var(--green); }
.tarrow { color: var(--txt-4); margin: 0 6px; }

/* ============ PRICING ============ */
.pricing-head {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-head .label-mono { color: var(--green); }
.pricing-head h2 {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  margin: 16px auto 18px; max-width: 18ch;
  text-wrap: balance;
}
.pricing-head p {
  max-width: 56ch; margin: 0 auto;
  font-size: 16px;
}
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  margin-top: 24px;
  font-family: var(--mono); font-size: 11px;
}
.billing-toggle span {
  padding: 7px 14px; border-radius: var(--r-pill);
  color: var(--txt-3);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.billing-toggle span.active {
  background: rgba(255,255,255,0.08); color: var(--txt);
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; align-items: stretch;
  margin-top: 14px;
}
@media (max-width: 1100px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  padding: 32px 26px 28px;
  display: flex; flex-direction: column;
  position: relative;
  border-radius: var(--r-lg);
  background: oklch(0.20 0.02 240 / 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: transform 220ms ease, border-color 220ms ease;
}
.plan:hover { transform: translateY(-4px); }

.plan-header { margin-bottom: 22px; }
.plan-name {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--txt-3); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.plan-name::before {
  content: ""; width: 16px; height: 1px; background: var(--txt-4);
}

.plan-price { line-height: 1; }
.plan-price .from {
  font-family: var(--mono); font-size: 12px;
  color: var(--txt-4); margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
}
.plan-price .from s { text-decoration: line-through; }
.plan-price .now { display: flex; align-items: baseline; gap: 6px; }
.plan-price .currency {
  font-family: var(--mono); font-size: 16px; font-weight: 500;
  color: var(--txt-2);
}
.plan-price .amount {
  font-family: var(--mono); font-size: 52px; font-weight: 600;
  letter-spacing: -0.04em; color: var(--txt);
}
.plan-price .period { font-size: 13px; color: var(--txt-3); }

.plan-tagline {
  font-size: 13.5px; color: var(--txt-2);
  margin: 18px 0 22px; min-height: 42px;
  line-height: 1.5;
}
.plan-divider { height: 1px; background: var(--line); margin-bottom: 20px; }
.plan-features {
  list-style: none; margin: 0 0 26px; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 13.5px; color: var(--txt-2);
  line-height: 1.45;
}
.ck-ic {
  flex-shrink: 0; width: 18px; height: 18px;
  border-radius: 50%;
  background: oklch(0.86 0.22 145 / 0.14);
  border: 1px solid oklch(0.86 0.22 145 / 0.4);
  display: grid; place-items: center;
  margin-top: 2px; color: var(--green);
}
.plan .btn { width: 100%; padding: 13px 18px; font-size: 13.5px; }

.plan.trial .plan-price .amount {
  background: linear-gradient(100deg, var(--green), var(--blue));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  font-size: 44px;
}
.plan.trial .plan-price .currency,
.plan.trial .plan-price .period { display: none; }

/* .plan.pro and .plan.featured are the highlighted plan */
.plan.pro,
.plan.featured {
  background:
    linear-gradient(180deg, oklch(0.86 0.22 145 / 0.06), oklch(0.20 0.02 240 / 0.7) 60%);
  border-color: oklch(0.86 0.22 145 / 0.45);
  box-shadow:
    0 0 0 1px oklch(0.86 0.22 145 / 0.25),
    0 30px 80px -30px oklch(0.86 0.22 145 / 0.45),
    0 0 80px -20px oklch(0.86 0.22 145 / 0.30);
  transform: translateY(-8px);
}
.plan.pro:hover,
.plan.featured:hover { transform: translateY(-12px); }
.plan.pro .plan-name,
.plan.featured .plan-name { color: var(--green); }
.plan.pro .plan-name::before,
.plan.featured .plan-name::before { background: var(--green); }

.plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: oklch(0.15 0.02 240);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-pill);
  box-shadow: 0 0 30px -4px var(--green);
  font-family: var(--mono);
  white-space: nowrap;
}

.plan.business { border-color: oklch(0.68 0.20 255 / 0.25); }
.plan.business .plan-name { color: var(--blue); }
.plan.business .plan-name::before { background: var(--blue); }

@media (max-width: 1100px) {
  .plan.pro,
  .plan.featured { transform: translateY(0); }
  .plan.pro:hover,
  .plan.featured:hover { transform: translateY(-4px); }
}

/* ============ FAQ ============ */
.faq {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 180ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--green); }
.faq summary .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--txt-3);
  transition: all 180ms ease;
  flex-shrink: 0;
}
.faq details[open] summary .plus {
  background: var(--green);
  border-color: var(--green);
  color: oklch(0.15 0.02 240);
  transform: rotate(45deg);
}
.faq summary .qn {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  color: var(--txt-4); letter-spacing: 0.12em;
  margin-right: 18px;
}
.faq .answer,
.faq .details-content .answer {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--txt-2); line-height: 1.7;
  max-width: 70ch;
  padding-left: 56px;
}
.faq .details-wrapper { overflow: hidden; }
.faq details[open] .details-wrapper { animation: faq-open 0.35s ease; }
.faq details.closing .details-wrapper { animation: faq-close 0.45s ease forwards; }
@keyframes faq-open  { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes faq-close { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 600px) {
  .faq .answer,
  .faq .details-content .answer { padding-left: 0; }
}

/* ============ Final CTA ============ */
.final-cta {
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, oklch(0.86 0.22 145 / 0.10), transparent 70%);
  pointer-events: none;
}
.final-cta h2 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  margin: 0 auto 18px; max-width: 18ch;
  text-wrap: balance;
  position: relative;
}
.final-cta p {
  font-size: 17px; color: var(--txt-2);
  max-width: 50ch; margin: 0 auto 32px;
  position: relative;
}
.final-cta .hero-cta { justify-content: center; position: relative; }

/* ============ Footer ============ */
footer {
  padding: 56px 0 32px;
  background: var(--bg-deep);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { font-size: 14px; margin-top: 18px; max-width: 38ch; }
.footer-col h4 {
  font-size: 11px; font-family: var(--mono);
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--txt-3); margin: 0 0 18px; font-weight: 500;
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col a {
  color: var(--txt-2); text-decoration: none;
  font-size: 14px; transition: color 180ms ease;
}
.footer-col a:hover { color: var(--txt); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; border-top: 1px solid var(--line);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .copy {
  font-family: var(--mono); font-size: 11px;
  color: var(--txt-4); letter-spacing: 0.04em;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--txt-2);
  transition: all 180ms ease;
  text-decoration: none;
}
.socials a:hover {
  color: var(--green);
  border-color: oklch(0.86 0.22 145 / 0.5);
  background: oklch(0.86 0.22 145 / 0.08);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
