/* Fonts are served from this domain (no render-blocking Google Fonts request).
   Inter Tight and Caveat: SIL Open Font License 1.1. Inter Tight is a variable
   font, so one file covers weights 400-800. latin-ext only loads for glyphs
   such as ₹. Pages preload /fonts/inter-tight-latin.woff2. */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/inter-tight-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/inter-tight-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/caveat-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/caveat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --line: #e4e4e7;
  --line-strong: #d4d4d8;
  --text: #18181b;
  --muted: #71717a;
  --faint: #a1a1aa;
  --green: #16a34a;
  --green-dark: #316311;
  --lime: #65ce14;
  --lime-soft: #e4fccb;
  --lime-tint: #f3fee7;
  --dark: #0e1110;
  --dark-2: #161a18;
  --dark-line: #26302a;
  --radius: 18px;
  --font: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --mono: "Cascadia Code", Consolas, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.green { color: var(--green); }
.lime { color: var(--lime); }
kbd {
  font: 600 0.82em var(--font);
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 0 6px;
  background: #fff;
}
code { font-family: var(--mono); font-size: 0.9em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  padding: 11px 20px;
  border: 1px solid var(--green);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 18px rgba(22, 163, 74, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(22, 163, 74, 0.32); }
.btn-sm { padding: 8px 16px; font-size: 15px; border-radius: 10px; }
.btn-lg { padding: 15px 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-soft); box-shadow: none; }
.btn-lime { background: var(--lime); border-color: var(--lime); color: #0b2b18; box-shadow: 0 8px 30px rgba(101, 206, 20, 0.35); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 30px; color: var(--muted); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 520px at 50% -80px, rgba(101, 206, 20, 0.28), transparent 70%),
    radial-gradient(700px 420px at 8% 20%, rgba(101, 206, 20, 0.12), transparent 70%),
    radial-gradient(700px 420px at 92% 18%, rgba(22, 163, 74, 0.1), transparent 70%),
    linear-gradient(180deg, #f6fdec 0%, #fff 72%);
  padding: 84px 0 56px;
  overflow: hidden;
}
.hero-inner { position: relative; text-align: center; z-index: 1; }
h1 {
  font-size: clamp(40px, 6.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  margin: 0 auto 20px;
  max-width: 920px;
}
.lead { color: #52525b; font-size: 18px; max-width: 640px; margin: 0 auto 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-glow { box-shadow: 0 0 0 6px rgba(101, 206, 20, 0.18), 0 12px 30px rgba(22, 163, 74, 0.35); }
button.btn { font: inherit; font-weight: 600; cursor: pointer; }
.play { width: 15px; height: 15px; fill: currentColor; }
.dl { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* floating icon tiles around the headline */
.floaters { position: absolute; inset: 0; max-width: 1240px; margin: 0 auto; pointer-events: none; }
.floater {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(228, 228, 231, 0.9);
  box-shadow: 0 14px 30px -12px rgba(24, 24, 27, 0.25);
  display: grid;
  place-items: center;
  animation: bob 6s ease-in-out infinite;
}
.floater svg { width: 26px; height: 26px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f1 { left: 4%; top: 64px; transform: rotate(-8deg); }
.f2 { left: 3%; top: 220px; width: 50px; height: 50px; opacity: 0.8; animation-delay: -2s; }
.f3 { left: 15%; top: 330px; width: 46px; height: 46px; opacity: 0.7; animation-delay: -4s; }
.f4 { right: 4%; top: 58px; transform: rotate(7deg); animation-delay: -1s; }
.f5 { right: 3%; top: 210px; width: 52px; height: 52px; opacity: 0.85; animation-delay: -3s; }
.f6 { right: 14%; top: 320px; width: 46px; height: 46px; opacity: 0.7; animation-delay: -5s; }
@keyframes bob { 50% { translate: 0 -10px; } }

/* product shot: call underneath, glass overlay on top */
.shot { position: relative; max-width: 1000px; margin: 60px auto 0; text-align: left; }
/* the video call underneath: a dark meeting window, like the real thing */
.call {
  background: #1b1c1f;
  border: 1px solid #2c2d31;
  border-radius: 16px;
  padding: 0 10px;
  color: #e7e7ea;
  font-size: 12.5px;
  box-shadow: 0 50px 90px -30px rgba(24, 24, 27, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.meet-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 4px; color: #b4b4bb; }
.meet-title { display: flex; align-items: center; gap: 7px; }
.meet-title svg { width: 15px; height: 15px; fill: none; stroke: #22c55e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.meet-sharing {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: #1f7a3d; color: #fff; font-weight: 600; border-radius: 7px; padding: 3px 4px 3px 10px;
}
.meet-sharing i { width: 7px; height: 7px; border-radius: 50%; background: #86efac; }
.meet-sharing b { background: #e5484d; border-radius: 5px; padding: 1px 8px; font-weight: 600; }
.meet-meta { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.meet-rec { color: #f87171; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.meet-rec::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; margin-right: 5px; vertical-align: 1px; }

.meet-stage { position: relative; height: 460px; border-radius: 10px; overflow: hidden; background: #2a2b2f; }
.meet-stage .cam { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.meet-stage::after { content: ""; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 2px #22c55e; pointer-events: none; }
.meet-name {
  position: absolute; left: 12px; bottom: 12px;
  display: flex; align-items: center; gap: 5px;
  background: rgba(20, 20, 22, 0.62); color: #fff; font-weight: 500; border-radius: 6px; padding: 3px 9px 3px 6px;
}
.meet-name svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.meet-name.small { left: 6px; bottom: 6px; font-size: 11px; padding: 1px 7px; }
.meet-self {
  position: absolute; right: 12px; bottom: 12px; width: 190px; height: 110px;
  border-radius: 8px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.meet-self img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scaleX(-1); }

.meet-bar { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 8px 0 9px; }
.mb { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 64px; padding: 4px 6px; border-radius: 8px; color: #c9c9ce; font-size: 11px; }
.mb svg { width: 21px; height: 21px; fill: none; stroke: #e7e7ea; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mb em { position: absolute; margin: -2px 0 0 26px; font-style: normal; font-size: 10px; background: #3a3b40; border-radius: 99px; padding: 0 5px; }
.mb.on { color: #4ade80; }
.mb.on svg { stroke: #4ade80; }
.mb.leave { margin-left: 18px; min-width: 0; align-self: center; background: #e5484d; color: #fff; font-weight: 600; font-size: 12.5px; padding: 7px 16px; }

.note { position: absolute; left: 3%; top: -42px; font: 600 28px var(--hand); color: var(--green); transform: rotate(-4deg); }

/* Glass overlay (Nightjar's floating panel) */
.glass {
  color: #f4f4f5;
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gbar, .gpanel {
  background: rgba(38, 38, 38, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.55);
}
.gbar { display: flex; align-items: center; gap: 6px; padding: 6px 7px; white-space: nowrap; overflow: hidden; }
.gspacer { flex: 1; }
.gdot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); margin: 0 2px; }
.gdot.amber { background: #22c55e; box-shadow: none; opacity: 0.7; }
.gbtn { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; padding: 4px 9px; font-weight: 600; font-size: 12.5px; }
.gbtn kbd { background: rgba(255, 255, 255, 0.1); border: 0; color: #d4d4d8; font-size: 10.5px; padding: 1px 5px; border-radius: 5px; }
.gbtn.on { background: rgba(101, 206, 20, 0.2); border-color: rgba(101, 206, 20, 0.45); }
.gbtn.end { background: #ef4444; border-color: #ef4444; color: #fff; padding: 4px 14px; }
.gbtn.small { padding: 2px 8px; }
.gtag { color: var(--lime); background: rgba(101, 206, 20, 0.16); border-radius: 99px; padding: 2px 10px; font-weight: 600; font-size: 12px; }
.gchip { background: rgba(255, 255, 255, 0.1); border-radius: 7px; padding: 3px 8px; font-size: 12px; color: #e4e4e7; }
.wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; padding: 0 6px; }
.wave i { width: 3px; border-radius: 2px; background: var(--lime); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(1) { height: 6px; }
.wave i:nth-child(2) { height: 12px; animation-delay: -0.2s; }
.wave i:nth-child(3) { height: 16px; animation-delay: -0.4s; }
.wave i:nth-child(4) { height: 10px; animation-delay: -0.6s; }
.wave i:nth-child(5) { height: 7px; animation-delay: -0.8s; }
@keyframes wave { 50% { transform: scaleY(0.4); } }
.gpanel { padding: 12px 16px 12px; }
.gpanel-head { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.gcount { margin-left: auto; color: #a1a1aa; font-size: 12px; }
.gpanel p { margin: 0 0 6px; }
.gq { border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 7px; }
.gq b, .ga b { color: var(--lime); }
.ga { font-size: 14px; }
.gpanel ul { margin: 6px 0 4px; padding-left: 18px; }
.gpanel li { margin: 2px 0; }
.gpanel li::marker { color: var(--lime); }
.gpanel li b { color: #fff; }
.gmeta { color: #a1a1aa; font-size: 11.5px; margin-top: 6px !important; }
/* Parked over the empty window beside the interviewer's face, the way you'd place it on a real call. */
.hero-glass { position: absolute; top: 62px; left: 2.5%; width: min(470px, 46%); }
.hero-glass .gbar kbd { display: none; }

/* Demo video modal */
.video-modal { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); overflow: visible; }
.video-modal::backdrop { background: rgba(9, 9, 11, 0.78); backdrop-filter: blur(4px); }
.video-modal video { width: 100%; border-radius: 16px; display: block; background: #000; box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6); }
.video-close { position: absolute; top: -44px; right: 0; background: rgba(255, 255, 255, 0.14); color: #fff; border: 0; width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; }

/* Advantage on every call */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adv {
  position: relative;
  background: linear-gradient(46deg, #fcfbf9 50%, #f4f4f5);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
}
.adv-wide { grid-column: 1 / -1; grid-template-columns: 0.75fr 1.25fr; min-height: 330px; }
.adv-copy { padding: 28px 26px; display: flex; flex-direction: column; position: relative; z-index: 2; }
.adv-copy h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 8px; }
.adv-copy p { color: var(--muted); margin: 0; font-size: 15.5px; max-width: 360px; }
.adv-copy .btn, .adv-actions { margin-top: auto; align-self: flex-start; }
.adv-actions { display: flex; gap: 8px; }
.adv-actions .btn { margin: 0; padding: 9px 14px; font-size: 15px; white-space: nowrap; }
.adv:not(.adv-wide) .adv-copy h3 { font-size: 23px; }
.btn-dark { background: var(--text); border-color: var(--text); box-shadow: none; }
.btn-dark:hover { box-shadow: 0 10px 22px rgba(24, 24, 27, 0.25); }
.adv-art { position: relative; }

.wallpaper {
  background:
    radial-gradient(120% 90% at 100% 0%, #3b6fd1 0%, transparent 46%),
    radial-gradient(80% 90% at 85% 100%, #f59e0b 0%, transparent 60%),
    radial-gradient(90% 80% at 30% 60%, #fca5a5 0%, transparent 60%),
    linear-gradient(135deg, #fde2e4 0%, #f9a8d4 35%, #fb923c 70%, #2563eb 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%);
}
.adv-glass { position: absolute; right: 22px; top: 26px; bottom: -8px; width: min(560px, 86%); }
.adv-glass .gpanel { flex: 1; }
.typing {
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--lime);
  width: 0;
  animation: type 4.5s steps(42, end) infinite, caret 0.8s step-end infinite;
}
@keyframes type { 0%, 8% { width: 0; } 55%, 92% { width: 42ch; } 100% { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }

.browser {
  margin: 26px -2px -2px 0;
  background: #111;
  border-radius: 14px 0 0 0;
  border: 1px solid #27272a;
  padding: 8px 8px 0;
  align-self: end;
  height: 85%;
}
.b-top { display: flex; align-items: center; gap: 5px; color: #71717a; font-size: 11px; padding: 0 4px 8px; }
.b-top span { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.b-top i { font-style: normal; margin-left: 8px; }
.b-call { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.b-tile { height: 110px; border-radius: 10px; background: linear-gradient(140deg, #3f4a44, #262d29); display: grid; place-items: center; }
.b-tile.alt { background: linear-gradient(140deg, #4a3f3a, #2d2826); }
.b-tile span { width: 40px; height: 40px; border-radius: 50%; background: #5b6b62; color: #fff; display: grid; place-items: center; font-weight: 700; }
.b-controls { display: flex; justify-content: center; gap: 6px; padding: 10px 0; }
.b-controls i { width: 22px; height: 22px; border-radius: 50%; background: #3f3f46; }
.b-controls i.leave { width: 34px; border-radius: 11px; background: #ef4444; }
.mini-glass { position: absolute; left: 14px; right: 14px; bottom: 54px; background: rgba(38, 38, 38, 0.86); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 10px 12px; font-size: 12px; }
.mini-glass p { margin: 0 0 4px; }

.chat { display: flex; align-items: flex-end; justify-content: center; padding: 26px 22px 0; background: radial-gradient(80% 70% at 70% 100%, rgba(101, 206, 20, 0.18), transparent 70%); }
.chat-glass { width: 100%; margin-bottom: -6px; }
.chat-input { background: #fff; color: var(--text); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; font-size: 13px; box-shadow: 0 10px 24px -14px rgba(24, 24, 27, 0.35); }
.caret { display: inline-block; width: 2px; height: 15px; background: var(--green); vertical-align: -3px; margin-left: 2px; animation: caret 0.8s step-end infinite; }
.chat-glass .gpanel { border-radius: 12px 12px 0 0; }

@media (prefers-reduced-motion: reduce) {
  .floater, .wave i, .typing, .caret { animation: none; }
  .typing { width: auto; border-right: 0; }
}

/* Sections */
.section { padding: 110px 0; }
.what-is { padding: 90px 0 0; }
.what-is p { margin: 0 0 14px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.what-is + .section { padding-top: 90px; }
.section.tint { background: linear-gradient(180deg, var(--bg-soft), #fff); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  text-align: center;
  margin: 0 0 14px;
}
h2.left, .sub.left { text-align: left; margin-left: 0; }
.sub { text-align: center; color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 52px; }
.kicker { display: inline-block; color: var(--green); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }

.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--lime-soft); box-shadow: 0 18px 40px -22px rgba(22, 163, 74, 0.35); transform: translateY(-2px); }
.card h3 { font-size: 20px; letter-spacing: -0.01em; margin: 14px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }
.icon { width: 46px; height: 46px; border-radius: 13px; background: var(--lime-tint); border: 1px solid var(--lime-soft); display: grid; place-items: center; }
.icon svg { width: 23px; height: 23px; fill: none; stroke: var(--green); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.stage-tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--green-dark); background: var(--lime-tint); border: 1px solid var(--lime-soft); border-radius: 99px; padding: 2px 10px; }

/* Coding rounds: a real-looking workspace with Nightjar on top */
.coding { background: linear-gradient(180deg, #fafafa 0%, #fff 60%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.coding-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; margin-bottom: 44px; }
.coding-head h2 { margin: 0; }
.coding-head p { color: var(--muted); font-size: 18px; margin: 0 0 6px; }

.workspace {
  position: relative;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(24, 24, 27, 0.3);
  min-height: 560px;
}
.ws-problem { padding: 0 26px 26px; border-right: 1px solid var(--line); font-size: 15px; color: #3f3f46; }
.ws-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--line); margin: 0 -26px 20px; padding: 0 26px; font-size: 13.5px; color: var(--faint); }
.ws-tabs span { padding: 12px 0; }
.ws-tabs .on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--text); }
.ws-problem .ws-title { font-size: 21px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.diff { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--green); background: var(--lime-tint); border-radius: 99px; padding: 1px 10px; margin-bottom: 14px; }
.ws-problem p { margin: 0 0 10px; line-height: 1.6; }
.ws-problem code { background: #f4f4f5; border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; font-size: 13px; }
.example { display: flex; flex-direction: column; gap: 2px; background: #fafafa; border-left: 3px solid var(--line-strong); padding: 10px 14px; margin-top: 16px; font: 13px/1.6 var(--mono); }
.example b { font-family: var(--font); font-size: 14px; margin-bottom: 4px; }
.example i { font-style: normal; color: var(--faint); }

.ws-editor { display: flex; flex-direction: column; background: #fbfbfb; }
.ed-bar { display: flex; align-items: center; gap: 14px; height: 45px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.lang { font-weight: 600; color: var(--text); }
.ed-file { font-family: var(--mono); font-size: 12px; }
.ed-run { margin-left: auto; background: #f4f4f5; border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px; color: var(--text); font-weight: 600; }
.ed-code { flex: 1; margin: 0; padding: 16px 0; list-style: none; counter-reset: ln; font: 14px/1.85 var(--mono); color: #27272a; }
.ed-code li { counter-increment: ln; padding-left: 56px; position: relative; white-space: pre; min-height: 1.85em; }
.ed-code li::before { content: counter(ln); position: absolute; left: 0; width: 38px; text-align: right; color: #c4c4c9; }
.ed-code li:nth-child(4) { background: rgba(101, 206, 20, 0.08); }
.kw { color: #7c3aed; }
.ty { color: #0369a1; }
.fn { color: #b45309; }
.cursor { display: inline-block; width: 2px; height: 17px; background: var(--text); vertical-align: -3px; margin-left: 2px; animation: caret 1s step-end infinite; }
.ed-foot { display: flex; gap: 18px; border-top: 1px solid var(--line); padding: 10px 16px; font-size: 12.5px; color: var(--faint); }
.ed-ok { margin-left: auto; color: var(--green); font-weight: 600; }

/* the overlay floats over the editor's right half */
.steps-glass { position: absolute; right: 22px; bottom: 58px; width: min(480px, 46%); z-index: 2; }
.step-tabs { gap: 4px; padding: 5px; overflow-x: auto; scrollbar-width: none; }
.step-tabs::-webkit-scrollbar { display: none; }
.step-tabs button {
  font: 600 12px var(--font);
  color: #a1a1aa;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 4px 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.step-tabs button:hover { color: #fff; }
.step-tabs button[aria-selected="true"] { color: #fff; background: rgba(101, 206, 20, 0.2); border-color: rgba(101, 206, 20, 0.45); }
.step-panel { min-height: 214px; display: flex; flex-direction: column; }
.step { animation: stepIn 0.35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(4px); } }
.step .say { font-size: 14.5px; color: #fff; margin-bottom: 10px; }
.step .label { color: var(--lime); font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 2px; }
.step ul { margin: 0 0 8px; }
.step .assume, .step .note-line { color: #a1a1aa; font-size: 13px; }
.step code { background: rgba(255, 255, 255, 0.1); border-radius: 4px; padding: 0 4px; color: #d9f99d; }
.cx { display: flex; gap: 8px; margin: 4px 0 10px; }
.cx span { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 4px 10px; color: #d4d4d8; font-size: 12.5px; }
.cx b { color: var(--lime); margin-left: 4px; }
.dry { width: 100%; border-collapse: collapse; font: 12.5px/1.5 var(--mono); }
.dry th { text-align: left; color: #a1a1aa; font-weight: 500; padding: 3px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.dry td { padding: 4px 6px; color: #e4e4e7; }
.dry tr.hit td { color: var(--lime); }
.step pre { margin: 0 0 8px; background: rgba(0, 0, 0, 0.3); border-radius: 8px; padding: 10px 12px; font: 12.5px/1.6 var(--mono); color: #e4e4e7; overflow-x: auto; }
.step pre code { background: none; padding: 0; border-radius: 0; color: inherit; }
.step pre .kw { color: #86efac; }
.step-panel .gmeta { margin-top: auto !important; }

.coding-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.coding-notes div { padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 4px; }
.coding-notes div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.coding-notes b { font-size: 15.5px; }
.coding-notes span { color: var(--muted); font-size: 14.5px; }

/* Dark privacy section */
.dark { background: #000; color: #fff; padding: 110px 0 96px; }
.on-dark { color: #fff; }
.sub.on-dark { color: #9ca3af; }
.dcard {
  background: linear-gradient(160deg, #111613, #0a0c0b);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  min-height: 230px;
  position: relative;
  overflow: hidden;
}
.dcard::after { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 70%; background: radial-gradient(closest-side, rgba(101, 206, 20, 0.16), transparent); }
.num { font-size: 30px; font-weight: 300; color: #4b5a51; letter-spacing: -0.02em; }
.dcard h3 { font-size: 18px; margin: 34px 0 8px; position: relative; z-index: 1; }
.dcard p { color: #9ca3af; font-size: 15px; margin: 0; position: relative; z-index: 1; }
.platforms { text-align: center; margin-top: 56px; }
.platforms p { color: #9ca3af; margin: 0 0 16px; font-size: 15px; }
.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.chips span { border: 1px solid var(--dark-line); background: #0c0f0d; border-radius: 12px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: #e5e7eb; }
.platforms .tiny { font-size: 13px; color: #6b7280; margin-top: 16px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 22px; }
.plans.three { grid-template-columns: repeat(3, minmax(0, 340px)); align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(46deg, #ffffff 40%, var(--lime-tint)); border-color: var(--lime-soft); box-shadow: 0 30px 60px -30px rgba(22, 163, 74, 0.35); }
.plan-head { display: flex; align-items: center; justify-content: space-between; }
.plan h3, .plan h2 { margin: 0; font-size: 22px; letter-spacing: -0.01em; text-align: left; }
.badge { font-size: 12.5px; font-weight: 700; color: #fff; background: var(--green); border-radius: 99px; padding: 3px 11px; }
.price { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 6px; }
.price span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 30px; position: relative; color: #3f3f46; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--lime-tint); color: var(--green); font-size: 12px; font-weight: 800; display: grid; place-items: center; }

.time { font-size: 12.5px; font-weight: 600; color: var(--muted); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 40px; }
summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--green); font-size: 24px; line-height: 1; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* Final CTA */
.final { padding: 24px; }
.final-inner {
  background: radial-gradient(700px 300px at 50% 0%, rgba(101, 206, 20, 0.22), transparent 70%), #000;
  border-radius: 32px;
  padding: 90px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final-inner img { margin-bottom: 22px; }
.final-inner .sub { margin-bottom: 32px; }

/* Footer */
.footer { padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer .logo { color: var(--text); font-size: 17px; }
.footer a:hover { color: var(--text); }
.footer-links { display: flex; gap: 0 6px; flex-wrap: wrap; }
/* 44px tap targets on phones. */
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }

/* Policy pages (/terms, /privacy, /refunds, /contact) */
.policy { max-width: 760px; padding-top: 56px; padding-bottom: 80px; }
.policy h1 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 6px; }
.policy .updated { color: var(--muted); font-size: 15px; margin: 0 0 30px; }
.policy h2 { font-size: 20px; margin: 30px 0 8px; }
.policy p, .policy li { color: #3f3f46; }
.policy ul { padding-left: 22px; }
.policy a { color: var(--green); text-decoration: underline; }
.policy .placeholder { background: #fef9c3; border-radius: 4px; padding: 0 4px; }

/* Account pages (/account, /auth/desktop) */
.account-page { background: linear-gradient(180deg, var(--lime-tint), #fff 420px); min-height: 100vh; }
.account-page .muted { color: var(--muted); }
.account-page .small { font-size: 14px; }
.account-wrap { display: grid; place-items: start center; padding-top: 72px; padding-bottom: 72px; }
.account-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 30px 60px -34px rgba(22, 163, 74, 0.35);
}
.account-card h1 { margin: 0 0 14px; font-size: 28px; letter-spacing: -0.02em; }
.account-card .btn + .btn, .account-card .btn { margin-top: 10px; }
.btn.google svg { width: 20px; height: 20px; }
.account-email { font-weight: 600; margin: 0 0 16px; word-break: break-all; }
.account-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 14px; }
.account-stats div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.account-stats dt { color: var(--muted); font-size: 13px; }
.account-stats dd { margin: 2px 0 0; font-weight: 700; font-size: 18px; }
.account-notice { background: var(--lime-tint); border: 1px solid var(--lime-soft); color: var(--green-dark); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-weight: 600; margin: 0 0 14px; }
.buy { border-top: 1px solid var(--line); padding-top: 18px; margin: 6px 0 4px; }
.buy h2 { font-size: 18px; margin: 0 0 4px; }
.buy-option { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; cursor: pointer; }
.buy-option:has(input:checked) { border-color: var(--green); background: var(--lime-tint); }
.buy-option input { accent-color: var(--green); }
.buy-option span { display: flex; justify-content: space-between; align-items: baseline; flex: 1; }
.buy-option em { font-style: normal; font-weight: 700; }
.buy-option small { color: var(--green); font-weight: 600; margin-left: 4px; }
.buy-phone { display: grid; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; }
.buy-phone input { font: inherit; font-weight: 400; border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 12px; }
.buy-phone input:focus { outline: 2px solid var(--lime-soft); border-color: var(--green); }
.account-error { color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 16px 0 0; }

/* Sales (js/pricing.js shows these only while a sale runs). Marigold accent. */
:root {
  --festive: #f59e0b;
  --festive-deep: #ea580c;
  --festive-tint: #fff7ed;
  --festive-line: #fed7aa;
}
[hidden] { display: none !important; }
.sale-bar {
  position: relative;
  display: block;
  color: #fff;
  background:
    radial-gradient(50% 160% at 12% -50%, rgba(255, 176, 59, 0.38), transparent 70%),
    radial-gradient(40% 160% at 88% -60%, rgba(214, 64, 120, 0.35), transparent 70%),
    linear-gradient(90deg, #2a0619, #3d0b28 50%, #2a0619);
  font-size: 14.5px;
  padding-bottom: 9px;
}
/* a string of tiny glowing bulbs along the bottom edge */
.sale-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 7px;
  background:
    radial-gradient(circle at 9px 3.5px, #fff3c4 0 1.5px, rgba(255, 200, 90, 0.85) 2.2px, rgba(255, 170, 50, 0) 4px) 0 0 / 22px 7px repeat-x,
    linear-gradient(transparent 3px, rgba(233, 176, 79, 0.45) 3px 4px, transparent 4px);
  animation: twinkle 2.4s ease-in-out infinite alternate;
}
/* Shown before first paint while a sale is probably running (inline script in
   index.html), so it never pushes the page down after load. */
.sale-likely .sale-bar[hidden] { display: block !important; }
.sale-bar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 46px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.sale-diya { font-size: 18px; filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8)); }
.sale-bar b[data-sale-name] { color: #ffd77a; letter-spacing: 0.01em; text-shadow: 0 0 12px rgba(255, 190, 80, 0.6); }
.sale-bar-deal { display: inline-flex; align-items: center; gap: 8px; }
.sale-bar-deal s { color: rgba(255, 255, 255, 0.55); }
.sale-bar-deal b { color: #fff; font-size: 16px; }
.sale-bar-timer { color: rgba(255, 255, 255, 0.75); }
.sale-bar-cta { font-weight: 700; color: #fcd34d; }
.sale-bar:hover .sale-bar-cta { text-decoration: underline; }

.countdown {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border-radius: 7px;
  font: 600 13.5px/1.5 var(--mono);
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: linear-gradient(180deg, var(--festive), var(--festive-deep));
  box-shadow: 0 4px 14px -6px rgba(234, 88, 12, 0.8);
}
.off-pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  font: 800 11.5px/1.3 var(--font);
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(135deg, var(--festive), var(--festive-deep));
}

.sale-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: -28px auto 28px;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--festive-tint), #fffbeb);
  border: 1px solid var(--festive-line);
  font-size: 15.5px;
}
.sale-strip-title b { color: var(--festive-deep); }
.sale-strip-timer { color: var(--muted); font-weight: 500; }
.sale-strip-sm { margin: 12px 0 2px; padding: 10px 12px; font-size: 14px; }
.sale-strip-sm .countdown { font-size: 12.5px; }

.diwali-banner {
  position: relative;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  max-width: 1060px;
  min-height: 330px;
  margin: -16px auto 44px;
  border-radius: 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 80% at 8% 0%, rgba(214, 64, 96, 0.55), transparent 70%),
    radial-gradient(50% 70% at 30% 10%, rgba(255, 150, 60, 0.25), transparent 70%),
    linear-gradient(135deg, #4a0d32 0%, #33081f 55%, #22041a 100%);
  box-shadow: 0 40px 80px -40px rgba(74, 13, 50, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.diwali-banner::before {
  /* faint vertical sheen, like the reference backdrop */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 64px);
  pointer-events: none;
}
.diwali-lights { position: relative; width: 340px; height: 330px; align-self: start; margin-left: 8px; }
.dl-string { transform-box: view-box; animation: sway 6s ease-in-out infinite alternate; }
.dl-s0 { transform-origin: 22px 0; }
.dl-s1 { transform-origin: 118px 0; animation-duration: 7s; animation-delay: -2s; }
.dl-s2 { transform-origin: 182px 0; animation-duration: 5.5s; animation-delay: -1s; }
.dl-s3 { transform-origin: 244px 0; animation-duration: 6.5s; animation-delay: -3s; }
.dl-bulb { animation: twinkle 1.8s ease-in-out infinite alternate; }
.dl-b1 { animation-delay: -0.6s; }
.dl-b2 { animation-delay: -1.2s; }
.dl-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: flicker 1.3s ease-in-out infinite alternate; }
.dl-halo { animation: twinkle 2.2s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }
@keyframes flicker { from { transform: scale(0.92, 0.96) rotate(-2deg); } to { transform: scale(1.04, 1.06) rotate(2deg); } }

.diwali-copy { position: relative; padding: 38px 44px 38px 12px; }
.diwali-kicker {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(255, 215, 122, 0.4);
  background: rgba(255, 215, 122, 0.08);
  color: #ffd77a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.diwali-title {
  margin: 14px 0 18px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.diwali-title span {
  background: linear-gradient(180deg, #fff1c2, #f2b54a 70%, #d98a2b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.diwali-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.diwali-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 215, 122, 0.22);
}
.dp-label { color: rgba(255, 255, 255, 0.7); font-size: 13px; font-weight: 600; }
.dp-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.dp-row s { color: rgba(255, 255, 255, 0.5); font-size: 15px; }
.dp-row b { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: #ffe29a; }
.dp-row .off-pill { align-self: center; }
.diwali-timer { display: flex; gap: 8px; margin: 18px 0 20px; }
.diwali-timer span {
  display: grid;
  place-items: center;
  min-width: 62px;
  padding: 8px 6px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.diwali-timer b { font: 700 24px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.diwali-timer small { color: rgba(255, 255, 255, 0.6); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; }
.diwali-cta {
  background: linear-gradient(180deg, #ffd77a, #f2a93b);
  border-color: transparent;
  color: #3a0a20;
  box-shadow: 0 14px 30px -12px rgba(242, 169, 59, 0.8);
}
.diwali-cta:hover { background: linear-gradient(180deg, #ffe29a, #f6b34a); }

.price .was { font-size: 22px; font-weight: 600; color: var(--faint); margin-right: 10px; letter-spacing: -0.01em; vertical-align: 6px; }
.price .amount { font-weight: 800; }
.on-sale .plan:not(:first-child) .price .amount { color: var(--festive-deep); }
.deal { margin: 0 0 4px; color: var(--festive-deep); font-weight: 600; font-size: 14.5px; }
.deal .off-pill { margin-right: 6px; vertical-align: 1px; }
.badge-sale { background: linear-gradient(135deg, var(--festive), var(--festive-deep)); }
.buy-option b .off-pill { margin-left: 6px; font-size: 10.5px; vertical-align: 1px; color: #fff; }
.buy-option em { text-align: right; }
.buy-option em span { display: inline; }
.buy-option .was { color: var(--faint); font-weight: 500; margin-right: 4px; }
.buy-option em small[data-each] { display: block; white-space: nowrap; color: var(--muted); font-weight: 500; font-size: 12px; }

/* Responsive */
@media (max-width: 1024px) {
  .cards.five { grid-template-columns: repeat(3, 1fr); }
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .floater.f2, .floater.f3, .floater.f5, .floater.f6 { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .diwali-banner { grid-template-columns: 1fr; min-height: 0; }
  .diwali-lights { position: absolute; top: 0; left: auto; right: -40px; width: 220px; height: 214px; opacity: 0.55; margin: 0; }
  .diwali-copy { padding: 30px 22px; }
  .nav-links { display: none; }
  .cards.three { grid-template-columns: 1fr; }
  .coding-head { grid-template-columns: 1fr; gap: 14px; }
  .workspace { grid-template-columns: 1fr; }
  .ws-problem { display: none; }
  .workspace { min-height: 0; }
  .steps-glass { position: static; width: auto; margin: 0 12px 12px; }
  .coding-notes { grid-template-columns: 1fr; }
  .coding-notes div + div { padding-left: 0; border-left: 0; }
  .plans, .plans.three { grid-template-columns: minmax(0, 1fr); }
  .floaters { display: none; }
  .meet-stage { height: 400px; }
  .meet-sharing { display: none; }
  .hero-glass { top: 52px; right: auto; left: 50%; transform: translateX(-50%); width: 92%; }
  .note { display: none; }
  .section { padding: 80px 0; }
  .adv, .adv-wide { grid-template-columns: 1fr; }
  .adv-copy .btn, .adv-actions { margin-top: 18px; }
  .adv-art { min-height: 260px; }
  .wallpaper { -webkit-mask-image: none; mask-image: none; }
  .adv-glass { left: 16px; right: 16px; width: auto; }
  .browser { margin: 0 0 0 22px; height: 260px; }
}
@media (max-width: 560px) {
  .diwali-banner { margin: -36px 0 32px; border-radius: 20px; }
  .diwali-prices { grid-template-columns: 1fr; }
  .diwali-timer span { min-width: 0; flex: 1; }
  .diwali-cta { width: 100%; }
  .sale-bar-inner { gap: 6px 10px; font-size: 13px; }
  .sale-bar-cta, .sale-diya { display: none; }
  .sale-strip { margin: -36px 0 24px; }
  .wrap { padding: 0 16px; }
  .cards.five, .cards.four { grid-template-columns: 1fr; }
  .dcard { min-height: 0; }
  .dcard h3 { margin-top: 14px; }
  .hero { padding-top: 52px; }
  .lead { font-size: 17px; }
  .meet-stage { height: 420px; }
  .meet-self, .mb.hide-sm, .meet-title { display: none; }
  .meet-top { justify-content: flex-end; }
  .mb { min-width: 56px; }
  .gbtn kbd, .gtag, .gchip:nth-child(n + 4) { display: none; }
  /* On phones keep Answer / Chat / Auto / End; drop Screenshot (4th span after the two status dots and Answer). */
  .glass .gbar:first-child .gbtn:nth-of-type(4) { display: none; }
  .dry th:nth-child(4), .dry td:nth-child(4) { display: none; }
  .dry { font-size: 11.5px; }
  .ed-code { font-size: 12px; }
  .ed-code li { padding-left: 40px; }
  .ed-code li::before { width: 26px; }
  .ed-file { display: none; }
  .final { padding: 12px; }
  .final-inner { padding: 64px 18px; border-radius: 24px; }
  .btn-lg { width: 100%; }
}

/* Diwali artwork stays still for visitors who prefer less motion. */
@media (prefers-reduced-motion: reduce) {
  .dl-string, .dl-bulb, .dl-flame, .dl-halo, .sale-bar::after { animation: none; }
}

/* ============================================================ Guide page (/guide) */
.nav-links a[aria-current="page"] { color: var(--text); }
.guide-hero {
  padding: 72px 0 40px;
  text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, var(--lime-tint), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.guide-hero h1 { font-size: clamp(36px, 5.4vw, 60px); margin: 0 0 14px; }
.guide-lede { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: 18px; }
.guide-phases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.guide-phases a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 14px 16px;
  text-align: left;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -22px rgba(22, 163, 74, 0.5);
  transition: border-color 0.15s, transform 0.15s;
}
.guide-phases a:hover { border-color: var(--green); transform: translateY(-2px); }
.guide-phases b {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: 16px;
}
.guide-phases span { font-weight: 700; font-size: 15px; line-height: 1.25; }
.guide-phases small { color: var(--muted); font-size: 13px; }

.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 80px; }
.guide-toc { position: sticky; top: 96px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.guide-toc p { margin: 0 0 8px; color: var(--faint); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.guide-toc a:not(.btn) { padding: 10px 12px; min-height: 44px; display: flex; align-items: center; border-left: 2px solid var(--line); color: var(--muted); font-size: 14.5px; font-weight: 500; }
.guide-toc a:not(.btn):hover { color: var(--text); }
.guide-toc a.active { color: var(--green); border-left-color: var(--green); font-weight: 650; }
.guide-toc .btn { margin-top: 18px; }

.guide-content { min-width: 0; max-width: 780px; }
.guide-part { scroll-margin-top: 90px; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.part-head { margin-bottom: 26px; }
.part-num { display: inline-block; color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.part-head h2 { text-align: left; margin: 6px 0 8px; font-size: clamp(28px, 3.4vw, 38px); }
.part-head p { margin: 0; color: var(--muted); font-size: 16.5px; }

.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--lime-soft), var(--line)); }
.step-card { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 20px; padding: 0 0 30px; }
.step-card:last-child { padding-bottom: 0; }
.step-no {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 800;
  font-size: 17px;
  box-shadow: 0 0 0 6px #fff;
}
.step-card h3 { margin: 8px 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.step-card p { margin: 0 0 10px; color: #3f3f46; font-size: 16px; line-height: 1.6; }
.step-card .btn { margin-top: 4px; }
.step-card .note-line { font-size: 14.5px; color: var(--muted); }
.tip-box { margin: 6px 0 10px; padding: 12px 16px; border-radius: 12px; background: var(--lime-tint); border: 1px solid var(--lime-soft); color: var(--green-dark); font-size: 15px; line-height: 1.55; }
.pill-demo { display: inline-block; padding: 1px 10px; border-radius: 99px; font-size: 13px; font-weight: 700; }
.pill-on { color: #15803d; background: #dcfce7; border: 1px solid #bbf7d0; }

.choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 6px 0 12px; }
.choice-grid div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-soft); }
.choice-grid b { color: var(--green); }
.choice-grid span { color: var(--muted); font-size: 14px; line-height: 1.5; }

.check-list, .prompt-list { margin: 4px 0 12px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 5px 0 5px 28px; color: #3f3f46; font-size: 15.5px; line-height: 1.55; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 19px; height: 19px; border-radius: 50%; background: var(--lime-tint); color: var(--green); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.prompt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.prompt-list li { padding: 6px 12px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14px; color: #3f3f46; }

/* Overlay replica */
.overlay-demo {
  margin: 0 0 32px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #1b2420, #0e1110);
  box-shadow: 0 30px 60px -30px rgba(14, 17, 16, 0.6);
  color: #e7ebe9;
  font-size: 13px;
}
.od-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); }
.od-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); margin: 0 4px; }
.od-btn { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.08); font-weight: 600; }
.od-on { background: rgba(101, 206, 20, 0.22); color: #bef264; }
.od-time { margin-left: auto; color: #a1a1aa; font-variant-numeric: tabular-nums; }
.od-stealth { padding: 4px 9px; border-radius: 99px; background: rgba(74, 222, 128, 0.15); color: #4ade80; font-weight: 700; font-size: 12px; }
.od-end { padding: 4px 9px; border-radius: 8px; background: #ef4444; color: #fff; font-weight: 700; }
.od-card { margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.05); }
.od-card p { margin: 0; line-height: 1.55; }
.od-q b { color: #bef264; }
.od-card .od-a { margin-top: 8px; color: #d4d4d8; }
.od-a b { color: #4ade80; }

.flow { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; counter-reset: flow; }
.flow span {
  counter-increment: flow;
  padding: 9px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 15px;
}
.flow span::before { content: counter(flow); display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 6px; background: var(--green); color: #fff; font-size: 12px; }

.tips-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tips-grid article { padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.tips-grid b { font-size: 16px; }
.tips-grid p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.key-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.key-table div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 15.5px; }
.key-table div:nth-child(odd) { background: var(--bg-soft); }
.key-table div span:last-child { display: inline-flex; gap: 4px; flex: none; }

.faq-list details:first-of-type { margin-top: 0; }
.faq-list summary { font-size: 17px; }

.guide-cta { text-align: center; padding: 48px 28px; border-radius: 24px; background: linear-gradient(135deg, var(--lime-tint), #fff 60%); border: 1px solid var(--lime-soft); }
.guide-cta h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 34px); }
.guide-cta p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.guide-cta-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; }
  .guide-toc { display: none; }
  .guide-phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .guide-hero { padding: 48px 0 30px; }
  .guide-phases, .choice-grid, .tips-grid { grid-template-columns: minmax(0, 1fr); }
  .step-card { grid-template-columns: 36px minmax(0, 1fr); gap: 14px; }
  .step-no { width: 36px; height: 36px; font-size: 15px; border-radius: 11px; }
  .steps::before { left: 17px; }
  .key-table div { flex-direction: column; align-items: flex-start; gap: 6px; }
  .od-time { margin-left: 0; width: 100%; }
}

/* Guide: tutorial video */
.guide-video { padding-top: 56px; scroll-margin-top: 80px; }
.guide-video-head { max-width: 760px; margin: 0 auto 24px; text-align: center; }
.guide-video-head h2 { margin: 6px 0 10px; font-size: clamp(28px, 3.4vw, 40px); }
.guide-video-head p { margin: 0; color: var(--muted); font-size: 17px; }
.video-frame { max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; background: #0b0d12; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(14, 17, 16, 0.55); aspect-ratio: 16 / 9; }
.video-frame video { display: block; width: 100%; height: 100%; }
details.transcript { max-width: 1000px; margin: 16px auto 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); padding: 0 20px; }
.transcript summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; }
.transcript p { margin: 0 0 12px; color: var(--muted); line-height: 1.6; }
.transcript p b { color: var(--text); }
details.transcript[open] { padding-bottom: 8px; }
.inline-link { color: var(--green); font-weight: 600; }

/* Pricing page (/pricing, rendered by lib/pricing-page.js) */
.pricing-page { padding-top: 72px; }
.pricing-title { text-align: center; font-size: clamp(36px, 5vw, 56px); margin: 0 0 14px; }
.pricing-sale { text-align: center; max-width: 720px; margin: -28px auto 36px; padding: 10px 16px; border-radius: 12px; background: #fff7e6; border: 1px solid #fcd9a0; color: #7a4a06; }
.pricing-sale .countdown { font-weight: 700; font-variant-numeric: tabular-nums; }
.pricing-facts { margin: 28px 0 64px; padding-left: 20px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.pricing-facts li { margin-bottom: 12px; }
.pricing-facts b { color: var(--text); }
.pricing-more { margin-top: 32px; color: var(--muted); text-align: center; }

/* About page */
.about-hero { padding-top: 72px; }
.about-hero-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.about-intro h1 { text-align: left; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.05; margin: 0 0 18px; }
.about-intro p { color: var(--muted); font-size: 19px; line-height: 1.6; margin: 0; }
.founder-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -36px rgba(14, 17, 16, 0.35); max-width: 380px; justify-self: end; }
.founder-card img { display: block; width: 100%; height: auto; }
.founder-card figcaption { padding: 18px 22px 22px; display: grid; gap: 4px; }
.founder-card b { font-size: 20px; }
.founder-card span { color: var(--text); }
.founder-card .muted { color: var(--muted); }
.about-body h2 { text-align: left; font-size: clamp(26px, 3vw, 34px); margin: 0 0 18px; }
.about-list { margin: 0 0 56px; padding-left: 20px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.about-list li { margin-bottom: 12px; }
.about-list b { color: var(--text); }
.about-contact { color: var(--muted); font-size: 17px; line-height: 1.65; }
@media (max-width: 820px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .founder-card { justify-self: center; }
}
.founder-card .founder-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.founder-card .founder-links a { color: var(--green); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

/* 404 page */
.not-found { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 64px; padding-bottom: 80px; }
.not-found-code { margin: 0; font-size: clamp(72px, 18vw, 140px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--green); }
.not-found h1 { margin: 12px 0 8px; font-size: 32px; letter-spacing: -0.02em; }
.not-found-text { margin: 0 0 28px; color: var(--muted); font-size: 17px; max-width: 460px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Skeleton loaders: grey bars that shimmer where content is still loading. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sk,
.prices-loading [data-price],
.prices-loading [data-each],
.prices-loading [data-regular]:not([hidden]),
.prices-loading [data-save]:not([hidden]) {
  background: linear-gradient(90deg, #ececef 25%, #f7f7f9 45%, #ececef 65%);
  background-size: 300% 100%;
  animation: sk-shimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes sk-shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.sk { display: block; }
.sk-email { width: 62%; height: 18px; margin: 4px 0 20px; }
.sk-label { width: 72%; height: 12px; margin: 4px 0 10px; }
.sk-value { width: 42%; height: 20px; }
.sk-button { height: 52px; border-radius: 12px; margin-top: 10px; }
.sk-inline { display: inline-block; width: 3.5em; height: 0.95em; vertical-align: -0.12em; border-radius: 6px; }
/* Prices keep their size (no layout shift); only the text is hidden. */
.prices-loading [data-price],
.prices-loading [data-each],
.prices-loading [data-regular]:not([hidden]),
.prices-loading [data-save]:not([hidden]) { color: transparent !important; text-decoration-color: transparent; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  .sk, .prices-loading [data-price], .prices-loading [data-each], .prices-loading [data-regular]:not([hidden]), .prices-loading [data-save]:not([hidden]) { animation: none; }
}

/* Animated logo (logo-intro.svg / logo-animated.svg) inside <picture>. */
.logo picture, .final-inner picture { display: inline-flex; flex: none; }
.wait-logo { display: block; margin: 0 0 14px; }

/* Page-change loader (js/nav-loader.js): only on slow page changes. */
.nav-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(255, 255, 255, 0.72); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity 0.18s ease, visibility 0s linear 0.18s; pointer-events: none; }
.nav-loader.show { opacity: 1; visibility: visible; transition: opacity 0.18s ease; }
.nav-loader img { width: 56px; height: 56px; filter: drop-shadow(0 10px 24px rgba(22, 163, 74, 0.28)); }

/* Product Hunt review badge (fixed size, so no layout shift while it loads). */
.ph-badge { display: block; width: 250px; height: 54px; margin: 22px auto 0; border-radius: 10px; transition: transform 0.15s ease; }
.ph-badge:hover { transform: translateY(-2px); }
.ph-badge img, .final-inner .ph-badge img { display: block; width: 250px; height: 54px; margin: 0; }
.ph-badge-hero { margin-top: 26px; }

/* Company legal name (payment gateways check it's on the site). */
.footer-legal { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.account-legal { width: min(440px, 100%); margin: 24px auto 0; text-align: center; border-top: 0; }
