:root {
  color-scheme: dark;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", Consolas, ui-monospace, monospace;

  --radius-panel: 16px;
  --radius-card: 12px;
  --radius-ctrl: 9px;
  --radius-sm: 7px;
  --radius-xs: 6px;

  /* Surface Hierarchy — Warm Carbon Studio */
  --bg: #0A090D;
  --bg-ambient:
    radial-gradient(ellipse 68% 44% at 14% -6%, rgba(244, 107, 73, 0.12), transparent 62%),
    radial-gradient(ellipse 62% 40% at 88% -4%, rgba(168, 136, 220, 0.11), transparent 60%),
    radial-gradient(ellipse 52% 36% at 50% 106%, rgba(242, 178, 73, 0.055), transparent 65%);
  --viewport-bg: #0D0C12;
  --surface: #141319;
  --surface-2: #1D1B24;
  --surface-elevated: #272432;
  --surface-hover: #302C3D;
  --input-bg: #100F15;
  --topbar-bg: rgba(16, 15, 21, 0.90);

  /* Crisp Borders & Specular Overhead Rim */
  --border: rgba(255, 245, 238, 0.125);
  --border-strong: rgba(255, 245, 238, 0.21);
  --border-hover: rgba(244, 107, 73, 0.45);
  --highlight-top: inset 0 1px 0 rgba(255, 248, 242, 0.06);

  /* Text */
  --text: #F5F2EE;
  --text-secondary: #C8C1BA;
  --muted: #938C87;

  /* Brand Accents (derived from assets/logo.png) */
  --accent: #F66E4C;
  --accent-hover: #FF8263;
  --accent-fg: #140D0B;
  --accent-bg: rgba(246, 110, 76, 0.14);
  --accent-border: rgba(246, 110, 76, 0.42);
  --accent-glow: rgba(246, 110, 76, 0.24);

  --accent-2: #F2B249;
  --accent-2-bg: rgba(242, 178, 73, 0.14);
  --accent-2-border: rgba(242, 178, 73, 0.34);

  --accent-3: #B599EB;
  --accent-3-bg: rgba(168, 136, 220, 0.15);
  --accent-3-border: rgba(181, 153, 235, 0.34);

  --success: #82D69E;
  --success-bg: rgba(130, 214, 158, 0.14);
  --success-border: rgba(130, 214, 158, 0.28);

  --btn-primary-bg: var(--accent);
  --btn-primary-hover: var(--accent-hover);
  --btn-primary-fg: var(--accent-fg);
  --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 6px 20px rgba(246, 110, 76, 0.26);

  --badge-bg: rgba(255, 247, 240, 0.07);
  --badge-fg: #E2DCD6;
  --badge-border: rgba(255, 247, 240, 0.14);

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.48), 0 12px 30px rgba(0, 0, 0, 0.42);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.28);
  --shadow-stage: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 247, 240, 0.10);

  --focus-ring: rgba(246, 110, 76, 0.78);
  --focus-glow: rgba(246, 110, 76, 0.18);
}

