:root {
  --atom-bg: #171717;
  --atom-surface-terminal: #1c1c1c;
  --atom-panel: #222222;
  --atom-panel-hover: #2a2a2a;
  --atom-well: #121212;
  --atom-ink-bright: #f0f0f0;
  --atom-ink: #d0d0d0;
  --atom-ink-soft: #a3a3a3;
  --atom-muted: #737373;
  --atom-accent: #0078d4;
  --atom-accent-hover: #1a8ae6;
  --atom-accent-deep: #005a9e;
  --atom-accent-ink: #ffffff;
  --atom-accent-06: rgba(0, 120, 212, 0.06);
  --atom-accent-08: rgba(0, 120, 212, 0.08);
  --atom-accent-12: rgba(0, 120, 212, 0.12);
  --atom-accent-16: rgba(0, 120, 212, 0.16);
  --atom-accent-28: rgba(0, 120, 212, 0.28);
  --atom-accent-40: rgba(0, 120, 212, 0.4);
  --atom-success: #89d185;
  --atom-line-2: #2c2c2c;
  --atom-line-3: #383838;
  --atom-line-4: #464646;
  --atom-line-faint: rgba(255, 255, 255, 0.055);
  --atom-font-sans: 'Sora', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --atom-font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --atom-radius-sm: 6px;
  --atom-radius-md: 8px;
  --atom-radius-lg: 12px;
  --atom-radius-xl: 14px;
  --atom-radius-2xl: 16px;
  --atom-radius-3xl: 20px;
  --atom-radius-pill: 999px;
  --atom-shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.3);
  --atom-shadow-card: 0 2px 6px rgba(0, 0, 0, 0.22);
  --atom-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --atom-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wide-page-max: 1680px;
  --page-gutter: clamp(28px, 4vw, 68px);
  /* Use 100% (not 100vw) so scrollbar width does not create horizontal overflow. */
  --frame-inset: max(0px, calc((100% - var(--wide-page-max)) / 2));
  --frame-pad-right: clamp(28px, 3.25vw, 54px);
  /* Shared left-column + gap so hero product and business value panel align. */
  --bleed-copy-col: 520px;
  --bleed-gap: 80px;
  --header-height: 76px;

  --title-weight: 700;
  --title-size: clamp(2.25rem, 3.8vw, 3.35rem);
  --title-leading: 1.08;
  --title-tracking: -0.035em;
  --title-gap: 20px;
  --kicker-gap: 22px;
  --lead-size: 1.0625rem;
  --lead-leading: 1.7;
  --section-pad-y: clamp(88px, 9.5vw, 128px);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    color-scheme: light;
    --atom-bg: #f4f5f7;
    --atom-surface-terminal: #ffffff;
    --atom-panel: #fafbfc;
    --atom-panel-hover: #f0f1f3;
    --atom-well: #eceef1;
    --atom-ink-bright: #14171c;
    --atom-ink: #2a2f36;
    --atom-ink-soft: #555c66;
    --atom-muted: #6b7280;
    --atom-success: #1a7f37;
    --atom-line-2: #e2e5ea;
    --atom-line-3: #d5d9e0;
    --atom-line-4: #c5cad3;
    --atom-line-faint: rgba(0, 0, 0, 0.05);
    --atom-shadow-soft: 0 10px 24px rgba(15, 30, 55, 0.12);
    --atom-shadow-card: 0 2px 6px rgba(15, 30, 55, 0.09);
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) { color-scheme: dark; }
}

[data-theme='light'] {
  color-scheme: light;
  --atom-bg: #f4f5f7;
  --atom-surface-terminal: #ffffff;
  --atom-panel: #fafbfc;
  --atom-panel-hover: #f0f1f3;
  --atom-well: #eceef1;
  --atom-ink-bright: #14171c;
  --atom-ink: #2a2f36;
  --atom-ink-soft: #555c66;
  --atom-muted: #6b7280;
  --atom-success: #1a7f37;
  --atom-line-2: #e2e5ea;
  --atom-line-3: #d5d9e0;
  --atom-line-4: #c5cad3;
  --atom-line-faint: rgba(0, 0, 0, 0.05);
  --atom-shadow-soft: 0 10px 24px rgba(15, 30, 55, 0.12);
  --atom-shadow-card: 0 2px 6px rgba(15, 30, 55, 0.09);
}

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

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--atom-bg);
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--atom-font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--atom-ink);
  background: var(--atom-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: var(--atom-radius-md);
  background: var(--atom-accent);
  color: var(--atom-accent-ink);
  text-decoration: none;
  font-weight: 600;
  /* Keep off-screen without expanding the page horizontally. */
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link:focus {
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
}

/* -- Typography -- */
.kicker {
  margin: 0 0 var(--kicker-gap);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--atom-muted);
}

