/* Google Sans, self-hosted.
   Not loaded from fonts.googleapis.com on purpose: the CDN would send every
   visitor's IP to Google, which contradicts the privacy policy's claim that
   the site makes no third-party requests. */

@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/google-sans-400-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: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/google-sans-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/google-sans-500-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: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/google-sans-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/google-sans-700-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: 'Google Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/google-sans-700-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #07070c;
  --panel: #0e0e18;
  --line: #262636;
  --text: #e6e6f0;
  --dim: #8b8ba3;
  --accent: #00e5ff;
  --accent2: #ff2fd6;
  --bad: #ff4d6a;
  --good: #25ffa0;
  /* Body and UI. */
  --font: "Google Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Big bold headings stay on the system stack, as before. Google Sans stops
     at 700, so display sizes keep the weight the platform face can give them. */
  --font-display: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

/* The UA stylesheet's `[hidden] { display: none }` loses to any author rule
   that sets `display`, so `el.hidden = true` silently does nothing on things
   like .plan (display:flex). Make it stick. */
[hidden] { display: none !important; }

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: var(--accent); }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 440px; }
.prose { max-width: 720px; }

/* ------------------------------------------------------------------- nav */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(7, 7, 12, 0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.brand {
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand .dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}
.nav-links { display: flex; gap: 18px; align-items: center; font-size: 14px; }
.nav-links a { color: var(--dim); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* ----------------------------------------------------------------- hero */

/* Everything big and bold keeps the system stack. */
h1,
.plan .price {
  font-family: var(--font-display);
}

.hero { padding: 84px 0 60px; text-align: center; }
.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: var(--dim); font-size: 18px; max-width: 56ch; margin: 0 auto 32px; }

.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #17172a;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s, transform .1s;
}
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(96deg, var(--accent), #4bc8ff);
  border-color: transparent;
  color: #04121a;
  font-weight: 620;
}
.btn.primary:hover { filter: brightness(1.08); }
.btn.block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ghost { background: none; }

/* --------------------------------------------------------------- content */

.hero-note { color: #55556c; font-size: 13.5px; margin: 16px 0 0; }

/* ------------------------------------------------------------- showcase */

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 44px;
  align-items: center;
  padding: 30px 0 70px;
}
.showcase-stage { display: flex; justify-content: center; }
#preview-canvas {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 0 70px rgba(0, 229, 255, 0.09);
  display: block;
}
.showcase-copy h2 { font-size: 26px; letter-spacing: -0.025em; margin: 0 0 14px; text-wrap: balance; }
.showcase-copy p { color: var(--dim); margin: 0 0 14px; max-width: 52ch; }
.showcase-copy .btn { margin-top: 8px; }

/* --------------------------------------------------------- inside the app */

.inside { padding: 20px 0 70px; border-top: 1px solid var(--line); }
.inside h2 { font-size: 26px; letter-spacing: -0.025em; margin: 34px 0 12px; text-wrap: balance; }
.inside-lede { color: var(--dim); margin: 0 0 30px; max-width: 60ch; }

.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }

/* A faithful rebuild of the real control panels — sharper than a screenshot,
   theme-aware, and impossible to leave out of date as an image would be. */
.panel-shot {
  background: rgba(16, 16, 26, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px 18px;
  font-size: 12.5px;
}
.ps-head { font-weight: 620; font-size: 14px; margin-bottom: 12px; }
.ps-group {
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); font-weight: 600; margin: 14px 0 9px;
  border-top: 1px solid var(--line); padding-top: 11px;
}
.ps-group:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.ps-row { display: grid; grid-template-columns: 84px 1fr 42px; align-items: center; gap: 8px; margin-bottom: 9px; }
.ps-row span { color: var(--dim); }
.ps-row b { text-align: right; font-weight: 400; font-variant-numeric: tabular-nums; font-size: 11.5px; }
.ps-row i {
  height: 4px; border-radius: 99px; position: relative;
  background: #2a2a3c; display: block;
}
.ps-row i::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: var(--v); background: var(--accent); border-radius: 99px;
}
.ps-row i::before {
  content: ""; position: absolute; left: var(--v); top: 50%;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: var(--accent); border-radius: 50%;
}
.ps-toggle {
  width: 30px; height: 17px; border-radius: 99px; background: #2a2a3c;
  position: relative; display: block; justify-self: start;
}
.ps-toggle::after {
  content: ""; position: absolute; width: 11px; height: 11px; top: 3px; left: 3px;
  border-radius: 50%; background: #8b8ba3;
}
.ps-toggle.on { background: rgba(0, 229, 255, .28); }
.ps-toggle.on::after { left: 16px; background: var(--accent); }