body.theme-light {
  color-scheme: light;

  /* Surface Hierarchy — Warm Matte Studio Paper */
  --bg: #DDD6C9;
  --bg-ambient:
    radial-gradient(ellipse 68% 48% at 12% -6%, rgba(252, 112, 76, 0.15), transparent 60%),
    radial-gradient(ellipse 62% 45% at 88% -4%, rgba(168, 136, 220, 0.16), transparent 58%),
    radial-gradient(ellipse 58% 40% at 50% 106%, rgba(252, 184, 72, 0.13), transparent 62%);
  --viewport-bg: #D4CCBD;
  --surface: #F0EBE1;
  --surface-2: #E4DDD0;
  --surface-elevated: #F7F3EA;
  --surface-hover: #DBD3C4;
  --input-bg: #F9F5EC;
  --topbar-bg: rgba(235, 229, 217, 0.90);

  --border: rgba(36, 30, 34, 0.16);
  --border-strong: rgba(36, 30, 34, 0.26);
  --border-hover: rgba(212, 71, 36, 0.50);
  --highlight-top: inset 0 1px 0 rgba(255, 252, 245, 0.70);

  --text: #201C20;
  --text-secondary: #433D42;
  --muted: #665F63;

  --accent: #D44724;
  --accent-hover: #BD3B1A;
  --accent-fg: #FFFBF7;
  --accent-bg: rgba(212, 71, 36, 0.12);
  --accent-border: rgba(212, 71, 36, 0.44);
  --accent-glow: rgba(212, 71, 36, 0.18);

  --accent-2: #9C5A05;
  --accent-2-bg: rgba(242, 178, 73, 0.24);
  --accent-2-border: rgba(156, 90, 5, 0.34);

  --accent-3: #6D49B8;
  --accent-3-bg: rgba(168, 136, 220, 0.18);
  --accent-3-border: rgba(109, 73, 184, 0.34);

  --success: #1D7A47;
  --success-bg: rgba(29, 122, 71, 0.13);
  --success-border: rgba(29, 122, 71, 0.28);

  --btn-primary-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 6px 18px rgba(212, 71, 36, 0.24);

  --badge-bg: #E2DACB;
  --badge-fg: #2E292E;
  --badge-border: rgba(36, 30, 34, 0.18);

  --shadow-sm: 0 2px 6px rgba(36, 30, 34, 0.08), 0 12px 30px rgba(36, 30, 34, 0.09);
  --shadow-card: 0 1px 3px rgba(36, 30, 34, 0.08);
  --shadow-stage: 0 20px 48px rgba(36, 30, 34, 0.22), 0 2px 8px rgba(36, 30, 34, 0.12);

  --focus-ring: rgba(212, 71, 36, 0.72);
  --focus-glow: rgba(212, 71, 36, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-ambient), var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 15px;
  line-height: 1.56;
  letter-spacing: -0.005em;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.ico {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}
.ico-sm {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 62px;
  background: var(--topbar-bg);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
}
.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #FC704C 0%, #FCB848 34%, #A888DC 68%, #98DCA8 100%);
  opacity: 0.82;
  pointer-events: none;
}
body.theme-light .topbar::before { opacity: 0.92; }

.topbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand::before {
  content: "";
  position: absolute;
  inset: -6px -10px;
  border-radius: 999px;
  background: radial-gradient(
    ellipse 62% 56% at 50% 52%,
    rgba(255, 246, 238, 0.18) 0%,
    rgba(244, 107, 73, 0.07) 52%,
    transparent 76%
  );
  pointer-events: none;
}
body.theme-light .brand::before { display: none; }
.brand-logo {
  position: relative;
  z-index: 1;
  height: 36px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 0 1px rgba(255, 248, 240, 0.68))
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.45));
  transition: transform 0.16s ease;
}
.brand-logo:hover { transform: translateY(-0.5px); }
body.theme-light .brand-logo { filter: none; height: 35px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
body.theme-light .site-nav a:hover,
body.theme-light .site-nav a.active {
  background: rgba(36, 32, 36, 0.06);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.icon-pill-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-ctrl);
  cursor: pointer;
  box-shadow: var(--highlight-top);
  transition: background 0.15s, border-color 0.15s;
}
.icon-pill-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}
.nav-toggle { display: none; }

/* BUTTONS */
.btn {
  border: none;
  border-radius: var(--radius-ctrl);
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.985); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-glow), 0 0 0 1px var(--focus-ring);
}
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  box-shadow: var(--btn-primary-shadow);
}
.btn-primary:hover { background: var(--btn-primary-hover); }
.btn-glass {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border-strong);
  box-shadow: var(--highlight-top);
}
.btn-glass:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn-lg { min-height: 46px; padding: 0 22px; font-size: 14.5px; }
.btn-block { width: 100%; }
.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.hidden { display: none !important; }