.section-title {
  margin: 0 0 var(--title-gap);
  color: var(--atom-ink-bright);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.section-lead {
  margin: 0;
  color: var(--atom-ink-soft);
  font-size: var(--lead-size);
  line-height: var(--lead-leading);
  max-width: 38em;
}

/* -- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--atom-radius-md);
  font: 600 0.875rem/1 var(--atom-font-sans);
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 180ms var(--atom-ease),
    background 180ms var(--atom-ease),
    color 180ms var(--atom-ease),
    box-shadow 180ms var(--atom-ease),
    transform 180ms var(--atom-ease);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible,
.site-nav a:focus-visible,
.site-footer a:focus-visible,
.business-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--atom-accent) 75%, transparent);
  outline-offset: 3px;
}

/* Icons sized in em so they track whatever size variant the button uses. */
.btn i {
  flex: none;
  font-size: 1.38em;
}
.btn i::before { display: block; line-height: 1; }

.btn-lg {
  min-height: 54px;
  gap: 10px;
  padding: 0 20px;
  border-radius: var(--atom-radius-lg);
  font-size: 0.975rem;
}
.btn-primary {
  border-color: var(--atom-accent);
  background: var(--atom-accent);
  color: var(--atom-accent-ink);
}
.btn-primary:hover {
  border-color: var(--atom-accent-hover);
  background: var(--atom-accent-hover);
}
.btn-outline {
  border-color: var(--atom-line-4);
  background: var(--atom-panel);
  color: var(--atom-ink-bright);
}
.btn-outline:hover {
  border-color: var(--atom-accent);
  background: var(--atom-accent-08);
  color: var(--atom-ink-bright);
}

/* -- Header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--atom-bg) 82%, transparent);
  /* Blur is functional here: page content scrolls under the sticky header. */
  backdrop-filter: blur(14px);
  transition: border-color 220ms var(--atom-ease), box-shadow 220ms var(--atom-ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--atom-line-2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.site-header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1680px;
  height: 100%;
  margin: 0 auto;
  padding-left: clamp(28px, 4vw, 68px);
  padding-right: clamp(28px, 3.25vw, 54px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  text-decoration: none;
  transition: opacity 160ms var(--atom-ease);
}
.brand:hover { opacity: 0.88; }
.brand-logo { width: 32px; height: 32px; }
.brand-name {
  color: var(--atom-ink-bright);
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 1.6vw, 26px);
}
.site-nav a {
  position: relative;
  white-space: nowrap;
  color: var(--atom-ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--atom-ease);
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--atom-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--atom-ease);
}
.site-nav a:hover { color: var(--atom-ink-bright); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  justify-self: end;
  min-height: 42px;
  padding-inline: 22px;
  border-radius: var(--atom-radius-lg);
  font-size: 0.9375rem;
}

/* -- Hero -- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: var(--bleed-copy-col) minmax(0, 1fr);
  align-items: center;
  gap: var(--bleed-gap);
  max-width: var(--wide-page-max);
  height: calc(100vh - var(--header-height));
  min-height: 740px;
  margin: 0 auto;
  padding-top: 48px;
  padding-right: 0;
  padding-bottom: 56px;
  padding-left: var(--page-gutter);
  overflow-x: clip;
}

.hero-copy,
.hero-product {
  position: relative;
  z-index: 1;
}

.hero-copy { min-width: 0; }

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 3.5vw, 3.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--atom-ink-bright);
}
.hero h1 span { display: block; white-space: nowrap; }

.hero-lead {
  max-width: 34rem;
  margin: 0 0 48px;
  color: var(--atom-ink-soft);
  font-size: 1.125rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}
.hero-note i::before,
.product-window i::before { display: block; line-height: 1; }
.hero-watch i { color: var(--atom-accent); }

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--atom-ink-soft);
  font-size: 0.875rem;
}
.hero-note i {
  flex: none;
  color: var(--atom-success);
  font-size: 1.35rem;
}

@media (min-width: 1321px) {
  .hero h1 { font-size: clamp(3.5rem, 4vw, 4.1rem); }
}

/* -- Product mock -- */
.hero-product {
  min-width: 0;
  transform-origin: right center;
}