.ps-presets { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ps-presets span {
  display: flex; align-items: center; gap: 6px;
  background: #14141f; border: 1px solid var(--line);
  border-radius: 7px; padding: 5px 8px; color: var(--dim); font-size: 11px;
}
.ps-presets i { width: 7px; height: 12px; border-radius: 1px; display: block; }
.ps-presets i + i { margin-left: -3px; }

.ps-swatches { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.ps-swatches i { height: 26px; border-radius: 4px; display: block; border: 1px solid var(--line); }

@media (max-width: 780px) {
  .showcase { grid-template-columns: 1fr; gap: 26px; padding-bottom: 50px; }
  .showcase-copy { text-align: center; }
  .showcase-copy p { margin-left: auto; margin-right: auto; }
}

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; padding: 30px 0 70px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.feature h3 { margin: 0 0 8px; font-size: 15.5px; }
.feature p { margin: 0; color: var(--dim); font-size: 14px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  max-width: 720px;
  margin: 0 auto;
  align-items: start;
}
.plan { text-align: center; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(0, 229, 255, .45); }
.plan .badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #04121a; font-size: 11px; font-weight: 650;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 99px; white-space: nowrap;
}
.plan-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--dim); letter-spacing: .02em; }
.plan .price { font-size: 42px; font-weight: 660; letter-spacing: -0.03em; margin: 8px 0 2px; }
.plan .per { color: var(--dim); font-size: 14px; margin-bottom: 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--dim); font-size: 14.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--good); }

/* ----------------------------------------------------------------- forms */

.form-page { padding: 60px 0 80px; }
.form-page h1 { font-size: 26px; margin: 0 0 6px; letter-spacing: -0.02em; }
.form-page .sub { color: var(--dim); font-size: 14.5px; margin: 0 0 26px; }

label { display: block; font-size: 13px; color: var(--dim); margin: 0 0 6px; }
.field { margin-bottom: 16px; }
input[type=email], input[type=password], input[type=text] {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: #101019;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
input:focus { outline: none; border-color: var(--accent); }

.msg { border-radius: 9px; padding: 10px 13px; font-size: 14px; margin-bottom: 16px; display: none; }
.msg.show { display: block; }
.msg.error { background: rgba(255, 77, 106, .12); border: 1px solid rgba(255, 77, 106, .4); color: #ffb3c0; }
.msg.info { background: rgba(0, 229, 255, .1); border: 1px solid rgba(0, 229, 255, .35); color: #b6f2ff; }

.alt { text-align: center; color: var(--dim); font-size: 14px; margin-top: 20px; }

/* ---------------------------------------------------------------- status */

.pill { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12.5px; border: 1px solid var(--line); }
.pill.active { color: var(--good); border-color: rgba(37,255,160,.4); background: rgba(37,255,160,.1); }
.pill.none { color: var(--dim); }
.pill.warn { color: #ffcf6a; border-color: rgba(255,207,106,.4); background: rgba(255,207,106,.1); }

.rows { border-top: 1px solid var(--line); margin-top: 20px; }
.rows .r { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rows .r span:first-child { color: var(--dim); }

/* ---------------------------------------------------------------- footer */

.footer {
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding: 26px 22px 50px;
  color: #55556c;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: #7a7a95; text-decoration: none; }
.footer a:hover { color: var(--text); }

.banner {
  background: rgba(255, 207, 106, .12);
  border-bottom: 1px solid rgba(255, 207, 106, .3);
  color: #ffcf6a;
  font-size: 13.5px;
  padding: 10px 22px;
  text-align: center;
}

@media (max-width: 640px) {
  .hero { padding: 54px 0 40px; }
  .nav { padding: 14px 16px; }
  .nav-links { gap: 13px; font-size: 13.5px; }
  .wrap { padding: 0 16px; }
}