/* TOPBAR ACCOUNT PILL */
.account-pill-btn {
  height: 36px;
  max-width: 220px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-ctrl);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--highlight-top);
  transition: background 0.15s, border-color 0.15s;
}
.account-pill-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
}
.account-pill-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--focus-glow), 0 0 0 1px var(--focus-ring);
}
.account-btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-plan-chip {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--muted);
}
.account-plan-chip.is-pro {
  background: var(--accent-2-bg);
  border-color: var(--accent-2-border);
  color: var(--accent-2);
}

/* HERO SECTION */
.hero {
  padding: 48px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 44px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 4px 11px;
  border-radius: var(--radius-xs);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.032em;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 26px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust svg { color: var(--success); }

/* INTERACTIVE 9:16 STUDIO PREVIEW */
.demo-shell {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-stage {
  display: flex;
  flex-direction: column;
  background: var(--viewport-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  overflow: hidden;
  box-shadow: var(--shadow-sm), var(--highlight-top);
}
.demo-hud {
  height: 40px;
  padding: 0 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.demo-hud-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
}
.demo-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.demo-hud-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hud-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}
.hud-framing-chip {
  background: var(--accent-3-bg);
  border-color: var(--accent-3-border);
  color: var(--accent-3);
  font-weight: 600;
}

.demo-viewport {
  position: relative;
  padding: 22px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(rgba(255, 247, 240, 0.055) 1px, transparent 1px);
  background-size: 20px 20px;
}
body.theme-light .demo-viewport {
  background-image: radial-gradient(rgba(36, 32, 36, 0.085) 1px, transparent 1px);
}
.demo-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 107, 73, 0.14) 0%, rgba(169, 138, 222, 0.05) 50%, transparent 72%);
  pointer-events: none;
}

.demo-phone {
  position: relative;
  z-index: 1;
  width: 230px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-card);
  background: #000;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-stage);
  overflow: hidden;
}
.demo-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.demo-media-box {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: aspect-ratio 0.2s ease, height 0.2s ease;
}
.demo-screen.framing-full .demo-media-box { width: 100%; height: 100%; }
.demo-screen.framing-landscape .demo-media-box { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.demo-screen.framing-square .demo-media-box { width: 100%; height: auto; aspect-ratio: 1 / 1; }
.demo-screen:not(.framing-full) .demo-media-box {
  border-top: 1px solid rgba(255, 247, 240, 0.09);
  border-bottom: 1px solid rgba(255, 247, 240, 0.09);
}

.demo-backdrop {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 28% 34%, rgba(246, 110, 76, 0.52), transparent 55%),
    radial-gradient(circle at 76% 68%, rgba(145, 92, 225, 0.45), transparent 56%),
    linear-gradient(155deg, #16131D 0%, #241926 52%, #0F131A 100%);
  transition: filter 0.35s ease, transform 0.55s ease;
}
.demo-backdrop.cut-1 {
  background:
    radial-gradient(circle at 72% 28%, rgba(242, 178, 73, 0.50), transparent 54%),
    radial-gradient(circle at 26% 74%, rgba(246, 110, 76, 0.42), transparent 56%),
    linear-gradient(145deg, #1E1512 0%, #2B1A19 52%, #110F16 100%);
  transform: scale(1.06);
}
.demo-backdrop.cut-2 {
  background:
    radial-gradient(circle at 35% 70%, rgba(130, 214, 158, 0.38), transparent 55%),
    radial-gradient(circle at 78% 30%, rgba(181, 153, 235, 0.48), transparent 56%),
    linear-gradient(160deg, #11181B 0%, #191E2A 54%, #0E0D14 100%);
  transform: scale(1.02);
}
.demo-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 42%, rgba(0, 0, 0, 0.62) 100%);
  pointer-events: none;
}

.demo-caption {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  text-align: center;
  pointer-events: none;
}
.demo-caption.style-strobe {
  font-family: "Arial Narrow", var(--font-sans);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #FF2B2B;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}
.demo-caption.style-verse {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  color: #FDE68A;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}
.demo-caption.style-brat_1 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #FFFFFF;
  filter: blur(0.45px);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.55);
}
.demo-caption.style-manifesto {
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 24px;
  line-height: 0.98;
  color: #F5F2EB;
  text-transform: lowercase;
  gap: 2px;
}
.demo-line {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.28em;
}
.demo-caption.style-manifesto .demo-line {
  flex-direction: column;
  gap: 1px;
}
.demo-word {
  transition: opacity 0.08s ease;
}
.demo-word.hidden-word {
  opacity: 0;
}

.demo-playbar {
  height: 48px;
  padding: 0 14px;
  background: var(--surface);
  border-top: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-track {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
.demo-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: width 0.2s linear;
}
.demo-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-secondary);
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  font-variant-numeric: tabular-nums;
}

