:root {
  --bg: #05070d;
  --bg-soft: #0b0f17;
  --panel: #0d1420;
  --panel-strong: #0a1019;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f7fb;
  --muted: #a5b0c1;
  --primary: #58baff;
  --primary-strong: #2597ff;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --content: 1320px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 108, 56, 0.18), transparent 24%),
    radial-gradient(circle at 18% 14%, rgba(77, 156, 255, 0.16), transparent 22%),
    linear-gradient(180deg, #04060b 0%, #060912 36%, #04060b 100%);
  color: var(--text);
  font: 16px/1.65 "Manrope", system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-shell { position: relative; overflow: hidden; }
.ambient,
.grid-noise { pointer-events: none; position: fixed; inset: 0; }
.ambient-a,
.ambient-b {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
}
.ambient-a {
  width: 24rem;
  height: 24rem;
  top: 12vh;
  left: -8rem;
  background: rgba(76, 151, 255, 0.36);
  animation: floatA 12s ease-in-out infinite;
}
.ambient-b {
  width: 28rem;
  height: 28rem;
  top: 18vh;
  right: -9rem;
  background: rgba(255, 102, 41, 0.28);
  animation: floatB 14s ease-in-out infinite;
}
.grid-noise {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(circle at center, black 18%, transparent 80%);
}

.site-header,
.section-pad,
.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 22px 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 82px;
  height: 82px;
  border-radius: 14px;
}

.brand strong {
  display: block;
  font: 700 1.08rem/1 "Archivo", sans-serif;
  letter-spacing: -0.03em;
}

.brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .84rem;
}

.site-nav,
.header-actions,
.cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-nav {
  gap: 32px;
  margin-right: auto;
}

.ghost-button,
.primary-button,
.oauth-button,
.auth-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font: 700 .92rem/1 "Manrope", sans-serif;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, color .22s ease, box-shadow .22s ease;
}

.ghost-button,
.oauth-button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.primary-button {
  border: 1px solid rgba(116, 188, 255, 0.32);
  background: linear-gradient(135deg, rgba(88,186,255,.24), rgba(37,151,255,.34));
  color: var(--text);
  box-shadow: 0 16px 40px rgba(37, 151, 255, 0.18);
}

.ghost-button:hover,
.primary-button:hover,
.oauth-button:hover,
.auth-tabs button:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.wide { width: 100%; }
.section-pad { padding: 18px 0; }
.compact-top { padding-top: 16px; }
.why-verth { padding-top: 66px; }
.hero { padding-top: 40px; }

.hero-grid,
.card-grid,
.split-panel,
.plan-grid,
.story-grid,
.site-footer,
.auth-panel {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.82fr);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
  padding-top: 20px;
}

.hero-copy h1,
.page-intro h1,
.section-title h2,
.auth-copy h2,
.account-panel h2 {
  margin: 0 0 18px;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  max-width: 10.5ch;
  font-size: clamp(3.25rem, 5.6vw, 5.2rem);
  line-height: 0.94;
  text-wrap: balance;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  color: rgba(255,255,255,.8);
  font: 700 .92rem/1.2 "Manrope", sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.hero-meta span {
  color: var(--primary);
  opacity: .9;
}

.hero-copy p,
.page-intro p,
.section-title p,
.panel-card p,
.split-copy p,
.plan-card p,
.quote-card p,
.footer-brand p,
.auth-copy p,
.account-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.site-legal-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 22px auto 24px;
  padding: 0 0 10px;
}

.site-legal-footer p {
  margin: 0;
  color: rgba(255,255,255,.46);
  font: 500 .82rem/1.4 "Manrope", sans-serif;
  letter-spacing: .01em;
}

.site-status-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  padding: 12px 20px;
  border-top: 1px solid rgba(88, 186, 255, 0.18);
  background: linear-gradient(90deg, rgba(10, 15, 23, 0.96), rgba(17, 24, 38, 0.96));
  z-index: 80;
}

