:root {
  --accent-blue: #2060f0;
  --accent-violet: #b040f0;
  --accent-amber: #f0b030;
  --accent-green: #60c060;
  --max-width: 1280px;
  --font-system: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --bg: #060709;
  --bg-deep: #09090b;
  --surface: rgba(18, 20, 24, 0.76);
  --surface-strong: rgba(24, 27, 34, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f2f5f7;
  --muted: rgba(242, 245, 247, 0.7);
  --soft: rgba(242, 245, 247, 0.48);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  --page-bg:
    radial-gradient(circle at 15% 15%, rgba(32, 96, 240, 0.14), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(176, 64, 240, 0.1), transparent 26%),
    radial-gradient(circle at 74% 78%, rgba(240, 176, 48, 0.08), transparent 24%),
    linear-gradient(180deg, #060709 0%, #09090b 42%, #050607 100%);
  --logo-filter: brightness(0) invert(1);
  --logo-opacity: 0.95;
  --button-border: rgba(255, 255, 255, 0.14);
  --button-shadow:
    0 14px 34px rgba(32, 96, 240, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --eyebrow-color: rgba(211, 221, 255, 0.76);
  --kicker-color: rgba(203, 214, 255, 0.72);
  --theme-switch-surface: rgba(16, 18, 24, 0.72);
  --theme-switch-shadow:
    0 16px 40px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  --theme-switch-active-bg: rgba(255, 255, 255, 0.11);
  --theme-switch-active-border: rgba(255, 255, 255, 0.14);
  --theme-switch-active-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 8px 18px rgba(0, 0, 0, 0.18);
  --hero-card-start: rgba(18, 21, 28, 0.68);
  --hero-card-end: rgba(10, 12, 16, 0.84);
  --panel-card-start: rgba(20, 23, 29, 0.86);
  --panel-card-end: rgba(11, 13, 17, 0.94);
  --device-shell-start: rgba(42, 46, 56, 0.96);
  --device-shell-end: rgba(10, 11, 14, 1);
  --device-shell-border: rgba(255, 255, 255, 0.08);
  --device-shell-inner-border: rgba(255, 255, 255, 0.04);
  --device-shell-highlight: rgba(255, 255, 255, 0.18);
  --device-shell-edge-top: rgba(255, 255, 255, 0.1);
  --device-shell-edge-bottom: rgba(255, 255, 255, 0.02);
  --device-screen-ring: rgba(255, 255, 255, 0.04);
  --device-island-bg: rgba(7, 8, 10, 0.95);
  --device-island-shadow: 0 4px 8px rgba(0, 0, 0, 0.28);
  --device-primary-shadow:
    0 28px 74px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.03);
  --grid-glow-bg: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 68%);
  --orb-opacity: 0.5;
}

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

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #eef3fb;
  --bg-deep: #f7faff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-soft: rgba(15, 23, 42, 0.05);
  --border: rgba(33, 47, 77, 0.1);
  --border-strong: rgba(33, 47, 77, 0.16);
  --text: #111827;
  --muted: rgba(17, 24, 39, 0.72);
  --soft: rgba(17, 24, 39, 0.56);
  --shadow: 0 24px 64px rgba(42, 59, 99, 0.12);
  --page-bg:
    radial-gradient(circle at 14% 14%, rgba(32, 96, 240, 0.16), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(176, 64, 240, 0.14), transparent 26%),
    radial-gradient(circle at 74% 80%, rgba(240, 176, 48, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #f4f7fc 40%, #edf2f9 100%);
  --logo-filter: none;
  --logo-opacity: 0.92;
  --button-border: rgba(84, 105, 173, 0.18);
  --button-shadow:
    0 16px 34px rgba(74, 97, 190, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  --eyebrow-color: rgba(70, 90, 139, 0.78);
  --kicker-color: rgba(83, 99, 145, 0.72);
  --theme-switch-surface: rgba(255, 255, 255, 0.88);
  --theme-switch-shadow:
    0 16px 36px rgba(40, 54, 85, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --theme-switch-active-bg: linear-gradient(135deg, rgba(83, 132, 255, 0.16), rgba(178, 110, 255, 0.18));
  --theme-switch-active-border: rgba(83, 118, 232, 0.22);
  --theme-switch-active-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 8px 18px rgba(69, 90, 163, 0.12);
  --hero-card-start: rgba(255, 255, 255, 0.78);
  --hero-card-end: rgba(244, 248, 255, 0.94);
  --panel-card-start: rgba(255, 255, 255, 0.9);
  --panel-card-end: rgba(246, 249, 255, 0.98);
  --device-shell-start: rgba(223, 228, 238, 0.98);
  --device-shell-end: rgba(155, 164, 180, 0.98);
  --device-shell-border: rgba(255, 255, 255, 0.68);
  --device-shell-inner-border: rgba(255, 255, 255, 0.4);
  --device-shell-highlight: rgba(255, 255, 255, 0.58);
  --device-shell-edge-top: rgba(255, 255, 255, 0.72);
  --device-shell-edge-bottom: rgba(67, 87, 124, 0.08);
  --device-screen-ring: rgba(255, 255, 255, 0.22);
  --device-island-bg: rgba(25, 30, 38, 0.96);
  --device-island-shadow: 0 3px 8px rgba(36, 48, 74, 0.16);
  --device-primary-shadow:
    0 22px 48px rgba(70, 84, 119, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(67, 87, 124, 0.06);
  --grid-glow-bg: radial-gradient(circle, rgba(86, 120, 211, 0.08), transparent 68%);
  --orb-opacity: 0.34;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-system);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--page-bg);
  transition:
    background 220ms ease,
    color 220ms ease;
}

body[data-route-state="splash"] {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.route-splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.route-splash-logo {
  width: min(288px, 52vw);
  height: auto;
  filter: var(--logo-filter);
  opacity: var(--logo-opacity);
}

body[data-route-state="splash"] .site-shell {
  display: none;
}

body[data-route-state="site"] .route-splash {
  display: none;
}

[data-private-beta-copy],
[data-invalid-invite-only] {
  display: none;
}

.button[data-invalid-invite-only],
.beta-request-form[data-invalid-invite-only] {
  display: none;
}

body:not([data-invite-state="valid"]) [data-valid-invite-copy],
body:not([data-invite-state="valid"]) [data-valid-invite-only] {
  display: none !important;
}

body:not([data-invite-state="valid"]) .hero-copy > .eyebrow {
  display: none;
}

body:not([data-invite-state="valid"]) [data-private-beta-copy] {
  display: inline;
}

body:not([data-invite-state="valid"]) .copy-block[data-private-beta-copy] {
  display: block;
}

body:not([data-invite-state="valid"]) .button[data-invalid-invite-only] {
  display: inline-flex;
}

body:not([data-invite-state="valid"]) .beta-request-form[data-invalid-invite-only] {
  display: grid;
}

.copy-block[data-valid-invite-copy] {
  display: block;
}

.topbar,
.hero,
.feature-band,
.beta-panel,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-rounded);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
  filter: var(--logo-filter);
  opacity: var(--logo-opacity);
  transform: translateY(1px);
}

.brand-word {
  display: block;
  line-height: 0.92;
}

.topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  margin-left: auto;
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.topbar-link {
  color: var(--soft);
  font-size: 0.98rem;
}

.theme-switch {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--theme-switch-surface);
  box-shadow: var(--theme-switch-shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.theme-switch-button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--soft);
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.theme-switch-button:hover,
.theme-switch-button:focus-visible {
  color: var(--text);
}

.theme-switch-button.is-active {
  color: var(--text);
  border-color: var(--theme-switch-active-border);
  background: var(--theme-switch-active-bg);
  box-shadow: var(--theme-switch-active-shadow);
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: var(--text);
}

.button,
.ghost-link {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--button-border);
  background:
    linear-gradient(135deg, rgba(37, 91, 240, 0.96), rgba(130, 72, 238, 0.92));
  color: white;
  font-weight: 600;
  box-shadow: var(--button-shadow);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.96rem;
}

.button:hover,
.button:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible {
  transform: translateY(-1px);
}

.ghost-link {
  color: var(--text);
  font-weight: 600;
}

.hero {
  display: grid;
  gap: 26px;
  padding: 42px 0 22px;
  overflow: visible;
}

.hero-overview {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: start;
  gap: 36px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--eyebrow-color);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-rounded);
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 7vw, 6.6rem);
  line-height: 0.94;
}