.product-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--atom-line-3);
  border-right: 0;
  border-radius: var(--atom-radius-3xl) 0 0 var(--atom-radius-3xl);
  background: var(--atom-surface-terminal);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Window chrome */
.mock-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--atom-line-2);
  background: color-mix(in srgb, var(--atom-panel) 55%, transparent);
}
.mock-window-controls { display: flex; align-items: center; gap: 8px; }
.mock-window-controls i { font-size: 0.75rem; }
.mock-window-close { color: #ff625a; }
.mock-window-minimize { color: #ffbe2e; }
.mock-window-expand { color: #29c841; }
.mock-titlebar-name {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: var(--atom-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

/* App bar: brand on the left, window actions on the right */
.mock-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 0 22px;
  border-bottom: 1px solid var(--atom-line-2);
}
.mock-brand { display: flex; align-items: center; gap: 11px; }
.mock-brand > span { display: grid; gap: 3px; }
.mock-brand strong {
  color: var(--atom-ink-bright);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.mock-brand small { color: var(--atom-muted); font: 500 0.625rem/1 var(--atom-font-mono); }
.mock-appbar-actions { display: flex; align-items: center; gap: 16px; }
.mock-appbar-actions i { color: var(--atom-muted); font-size: 1.15rem; }

.mock-home {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: 532px;
}
.mock-sidebar {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--atom-line-2);
  background: color-mix(in srgb, var(--atom-well) 40%, transparent);
}

.mock-nav { display: grid; gap: 4px; padding: 16px 12px; }
.mock-nav-item {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--atom-radius-lg);
  color: var(--atom-ink-soft);
  font-size: 0.875rem;
  transition:
    background 220ms var(--atom-ease),
    color 220ms var(--atom-ease);
}
.mock-nav-item.is-active {
  background: var(--atom-line-2);
  color: var(--atom-ink-bright);
  font-weight: 600;
}
.mock-nav-icon { color: var(--atom-muted); font-size: 1.05rem; text-align: center; }
.mock-nav-item.is-active .mock-nav-icon { color: var(--atom-ink-bright); }
.mock-nav-item small {
  min-width: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--atom-line-3);
  color: var(--atom-ink-soft);
  font: 500 0.625rem/1.6 var(--atom-font-sans);
  text-align: center;
}

/* Views are stacked in one grid cell so switching tabs never resizes the window. */
.mock-main {
  display: grid;
  min-width: 0;
  padding: 30px 32px 32px;
}
.mock-view {
  grid-area: 1 / 1;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 260ms var(--atom-ease),
    transform 260ms var(--atom-ease),
    visibility 0s linear 260ms;
}
.mock-view.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.mock-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.mock-view-head > div:first-child { min-width: 0; flex: 1; }
.mock-view-head h3 {
  margin: 0;
  color: var(--atom-ink-bright);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.mock-view-head p {
  margin: 7px 0 0;
  color: var(--atom-ink-soft);
  font-size: 0.8125rem;
}
.mock-head-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Shared pill button used by every card and header action in the mock. */
.mock-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-md);
  background: var(--atom-panel);
  color: var(--atom-ink-bright);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.mock-btn i { color: var(--atom-ink-soft); font-size: 0.95rem; }

/* Filter bar */
.mock-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.mock-field-label { color: var(--atom-ink-soft); font-size: 0.75rem; }
.mock-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 104px;
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-md);
  background: var(--atom-panel);
  color: var(--atom-ink-bright);
  font-size: 0.75rem;
  font-weight: 500;
}
.mock-select i { color: var(--atom-muted); font-size: 0.9rem; }
.mock-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 34px;
  margin-left: auto;
  padding: 0 12px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-md);
  background: var(--atom-panel);
  color: var(--atom-muted);
  font-size: 0.75rem;
  overflow: hidden;
  white-space: nowrap;
}
.mock-search i { flex: none; font-size: 0.95rem; }

