/**
 * aiwebsitecreation.com — main stylesheet
 * Premium AI brand + website builder theme for UK founders.
 * Dark, editorial, Midnight Navy with a Deep Purple accent.
 * Organised: tokens, base, layout, components, sections, responsive, motion.
 */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Core palette — Midnight Navy lead, Purple accent only. High contrast. */
  --sb-midnight: #070A14;
  --sb-bg: #0B1020;          /* Midnight Navy — primary dark background */
  --sb-surface: #141A2E;
  --sb-surface-2: #1E2642;
  --sb-blue: #43007E;        /* Deep Purple — main accent for key elements & CTAs */
  --sb-blue-electric: #760083; /* Purple — secondary accent for highlights */
  --sb-blue-glow: #A24DD6;   /* Lightened violet — glows, hovers, legible on navy */
  --sb-white: #F5F7FA;       /* Off-White */
  --sb-muted: #8A8FA3;       /* Slate Grey — secondary text */
  --sb-muted-2: #6B7280;

  /* Lines & glass */
  --sb-border: rgba(255, 255, 255, 0.08);
  --sb-border-strong: rgba(255, 255, 255, 0.14);
  --sb-glass: rgba(20, 26, 46, 0.6);
  --sb-glass-light: rgba(255, 255, 255, 0.03);

  /* Gradients */
  --sb-grad-blue: linear-gradient(135deg, var(--sb-blue) 0%, var(--sb-blue-electric) 100%);
  --sb-grad-text: linear-gradient(120deg, #FFFFFF 0%, #D9B8FF 45%, var(--sb-blue-glow) 100%);
  --sb-grad-cta: linear-gradient(135deg, #2E0057 0%, var(--sb-blue) 45%, var(--sb-blue-electric) 100%);

  /* Typography */
  --sb-font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --sb-font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Radius */
  --sb-r-sm: 10px;
  --sb-r-md: 16px;
  --sb-r-lg: 22px;
  --sb-r-xl: 30px;
  --sb-r-pill: 999px;

  /* Spacing rhythm */
  --sb-section-y: clamp(72px, 9vw, 150px);
  --sb-container: 1200px;
  --sb-gutter: clamp(20px, 5vw, 48px);

  /* Shadows */
  --sb-shadow-card: 0 20px 50px -24px rgba(0, 0, 0, 0.8);
  --sb-shadow-glow: 0 0 60px -12px rgba(67, 0, 126, 0.55);
  --sb-shadow-float: 0 40px 80px -30px rgba(0, 0, 0, 0.9);

  /* Motion */
  --sb-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sb-ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --sb-header-h: 72px;
}

/* ============================================================
   2. BASE / RESET
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--sb-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body.aiwebsitecreation {
  margin: 0;
  background-color: var(--sb-bg);
  color: var(--sb-white);
  font-family: var(--sb-font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { overflow: visible; }

a { color: inherit; text-decoration: none; transition: color 0.2s var(--sb-ease-soft); }
a:hover { color: var(--sb-blue-glow); }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--sb-font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--sb-white);
}

p { margin: 0 0 1em; color: var(--sb-muted); }

:focus-visible {
  outline: 2px solid var(--sb-blue-glow);
  outline-offset: 3px;
  border-radius: 4px;
}

.sb-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  background: var(--sb-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--sb-r-sm);
  font-weight: 600;
}
.sb-skip-link:focus { left: 16px; }

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.sb-container {
  width: 100%;
  max-width: var(--sb-container);
  margin-inline: auto;
  padding-inline: var(--sb-gutter);
}
.sb-container--wide { max-width: 1360px; }

.sb-section { position: relative; padding-block: var(--sb-section-y); }

.sb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sb-blue-glow);
  padding: 7px 14px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-pill);
  background: var(--sb-glass-light);
  margin-bottom: 22px;
}
.sb-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sb-blue-electric);
  box-shadow: 0 0 10px var(--sb-blue-glow);
}

.sb-section__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sb-section__head--center { margin-inline: auto; text-align: center; }

.sb-h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.sb-h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.sb-lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--sb-muted); max-width: 60ch; }

.sb-grad-text {
  background: var(--sb-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.sb-btn {
  --_bg: var(--sb-grad-cta);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sb-font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--sb-r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s var(--sb-ease), box-shadow 0.25s var(--sb-ease), background 0.25s var(--sb-ease-soft), border-color 0.25s;
  will-change: transform;
}
.sb-btn svg { width: 18px; height: 18px; }

.sb-btn--primary {
  background: var(--_bg);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(67, 0, 126, 0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.sb-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(67, 0, 126, 0.85), inset 0 1px 0 rgba(255,255,255,0.3);
}

.sb-btn--ghost {
  background: var(--sb-glass-light);
  border-color: var(--sb-border-strong);
  color: var(--sb-white);
  backdrop-filter: blur(8px);
}
.sb-btn--ghost:hover {
  color: var(--sb-white);
  border-color: var(--sb-blue);
  background: rgba(67, 0, 126, 0.08);
  transform: translateY(-2px);
}

.sb-btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.sb-btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.sb-btn--block { width: 100%; }

/* ============================================================
   5. HEADER / NAV
   ============================================================ */
.sb-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--sb-header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--sb-ease-soft), border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.sb-header.is-scrolled {
  background: rgba(8, 10, 16, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--sb-border);
}
.sb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

/* Logo */
.sb-header__brand { display: flex; align-items: center; gap: 14px; }
.sb-logo { display: inline-flex; align-items: center; gap: 11px; font-family: var(--sb-font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: -0.03em; color: var(--sb-white); }
.sb-logo--img { gap: 0; }
.sb-logo--img img { display: block; width: auto; max-width: 260px; }
.sb-logo:hover { color: var(--sb-white); }
.sb-logo--img:hover { opacity: 0.88; transition: opacity 0.2s; }
.sb-logo__mark { width: 32px; height: 32px; flex: none; }
.sb-logo__dot { color: var(--sb-blue-electric); }

/* Primary nav */
.sb-nav { display: flex; align-items: center; gap: 4px; }
.sb-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sb-muted);
  padding: 9px 14px;
  border-radius: var(--sb-r-sm);
  transition: color 0.2s, background 0.2s;
}
.sb-nav a:hover, .sb-nav .current-menu-item > a { color: var(--sb-white); background: var(--sb-glass-light); }

.sb-header__actions { display: flex; align-items: center; gap: 12px; }

/* Language selector */
.sb-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-pill);
  padding: 3px;
  background: var(--sb-glass-light);
}
.sb-lang a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sb-muted);
  padding: 6px 12px;
  border-radius: var(--sb-r-pill);
  line-height: 1;
}
.sb-lang a.is-active { background: var(--sb-blue); color: #fff; }
.sb-lang a:hover { color: var(--sb-white); }

.sb-signin { font-size: 0.95rem; font-weight: 500; color: var(--sb-muted); padding: 9px 6px; }
.sb-signin:hover { color: var(--sb-white); }

/* Mobile toggle */
.sb-nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--sb-glass-light);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-sm);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.sb-nav-toggle span, .sb-nav-toggle span::before, .sb-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 18px; height: 2px;
  background: var(--sb-white);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--sb-ease), opacity 0.2s;
}
.sb-nav-toggle span::before { transform: translate(-50%, -8px); }
.sb-nav-toggle span::after { transform: translate(-50%, 6px); }
.sb-nav-toggle[aria-expanded="true"] span { background: transparent; }
.sb-nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.sb-nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, 0) rotate(-45deg); }