.headline-break {
  display: block;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.65;
}

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

.hero-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hero-feature-card {
  min-height: 0;
  padding: 16px 16px 17px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, var(--hero-card-start), var(--hero-card-end));
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.hero-feature-kicker {
  margin: 0 0 10px;
  color: var(--kicker-color);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.hero-feature-card h2 {
  font-size: 1.06rem;
  line-height: 1.14;
}

.hero-feature-card p:last-child {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.signal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 28px 0 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  color: var(--soft);
  font-size: 0.92rem;
}

.signal-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.signal-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
  box-shadow: 0 0 22px rgba(32, 96, 240, 0.45);
}

.signal-list::-webkit-scrollbar {
  display: none;
}

.legal-note {
  margin: 0;
  color: var(--soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.beta-request-form {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-soft));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 44px rgba(0, 0, 0, 0.14);
}

.beta-request-form h3 {
  margin-top: 4px;
  font-size: 1.34rem;
  line-height: 1.05;
}

.beta-request-form p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.beta-request-kicker {
  margin: 0;
  color: var(--kicker-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.field,
.field-grid {
  min-width: 0;
}

.field {
  display: grid;
  gap: 7px;
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.field-label {
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-label span {
  color: var(--soft);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.field input,
.field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  padding: 0 13px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.field select {
  appearance: none;
}

.field input::placeholder {
  color: var(--soft);
}

.field input:focus,
.field select:focus {
  border-color: rgba(85, 132, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(85, 132, 255, 0.14);
}

.beta-request-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.beta-request-consent input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-blue);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.form-actions .button {
  min-height: 44px;
  padding-inline: 18px;
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  color: var(--soft);
  font-size: 0.84rem;
  line-height: 1.35;
}

.form-status.is-success {
  color: var(--accent-green);
}

.form-status.is-error {
  color: #ef5b5b;
}

.legal-link {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.legal-link:hover,
.legal-link:focus-visible {
  color: var(--text);
}

.legal-note-hero {
  max-width: 40rem;
  margin-top: 24px;
}

.hero-stack {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 20px;
  max-width: 680px;
  min-height: 0;
  margin-left: auto;
  margin-top: -8px;
  z-index: 2;
}

.hero-shot {
  position: relative;
  user-select: none;
}

.shot-data {
  z-index: 1;
  justify-self: end;
  align-self: end;
  margin-bottom: 0;
}

.shot-home {
  z-index: 2;
  justify-self: start;
}

.shot-parallax {
  will-change: transform;
  pointer-events: none;
}

.device-frame {
  --device-frame-radius: clamp(44px, 4.4vw, 56px);
  --device-bezel-width: 6px;
  --device-inner-radius: calc(var(--device-frame-radius) - 2px);
  --device-screen-radius: calc(var(--device-frame-radius) - var(--device-bezel-width));
  position: relative;
  padding: var(--device-bezel-width);
  border-radius: var(--device-frame-radius);
  border: 1px solid var(--device-shell-border);
  background:
    linear-gradient(160deg, var(--device-shell-start), var(--device-shell-end) 70%);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 var(--device-shell-edge-top),
    inset 0 -1px 0 var(--device-shell-edge-bottom);
  overflow: hidden;
}

.device-frame::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: var(--device-inner-radius);
  border: 1px solid var(--device-shell-inner-border);
  pointer-events: none;
}

.device-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(115deg, var(--device-shell-highlight) 0%, transparent 22%, transparent 62%, rgba(255, 255, 255, 0.04) 100%);
  pointer-events: none;
}

.device-primary {
  width: min(100%, 360px);
}

.device-secondary {
  width: min(100%, 295px);
}

.shot-data .device-frame,
.shot-home .device-frame {
  width: min(100%, 296px);
}

.shot-home .device-frame {
  border-color: var(--device-shell-border);
  box-shadow: var(--device-primary-shadow);
}

.device-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--device-screen-radius);
  box-shadow: inset 0 0 0 1px var(--device-screen-ring);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: clip;
}

.grid-glow {
  position: absolute;
  right: 10%;
  top: 18%;
  width: 480px;
  height: 480px;
  border-radius: 999px;
  background: var(--grid-glow-bg);
  filter: blur(10px);
}

.orb-wrap {
  position: absolute;
}

.orb-float {
  animation: drift 18s ease-in-out infinite alternate;
}

.orb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  filter: blur(10px);
  opacity: var(--orb-opacity);
  will-change: transform;
}

.orb::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4), transparent 42%);
}

