/* SIINTO — 2026 Design System (Apple Pro Studio Aesthetic) */

/* ==========================================================================
   Design Tokens & Variables (Dark Theme as Default)
   ========================================================================== */
:root {
  /* Default: Dark Theme / Studio Pro */
  --bg: #0b0f17;
  --bg-gradient: radial-gradient(1200px 600px at 50% -10%, rgba(16, 185, 129, 0.14), transparent 70%),
                 radial-gradient(900px 500px at 90% 15%, rgba(99, 102, 241, 0.08), transparent 60%),
                 linear-gradient(180deg, #0b0f17 0%, #070a10 100%);
  --surface: #111827;
  --surface-secondary: #182235;
  --surface-glass: rgba(17, 24, 39, 0.82);
  --surface-glass-border: rgba(255, 255, 255, 0.12);
  --surface-card: rgba(255, 255, 255, 0.038);
  --surface-card-hover: rgba(255, 255, 255, 0.065);

  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --muted-light: #64748b;

  --border: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.04);
  --border-highlight: rgba(52, 211, 153, 0.45);

  /* Emerald Studio Pro Accent */
  --accent: #10b981;
  --accent-hover: #34d399;
  --accent-light: #6ee7b7;
  --accent-soft: rgba(16, 185, 129, 0.18);
  --accent-glow: rgba(16, 185, 129, 0.35);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px -4px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  --shadow-window: 0 30px 80px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Modern, Crisp, High-Tech Typography */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;

  --max: 1140px;
  --narrow: 780px;

  color-scheme: dark;
}

/* Explicit Light Theme (when toggled by user) */
[data-theme="light"] {
  --bg: #f8fafc;
  --bg-gradient: radial-gradient(1000px 500px at 50% -10%, rgba(16, 185, 129, 0.08), transparent 70%),
                 radial-gradient(800px 400px at 90% 10%, rgba(99, 102, 241, 0.04), transparent 60%),
                 linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --surface: #ffffff;
  --surface-secondary: #f1f5f9;
  --surface-glass: rgba(255, 255, 255, 0.84);
  --surface-glass-border: rgba(255, 255, 255, 0.6);
  --surface-card: #ffffff;
  --surface-card-hover: #ffffff;

  --ink: #090d16;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;

  --border: rgba(15, 23, 42, 0.08);
  --border-subtle: rgba(15, 23, 42, 0.04);
  --border-highlight: rgba(16, 185, 129, 0.35);

  --accent: #059669;
  --accent-hover: #047857;
  --accent-light: #10b981;
  --accent-soft: rgba(16, 185, 129, 0.1);
  --accent-glow: rgba(16, 185, 129, 0.22);

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 24px 60px -12px rgba(15, 23, 42, 0.12), 0 8px 24px -4px rgba(15, 23, 42, 0.04);
  --shadow-window: 0 30px 80px -15px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.08);

  color-scheme: light;
}

[data-theme="dark"] {
  color-scheme: dark;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font: 16px/1.6 var(--font-body);
  color: var(--ink);
  background: var(--bg);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

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

::selection {
  background: var(--accent-soft);
  color: var(--accent);
}

.wrap,
.site-header__inner,
.site-footer__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ==========================================================================
   Navigation Bar (Frosted Glass Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  background: var(--surface-glass);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px var(--accent-glow);
}

.brand-icon svg {
  width: 16px;
  height: 16px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  transition: all 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a.current {
  color: var(--ink);
  background: var(--surface-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--ink);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Theme Icon Display (Default is Dark -> Show Sun Icon to switch to light) */
.theme-toggle .sun-icon { display: block; }
.theme-toggle .moon-icon { display: none; }

[data-theme="light"] .theme-toggle .sun-icon { display: none; }
[data-theme="light"] .theme-toggle .moon-icon { display: block; }

/* Higher specificity than .btn so the header CTA can stay hidden on small screens. */
a.btn.nav-cta {
  display: none;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

a.btn.nav-cta svg {
  width: 12px;
  height: 12px;
}

@media (min-width: 860px) {
  a.btn.nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
  }
  .site-header.is-nav-open .nav-links { display: flex; }
  .nav-links a {
    padding: 0.75rem 0.9rem;
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-md);
  font-weight: 650;
  font-size: 0.96rem;
  letter-spacing: -0.015em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff !important;
  box-shadow: 0 2px 10px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 18px var(--accent-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: translateY(-1.5px);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink) !important;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--surface-secondary);
  border-color: var(--border-highlight);
  color: var(--ink) !important;
  transform: translateY(-1.5px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: clip;
}

.hero__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero__headline {
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.store-badge {
  display: inline-flex;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-1.5px);
  opacity: 0.92;
}

.store-badge img {
  height: 40px;
  width: auto;
}

@media (max-width: 767px) {
  .store-badge img {
    height: 32px;
  }

  .hero__actions {
    gap: 0.75rem;
  }
}

.proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--muted);
  margin-top: 1rem;
}

.proof-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.proof-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ==========================================================================
   Screenshot Frame
   ========================================================================== */
.window-frame {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-window);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 0 auto;
}