/* Mobile drawer */
.sb-mobile-nav {
  position: fixed;
  inset: var(--sb-header-h) 0 0 0;
  z-index: 99;
  background: rgba(8, 10, 16, 0.97);
  backdrop-filter: blur(20px);
  padding: 32px var(--sb-gutter) 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--sb-ease-soft), transform 0.3s var(--sb-ease), visibility 0.3s;
  overflow-y: auto;
}
.sb-mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.sb-mobile-nav a { font-size: 1.25rem; font-weight: 600; color: var(--sb-white); padding: 14px 4px; border-bottom: 1px solid var(--sb-border); }
.sb-mobile-nav__actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.sb-mobile-nav__lang { display: flex; gap: 10px; margin-top: 8px; }

/* ============================================================
   6. HERO
   ============================================================ */
.sb-hero {
  position: relative;
  padding-top: calc(var(--sb-header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(60px, 7vw, 110px);
  text-align: center;
  overflow: hidden;
}
.sb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(67, 0, 126, 0.28) 0%, rgba(67, 0, 126, 0.07) 40%, transparent 72%),
    radial-gradient(40% 40% at 80% 20%, rgba(162, 77, 214, 0.12) 0%, transparent 70%);
}
.sb-hero__glow {
  position: absolute;
  left: 50%; top: -120px;
  width: 900px; height: 900px;
  max-width: 130vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(162, 77, 214, 0.22) 0%, transparent 60%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.sb-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--sb-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--sb-border) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(70% 55% at 50% 10%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 55% at 50% 10%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.sb-hero__inner { position: relative; z-index: 2; }

.sb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sb-white);
  padding: 8px 8px 8px 16px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-pill);
  background: var(--sb-glass-light);
  backdrop-filter: blur(8px);
  margin-bottom: 30px;
}
.sb-hero__badge b { color: var(--sb-blue-glow); font-weight: 600; }
.sb-hero__badge .tag { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--sb-blue); padding: 4px 10px; border-radius: var(--sb-r-pill); }

.sb-hero__title {
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 26px;
  max-width: 16ch;
  margin-inline: auto;
}
.sb-hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  color: var(--sb-muted);
  max-width: 60ch;
  margin: 0 auto 38px;
}
.sb-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: clamp(48px, 6vw, 76px); }

/* Prompt interface */
.sb-prompt {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  background: linear-gradient(180deg, rgba(27, 33, 48, 0.9), rgba(13, 15, 20, 0.9));
  border: 1px solid var(--sb-border-strong);
  border-radius: var(--sb-r-lg);
  padding: 10px;
  box-shadow: var(--sb-shadow-float), var(--sb-shadow-glow);
  text-align: left;
}
.sb-prompt::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(162, 77, 214,0.5), transparent 40%, transparent 60%, rgba(67, 0, 126,0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.sb-prompt__field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--sb-midnight);
  border-radius: var(--sb-r-md);
  padding: 20px 20px 18px;
}
.sb-prompt__icon { flex: none; width: 26px; height: 26px; color: var(--sb-blue-glow); margin-top: 2px; }
.sb-prompt__text { flex: 1; width: 100%; color: var(--sb-white); font-family: inherit; font-size: 1.02rem; line-height: 1.55; min-height: 56px; max-height: 220px; background: transparent; border: none; outline: none; resize: none; padding: 0; }
.sb-prompt__text::placeholder { color: var(--sb-muted-2); }

.sb-prompt__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 10px 6px; flex-wrap: wrap; }
.sb-prompt__hint { font-size: 0.82rem; color: var(--sb-muted-2); display: inline-flex; align-items: center; gap: 7px; }
.sb-prompt__hint svg { width: 16px; height: 16px; flex: none; color: var(--sb-blue-glow); }
.sb-prompt__icon svg { width: 26px; height: 26px; }
.sb-social-ico { width: 38%; height: auto; }
.sb-prompt__generate { background: var(--sb-grad-cta); color: #fff; border: none; border-radius: var(--sb-r-pill); padding: 11px 20px; font-weight: 600; font-size: 0.92rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 22px -10px rgba(67, 0, 126,0.8); transition: transform 0.2s var(--sb-ease); }
.sb-prompt__generate:hover { transform: translateY(-2px); }
.sb-prompt__generate svg { width: 16px; height: 16px; }

.sb-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.sb-chip {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--sb-muted);
  background: var(--sb-glass-light);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-pill);
  padding: 9px 16px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s;
}
.sb-chip:hover { color: var(--sb-white); border-color: var(--sb-blue); background: rgba(67, 0, 126,0.08); transform: translateY(-1px); }
.sb-chip svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; margin-right: 6px; color: var(--sb-blue-glow); }

.sb-prompt__note { text-align: center; font-size: 0.78rem; color: var(--sb-muted-2); margin-top: 20px; }

/* Hero showcase mockups */
.sb-showcase {
  position: relative;
  max-width: 1080px;
  margin: clamp(56px, 7vw, 90px) auto 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.sb-mock {
  background: linear-gradient(180deg, var(--sb-surface) 0%, var(--sb-bg) 100%);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-md);
  padding: 18px;
  box-shadow: var(--sb-shadow-card);
  position: relative;
  overflow: hidden;
}
.sb-mock__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sb-muted-2); margin-bottom: 14px; }
.sb-mock--identity { grid-column: span 5; }
.sb-mock--palette { grid-column: span 3; }
.sb-mock--logos { grid-column: span 4; }
.sb-mock--site { grid-column: span 7; }
.sb-mock--social { grid-column: span 5; }

.sb-swatches { display: flex; gap: 8px; }
.sb-swatch { flex: 1; height: 54px; border-radius: 8px; }
.sb-logo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sb-logo-cell { aspect-ratio: 1; background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: 10px; display: grid; place-items: center; }
.sb-logo-cell svg { width: 42%; height: 42%; color: var(--sb-blue-glow); }

/* Prompt toolbar: mic + language on the left, generate on the right */
.sb-prompt__tools { display: inline-flex; align-items: center; gap: 8px; }