.demo-controls {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: var(--shadow-card), var(--highlight-top);
}
.demo-chip-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.demo-group-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 4px;
}
.demo-chip {
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}
.demo-chip:hover {
  color: var(--text);
  border-color: var(--border-hover);
}
.demo-chip.active {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* BANDS & SECTION HEADERS */
.section {
  padding: 58px 0;
  border-top: 1px solid var(--border);
}
.section-head {
  max-width: 660px;
  margin-bottom: 30px;
}
.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  margin-bottom: 8px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.section-head p {
  color: var(--text-secondary);
  font-size: 15.5px;
}

/* STEPS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--highlight-top);
}
.step-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* FEATURES GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature-card {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--highlight-top);
  transition: border-color 0.16s, transform 0.16s;
}
.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.feature-ico {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-ctrl);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 7px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
}
.price-card {
  padding: 26px;
  border-radius: var(--radius-panel);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--highlight-top);
  display: flex;
  flex-direction: column;
}
.price-card-pro {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, rgba(246, 110, 76, 0.09) 0%, var(--surface) 55%);
  box-shadow: var(--shadow-sm), var(--highlight-top);
}
.price-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  color: var(--badge-fg);
  margin-bottom: 12px;
}
.price-card-pro .price-tag {
  background: var(--accent-2-bg);
  border-color: var(--accent-2-border);
  color: var(--accent-2);
}
.price-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.price-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 18px;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
  flex: 1;
}
.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--text-secondary);
}
.price-list li svg {
  color: var(--success);
  margin-top: 4px;
  flex-shrink: 0;
}
.price-card-pro .price-list li { color: var(--text); }
.price-subnote {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.pay-strip {
  max-width: 920px;
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pay-strip-note {
  font-size: 13px;
  color: var(--text-secondary);
}
.pay-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pay-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
}
.pay-chip-blik {
  background: var(--accent-bg);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* DOWNLOAD BANNER */
.download-panel {
  padding: 30px;
  border-radius: var(--radius-panel);
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm), var(--highlight-top);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.download-info { max-width: 600px; }
.download-info h2 {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.download-info p {
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 12px;
}
.download-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spec-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  background: var(--input-bg);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
}
.download-cta-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.download-note {
  font-size: 12px;
  color: var(--muted);
}

/* FAQ ACCORDIONS */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  flex-shrink: 0;
  transition: transform 0.16s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-body {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* FOOTER */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 28px 0;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
  color: var(--muted);
}
.footer-company strong {
  color: var(--text);
  font-size: 14px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.footer-links a:hover { color: var(--accent); text-decoration: underline; }

/* LEGAL & CONTACT DOCUMENTS */
.doc-shell {
  padding: 40px 0 64px;
  flex: 1;
}
.doc-container {
  max-width: 860px;
}
.doc-header {
  margin-bottom: 24px;
}
.doc-header h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.doc-meta {
  font-size: 13.5px;
  color: var(--muted);
}
.doc-card {
  padding: 28px;
  border-radius: var(--radius-panel);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm), var(--highlight-top);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.doc-notice {
  padding: 13px 16px;
  border-radius: var(--radius-ctrl);
  background: var(--accent-2-bg);
  border: 1px solid var(--accent-2-border);
  font-size: 13.5px;
  color: var(--text);
}
.doc-section h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.doc-section p,
.doc-section li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.doc-section p + p { margin-top: 10px; }
.doc-section ul,
.doc-section ol {
  margin-top: 8px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.placeholder-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--accent-2-bg);
  border: 1px solid var(--accent-2-border);
  color: var(--accent-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.contact-card {
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-card), var(--highlight-top);
}
.contact-card h2 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.contact-row strong { color: var(--text); }

/* WEB CHECKOUT & ACCOUNT MODAL */
.studio-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.studio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 11, 0.76);
  backdrop-filter: blur(8px);
}
body.theme-light .studio-modal-backdrop {
  background: rgba(32, 28, 32, 0.56);
}
.studio-modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-panel);
  padding: 24px;
  box-shadow: var(--shadow-stage), var(--highlight-top);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.modal-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.modal-head h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.modal-close-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-ctrl);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.modal-close-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-hover);
  color: var(--text);
}