.window-frame__glow {
  position: absolute;
  top: -20%;
  left: 10%;
  right: 10%;
  height: 50%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.window-frame__body {
  position: relative;
  overflow: hidden;
}

.window-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Interactive Before / After Comparison Slider
   ========================================================================== */
.compare-container {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
}

.compare-image-base,
.compare-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.compare-image-base img,
.compare-image-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.compare-image-overlay {
  width: var(--pos, 50%);
  overflow: hidden;
  border-right: 2px solid #ffffff;
  box-shadow: 2px 0 16px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.compare-image-overlay img {
  width: 100%;
  max-width: none;
  height: 100%;
}

.compare-image-overlay .compare-inner-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}

.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: none;
}

.compare-handle__button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #090d16;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: auto;
  cursor: ew-resize;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.compare-handle__button:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--accent);
}

.compare-handle__button svg {
  width: 16px;
  height: 16px;
  color: #090d16;
}

.compare-badge {
  position: absolute;
  bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  z-index: 5;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.compare-badge--left { left: 1rem; }
.compare-badge--right { right: 1rem; }

.compare-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: ew-resize;
  z-index: 20;
}

/* ==========================================================================
   Spotlight Comparison Section (Option C Feature)
   ========================================================================== */
.spotlight-section {
  padding: 4.5rem 0 3.5rem;
}

.spotlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .spotlight-card {
    grid-template-columns: 1fr 1.25fr;
    padding: 3rem;
  }
}

.spotlight-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.spotlight-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  line-height: 1.65;
}

.spotlight-features {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.spotlight-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.spotlight-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.spotlight-slider-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.spotlight-slider-wrap .compare-container {
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Bento Grid & Features Section
   ========================================================================== */
.section {
    padding-block-start: 64px;
}

.section:first-child {
    padding-top: 36px;
}

.section--tight {
  padding: 2.5rem 0 3.5rem;
}

.section__intro {
  max-width: 640px;
  margin: 0 0 3rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.section__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1040px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-card--span-2 {
    grid-column: span 2;
  }
}

.bento-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.bento-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.bento-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.bento-card__icon svg {
  width: 22px;
  height: 22px;
}

.bento-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
  color: var(--ink);
}

.bento-card__text {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.bento-card__media {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--surface-secondary);
}

.bento-card__media img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease;
}

.bento-card:hover .bento-card__media img {
  transform: scale(1.02);
}

.bento-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin-top: 0.75rem;
}

.bento-card__link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   Screenshot lightbox (click-to-enlarge)
   ========================================================================== */
img.is-zoomable {
  cursor: zoom-in;
}

.lightbox {
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(96vw, 1400px);
  max-height: 94vh;
  width: auto;
  color: inherit;
}

.lightbox::backdrop {
  background: rgba(7, 10, 16, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.lightbox__img {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-lg);
  background: #0b0f17;
}

.lightbox__close {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(17, 24, 39, 0.92);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background 0.15s ease, transform 0.15s ease;
}

.lightbox__close:hover {
  background: rgba(30, 41, 59, 0.98);
  transform: scale(1.04);
}

.lightbox__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 640px) {
  .lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
  }
}