.sb-mic {
  position: relative;
  width: 40px; height: 40px;
  flex: none;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: var(--sb-surface-2);
  border: 1px solid var(--sb-border);
  color: var(--sb-white);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sb-mic svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.sb-mic:hover { border-color: var(--sb-blue); color: var(--sb-blue-glow); }
.sb-mic.is-on { background: var(--sb-blue); border-color: var(--sb-blue); color: #fff; }
.sb-mic__pulse { position: absolute; inset: 0; border-radius: 50%; }
.sb-mic.is-on .sb-mic__pulse { box-shadow: 0 0 0 0 rgba(162, 77, 214,0.55); animation: sb-mic-pulse 1.6s infinite; }
@keyframes sb-mic-pulse { 70% { box-shadow: 0 0 0 12px rgba(162, 77, 214,0); } 100% { box-shadow: 0 0 0 0 rgba(162, 77, 214,0); } }

/* Language selector */
.sb-lang { position: relative; }
.sb-lang__toggle { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; background: var(--sb-surface-2); border: 1px solid var(--sb-border); border-radius: var(--sb-r-pill); color: var(--sb-white); font-family: inherit; font-size: 0.86rem; font-weight: 500; cursor: pointer; transition: border-color 0.2s; }
.sb-lang__toggle:hover { border-color: var(--sb-blue); }
.sb-lang__toggle svg { width: 15px; height: 15px; color: var(--sb-muted); }
.sb-lang__menu { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 30; width: 268px; max-width: 76vw; background: var(--sb-surface); border: 1px solid var(--sb-border-strong); border-radius: var(--sb-r-md); box-shadow: var(--sb-shadow-float); padding: 8px; }
.sb-lang__search-wrap { position: relative; display: flex; align-items: center; margin-bottom: 6px; }
.sb-lang__search-wrap svg { position: absolute; left: 11px; width: 15px; height: 15px; color: var(--sb-muted-2); pointer-events: none; }
.sb-lang__search { width: 100%; background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: var(--sb-r-sm); padding: 9px 12px 9px 34px; color: var(--sb-white); font-family: inherit; font-size: 0.88rem; outline: none; }
.sb-lang__search:focus { border-color: var(--sb-blue); }
.sb-lang__list { max-height: 240px; overflow-y: auto; }
.sb-lang__opt { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; background: none; border: none; padding: 9px 10px; border-radius: var(--sb-r-sm); color: var(--sb-white); font-family: inherit; cursor: pointer; }
.sb-lang__opt:hover { background: var(--sb-glass-light); }
.sb-lang__opt-name { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.sb-lang__opt-name strong { font-size: 0.9rem; font-weight: 600; }
.sb-lang__opt-name span { font-size: 0.74rem; color: var(--sb-muted-2); }
.sb-lang__opt-check { opacity: 0; color: var(--sb-blue-glow); }
.sb-lang__opt-check svg { width: 16px; height: 16px; }
.sb-lang__opt.is-active .sb-lang__opt-check { opacity: 1; }
.sb-lang__empty { padding: 12px 10px; font-size: 0.84rem; color: var(--sb-muted-2); text-align: center; }

.sb-prompt.is-listening { border-color: var(--sb-blue); }

/* Mini prompt (final CTA) sits on the blue gradient */
.sb-prompt--mini { max-width: 560px; margin-top: 30px; box-shadow: var(--sb-shadow-float); }
.sb-prompt--mini .sb-prompt__field { padding: 16px 16px 12px; }
.sb-prompt--mini .sb-prompt__text { min-height: 44px; font-size: 0.98rem; }
.sb-prompt--mini .sb-prompt__bar { padding: 10px 6px 4px; }

/* ============================================================
   7. TRUST / POSITIONING
   ============================================================ */
.sb-trust { text-align: center; }
.sb-trust__title { font-size: clamp(1.4rem, 2.4vw, 2rem); max-width: 22ch; margin: 0 auto 40px; }
.sb-trust__labels { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.sb-trust__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sb-muted);
  padding: 13px 22px;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-pill);
  background: var(--sb-glass-light);
  transition: color 0.2s, border-color 0.2s;
}
.sb-trust__label:hover { color: var(--sb-white); border-color: var(--sb-border-strong); }
a.sb-trust__label { cursor: pointer; transition: color 0.2s, border-color 0.2s, transform 0.2s, background 0.2s; }
a.sb-trust__label:hover { transform: translateY(-2px); background: var(--sb-surface-2); }
.sb-trust__label svg { width: 18px; height: 18px; color: var(--sb-blue-glow); }

/* Feature page: "what you get" checklist grid. */
.sb-feature-checks { list-style: none; max-width: 760px; margin: 44px auto 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 36px; }
.sb-feature-checks li { display: flex; align-items: flex-start; gap: 11px; color: var(--sb-muted); font-size: 1.02rem; }
.sb-feature-checks li span { color: var(--sb-white); }
.sb-feature-checks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--sb-blue-glow); }
@media (max-width: 640px) { .sb-feature-checks { grid-template-columns: 1fr; gap: 14px; } }

/* ============================================================
   8. HOW IT WORKS
   ============================================================ */
.sb-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.sb-steps::before {
  content: "";
  position: absolute;
  top: 46px; left: 14%; right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sb-border-strong) 20%, var(--sb-border-strong) 80%, transparent);
  z-index: 0;
}
.sb-step { position: relative; z-index: 1; background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-lg); padding: 30px; transition: border-color 0.3s, transform 0.3s; }
.sb-step:hover { border-color: var(--sb-border-strong); transform: translateY(-4px); }
.sb-step__num {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sb-bg);
  border: 1px solid var(--sb-border-strong);
  font-family: var(--sb-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--sb-blue-glow);
  margin-bottom: 22px;
  box-shadow: 0 0 24px -8px rgba(67, 0, 126,0.5);
}
.sb-step__icon { width: 46px; height: 46px; color: var(--sb-blue-glow); margin-bottom: 18px; }
.sb-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.sb-step p { margin: 0; font-size: 0.98rem; }

/* ============================================================
   9. BRAND DNA
   ============================================================ */
.sb-dna { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sb-dna__diagram { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; }
.sb-dna__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 38%; aspect-ratio: 1;
  border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 30% 30%, rgba(162, 77, 214,0.3), rgba(67, 0, 126,0.1));
  border: 1px solid var(--sb-blue);
  box-shadow: var(--sb-shadow-glow), inset 0 0 40px -10px rgba(162, 77, 214,0.4);
  z-index: 3;
}
.sb-dna__core span { font-family: var(--sb-font-display); font-weight: 700; font-size: clamp(0.95rem, 2vw, 1.25rem); letter-spacing: -0.02em; }
.sb-dna__core small { display: block; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sb-blue-glow); font-weight: 600; margin-top: 4px; }
.sb-dna__node {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--sb-white);
  padding: 9px 15px;
  background: var(--sb-surface);
  border: 1px solid var(--sb-border-strong);
  border-radius: var(--sb-r-pill);
  white-space: nowrap;
  z-index: 2;
  box-shadow: var(--sb-shadow-card);
}
.sb-dna__node svg { width: 15px; height: 15px; color: var(--sb-blue-glow); }
.sb-dna__node.n1 { top: 2%; left: 50%; transform: translateX(-50%); }
.sb-dna__node.n2 { top: 26%; right: -4%; }
.sb-dna__node.n3 { bottom: 26%; right: -2%; }
.sb-dna__node.n4 { bottom: 2%; left: 50%; transform: translateX(-50%); }
.sb-dna__node.n5 { bottom: 26%; left: -4%; }
.sb-dna__node.n6 { top: 26%; left: -2%; }
.sb-dna__lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.sb-dna__lines line { stroke: var(--sb-border-strong); stroke-width: 1; stroke-dasharray: 4 5; }

.sb-dna__content h2 { margin-bottom: 20px; }
.sb-dna__list { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.sb-dna__item { display: flex; gap: 14px; align-items: flex-start; }
.sb-dna__item svg { flex: none; width: 22px; height: 22px; color: var(--sb-blue-glow); margin-top: 2px; }
.sb-dna__item b { color: var(--sb-white); font-weight: 600; display: block; margin-bottom: 2px; }
.sb-dna__item span { font-size: 0.95rem; color: var(--sb-muted); }

/* ============================================================
   10. FEATURES GRID
   ============================================================ */
.sb-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sb-feature {
  position: relative;
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.sb-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(67, 0, 126,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.sb-feature:hover { border-color: var(--sb-border-strong); transform: translateY(-5px); }
.sb-feature:hover::after { opacity: 1; }
.sb-feature__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--sb-r-md);
  background: linear-gradient(135deg, rgba(67, 0, 126,0.18), rgba(162, 77, 214,0.08));
  border: 1px solid var(--sb-border);
  margin-bottom: 20px;
}
.sb-feature__icon svg { width: 26px; height: 26px; color: var(--sb-blue-glow); }
.sb-feature h3 { font-size: 1.22rem; margin-bottom: 10px; }
.sb-feature p { font-size: 0.95rem; margin-bottom: 16px; }
.sb-feature__list { display: flex; flex-direction: column; gap: 8px; }
.sb-feature__list li { font-size: 0.88rem; color: var(--sb-muted); display: flex; align-items: center; gap: 9px; }
.sb-feature__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--sb-blue-electric); flex: none; }
.sb-feature__flag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sb-blue-glow);
  background: rgba(67, 0, 126,0.1);
  border: 1px solid var(--sb-border);
  padding: 5px 11px;
  border-radius: var(--sb-r-pill);
}