/* Cards */
.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 14px;
}
.mock-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--atom-line-2);
  border-radius: var(--atom-radius-xl);
  background: var(--atom-panel);
  box-shadow: var(--atom-shadow-card);
}
.mock-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}
.mock-card-tile {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--atom-radius-lg);
  background: linear-gradient(145deg, var(--atom-accent-28), var(--atom-accent-12));
  color: var(--atom-accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mock-card-head > div { display: grid; min-width: 0; gap: 3px; }
.mock-card-head strong {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--atom-ink-bright);
  font-size: 0.875rem;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.mock-card-head strong i { flex: none; color: var(--atom-muted); font-size: 0.8rem; }
.mock-card-head small {
  overflow: hidden;
  color: var(--atom-ink-soft);
  font-size: 0.6875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mock-card-menu { color: var(--atom-muted); font-size: 0.95rem; }

.mock-data {
  margin: 0;
  padding: 9px 12px;
  border-radius: var(--atom-radius-md);
  background: var(--atom-well);
  color: var(--atom-ink-soft);
  font: 500 0.6875rem/1.2 var(--atom-font-mono);
}
.mock-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
}

@media (min-width: 1321px) {
  /* Bleed hero product + business panel on the same shared grid. */
  .hero {
    max-width: none;
    width: auto;
    margin: 0;
    padding-left: calc(var(--page-gutter) + var(--frame-inset));
    padding-right: 0;
    grid-template-columns: var(--bleed-copy-col) minmax(0, 1fr);
    gap: var(--bleed-gap);
  }
  .hero-product {
    margin-right: 0;
    width: 100%;
  }
  .product-window {
    border-right: 0;
    border-radius: var(--atom-radius-3xl) 0 0 var(--atom-radius-3xl);
  }
}

/* -- What is TinyAtom -- */
.what-section {
  border-block: 1px solid var(--atom-line-2);
  background: var(--atom-panel);
  /* Full-bleed band: no max-width / side margins on the section itself. */
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.what-inner {
  width: auto;
  max-width: var(--wide-page-max);
  margin-inline: auto;
  padding: var(--section-pad-y) var(--frame-pad-right) var(--section-pad-y) var(--page-gutter);
}
.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}
.what-intro .section-title {
  max-width: 18ch;
  font-size: clamp(2.1rem, 3.4vw, 3rem);
}
.what-intro .section-lead {
  max-width: 40em;
}

.what-who {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.what-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-xl);
  background: var(--atom-surface-terminal);
  box-shadow: var(--atom-shadow-card);
  transition: border-color 180ms var(--atom-ease), background 180ms var(--atom-ease);
}
.what-card:hover {
  border-color: var(--atom-line-4);
  background: color-mix(in srgb, var(--atom-accent-06) 60%, var(--atom-surface-terminal));
}
.use-case-tag {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 14px;
  padding: 5px 10px;
  border-radius: var(--atom-radius-pill);
  border: 1px solid var(--atom-line-3);
  color: var(--atom-ink-soft);
  font: 600 0.6875rem/1 var(--atom-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.what-card h3 {
  margin: 0 0 10px;
  color: var(--atom-ink-bright);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.what-card > p {
  margin: 0 0 16px;
  color: var(--atom-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.what-card .business-link {
  margin-top: auto;
  font-size: 0.9rem;
}


/* Shared frame */
.section,
.security-inner,
.what-inner,
.faq-inner,
.site-footer-inner {
  width: auto;
  max-width: var(--wide-page-max);
  margin-inline: auto;
}
.section { padding: var(--section-pad-y) var(--frame-pad-right) var(--section-pad-y) var(--page-gutter); }
.section-intro { max-width: var(--bleed-copy-col); }

/* -- Business -- */
.business-section {
  display: grid;
  grid-template-columns: var(--bleed-copy-col) minmax(0, 1fr);
  align-items: center;
  gap: var(--bleed-gap);
  max-width: none;
  width: auto;
  margin: 0;
  padding: 72px 0 64px calc(var(--page-gutter) + var(--frame-inset));
  overflow: hidden;
}
.business-section .section-intro { max-width: none; padding-top: 0; }
.business-section .kicker { margin-bottom: 28px; }
.business-section .section-title {
  max-width: none;
  margin: 0 0 28px;
  font-size: clamp(3.1rem, 4.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.business-section .section-lead { max-width: none; }

.business-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-bottom: 10px;
  color: var(--atom-accent);
  font-size: 0.975rem;
  font-weight: 650;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.business-link::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--atom-accent-40), transparent);
  content: '';
}
.business-link i {
  font-size: 1.2rem;
  transition: transform 180ms var(--atom-ease);
}
.business-link:hover i { transform: translateX(4px); }

.value-list {
  width: 100%;
  justify-self: stretch;
  min-width: 0;
  border: 1px solid var(--atom-line-3);
  border-right: 0;
  border-radius: var(--atom-radius-2xl) 0 0 var(--atom-radius-2xl);
  background: var(--atom-surface-terminal);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.value-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px;
  gap: 24px;
  min-height: 0;
  padding: 22px 40px;
  align-items: center;
  border-bottom: 1px solid var(--atom-line-3);
  transition: background 180ms var(--atom-ease);
}
.value-row:last-child { border-bottom: 0; }
.value-row:hover { background: var(--atom-accent-06); }

.value-row h3 {
  margin: 0 0 8px;
  color: var(--atom-ink-bright);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 650;
}
.value-row p {
  max-width: 620px;
  margin: 0;
  color: var(--atom-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.value-row .example-line {
  max-width: none;
  margin-top: 10px;
  color: var(--atom-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.value-icon {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: end;
  width: 44px;
  height: 44px;
  color: var(--atom-muted);
  transition: color 180ms var(--atom-ease);
}
.value-row:hover .value-icon { color: var(--atom-accent); }
.value-icon i { font-size: 1.5rem; }


/* -- How it works -- */
.how-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 5vw, 82px);
  align-items: center;
  border-top: none;
}
/* Full-viewport top rule (section itself is max-width centered). */
.how-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  transform: translateX(-50%);
  background: var(--atom-line-2);
  pointer-events: none;
}

.steps {
  max-width: 640px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 0 0 28px;
  position: relative;
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 1px;
  background: var(--atom-line-3);
}
/* These steps are a genuine sequence, so they keep their numbers. */
.steps li > span {
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-lg);
  background: var(--atom-bg);
  color: var(--atom-ink-bright);
  font: 600 0.8125rem/1 var(--atom-font-sans);
}
.steps h3 {
  margin: 4px 0 8px;
  color: var(--atom-ink-bright);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.steps p {
  margin: 0;
  color: var(--atom-ink-soft);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* -- Security -- */
.security-section {
  border-block: 1px solid var(--atom-line-2);
  background: var(--atom-surface-terminal);
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.security-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(44px, 5vw, 82px);
  padding: var(--section-pad-y) var(--frame-pad-right) var(--section-pad-y) var(--page-gutter);
}
.security-facts {
  max-width: 640px;
  margin: 0;
  border-top: 1px solid var(--atom-line-3);
}
.security-facts div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--atom-line-3);
  transition: background 160ms var(--atom-ease);
}
.security-facts div:hover {
  background: var(--atom-accent-06);
}
.security-facts dt {
  color: var(--atom-muted);
  font: 600 0.75rem/1.5 var(--atom-font-sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.security-facts dd {
  margin: 0;
  color: var(--atom-ink-bright);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* -- FAQ -- */
.faq-section {
  border-block: 1px solid var(--atom-line-2);
  background: var(--atom-panel);
  max-width: none;
  width: auto;
  margin: 0;
  padding: 0;
}
.faq-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  width: auto;
  max-width: var(--wide-page-max);
  margin-inline: auto;
  padding: var(--section-pad-y) var(--frame-pad-right) var(--section-pad-y) var(--page-gutter);
}
.faq-intro .section-title { max-width: 14ch; }
.faq-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-2xl);
  background: var(--atom-surface-terminal);
  box-shadow: var(--atom-shadow-card);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--atom-line-2);
  padding: 0;
}
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--atom-ink-bright);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: background 160ms var(--atom-ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex: none;
  color: var(--atom-muted);
  font: 400 1.35rem/1 var(--atom-font-sans);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:hover { background: var(--atom-accent-06); }
.faq-item p {
  margin: 0;
  padding: 0 22px 18px;
  color: var(--atom-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 48em;
}

/* -- CTA -- */
.cta-section {
  border-block: 1px solid var(--atom-line-2);
  /* Page bg, so it reads as a step down from the FAQ panel above. */
  background: var(--atom-bg);
  padding:
    clamp(72px, 9vw, 120px)
    var(--frame-pad-right)
    var(--section-pad-y)
    var(--page-gutter);
  max-width: none;
  width: auto;
  margin: 0;
}
.cta-section .cta-panel {
  max-width: var(--wide-page-max);
  margin-inline: auto;
}
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 40px;
  width: 100%;
  padding:
    clamp(52px, 6.5vw, 80px)
    clamp(36px, 5.5vw, 64px)
    clamp(40px, 5.5vw, 64px);
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-2xl);
  background: var(--atom-surface-terminal);
  overflow: hidden;
  box-shadow: var(--atom-shadow-card);
}
.cta-panel .section-title {
  max-width: none;
  margin-bottom: 12px;
  white-space: nowrap;
}
.cta-panel .section-lead {
  color: var(--atom-ink-soft);
  font-weight: 500;
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.cta-note {
  margin: 0;
  max-width: 34ch;
  color: var(--atom-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* -- Footer -- */
.site-footer {
  border-top: 1px solid var(--atom-line-2);
  background: var(--atom-well);
}
/* Columns size to their content and the free space is pushed between them, so the
   brand sits hard left, Explore lands in the middle, and Legal is flush right. */
.site-footer-inner {
  display: grid;
  grid-template-columns: auto auto auto;
  justify-content: space-between;
  align-items: start;
  gap: 48px;
  padding: 56px var(--frame-pad-right) 40px var(--page-gutter);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--atom-ink-bright);
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.footer-tagline {
  margin: 14px 0 0;
  max-width: 34ch;
  color: var(--atom-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.footer-nav-title {
  margin: 0 0 14px;
  color: var(--atom-ink-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  color: var(--atom-ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 150ms var(--atom-ease);
}
.footer-nav a:hover { color: var(--atom-ink-bright); }
.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--atom-line-2);
  /* Extra right padding keeps the last line clear of the fixed theme toggle. */
  padding: 20px calc(var(--frame-pad-right) + 60px) 28px var(--page-gutter);
}
.site-footer-bottom p {
  margin: 0;
  color: var(--atom-muted);
  font-size: 0.75rem;
}

/* -- Legal pages (privacy, terms) -- */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--page-gutter) clamp(80px, 9vw, 120px);
}
.legal-head {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--atom-line-3);
}
.legal-head h1 {
  margin: 0 0 14px;
  color: var(--atom-ink-bright);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--title-weight);
  line-height: 1.1;
  letter-spacing: var(--title-tracking);
}
.legal-updated {
  margin: 0;
  color: var(--atom-muted);
  font-size: 0.8125rem;
}
.legal-summary {
  margin: 24px 0 0;
  color: var(--atom-ink-soft);
  font-size: var(--lead-size);
  line-height: var(--lead-leading);
}

/* Draft banner: remove once a lawyer has signed off and placeholders are filled. */
.legal-draft {
  margin: 0 0 40px;
  padding: 16px 18px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-lg);
  background: var(--atom-panel);
  color: var(--atom-ink-soft);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.legal-draft strong { color: var(--atom-ink-bright); }

.legal-toc {
  margin: 0 0 48px;
  padding: 22px 24px;
  border: 1px solid var(--atom-line-2);
  border-radius: var(--atom-radius-lg);
  background: var(--atom-panel);
}
.legal-toc h2 {
  margin: 0 0 14px;
  color: var(--atom-ink-bright);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li { margin-bottom: 8px; break-inside: avoid; }
.legal-toc a {
  color: var(--atom-ink-soft);
  font-size: 0.8125rem;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--atom-accent); }

.legal-body h2 {
  margin: 48px 0 16px;
  color: var(--atom-ink-bright);
  font-size: 1.375rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
  scroll-margin-top: calc(var(--header-height) + 24px);
}
.legal-body h3 {
  margin: 28px 0 10px;
  color: var(--atom-ink-bright);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.legal-body p,
.legal-body li {
  color: var(--atom-ink-soft);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.legal-body p { margin: 0 0 16px; }
.legal-body ul,
.legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body a { color: var(--atom-accent); text-decoration: underline; }
.legal-body strong { color: var(--atom-ink-bright); font-weight: 600; }
/* Warranty and liability clauses are conventionally set apart and emphasised. */
.legal-body .legal-emphasis {
  padding: 18px 20px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-lg);
  color: var(--atom-ink);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.legal-placeholder {
  color: var(--atom-accent);
  font-weight: 600;
}

/* -- Theme FAB -- */
.theme-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--atom-line-3);
  border-radius: var(--atom-radius-pill);
  background: var(--atom-panel);
  color: var(--atom-ink);
  box-shadow: var(--atom-shadow-soft);
  cursor: pointer;
  transition:
    border-color 180ms var(--atom-ease),
    background 180ms var(--atom-ease),
    transform 180ms var(--atom-ease),
    color 180ms var(--atom-ease);
}
.theme-fab:hover {
  transform: translateY(-2px);
  border-color: var(--atom-accent);
  background: var(--atom-panel-hover);
  color: var(--atom-ink-bright);
}
.theme-fab:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--atom-accent) 70%, transparent);
  outline-offset: 3px;
}
.theme-fab-icon { display: none; line-height: 0; }
.theme-fab[data-theme='system'] .theme-fab-icon-system,
.theme-fab[data-theme='light'] .theme-fab-icon-light,
.theme-fab[data-theme='dark'] .theme-fab-icon-dark { display: block; }