.site-status-bar p {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  color: rgba(255,255,255,.72);
  text-align: center;
  font: 600 .92rem/1.4 "Manrope", sans-serif;
  letter-spacing: .01em;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end center;
  padding: 24px;
  background: rgba(3, 6, 10, 0.42);
  backdrop-filter: blur(10px);
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-card {
  width: min(100%, 720px);
  padding: 22px 24px;
  border: 1px solid rgba(88, 186, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 18, 29, 0.98), rgba(8, 12, 19, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.cookie-card h2 {
  margin: 8px 0 10px;
  font: 800 clamp(1.35rem, 3vw, 2rem)/1 "Archivo", sans-serif;
  letter-spacing: -0.03em;
}

.cookie-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

body {
  padding-bottom: 56px;
}

.hero-copy p {
  margin-bottom: 18px;
}

.hero-logo-stack,
.panel-card,
.plan-card,
.quote-card,
.split-panel,
.footer-brand,
.footer-columns section,
.auth-panel,
.auth-card,
.auth-tabs,
.auth-form,
.oauth-row,
.account-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(10, 15, 23, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-logo-stack {
  min-height: 560px;
  padding: 34px 34px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 40px;
  background:
    radial-gradient(circle at 74% 16%, rgba(255, 191, 130, 0.16), transparent 30%),
    radial-gradient(circle at 30% 80%, rgba(255, 58, 116, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 23, 38, 0.94), rgba(10, 12, 22, 0.98));
}

.hero-logo-stack::before,
.hero-logo-stack::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
}

.hero-logo-stack::before {
  width: 340px;
  height: 340px;
  top: -100px;
  right: -50px;
  background: rgba(92, 180, 255, 0.24);
}

.hero-logo-stack::after {
  width: 300px;
  height: 300px;
  bottom: -120px;
  left: -90px;
  background: rgba(255, 86, 44, 0.18);
}

.hero-logo-stack img {
  width: min(520px, 100%);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.35));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .16em;
  font: 700 .74rem/1 "Manrope", sans-serif;
}

.section-title {
  max-width: 780px;
  margin-bottom: 26px;
}

.section-title h2,
.page-intro h1,
.auth-copy h2,
.account-panel h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.96;
}

.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-footer { grid-template-columns: 1.1fr 1fr; }

.panel-card,
.plan-card,
.quote-card,
.footer-brand,
.footer-columns section,
.account-panel {
  padding: 28px;
}

.panel-card {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
  transform-origin: center;
}

.panel-card:hover {
  transform: translateY(-4px) scale(1.025);
  border-color: rgba(88, 186, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(88, 186, 255, 0.12),
    0 0 28px rgba(88, 186, 255, 0.18),
    0 18px 44px rgba(7, 15, 28, 0.44);
  background: linear-gradient(180deg, rgba(13, 20, 32, 0.92), rgba(9, 14, 23, 0.88));
}

.split-panel {
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background .24s ease;
  transform-origin: center;
}

.split-panel:hover {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(88, 186, 255, 0.38);
  box-shadow:
    0 0 0 1px rgba(88, 186, 255, 0.1),
    0 0 34px rgba(88, 186, 255, 0.16),
    0 20px 48px rgba(7, 15, 28, 0.46);
  background: linear-gradient(180deg, rgba(12, 18, 29, 0.9), rgba(9, 14, 23, 0.86));
}

.panel-card h3,
.plan-card h3,
.quote-card h3,
.split-copy h3 {
  margin: 0 0 12px;
  font: 700 1.4rem/1.08 "Archivo", sans-serif;
  letter-spacing: -0.025em;
}

.split-panel {
  grid-template-columns: 420px minmax(0, 1fr);
  padding: 28px;
}

.code-window {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(3, 7, 13, 0.92);
  color: #b6d9ff;
  font: 500 .98rem/1.8 "JetBrains Mono", "Consolas", monospace;
  white-space: pre-wrap;
}

.plan-card.featured {
  transform: translateY(-8px);
  border-color: rgba(116, 188, 255, 0.28);
  background: linear-gradient(180deg, rgba(14, 24, 39, 0.92), rgba(7, 11, 19, 0.98));
}

.plan-price,
.quote-mark {
  display: inline-block;
  margin-bottom: 16px;
  font: 800 2.7rem/1 "Archivo", sans-serif;
  letter-spacing: -0.035em;
}

.quote-mark { color: rgba(88, 186, 255, 0.88); }

.plan-card ul,
.footer-columns ul,
.auth-points {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.plan-card li,
.footer-columns li,
.auth-points li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
  color: var(--muted);
}

.plan-card li::before,
.footer-columns li::before,
.auth-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--primary);
}