/* ============================================================
   11. PRODUCT SHOWCASE
   ============================================================ */
.sb-product { position: relative; }
.sb-product__stage {
  position: relative;
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: clamp(240px, 26vw, 340px) clamp(200px, 21vw, 280px);
  gap: 20px;
  align-items: stretch;
}

/* Real preview tiles (bento) */
.sb-shot {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 0;
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sb-surface) 0%, var(--sb-midnight) 120%);
  box-shadow: var(--sb-shadow-card);
  transition: transform 0.45s var(--sb-ease), border-color 0.3s, box-shadow 0.3s;
}
.sb-shot:hover { transform: translateY(-5px); border-color: var(--sb-border-strong); box-shadow: var(--sb-shadow-float); }
.sb-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; }
/* soft scrim so the label stays readable and content does not crowd the edge */
.sb-shot::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 84px; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(6,8,14,0.72), rgba(6,8,14,0));
}
.sb-shot__ph { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(67, 0, 126,0.18), rgba(162, 77, 214,0.05)); }
.sb-shot__label {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--sb-white);
  background: rgba(8,10,16,0.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 14px; border-radius: 100px;
}
.sb-shot--a { grid-column: span 7; }
.sb-shot--b { grid-column: span 5; }
.sb-shot--c { grid-column: span 4; }
.sb-shot--d { grid-column: span 4; }
.sb-shot--e { grid-column: span 4; }
/* Logo studio: frame the logo grid with even breathing room instead of full-bleed */
.sb-shot--b { padding: 20px 20px 30px; background: var(--sb-midnight); }
.sb-shot--b img { object-fit: contain; object-position: center center; }
.sb-panel {
  background: linear-gradient(180deg, var(--sb-surface) 0%, var(--sb-bg) 120%);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-lg);
  padding: 22px;
  box-shadow: var(--sb-shadow-card);
  position: relative;
  overflow: hidden;
}
.sb-panel__bar { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }
.sb-panel__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sb-surface-2); display: inline-block; }
.sb-panel__bar b { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: var(--sb-muted-2); letter-spacing: 0.06em; text-transform: uppercase; }
.sb-panel--a { grid-column: span 7; }
.sb-panel--b { grid-column: span 5; }
.sb-panel--c { grid-column: span 4; }
.sb-panel--d { grid-column: span 4; }
.sb-panel--e { grid-column: span 4; }

.sb-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 10px; }
.sb-bars span { flex: 1; border-radius: 6px 6px 0 0; background: var(--sb-grad-blue); opacity: 0.85; }
.sb-rows { display: flex; flex-direction: column; gap: 12px; }
.sb-rows i { height: 10px; border-radius: 6px; background: var(--sb-surface-2); display: block; }
.sb-rows i.w1 { width: 90%; } .sb-rows i.w2 { width: 70%; } .sb-rows i.w3 { width: 80%; } .sb-rows i.w4 { width: 55%; }
.sb-pal { display: flex; gap: 8px; }
.sb-pal span { flex: 1; height: 46px; border-radius: 8px; }
.sb-postcard { background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: 12px; aspect-ratio: 4/3; display: grid; place-items: center; }
.sb-postcard svg { width: 40%; color: var(--sb-blue-glow); }

/* ============================================================
   12. UK POSITIONING SECTION
   ============================================================ */
.sb-india { position: relative; overflow: hidden; }
.sb-india__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.sb-india__content h2 { margin-bottom: 20px; }
.sb-audience { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sb-audience span { font-size: 0.86rem; font-weight: 500; color: var(--sb-muted); padding: 9px 15px; border: 1px solid var(--sb-border); border-radius: var(--sb-r-pill); background: var(--sb-glass-light); }
.sb-usecards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sb-usecard {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-md);
  padding: 22px;
  transition: transform 0.3s, border-color 0.3s;
}
.sb-usecard:hover { transform: translateY(-4px); border-color: var(--sb-border-strong); }
.sb-usecard__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(67, 0, 126,0.16), rgba(162, 77, 214,0.06)); border: 1px solid var(--sb-border); margin-bottom: 15px; }
.sb-usecard__icon svg { width: 22px; height: 22px; color: var(--sb-blue-glow); }
.sb-usecard b { display: block; font-size: 1rem; color: var(--sb-white); margin-bottom: 5px; }
.sb-usecard span { font-size: 0.86rem; color: var(--sb-muted); }

/* ============================================================
   13. FOUNDER
   ============================================================ */
/* Mission band (non-personal "why we built this"). */
.sb-mission__card {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(135deg, var(--sb-surface) 0%, var(--sb-bg) 100%);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-xl);
  padding: clamp(32px, 5vw, 64px);
}
.sb-mission__card .sb-eyebrow { justify-content: center; }
.sb-mission__card .sb-lead { margin-inline: auto; }
.sb-mission__actions { margin-top: 24px; }