/* -- Reveal motion -- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--atom-ease-out),
    transform 700ms var(--atom-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy.reveal,
.hero-product.reveal {
  transition-duration: 900ms;
}
.hero-product.reveal {
  transform: translateY(22px);
}
.hero-product.reveal.is-visible {
  transform: translateY(0);
}

/* -- Responsive -- */
@media (max-width: 1320px) {
  .site-header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; transform: none; }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    max-width: var(--wide-page-max);
    margin-inline: auto;
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
    overflow: visible;
  }
  .hero::before {
    top: auto;
    bottom: 40%;
    right: 50%;
    transform: translateX(50%);
    width: min(100%, 700px);
    height: min(90vw, 700px);
  }
  .hero-copy {
    justify-self: center;
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
  }
  .hero-copy,
  .hero-product { transform: none; }
  .hero-product {
    width: 100%;
    max-width: 820px;
    margin-inline: auto;
  }
  .product-window {
    border-right: 1px solid var(--atom-line-3);
    border-radius: var(--atom-radius-3xl);
  }
  .hero-product.reveal { transform: translateY(22px); }
  .hero-product.reveal.is-visible { transform: translateY(0); }
  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; gap: 12px; }
  .btn-lg {
    min-height: 52px;
    gap: 9px;
    padding-inline: 18px;
    font-size: 0.9375rem;
  }
  .hero-note { justify-content: center; }
  .business-section,
  .how-section,
  .security-inner { grid-template-columns: 1fr; gap: 52px; }
  .business-section {
    max-width: none;
    width: auto;
    margin: 0;
    padding: 88px var(--page-gutter);
    overflow: visible;
  }
  .business-section .section-intro { max-width: 640px; padding-top: 0; }
  .business-section .section-title {
    max-width: 640px;
    font-size: clamp(2.75rem, 5.5vw, 4rem);
  }
  .value-list {
    width: 100%;
    max-width: none;
    margin-right: 0;
    justify-self: stretch;
    border-right: 1px solid var(--atom-line-3);
    border-radius: var(--atom-radius-2xl);
  }
  .value-row {
    grid-template-columns: minmax(0, 1fr) 48px;
    min-height: 0;
    padding: 20px 28px;
  }
  .section-intro { max-width: 640px; }
  .steps,
  .security-facts { max-width: none; }
  .what-grid { grid-template-columns: 1fr; gap: 32px; }
  .what-intro .section-title { max-width: none; }
  .what-inner { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  .faq-intro .section-title { max-width: none; }
  .cta-panel { grid-template-columns: 1fr; align-items: start; }
}

