:root {
  --bg: #0b0a13;
  --bg-alt: #100e1c;
  --surface: #161425;
  --surface-2: #1d1a33;
  --field-bg: #1a1830;
  --ink: #f5f4fb;
  --muted: #ada9c7;
  --muted-2: #8b87a8;
  --line: #2b2846;
  --line-soft: #211f3a;
  --accent: #8b5cf6;
  --accent-hover: #7c3aed;
  --accent-soft: rgba(139, 92, 246, 0.16);
  --accent-2: #ec4899;
  --accent-3: #22d3ee;
  --gold: #f2c14e;
  --gold-soft: rgba(242, 193, 78, 0.14);
  --ok: #34d399;
  --ok-bg: rgba(52, 211, 153, 0.14);
  --warn: #fbbf24;
  --warn-bg: rgba(251, 191, 36, 0.12);
  --err: #f87171;
  --err-bg: rgba(248, 113, 113, 0.14);
  --pending: #c4b5fd;
  --pending-bg: rgba(139, 92, 246, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  --shadow-sm: 0 3px 12px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --max: 1120px;
  --header-h: 72px;
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.65, 0.3, 1);
  --prism: linear-gradient(135deg, #8b5cf6 0%, #ec4899 55%, #22d3ee 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
  flex-shrink: 0;
}

[hidden] {
  display: none !important;
}

a {
  color: var(--accent-3);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: #0b0a13;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 8px;
  font-weight: 700;
}

.skip-link:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

/* ---------- Logo / brand mark ---------- */

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #0c0a18;
  border: 1px solid var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35);
  overflow: hidden;
}

.brand-mark svg {
  width: 68%;
  height: 68%;
}

.brand-wordmark {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-wordmark .vip {
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 19, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 10, 19, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
  font-size: 1.02rem;
}

.brand:hover {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a:not(.btn) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav a:not(.btn):hover {
  color: var(--ink);
  background: var(--surface-2);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: #fff;
  background: var(--accent-soft);
}

.nav .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav .nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.nav a.btn-primary {
  color: #fff;
}

.nav a.btn-ghost {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 9px 12px;
  font: inherit;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--accent);
  color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 11px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
  font-family: inherit;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), filter 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--prism);
  color: #fff;
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(139, 92, 246, 0.48);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1.02rem;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Hero ---------- */

.hero {
  padding: 76px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -25% -10% auto -10%;
  height: 560px;
  background:
    radial-gradient(560px 300px at 12% 15%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(480px 260px at 90% 5%, rgba(34, 211, 238, 0.2), transparent 70%),
    radial-gradient(420px 260px at 55% 45%, rgba(236, 72, 153, 0.16), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.76rem;
  background: var(--gold-soft);
  border: 1px solid rgba(242, 193, 78, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.05rem);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
}

.lede {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 28px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-item svg {
  color: var(--accent-3);
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}

.card-hover:hover {
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.18);
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
}

.price-card {
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--prism);
}

.price-card .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  color: var(--muted);
}

.price-card .row strong {
  color: var(--ink);
}

.price-card .total {
  border-top: 1px dashed var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}

.price-card .total strong {
  background: var(--prism);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

/* ---------- Sections ---------- */

.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line-soft);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* Feature cards */

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-3);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

article.card h3 {
  font-size: 1.08rem;
}

article.card p {
  margin: 0;
  color: var(--muted);
}

/* Steps */

.steps {
  counter-reset: step;
  position: relative;
}

.step {
  position: relative;
}

.step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step h3::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--prism);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.steps-footnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--pending-bg);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-sm);
  color: #ded9ff;
}

.steps-footnote svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.steps-footnote p {
  margin: 0;
}

/* Table */

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--ink);
}

thead th {
  background: var(--surface-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--surface-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* FAQ */

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  margin-bottom: 10px;
  transition: border-color 0.15s var(--ease);
}

.faq details[open] {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  padding: 16px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: currentColor;
  color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 60%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 60%;
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(180deg);
}

.faq details p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 28px;
  color: var(--muted);
  background: var(--bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.footer-grid strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-grid p {
  margin: 8px 0 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: #fff;
}

.site-footer hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 28px 0 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.85rem;
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 650;
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--ink);
}

.field {
  position: relative;
  display: grid;
}

.field svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-2);
  pointer-events: none;
}