.sb-founder { }
.sb-founder__card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, var(--sb-surface) 0%, var(--sb-bg) 100%);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-xl);
  padding: clamp(28px, 4vw, 52px);
  position: relative;
  overflow: hidden;
}
.sb-founder__card::before {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(67, 0, 126,0.14), transparent 65%);
  pointer-events: none;
}
.sb-founder__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--sb-r-lg);
  border: 1px solid rgba(162, 77, 214, 0.28);
  background: linear-gradient(165deg, #760083 0%, #43007E 100%);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 52px -8px rgba(67, 0, 126, 0.55), 0 24px 50px -26px rgba(0, 0, 0, 0.85);
}
.sb-founder__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sb-founder__content { position: relative; z-index: 1; }
.sb-founder__content h2 { margin-bottom: 18px; }
.sb-founder__content p { font-size: 1.02rem; }
.sb-founder__name { font-family: var(--sb-font-display); font-weight: 700; color: var(--sb-white); }
.sb-founder__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sb-yt { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--sb-white); }
.sb-yt svg { width: 22px; height: 22px; color: #FF3D3D; }

/* ============================================================
   14. PRICING
   ============================================================ */
.sb-section.sb-pricing .sb-container { position: relative; }
.sb-pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.sb-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sb-surface);
  border: 1px solid var(--sb-border);
  border-radius: var(--sb-r-lg);
  padding: 32px 28px;
  transition: transform 0.3s, border-color 0.3s;
}
.sb-plan:hover { transform: translateY(-5px); border-color: var(--sb-border-strong); }
.sb-plan.is-popular {
  border-color: var(--sb-blue);
  /* Blue tint over an OPAQUE surface so a figure behind the card can't show through. */
  background: linear-gradient(180deg, rgba(67, 0, 126,0.12), rgba(67, 0, 126,0) 45%), var(--sb-surface);
  box-shadow: var(--sb-shadow-glow);
}
.sb-plan__badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--sb-grad-cta);
  padding: 6px 16px;
  border-radius: var(--sb-r-pill);
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(67, 0, 126,0.8);
}
.sb-plan__name { font-family: var(--sb-font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.sb-plan__desc { font-size: 0.9rem; color: var(--sb-muted); margin-bottom: 22px; min-height: 40px; }
.sb-plan__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.sb-plan__price .amt { font-family: var(--sb-font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--sb-white); }
.sb-plan__price .per { font-size: 0.92rem; color: var(--sb-muted); }
.sb-plan__interval { font-size: 0.82rem; color: var(--sb-muted-2); margin-bottom: 24px; }
.sb-plan__cta { margin-bottom: 26px; }
.sb-plan__features { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.sb-plan__features li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.92rem; color: var(--sb-muted); }
.sb-plan__features svg { flex: none; width: 18px; height: 18px; color: var(--sb-blue-glow); margin-top: 1px; }
.sb-pricing__note { text-align: center; font-size: 0.85rem; color: var(--sb-muted-2); margin-top: 32px; }
.sb-admin-flag { color: #F5B544; font-weight: 500; }

/* Billing toggle + monthly/yearly price blocks */
.sb-pricing-wrap { text-align: center; position: relative; }
.sb-pricing-wrap .sb-pricing__grid { margin-top: clamp(34px, 4vw, 48px); text-align: left; position: relative; z-index: 2; }
.sb-pricing-wrap .sb-billing { position: relative; z-index: 3; }
.sb-billing { display: inline-flex; gap: 4px; margin-top: 26px; padding: 4px; background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-pill); }
.sb-billing__btn { display: inline-flex; align-items: center; gap: 8px; border: none; background: none; color: var(--sb-muted); font-family: inherit; font-size: 0.92rem; font-weight: 600; padding: 9px 18px; border-radius: var(--sb-r-pill); cursor: pointer; transition: color 0.2s, background 0.2s; }
.sb-billing__btn:hover { color: var(--sb-white); }
.sb-billing__btn.is-active { background: var(--sb-blue); color: #fff; }
.sb-billing__save { font-size: 0.72rem; font-weight: 600; background: rgba(255,255,255,0.2); color: #fff; padding: 2px 8px; border-radius: var(--sb-r-pill); }
.sb-billing__btn:not(.is-active) .sb-billing__save { background: rgba(67, 0, 126,0.14); color: var(--sb-blue-glow); }

.sb-plan__price { display: block; margin-bottom: 22px; }
.sb-plan__price .amt { font-family: var(--sb-font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: -0.03em; color: var(--sb-white); }
.sb-plan__price .per { font-size: 0.92rem; color: var(--sb-muted); margin-left: 3px; }
.sb-plan__price small { display: block; margin-top: 7px; font-size: 0.8rem; color: var(--sb-muted-2); }
.sb-plan__save { color: var(--sb-blue-glow); font-weight: 600; margin-left: 4px; }
[data-billing="yearly"] .sb-plan__price--monthly { display: none; }
[data-billing="monthly"] .sb-plan__price--yearly { display: none; }

.sb-pricing__more { text-align: center; margin-top: 28px; }
.sb-pricing__morelink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sb-blue-glow); }
.sb-pricing__morelink svg { width: 18px; height: 18px; }

/* ============================================================
   15. FAQ
   ============================================================ */
.sb-faq { max-width: 820px; margin-inline: auto; }
.sb-faq__item { border-bottom: 1px solid var(--sb-border); }
.sb-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--sb-white);
  font-family: var(--sb-font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-weight: 600;
  padding: 24px 4px;
}
.sb-faq__q .plus { flex: none; width: 22px; height: 22px; position: relative; transition: transform 0.35s var(--sb-ease); }
.sb-faq__q .plus::before, .sb-faq__q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--sb-blue-glow); border-radius: 2px; }
.sb-faq__q .plus::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.sb-faq__q .plus::after { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: transform 0.35s var(--sb-ease); }
.sb-faq__item.is-open .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.sb-faq__a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--sb-ease); }
.sb-faq__a-inner { padding: 0 4px 24px; color: var(--sb-muted); font-size: 0.98rem; line-height: 1.65; max-width: 68ch; }

/* ============================================================
   16. FINAL CTA
   ============================================================ */
.sb-finalcta { position: relative; overflow: hidden; }
.sb-finalcta__box {
  position: relative;
  border-radius: var(--sb-r-xl);
  padding: clamp(48px, 7vw, 90px) clamp(28px, 5vw, 64px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(162, 77, 214,0.35), transparent 60%),
    linear-gradient(135deg, #2E0057, var(--sb-blue) 55%, var(--sb-blue-electric));
  box-shadow: var(--sb-shadow-float);
}
.sb-finalcta__box::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(60% 80% at 50% 0%, #000, transparent 70%);
}
.sb-finalcta__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; }
.sb-finalcta h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); margin-bottom: 18px; }
.sb-finalcta p { color: rgba(255,255,255,0.88); font-size: clamp(1.05rem, 1.6vw, 1.2rem); margin-bottom: 34px; }
.sb-finalcta .sb-btn--primary { background: #fff; color: var(--sb-blue); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5); }
.sb-finalcta .sb-btn--primary:hover { color: var(--sb-blue); background: #fff; }
.sb-finalcta__mini {
  margin: 34px auto 0;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8,10,16,0.35);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--sb-r-pill);
  padding: 8px 8px 8px 20px;
  backdrop-filter: blur(6px);
}
.sb-finalcta__mini input { flex: 1; background: none; border: none; color: #fff; font-size: 0.95rem; outline: none; font-family: inherit; }
.sb-finalcta__mini input::placeholder { color: rgba(255,255,255,0.65); }
.sb-finalcta__mini button { flex: none; background: #fff; color: var(--sb-blue); border: none; border-radius: var(--sb-r-pill); padding: 11px 20px; font-weight: 600; cursor: pointer; font-family: inherit; }

/* ============================================================
   17. FOOTER
   ============================================================ */
.sb-footer { position: relative; border-top: 1px solid var(--sb-border); padding-top: clamp(56px, 6vw, 80px); overflow: hidden; }
.sb-footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-bottom: 56px; }
.sb-footer__brand p { font-size: 0.95rem; max-width: 34ch; margin-top: 18px; }
.sb-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.sb-footer__social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--sb-border); border-radius: var(--sb-r-sm); color: var(--sb-muted); transition: color 0.2s, border-color 0.2s, background 0.2s; }
.sb-footer__social a:hover { color: var(--sb-white); border-color: var(--sb-blue); background: rgba(67, 0, 126,0.08); }
.sb-footer__social svg { width: 18px; height: 18px; }
.sb-footer__col h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sb-muted-2); margin-bottom: 18px; }
.sb-footer__col a { display: block; font-size: 0.95rem; color: var(--sb-muted); padding: 6px 0; }
.sb-footer__col a:hover { color: var(--sb-white); }
.sb-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 26px 0; border-top: 1px solid var(--sb-border); font-size: 0.86rem; color: var(--sb-muted-2); }
.sb-footer__bottom a { color: var(--sb-muted-2); }
.sb-footer__bottom a:hover { color: var(--sb-white); }
.sb-footer__watermark {
  font-family: var(--sb-font-display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: clamp(1rem, 8.5vw, 8.5rem); /* sized so the full brand word fits */
  line-height: 0.85;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  user-select: none;
  pointer-events: none;
  margin-top: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
}

/* ============================================================
   17a. HERO CONVERSION ZONE + PAYMENT METHODS
   ============================================================ */
.sb-hero__convert { position: relative; max-width: 760px; margin-inline: auto; }

.sb-paymethods { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sb-paymethods__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 580px; margin-inline: auto; }
.sb-pay { display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 50px; padding: 0 11px; background: #fff; border-radius: 8px; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.55); }
.sb-pay img { height: 20px; width: auto; max-width: 68px; object-fit: contain; display: block; }
/* legacy text chips (if an admin reverts to text) */
.sb-paymethods__item { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; color: var(--sb-muted); background: var(--sb-glass-light); border: 1px solid var(--sb-border); border-radius: 8px; padding: 6px 11px; }
.sb-paymethods__note { font-size: 0.78rem; color: var(--sb-muted-2); margin: 0; text-align: center; max-width: 56ch; }

/* ============================================================
   17b. AMIT FIGURES (pointing cutouts beside CTAs)
   Mobile-first: figures sit in normal flow, centred under their CTA.
   On wide screens they lift out of flow and sit beside the CTA.
   ============================================================ */
.sb-amit { position: relative; margin: 26px auto 4px; width: clamp(150px, 46vw, 200px); pointer-events: none; z-index: 6; }
/* Blue glow follows the cutout silhouette (hides any white rim on the PNG). */
.sb-amit img { position: relative; z-index: 1; width: 100%; height: auto; display: block; margin-inline: auto; filter: drop-shadow(0 0 3px rgba(162, 77, 214, 0.85)) drop-shadow(0 0 16px rgba(162, 77, 214, 0.5)) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5)); }
.sb-amit--hero { margin-top: 64px; } /* room for the balloon in mobile flow */
/* Pricing figure: fade the lower body so the cutout never ends in a hard line. */
.sb-amit--pricing { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 92%); mask-image: linear-gradient(to bottom, #000 60%, transparent 92%); }

/* Soft light behind the figure so the cutout rim reads as rim-lighting. */
.sb-amit__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 118%;
  height: 94%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(52% 50% at 50% 40%, rgba(162, 77, 214, 0.5) 0%, rgba(67, 0, 126, 0.2) 45%, transparent 72%);
  filter: blur(28px);
  opacity: 0.75;
}
.js .sb-amit { opacity: 0; } /* JS reveals; no-js shows via fallback below */
.no-js .sb-amit { opacity: 1; }