.orb-wrap-1 {
  top: 2%;
  left: 44%;
  width: 180px;
  height: 180px;
}

.orb-wrap-2 {
  top: 16%;
  right: -2%;
  width: 320px;
  height: 320px;
}

.orb-wrap-3 {
  top: 48%;
  right: 22%;
  width: 120px;
  height: 120px;
}

.orb-wrap-4 {
  bottom: 6%;
  left: 42%;
  width: 240px;
  height: 240px;
}

.orb-wrap-5 {
  top: 30%;
  left: -2%;
  width: 210px;
  height: 210px;
}

.orb-wrap-6 {
  bottom: 4%;
  right: 6%;
  width: 170px;
  height: 170px;
}

.orb-blue-violet {
  background: radial-gradient(circle at 30% 30%, rgba(82, 144, 255, 0.88), rgba(43, 58, 209, 0.72) 54%, rgba(176, 64, 240, 0.46));
}

.orb-violet-amber {
  background: radial-gradient(circle at 34% 28%, rgba(193, 101, 255, 0.86), rgba(176, 64, 240, 0.66) 56%, rgba(240, 176, 48, 0.34));
}

.orb-green-blue {
  background: radial-gradient(circle at 32% 28%, rgba(132, 224, 132, 0.8), rgba(96, 192, 96, 0.58) 52%, rgba(32, 96, 240, 0.34));
}