@media (min-width: 768px) and (max-width: 1320px) {
  .value-list {
    margin-right: 0;
    justify-self: stretch;
    border-right: 1px solid var(--atom-line-3);
    border-radius: var(--atom-radius-2xl);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 58px;
    --page-gutter: 18px;
    --frame-pad-right: 18px;
  }
  .site-header-inner,
  .hero { padding-left: 18px; padding-right: 18px; }
  .site-header-inner { gap: 12px; }
  .brand-name { font-size: 1.05rem; }
  .header-cta {
    min-height: 34px;
    padding-inline: 12px;
    font-size: 0.75rem;
  }
  .hero { padding-top: 48px; padding-bottom: 64px; gap: 40px; }
  .hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 2.65rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  .hero h1 span { white-space: normal; }
  .hero-lead { margin-bottom: 28px; font-size: 1rem; }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .btn-lg { width: 100%; min-height: 52px; }
  .hero-note {
    align-items: flex-start;
    font-size: 0.8125rem;
    text-align: left;
  }
  .mock-titlebar { min-height: 34px; }
  .mock-titlebar-name { display: none; }
  .mock-appbar { min-height: 54px; padding: 0 14px; }
  .mock-appbar img { width: 26px; height: 26px; }
  .mock-appbar-actions { gap: 12px; }
  .mock-home { grid-template-columns: 1fr; min-height: 0; }
  .mock-sidebar {
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--atom-line-2);
  }
  /* Sidebar collapses into a row of three tabs above the content. */
  .mock-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 8px;
  }
  .mock-nav-item {
    grid-template-columns: 16px 1fr;
    gap: 6px;
    min-height: 40px;
    padding: 0 8px;
    font-size: 0.6875rem;
  }
  .mock-nav-icon { font-size: 0.95rem; }
  .mock-nav-item small { display: none; }
  .mock-main { min-height: 440px; padding: 20px 14px 24px; }
  .mock-view-head { margin-bottom: 18px; }
  .mock-view-head h3 { font-size: 1.4rem; }
  .mock-head-actions { display: none; }
  .mock-field-label,
  .mock-select { display: none; }
  .mock-search { margin-left: 0; }
  .mock-cards { grid-template-columns: 1fr; }
  .business-section { padding: 72px 18px; }
  .value-list {
    margin-right: 0;
    border-right: 1px solid var(--atom-line-3);
    border-radius: var(--atom-radius-2xl);
  }
  .business-section .kicker { margin-bottom: 20px; }
  .business-section .section-title {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
    line-height: 1;
  }
  .business-link { margin-top: 24px; }
  .value-row {
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 14px;
    padding: 16px 16px;
  }
  .value-row h3 { margin-bottom: 6px; font-size: 1.05rem; }
  .value-row p { font-size: 0.875rem; }
  .value-row .example-line { margin-top: 8px; font-size: 0.75rem; }
  .value-icon { width: 40px; height: 40px; }
  .value-icon i { font-size: 1.25rem; }
  .security-facts div { grid-template-columns: 1fr; gap: 6px; }

  .cta-panel {
    padding: 40px 22px 28px;
    border-radius: var(--atom-radius-xl);
  }
  .cta-panel .section-title {
    white-space: normal;
  }
  .cta-actions { align-self: stretch; }
  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 18px 28px;
  }
  .footer-tagline { max-width: none; }
  .site-footer-bottom {
    padding: 18px 18px 80px;
  }
  .legal-page { padding-left: 18px; padding-right: 18px; }
  .legal-toc ol { columns: 1; }
  .legal-body h2 { font-size: 1.2rem; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  .footer-about { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero-product.reveal,
  .hero-product.reveal.is-visible {
    transform: none;
  }
}