/* Speech balloon above a figure (works in flow and when absolute). */
.sb-amit__balloon {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;
  width: max-content;
  max-width: 210px;
  background: #fff;
  color: #0B1020;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 11px 15px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, 0.6);
}
.sb-amit__balloon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
}

/* Wide screens: place each figure beside its CTA. */
@media (min-width: 1200px) {
  .sb-amit { position: absolute; margin: 0; }
  /* Hero: to the right of the prompt, pointing at the Generate button. */
  .sb-amit--hero { width: clamp(165px, 15vw, 225px); right: clamp(-235px, -16vw, -155px); top: -6px; bottom: auto; }
  /* Final CTA: bottom-left of the gradient box, pointing right at the button. */
  .sb-amit--cta { width: clamp(150px, 15vw, 230px); left: clamp(4px, 2vw, 34px); bottom: 0; top: auto; z-index: 2; }
  /* Pricing: centred over the popular plan, standing behind the cards. */
  .sb-pricing-wrap.has-amit .sb-pricing__grid { margin-top: clamp(66px, 6vw, 108px); }
  .sb-amit--pricing { width: clamp(150px, 13vw, 186px); left: calc(50% - clamp(75px, 6.5vw, 93px)); right: auto; top: clamp(42px, 4.4vw, 56px); bottom: auto; z-index: 1; margin: 0; }
  /* Reset the mobile top margin when the hero figure is absolute. */
  .sb-amit--hero { margin-top: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js .sb-amit { opacity: 1; }
}

/* ============================================================
   17c. PRICING PAGE COMPARISON TABLE
   ============================================================ */
.sb-pricingpage .sb-page__header { margin-bottom: clamp(36px, 4vw, 56px); }
.sb-compare-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--sb-border); border-radius: var(--sb-r-lg); }
.sb-compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.sb-compare th, .sb-compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--sb-border); font-size: 0.92rem; vertical-align: middle; }
.sb-compare thead th { background: var(--sb-surface); padding: 20px 18px; border-bottom: 1px solid var(--sb-border-strong); }
.sb-compare thead th.is-popular, .sb-compare td.is-popular { background: rgba(67, 0, 126, 0.06); }
.sb-compare__corner { width: 34%; }
.sb-compare tbody th[scope="row"] { text-align: left; font-weight: 500; color: var(--sb-muted); }
.sb-compare__plan { display: block; font-family: var(--sb-font-display); font-weight: 700; font-size: 1.15rem; color: var(--sb-white); }
.sb-compare__from { display: block; font-size: 0.78rem; color: var(--sb-muted-2); margin-top: 3px; font-weight: 500; }
.sb-compare__grouprow th { text-align: left; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sb-blue-glow); background: var(--sb-midnight); padding: 16px 18px 9px; }
.sb-compare__yes { color: var(--sb-blue-glow); display: inline-flex; }
.sb-compare__yes svg { width: 20px; height: 20px; }
.sb-compare__no { color: var(--sb-muted-2); }
.sb-compare__soon { font-size: 0.78rem; color: var(--sb-muted); font-style: italic; }
.sb-compare tfoot td { padding-top: 20px; padding-bottom: 20px; }
.sb-compare__note { text-align: center; font-size: 0.84rem; color: var(--sb-muted-2); margin-top: 22px; }

/* ============================================================
   17d. FEATURES PAGE
   ============================================================ */
.sb-hero--sub { position: relative; padding-top: calc(var(--sb-header-h) + 72px); padding-bottom: 36px; text-align: center; overflow: hidden; }
.sb-hero--sub .sb-container { position: relative; z-index: 2; }

.sb-featurerow { padding-block: clamp(48px, 7vw, 92px); }
.sb-featurerow__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.sb-featurerow.is-reversed .sb-featurerow__media { order: -1; }
.sb-featurerow__content .sb-eyebrow svg { width: 15px; height: 15px; }
.sb-featurerow__content h2 { margin-bottom: 16px; }
.sb-featurerow__list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.sb-featurerow__list li { display: flex; gap: 11px; align-items: flex-start; color: var(--sb-muted); }
.sb-featurerow__list svg { flex: none; width: 19px; height: 19px; color: var(--sb-blue-glow); margin-top: 2px; }

/* Illustration shell */
.sb-fx { max-width: 440px; margin-inline: auto; }
.sb-fx .sb-panel { box-shadow: var(--sb-shadow-float); }

/* strategy / brand DNA */
.sb-fx-dna { background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-lg); padding: 30px 24px; box-shadow: var(--sb-shadow-float); display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 11px; }
.sb-fx-dna__core { grid-column: 1 / -1; width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 30% 30%, rgba(162, 77, 214,0.3), rgba(67, 0, 126,0.1)); border: 1px solid var(--sb-blue); box-shadow: var(--sb-shadow-glow), inset 0 0 30px -10px rgba(162, 77, 214,0.4); }
.sb-fx-dna__core small { display: block; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sb-blue-glow); font-weight: 600; }
.sb-fx-dna__core b { font-family: var(--sb-font-display); font-size: 1.2rem; }
.sb-fx-dna__chip { display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 500; padding: 8px 13px; background: var(--sb-bg); border: 1px solid var(--sb-border-strong); border-radius: var(--sb-r-pill); }
.sb-fx-dna__chip svg { width: 14px; height: 14px; color: var(--sb-blue-glow); }

/* name search */
.sb-fx-search { display: flex; align-items: center; gap: 9px; background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: var(--sb-r-sm); padding: 11px 14px; color: var(--sb-white); font-size: 0.92rem; margin-bottom: 12px; }
.sb-fx-search svg { width: 16px; height: 16px; color: var(--sb-muted-2); }
.sb-fx-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 2px; border-bottom: 1px solid var(--sb-border); font-size: 0.9rem; color: var(--sb-muted); }
.sb-fx-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--sb-blue-glow); font-weight: 600; font-size: 0.8rem; }
.sb-fx-ok svg { width: 15px; height: 15px; }