/* ==========================================================================
   Privacy Banner Panel
   ========================================================================== */
.privacy-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.privacy-banner__glow {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.privacy-banner__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .privacy-banner__grid {
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
  }
}

.privacy-banner__shield {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy-banner__shield svg {
  width: 38px;
  height: 38px;
}

.privacy-banner__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.privacy-banner__copy p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.privacy-banner__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Download Section Cards
   ========================================================================== */
.download-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .download-grid {
    grid-template-columns: 1.25fr 1fr;
    align-items: stretch;
  }
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.download-card--primary {
  border-color: var(--border-highlight);
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-secondary) 100%);
}

.download-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem;
}

.download-card__text {
  color: var(--ink-soft);
  margin: 0 0 1.75rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.download-card__footer {
  margin-top: auto;
}

/* ==========================================================================
   Documentation & Support Layout (`/support`, `/ios`, `/privacy`)
   ========================================================================== */
.docs-layout {
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 5rem;
}

@media (min-width: 960px) {
  .docs-layout {
    grid-template-columns: 240px 1fr;
    align-items: start;
    gap: 3.5rem;
  }
}

/* Sticky Sidebar TOC */
.docs-sidebar {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.docs-toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}

.docs-toc strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.docs-toc a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: all 0.15s ease;
}

.docs-toc a:hover {
  color: var(--ink);
  background: var(--surface-secondary);
}

.docs-toc a.active {
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 650;
}

/* Documentation Content Body */
.docs-content {
  max-width: var(--narrow);
}

.docs-header {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.docs-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 0 0 0.65rem;
}

.docs-lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.platform-pill {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
}

.platform-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.docs-content h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin: 2.75rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.docs-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.docs-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.65rem;
  color: var(--ink);
}

.docs-content p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.docs-content ul,
.docs-content ol {
  margin: 0 0 1.35rem;
  padding-left: 1.4rem;
  color: var(--ink-soft);
}

.docs-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.docs-content dl {
  margin: 0 0 1.5rem;
}

.docs-content dt {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 1.25rem;
}

.docs-content dd {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Callout Card */
.callout-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.callout-card--highlight {
  border-left: 4px solid var(--accent);
  background: var(--surface-secondary);
}

/* Keycaps */
kbd {
  display: inline-block;
  padding: 0.15em 0.45em;
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 650;
  color: var(--ink);
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  vertical-align: baseline;
}

/* iPhone Dual Preview Frame */
.ios-preview-grid {
  display: grid;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
}

@media (min-width: 600px) {
  .ios-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ios-mockup-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 320px;
  margin: 0 auto;
}

.ios-mockup-frame img {
  border-radius: 28px;
  width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  padding: 3.5rem 0 3rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-launchstag {
  line-height: 0;
}

.footer-launchstag .launchstag-badge {
  display: none;
}

.footer-launchstag .launchstag-badge img {
  display: block;
  width: 131px;
  height: auto;
}

/* Exactly one badge: dark theme → badge-dark; light theme → badge-light. */
html[data-theme="dark"] .footer-launchstag .launchstag-badge--dark,
html:not([data-theme]) .footer-launchstag .launchstag-badge--dark {
  display: inline-block;
}

html[data-theme="light"] .footer-launchstag .launchstag-badge--light {
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}

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

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

/* ==========================================================================
   Direct download & pricing (license purchase)
   ========================================================================== */
.btn-lg {
  padding: 0.95rem 1.55rem;
  font-size: 1.02rem;
}

.btn.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.download-cta-card {
  background: var(--surface);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 0.5rem;
}

.pricing-wrap {
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border: 2px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.4;
}

.pricing-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.pricing-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.8rem;
  color: var(--ink);
}

.pricing-desc {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.pricing-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.pricing-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.pricing-checkout-box {
  background: var(--surface-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.35rem;
}

.pricing-amount .currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
}

.pricing-amount .price {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ink);
  line-height: 1;
}

.pricing-period {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.pricing-trust-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}

.pricing-trust-notice svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

@media (max-width: 960px) {
  .pricing-card {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
  }
}

/* ==========================================================================
   Animations & Polish
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-rise {
  animation: fadeInUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