.return-banner {
  padding: 13px 15px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.return-banner strong {
  font-size: 14px;
  font-weight: 700;
}
.return-banner p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.48;
}
.return-banner.is-ok {
  background: var(--success-bg);
  border-color: var(--success-border);
}
.return-banner.is-ok strong { color: var(--success); }
.return-banner.is-pending {
  background: var(--accent-2-bg);
  border-color: var(--accent-2-border);
}
.return-banner.is-pending strong { color: var(--accent-2); }
.return-banner.is-fail {
  background: rgba(246, 110, 76, 0.13);
  border-color: var(--accent-border);
}
.return-banner.is-fail strong { color: var(--accent); }
.return-order {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}
.return-dl-btn {
  align-self: flex-start;
  margin-top: 4px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-ctrl);
  background: var(--input-bg);
  border: 1px solid var(--border);
  margin-bottom: 14px;
}
.auth-tab {
  min-height: 36px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.auth-tab:hover { color: var(--text); }
.auth-tab.active {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: var(--highlight-top);
}

#buyGuestForm,
#buyAuthForm {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.modal-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.modal-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius-ctrl);
  background: var(--input-bg);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.modal-field input::placeholder { color: var(--muted); }
.modal-field input:focus {
  outline: none;
  border-color: var(--focus-ring);
  box-shadow: 0 0 0 3px var(--focus-glow);
}

.order-summary-box {
  padding: 12px 14px;
  border-radius: var(--radius-card);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.order-summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
}
.order-summary-row strong {
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}
.order-summary-methods {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.consent-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.consent-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.48;
  color: var(--text-secondary);
}
.consent-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent-item a {
  color: var(--accent);
  text-decoration: underline;
}

.modal-error {
  padding: 10px 12px;
  border-radius: var(--radius-ctrl);
  background: rgba(246, 110, 76, 0.14);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 13px;
  line-height: 1.45;
}

.btn-link-subtle {
  align-self: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 4px 6px;
}
.btn-link-subtle:hover { color: var(--text); }

.account-status-card {
  padding: 14px;
  border-radius: var(--radius-card);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.account-status-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.account-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.account-meta-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.account-identity strong {
  font-size: 14.5px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-valid-row {
  font-size: 13px;
  color: var(--text-secondary);
}
.account-valid-row strong { color: var(--success); }
.account-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account-download-strip {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.account-download-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.modal-legal-foot {
  padding-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-cta-box {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .topbar-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-logo,
  body.theme-light .brand-logo {
    height: 30px;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border-strong);
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-sm);
  }
  .site-nav.nav-open { display: flex; }
  .topbar-cta { display: none; }

  .hero { padding: 28px 0 40px; }
  .steps-grid,
  .features-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .demo-phone { width: 205px; }
  .doc-card { padding: 18px; }
  .download-panel { padding: 20px; }
  .hero-ctas .btn { width: 100%; }
  .account-pill-btn { max-width: 140px; padding: 0 10px; }
  .studio-modal { padding: 12px; }
  .studio-modal-card {
    padding: 18px;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  .modal-field input { font-size: 16px; }
  .order-summary-row {
    flex-direction: column;
    gap: 4px;
  }
}