.orb-blue-amber {
  background: radial-gradient(circle at 30% 30%, rgba(103, 152, 255, 0.84), rgba(32, 96, 240, 0.54) 48%, rgba(240, 176, 48, 0.44));
}

.orb-violet-green {
  background: radial-gradient(circle at 30% 30%, rgba(193, 101, 255, 0.74), rgba(126, 70, 209, 0.56) 52%, rgba(96, 192, 96, 0.36));
}

.orb-float-1 {
  animation-duration: 16s;
}

.orb-float-2 {
  animation-duration: 22s;
  animation-delay: -6s;
}

.orb-float-3 {
  animation-duration: 19s;
  animation-delay: -10s;
}

.orb-float-4 {
  animation-duration: 20s;
  animation-delay: -4s;
}

.orb-float-5 {
  animation-duration: 24s;
  animation-delay: -8s;
}

.orb-float-6 {
  animation-duration: 18s;
  animation-delay: -12s;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.beta-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
}

.feature-band {
  padding: 34px 0 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.beta-panel {
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, var(--panel-card-start), var(--panel-card-end));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.feature-card {
  min-height: 220px;
  padding: 24px;
  border-radius: 26px;
}

.feature-kicker {
  margin: 0 0 18px;
  color: var(--kicker-color);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  font-size: 1.5rem;
  line-height: 1.08;
}

.feature-card p:last-child,
.beta-copy p,
.footer-copy {
  color: var(--muted);
  line-height: 1.7;
}

.feature-card p:last-child {
  margin-top: 14px;
}

.beta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  margin-top: 18px;
  padding: 28px;
  border-radius: 30px;
}

.beta-copy p {
  margin-top: 16px;
  max-width: 34rem;
}

.beta-actions {
  display: grid;
  gap: 18px;
  align-content: center;
  justify-items: start;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 8px 10px 52px;
}

.footer-brand {
  margin: 0;
  font-family: var(--font-rounded);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-note,
.footer-copy,
.footer-legal {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.footer-note {
  max-width: 38rem;
  color: var(--muted);
  text-align: left;
}

.footer-legal {
  color: var(--muted);
  margin-left: auto;
  max-width: 40rem;
  text-align: right;
}

@keyframes drift {
  0% {
    transform: translate3d(0, -10px, 0) scale(0.98);
  }
  50% {
    transform: translate3d(16px, 8px, 0) scale(1.04);
  }
  100% {
    transform: translate3d(-10px, 16px, 0) scale(1);
  }
}

@media (max-width: 1100px) {
  .hero {
    padding-bottom: 22px;
  }

  .hero-overview {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-stack {
    width: min(100%, 660px);
    margin: 0 auto;
  }

  .shot-data .device-frame,
  .shot-home .device-frame {
    width: min(100%, 270px);
  }

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

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
    padding-top: 18px;
  }

  .topbar {
    align-items: flex-start;
  }

  .topbar-right {
    max-width: min(100%, 420px);
  }

  .topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    gap: 18px;
    padding-top: 14px;
  }

  .hero-overview {
    gap: 18px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 11.8vw, 4rem);
  }

  .hero-text {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .signal-list {
    margin-top: 22px;
    gap: 10px 12px;
    font-size: 0.84rem;
  }

  .hero-feature-grid {
    margin-top: 22px;
    grid-template-columns: 1fr;
  }

  .legal-note-hero {
    margin-top: 18px;
  }

  .hero-stack {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
    width: 100%;
    max-width: 340px;
    gap: 18px;
    margin: 0 auto;
  }

  .hero-shot {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .shot-data {
    justify-self: stretch;
    align-self: start;
    margin-bottom: 0;
  }

  .shot-home {
    justify-self: stretch;
  }

  .shot-data .device-frame,
  .shot-home .device-frame {
    margin-inline: auto;
    width: min(100%, 244px);
  }

  .orb-wrap-2,
  .orb-wrap-5 {
    opacity: 0.6;
  }

  .feature-grid,
  .beta-panel {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .footer-note {
    max-width: 100%;
  }

  .footer-legal {
    margin-left: auto;
    text-align: right;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: 14px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-stack {
    max-width: 300px;
    gap: 16px;
  }

  .shot-data {
    margin-bottom: 0;
  }

  .shot-data .device-frame,
  .shot-home .device-frame {
    width: min(100%, 216px);
  }
}

@media (max-width: 380px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-right {
    width: 100%;
  }

  .theme-switch {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}

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

  .button,
  .ghost-link,
  .shot-parallax,
  .orb,
  .orb-float {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