.field input {
  padding-left: 40px;
}

.field-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: inherit;
}

.field-toggle:hover {
  color: #fff;
  background: var(--surface-2);
}

.field.has-toggle input {
  padding-right: 42px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 12px;
  font: inherit;
  background: var(--field-bg);
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

input:hover,
textarea:hover,
select:hover {
  border-color: #423d63;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: var(--err);
}

.form-hint {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted-2);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 500;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--muted);
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-foot {
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Notices ---------- */

.notice {
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
}

.notice svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-info {
  background: var(--pending-bg);
  border-color: rgba(139, 92, 246, 0.35);
  color: #ded9ff;
}

.notice-ok {
  background: var(--ok-bg);
  border-color: rgba(52, 211, 153, 0.35);
  color: var(--ok);
}

.notice-warn {
  background: var(--warn-bg);
  border-color: rgba(251, 191, 36, 0.35);
  color: var(--warn);
}

.notice-err {
  background: var(--err-bg);
  border-color: rgba(248, 113, 113, 0.35);
  color: var(--err);
}

.status-list {
  display: grid;
  gap: 8px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--surface-2);
  color: var(--ink);
}

/* ---------- Auth split layout ---------- */

.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
}

.auth-visual {
  background:
    radial-gradient(600px 320px at 15% 10%, rgba(139, 92, 246, 0.35), transparent 60%),
    radial-gradient(500px 300px at 90% 85%, rgba(34, 211, 238, 0.25), transparent 65%),
    linear-gradient(160deg, #0b0a13, #1a1330 60%, #170c22 130%);
  color: #fff;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid var(--line-soft);
}

.auth-visual > * {
  position: relative;
  z-index: 1;
}

.auth-visual .brand-mark {
  margin-bottom: 24px;
}

.auth-visual-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-visual-brand .brand-wordmark {
  font-size: 1.15rem;
  color: #fff;
}

.auth-visual h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  max-width: 22ch;
  color: #fff;
}

.auth-visual p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 38ch;
}

.auth-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.auth-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.auth-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #34d399;
}

.auth-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.auth-box {
  width: 100%;
  max-width: 420px;
}

.auth-box .kicker {
  margin-bottom: 8px;
}

.auth-box h1 {
  font-size: clamp(1.7rem, 3vw, 2.1rem);
}

.auth-box > p.muted {
  margin-top: -6px;
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.back-link:hover {
  color: #fff;
  text-decoration: none;
}

/* ---------- Legal / static content pages ---------- */

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--muted-2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

.legal-body {
  display: grid;
  gap: 16px;
}

.legal-body h2 {
  font-size: 1.15rem;
  margin-top: 8px;
}

.legal-body p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-info .card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info .card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info .card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- App shell (client / admin) ---------- */

.app-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  border-right: 1px solid var(--line-soft);
  background: var(--bg-alt);
  padding: 22px 14px;
}

.sidebar .kicker {
  margin-left: 12px;
}

.sidebar nav {
  display: grid;
  gap: 2px;
}

.sidebar a {
  display: block;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}

.sidebar a:hover,
.sidebar a[aria-current="page"] {
  background: var(--accent-soft);
  color: #fff;
  text-decoration: none;
}

.app-main {
  padding: 28px 24px 56px;
}

.theme-admin {
  --bg: #060509;
  --bg-alt: #0a0910;
  --surface: #0f0e17;
  --surface-2: #16141f;
  --field-bg: #12111b;
  --ink: #f2f1f8;
  --muted: #93909f;
  --line: #201f2c;
  --line-soft: #191822;
}

.pending-flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--warn);
  background: var(--warn-bg);
  border: 1px solid rgba(251, 191, 36, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------- Utilities ---------- */

.text-center {
  text-align: center;
}

.mx-auto {
  margin-inline: auto;
}

.stack-sm {
  display: grid;
  gap: 8px;
}

.stack {
  display: grid;
  gap: 16px;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .contact-grid,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    padding: 40px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .auth-form-side {
    padding: 40px 20px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav a:not(.btn) {
    padding: 12px 10px;
  }

  .nav .nav-cta {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 12px;
    margin-top: 8px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav .nav-cta .btn {
    width: 100%;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .hero {
    padding: 44px 0 32px;
  }

  .section {
    padding: 44px 0;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .price-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