/* logo grid active */
.sb-logo-cell.is-active { border-color: var(--sb-blue); background: rgba(67, 0, 126,0.1); box-shadow: 0 0 20px -6px rgba(67, 0, 126,0.6); }

/* website */
.sb-fx-hero { height: 70px; border-radius: 10px; background: linear-gradient(135deg, rgba(67, 0, 126,0.28), rgba(162, 77, 214,0.08)); }
.sb-fx-cta { width: 90px; height: 26px; border-radius: 7px; background: var(--sb-grad-cta); margin-top: 12px; }

/* social */
.sb-fx-stack { display: grid; gap: 16px; }
.sb-fx-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sb-fx-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--sb-grad-blue); flex: none; }
.sb-fx-post-img { height: 90px; border-radius: 10px; background: radial-gradient(circle at 30% 20%, rgba(162, 77, 214,0.3), var(--sb-midnight)); }

/* assets */
.sb-fx-fonts { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sb-border); }
.sb-fx-fonts b { font-family: var(--sb-font-display); font-weight: 700; font-size: 1.5rem; color: var(--sb-white); }
.sb-fx-fonts span { font-size: 0.86rem; color: var(--sb-muted); }

/* print */
.sb-fx-products { display: flex; gap: 12px; }
.sb-fx-product { flex: 1; aspect-ratio: 1; display: grid; place-items: center; background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: 12px; }
.sb-fx-product svg { width: 40%; height: 40%; color: var(--sb-blue-glow); }
.sb-fx-ship { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.82rem; font-weight: 600; color: var(--sb-blue-glow); background: rgba(67, 0, 126,0.1); border: 1px solid var(--sb-border); padding: 7px 13px; border-radius: var(--sb-r-pill); }
.sb-fx-ship svg { width: 16px; height: 16px; }

/* crm */
.sb-fx-crm { display: flex; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--sb-border); }
.sb-fx-stage { font-size: 0.72rem; font-weight: 600; color: var(--sb-blue-glow); background: rgba(67, 0, 126,0.1); border: 1px solid var(--sb-border); padding: 4px 11px; border-radius: var(--sb-r-pill); }

@media (max-width: 860px) {
  .sb-featurerow__inner { grid-template-columns: 1fr; gap: 34px; }
  .sb-featurerow__media, .sb-featurerow.is-reversed .sb-featurerow__media { order: 0; }
}

/* ============================================================
   17e. ABOUT PAGE
   ============================================================ */
.sb-about-story { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sb-about-story__body p { font-size: 1.05rem; line-height: 1.7; color: var(--sb-muted); margin-bottom: 1em; }
.sb-about-story__body p:last-child { margin-bottom: 0; }
.sb-usecards--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .sb-usecards--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .sb-about-story { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .sb-usecards--four { grid-template-columns: 1fr; } }

/* ============================================================
   17f. AGENCIES PAGE
   ============================================================ */
.sb-agency-spotlight { text-align: center; }
.sb-agency-spotlight .sb-plan { max-width: 440px; margin: 40px auto 0; text-align: left; }
.sb-agency-spotlight .sb-pricing__more { margin-top: 26px; }

.sb-roadmap { max-width: 820px; margin-inline: auto; text-align: center; background: linear-gradient(135deg, var(--sb-surface), var(--sb-bg)); border: 1px solid var(--sb-border); border-radius: var(--sb-r-xl); padding: clamp(32px, 5vw, 52px); position: relative; overflow: hidden; }
.sb-roadmap::before { content: ""; position: absolute; top: -40%; right: -8%; width: 420px; height: 420px; background: radial-gradient(circle, rgba(67, 0, 126, 0.14), transparent 65%); pointer-events: none; }
.sb-roadmap__tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sb-blue-glow); background: rgba(162, 77, 214, 0.12); border: 1px solid rgba(162, 77, 214, 0.32); padding: 6px 14px; border-radius: var(--sb-r-pill); margin-bottom: 18px; position: relative; }
.sb-roadmap h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 14px; position: relative; }
.sb-roadmap p { color: var(--sb-muted); max-width: 62ch; margin: 0 auto; position: relative; }

/* How it works: prompt starter */
.sb-how-start { max-width: 760px; margin-inline: auto; }
.sb-how-start .sb-prompt__note { text-align: center; margin-top: 16px; }

/* Reusable "see more" internal link */
.sb-section__cta { text-align: center; margin-top: clamp(30px, 4vw, 48px); }
.sb-arrowlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sb-blue-glow); }
.sb-arrowlink svg { width: 18px; height: 18px; transition: transform 0.2s var(--sb-ease); }
.sb-arrowlink:hover { color: var(--sb-white); }
.sb-arrowlink:hover svg { transform: translateX(3px); }

/* ============================================================
   18. GENERIC PAGE / POST / ARCHIVE / 404
   ============================================================ */
.sb-page { padding-top: calc(var(--sb-header-h) + 60px); }
.sb-page__header { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); }
.sb-page__header h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.sb-entry { max-width: 760px; margin-inline: auto; }
.sb-entry :where(h2,h3,h4) { margin-top: 1.6em; }
.sb-entry p, .sb-entry li { color: var(--sb-muted); }
.sb-entry a { color: var(--sb-blue-glow); text-decoration: underline; text-underline-offset: 3px; }
.sb-entry img { border-radius: var(--sb-r-md); margin: 1.5em 0; }
.sb-entry blockquote { border-left: 3px solid var(--sb-blue); padding-left: 20px; margin: 1.5em 0; color: var(--sb-white); font-style: italic; }
.sb-entry pre { background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: var(--sb-r-md); padding: 20px; overflow-x: auto; }
.sb-entry code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.9em; }

.sb-postcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.sb-postcard-item { background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-lg); overflow: hidden; transition: transform 0.3s, border-color 0.3s; }
.sb-postcard-item:hover { transform: translateY(-4px); border-color: var(--sb-border-strong); }
.sb-postcard-item__thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--sb-surface-2), var(--sb-midnight)); overflow: hidden; }
.sb-postcard-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sb-postcard-item__body { padding: 24px; }
.sb-postcard-item__body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.sb-postcard-item__meta { font-size: 0.8rem; color: var(--sb-muted-2); margin-bottom: 12px; letter-spacing: 0.04em; }

.sb-pagination { display: flex; gap: 10px; justify-content: center; margin-top: 56px; }
.sb-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--sb-border); border-radius: var(--sb-r-sm); color: var(--sb-muted); font-weight: 600; }
.sb-pagination .page-numbers.current, .sb-pagination .page-numbers:hover { color: #fff; background: var(--sb-blue); border-color: var(--sb-blue); }

.sb-404 { text-align: center; padding: clamp(80px, 14vw, 180px) 0; }
.sb-404 .code { font-family: var(--sb-font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 12rem); line-height: 1; background: var(--sb-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Comments */
.sb-comments { max-width: 760px; margin: 64px auto 0; }
.sb-comments ol { list-style: none; padding: 0; }
.sb-comments .comment-body { background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-md); padding: 20px; margin-bottom: 16px; }
.sb-comments input[type="text"], .sb-comments input[type="email"], .sb-comments input[type="url"], .sb-comments textarea {
  width: 100%; background: var(--sb-midnight); border: 1px solid var(--sb-border); border-radius: var(--sb-r-sm); padding: 12px 14px; color: var(--sb-white); font-family: inherit; margin-bottom: 14px;
}

/* ============================================================
   18b. LEGAL & HELP PAGES
   ============================================================ */
.sb-section--tight { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(28px, 4vw, 48px); }
.sb-legal__updated { font-size: 0.9rem; color: var(--sb-muted-2); margin-top: 14px; }

.sb-legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1000px; margin-inline: auto; }
.sb-legal__toc { position: sticky; top: calc(var(--sb-header-h) + 20px); background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-md); padding: 20px 22px; }
.sb-legal__toc b { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sb-muted-2); margin-bottom: 12px; }
.sb-legal__toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.sb-legal__toc a { color: var(--sb-muted); font-size: 0.9rem; line-height: 1.4; text-decoration: none; transition: color 0.2s; }
.sb-legal__toc a:hover { color: var(--sb-blue-glow); }