.site-footer { padding: 52px 0 88px; }
.footer-brand img { width: 50px; height: 50px; margin-bottom: 14px; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.footer-columns h3 {
  margin: 0 0 14px;
  font: 700 1.02rem/1 "Archivo", sans-serif;
  letter-spacing: -0.02em;
}

.page-intro { max-width: 760px; }

.auth-modal { position: fixed; inset: 0; z-index: 80; }
.auth-backdrop { position: absolute; inset: 0; background: rgba(2, 5, 10, 0.78); backdrop-filter: blur(8px); }
.auth-panel {
  z-index: 1;
  width: min(calc(100% - 28px), 980px);
  margin: 8vh auto 0;
  padding: 28px;
  grid-template-columns: 1fr .92fr;
  background: linear-gradient(180deg, rgba(10, 15, 24, 0.98), rgba(5, 8, 14, 0.98));
}
.auth-close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 2rem;
  cursor: pointer;
}
.auth-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}
.auth-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.auth-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-forms { display: grid; gap: 14px; }
.auth-tabs { display: flex; padding: 6px; }
.auth-tabs button {
  flex: 1;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
}
.auth-tabs button.is-active {
  color: var(--text);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
}
.oauth-row {
  display: grid;
  gap: 12px;
  padding: 14px;
}
.auth-form {
  display: none;
  gap: 14px;
  padding: 18px;
}
.auth-form.is-active { display: grid; }
.auth-form label { display: grid; gap: 8px; color: var(--muted); }
.auth-form input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(4, 8, 14, 0.92);
  color: var(--text);
  font: inherit;
}
.auth-status { min-height: 24px; color: var(--muted); }
.auth-status.is-error { color: #ff9aaa; }
.auth-status.is-ok { color: #8deab8; }

.account-shell {
  width: min(100%, 860px);
}

.account-panel {
  max-width: 860px;
}

@keyframes floatA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(36px, 40px, 0) scale(1.12); }
}

@keyframes floatB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-28px, 50px, 0) scale(1.08); }
}

@media (max-width: 1180px) {
  .hero-grid,
  .split-panel,
  .site-footer,
  .auth-panel {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .plan-grid,
  .story-grid,
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-logo-stack {
    min-height: 480px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .site-shell {
    overflow-x: hidden;
  }

  .site-header,
  .section-pad,
  .site-footer,
  .site-legal-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-status-bar p {
    width: min(calc(100% - 24px), var(--content));
  }

  .cookie-modal {
    padding: 16px;
    place-items: end stretch;
  }

  .cookie-card {
    width: 100%;
    padding: 18px;
  }

  .site-header {
    position: relative;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 12px;
    gap: 12px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .site-nav {
    order: 2;
    width: 100%;
    gap: 18px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
    font-size: .95rem;
  }

  .header-actions {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .header-actions .ghost-button,
  .header-actions .primary-button {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 8px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10.5vw, 3.4rem);
    max-width: 9ch;
    margin-bottom: 14px;
  }

  .hero-meta {
    gap: 8px;
    font-size: .72rem;
    margin-bottom: 14px;
  }

  .hero-copy p,
  .section-title p,
  .split-copy p,
  .panel-card p {
    font-size: .98rem;
  }

  .hero-logo-stack {
    min-height: 320px;
    padding: 20px;
  }

  .card-grid,
  .plan-grid,
  .story-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    width: min(calc(100% - 16px), 980px);
    margin-top: 3vh;
    padding: 20px;
  }

  .split-panel {
    padding: 18px;
    gap: 18px;
  }

  .code-window {
    padding: 18px;
    font-size: .84rem;
    line-height: 1.65;
  }
}