.sb-legal__body { max-width: 72ch; }
.sb-legal__body > :first-child { margin-top: 0; }
.sb-legal__section { scroll-margin-top: calc(var(--sb-header-h) + 20px); }
.sb-legal__section + .sb-legal__section { margin-top: 40px; }
.sb-legal__body h2 { font-size: 1.35rem; margin-bottom: 14px; }
.sb-legal__body p { color: var(--sb-muted); line-height: 1.72; margin-bottom: 1em; }
.sb-legal__body ul { color: var(--sb-muted); line-height: 1.7; margin: 0 0 1em; padding-left: 1.2em; }
.sb-legal__body li { margin-bottom: 0.5em; }
.sb-legal__body a { color: var(--sb-blue-glow); text-decoration: underline; text-underline-offset: 3px; }
.sb-legal__note { margin-top: 40px; padding: 18px 20px; border: 1px solid var(--sb-border); border-radius: var(--sb-r-md); background: var(--sb-surface); font-size: 0.9rem; color: var(--sb-muted-2); }

/* Help contact tiles */
.sb-help-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin-inline: auto; }
.sb-help-tile { background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-lg); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.sb-help-tile__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(67, 0, 126,0.18), rgba(162, 77, 214,0.06)); border: 1px solid var(--sb-border); margin-bottom: 8px; }
.sb-help-tile__icon svg { width: 23px; height: 23px; color: var(--sb-blue-glow); }
.sb-help-tile b { font-size: 1.05rem; }
.sb-help-tile span { color: var(--sb-muted); font-size: 0.95rem; line-height: 1.55; }
.sb-help-tile__muted { color: var(--sb-muted-2) !important; font-size: 0.85rem !important; }
.sb-help-tile__link { margin-top: auto; padding-top: 6px; color: var(--sb-blue-glow); font-weight: 600; text-decoration: none; }
.sb-help-tile__link:hover { text-decoration: underline; }

/* Help topic cards */
.sb-helpgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1000px; margin-inline: auto; }
.sb-helpcard { display: flex; flex-direction: column; gap: 8px; background: var(--sb-surface); border: 1px solid var(--sb-border); border-radius: var(--sb-r-lg); padding: 26px 28px; text-decoration: none; transition: transform 0.3s var(--sb-ease), border-color 0.3s; }
.sb-helpcard:hover { transform: translateY(-4px); border-color: var(--sb-border-strong); }
.sb-helpcard__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(67, 0, 126,0.16), rgba(162, 77, 214,0.06)); border: 1px solid var(--sb-border); margin-bottom: 7px; }
.sb-helpcard__icon svg { width: 22px; height: 22px; color: var(--sb-blue-glow); }
.sb-helpcard b { font-size: 1.1rem; color: var(--sb-white); }
.sb-helpcard > span { color: var(--sb-muted); font-size: 0.95rem; line-height: 1.55; }
.sb-helpcard__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--sb-blue-glow); font-weight: 600; font-size: 0.9rem; }
.sb-helpcard__cta svg { width: 16px; height: 16px; transition: transform 0.3s var(--sb-ease); }
.sb-helpcard:hover .sb-helpcard__cta svg { transform: translateX(4px); }

/* ============================================================
   19. REVEAL (JS adds .is-in). CSS fallback = visible.
   ============================================================ */
.sb-reveal { opacity: 1; }
/* Reveal is a gentle upward slide only — it never changes opacity, so text is
   always fully readable even if the script is blocked, errors or runs late.
   Only elements the script arms (below the fold) slide; a 2.5s failsafe clears
   the shift for anything never scrolled into view. */
.sb-reveal.sb-armed { transform: translateY(16px); transition: transform 0.7s var(--sb-ease); animation: sbRevealSafety 0.5s var(--sb-ease) 2.5s forwards; }
.sb-reveal.sb-armed.is-in { transform: none; animation: none; }
@keyframes sbRevealSafety { to { transform: none; } }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1040px) {
  .sb-dna { grid-template-columns: 1fr; }
  .sb-dna__diagram { order: -1; max-width: 440px; }
  .sb-india__inner { grid-template-columns: 1fr; }
  .sb-footer__top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .sb-footer__brand { grid-column: 1 / -1; }
  .sb-legal { grid-template-columns: 1fr; }
  .sb-legal__toc { position: static; }
}

@media (max-width: 920px) {
  .sb-nav, .sb-header__actions .sb-lang, .sb-header__actions .sb-signin, .sb-header__actions .sb-btn { display: none; }
  .sb-nav-toggle { display: inline-flex; }
  .sb-steps { grid-template-columns: 1fr; }
  .sb-steps::before { display: none; }
  .sb-help-contact { grid-template-columns: 1fr; }
  .sb-helpgrid { grid-template-columns: 1fr; }
  .sb-features { grid-template-columns: repeat(2, 1fr); }
  .sb-founder__card { grid-template-columns: 1fr; text-align: center; }
  .sb-founder__portrait { max-width: 240px; margin-inline: auto; }
  .sb-founder__actions { justify-content: center; }
  .sb-pricing__grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .sb-plan.is-popular { order: -1; }
  /* Product showcase collapses to a 2-up grid; tiles size by aspect ratio */
  .sb-product__stage { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .sb-panel--a, .sb-panel--b, .sb-panel--c, .sb-panel--d, .sb-panel--e { grid-column: span 1; }
  .sb-shot--a, .sb-shot--b, .sb-shot--c, .sb-shot--d, .sb-shot--e { grid-column: span 1; }
  .sb-shot { aspect-ratio: 16 / 10; }
  /* Hero mockups reflow */
  .sb-mock--identity, .sb-mock--palette, .sb-mock--logos, .sb-mock--site, .sb-mock--social { grid-column: span 6; }
}

@media (max-width: 640px) {
  body.aiwebsitecreation { font-size: 16px; }
  :root { --sb-gutter: 20px; }
  .sb-header__brand .sb-logo--img img { height: 28px !important; max-width: 190px; }
  .sb-hero__cta { flex-direction: column; }
  .sb-hero__cta .sb-btn { width: 100%; }
  .sb-prompt__bar { justify-content: stretch; }
  .sb-prompt__generate { width: 100%; justify-content: center; }
  .sb-features { grid-template-columns: 1fr; }
  .sb-usecards { grid-template-columns: 1fr; }
  .sb-product__stage { grid-template-columns: 1fr; }
  .sb-shot { aspect-ratio: 16 / 10; }
  .sb-mock--identity, .sb-mock--palette, .sb-mock--logos, .sb-mock--site, .sb-mock--social { grid-column: span 12; }
  .sb-footer__top { grid-template-columns: 1fr; }
  .sb-trust__label { font-size: 0.88rem; padding: 11px 16px; }
  .sb-finalcta__mini { flex-direction: column; padding: 14px; border-radius: var(--sb-r-md); }
  .sb-finalcta__mini input { text-align: center; width: 100%; }
  .sb-finalcta__mini button { width: 100%; }
}

/* ============================================================
   21. MOTION PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .sb-reveal, .sb-reveal.sb-armed { opacity: 1 !important; transform: none !important; }
  .sb-prompt__text .caret { animation: none; }
}
