:root {
  --background: #101828;
  --background-elevated: #141e31;
  --surface: rgba(17, 35, 56, 0.88);
  --surface-strong: #182235;
  --surface-soft: rgba(18, 36, 58, 0.64);
  --text-primary: #f7fbff;
  --text-secondary: #b8c8d9;
  --text-muted: #8295aa;
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-soft: rgba(79, 70, 229, 0.14);
  --success: #20c6a4;
  --warning: #f5b942;
  --danger: #ff6d76;
  --border: rgba(157, 190, 221, 0.13);
  --border-strong: rgba(157, 190, 221, 0.24);
  --shadow-small: 0 12px 30px rgba(0, 0, 0, 0.18);
  --shadow-large: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-small: 12px;
  --radius-medium: 18px;
  --radius-large: 28px;
  --container-width: 1200px;
  color-scheme: dark;
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-synthesis: none;
}

html[data-theme="light"] {
  --background: #f7f9fc;
  --background-elevated: #eef2ff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: rgba(255, 255, 255, 0.72);
  --text-primary: #101828;
  --text-secondary: #485f76;
  --text-muted: #6d8195;
  --accent: #4f46e5;
  --accent-strong: #4338ca;
  --accent-soft: rgba(8, 127, 219, 0.11);
  --border: rgba(45, 83, 116, 0.13);
  --border-strong: rgba(45, 83, 116, 0.24);
  --shadow-small: 0 12px 30px rgba(37, 69, 96, 0.1);
  --shadow-large: 0 30px 80px rgba(37, 69, 96, 0.16);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
  overflow-x: hidden;
  background: var(--background);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -8%, rgba(79, 70, 229, 0.14), transparent 28rem),
    var(--background);
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text-primary);
  color: var(--background);
  font-weight: 800;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand-name,
.button,
.section-kicker,
.eyebrow {
  font-family: "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 6vw, 5.35rem);
  line-height: 1.01;
  letter-spacing: -0.038em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.3;
}

p {
  color: var(--text-secondary);
}

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}

.narrow {
  max-width: 880px;
}

.centered {
  text-align: center;
}

.centered p,
.section-heading.centered p {
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-compact {
  padding: 82px 0;
}

.section-elevated {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent),
    var(--background-elevated);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading p {
  max-width: 66ch;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(70, 169, 255, 0.18);
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.07);
  color: #69baff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.018em;
}

.section-kicker.light {
  color: #dceeff;
}

.release-kicker {
  gap: 0.35rem;
}

.language-toggle,
.theme-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-inline-start: 10px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-secondary);
  font-family: "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.language-toggle:hover,
.theme-toggle:hover {
  border-color: rgba(70, 169, 255, 0.42);
  background: var(--accent-soft);
  color: var(--text-primary);
}

.language-toggle .material-symbols-rounded,
.theme-toggle .material-symbols-rounded {
  color: var(--accent);
  font-size: 1.1rem;
}

.theme-toggle {
  width: 40px;
  padding-inline: 8px;
}

html[lang="ar"] {
  font-family: "Tajawal", "Segoe UI", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand-name,
html[lang="ar"] .button,
html[lang="ar"] .section-kicker,
html[lang="ar"] .eyebrow,
html[lang="ar"] .language-toggle,
html[lang="ar"] .theme-toggle {
  font-family: "Alexandria", "Tajawal", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(16, 24, 40, 0.6);
  backdrop-filter: blur(18px);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(16, 24, 40, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
}

html[data-theme="light"] .site-header {
  background: rgba(244, 248, 252, 0.78);
}

html[data-theme="light"] .site-header.scrolled {
  background: rgba(244, 248, 252, 0.94);
  box-shadow: 0 12px 40px rgba(37, 69, 96, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(calc(100% - 48px), 1480px);
  min-height: 74px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 184px;
  text-decoration: none;
}

.brand-wordmark {
  width: 184px;
  height: 53px;
  object-fit: contain;
  object-position: left center;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-wordmark-light,
.footer-wordmark-light {
  display: none;
}

html[data-theme="light"] .brand-wordmark-dark,
html[data-theme="light"] .footer-wordmark-dark {
  display: none;
}

html[data-theme="light"] .brand-wordmark-light,
html[data-theme="light"] .footer-wordmark-light {
  display: block;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  margin-inline: auto;
}

.main-navigation a {
  position: relative;
  padding: 10px 9px;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: color 150ms ease;
}

.main-navigation a::after {
  position: absolute;
  right: 9px;
  bottom: 4px;
  left: 9px;
  height: 2px;
  border-radius: 4px;
  background: var(--accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--text-primary);
}

.main-navigation a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--text-primary);
}

.menu-button span {
  display: block;
  height: 2px;
  margin-block: 4px;
  border-radius: 4px;
  background: currentColor;
  transition: transform 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #43adff, var(--accent-strong));
  box-shadow: 0 12px 28px rgba(22, 136, 237, 0.24);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(22, 136, 237, 0.34);
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-primary);
}

.button-secondary:hover,
.button-ghost:hover {
  border-color: rgba(79, 70, 229, 0.48);
  background: var(--accent-soft);
}

.button-ghost {
  border-color: transparent;
  color: var(--text-secondary);
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 0.84rem;
}

.material-symbols-rounded {
  font-size: 1.35em;
  line-height: 1;
}

.hero {
  min-height: 820px;
  padding-top: 160px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 4%;
  right: -12%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(27, 142, 235, 0.12);
  filter: blur(90px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: 64px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.018em;
}

.eyebrow-dot {
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: var(--success);
  box-shadow: 0 0 14px rgba(32, 198, 164, 0.45);
}

.accent-text {
  display: block;
  background: linear-gradient(90deg, #6fc2ff, #28d2ec);
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 62ch;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-support {
  max-width: 62ch;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.brand-transition {
  width: fit-content;
  max-width: 62ch;
  margin: 0 0 26px;
  padding: 10px 14px;
  border: 1px solid rgba(32, 198, 164, 0.28);
  border-radius: 999px;
  background: rgba(32, 198, 164, 0.08);
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.45;
}

.brand-transition strong {
  color: var(--text-primary);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 6px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  color: var(--accent);
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
  list-style: none;
}

.platform-list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.platform-list span {
  color: var(--success);
  font-weight: 900;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.screenshot-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: #091522;
  box-shadow: var(--shadow-large);
}

.screenshot-window img {
  width: 100%;
  background: #0a1523;
}

.hero-window {
  transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: center left;
  animation: hero-lift 700ms ease both;
}

.window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid var(--border);
  background: #0d1c2c;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.window-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.window-mark {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--accent), var(--success));
}

.window-controls {
  display: flex;
  gap: 10px;
}

.window-controls span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #627387;
}

.floating-card {
  position: absolute;
  min-width: 156px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 13px;
  background: var(--surface);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(14px);
}

.floating-card span,
.floating-card strong {
  display: block;
}

.floating-card span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.floating-card strong {
  font-size: 0.85rem;
}

.floating-today {
  top: -38px;
  right: 18px;
}

.floating-focus {
  right: -34px;
  bottom: 15%;
}

.floating-roadmap {
  bottom: -34px;
  left: 7%;
}

.value-statement::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(84%, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  content: "";
  transform: translateX(-50%);
}

.value-statement p {
  max-width: 68ch;
  margin: 0 auto;
  font-size: 1.08rem;
}

.status-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.status-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.status-dot.available {
  background: var(--success);
}

.status-dot.beta {
  background: var(--accent);
}

.status-dot.planned {
  background: var(--warning);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 280px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background:
    linear-gradient(140deg, rgba(79, 70, 229, 0.065), transparent 45%),
    var(--surface-soft);
  box-shadow: var(--shadow-small);
}

.feature-card::after {
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--accent-soft);
  content: "";
  filter: blur(14px);
}

.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 1;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.icon-box {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 26px;
  place-items: center;
  border: 1px solid rgba(79, 70, 229, 0.22);
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-box.amber {
  border-color: rgba(245, 185, 66, 0.24);
  background: rgba(245, 185, 66, 0.1);
  color: var(--warning);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  border-radius: 99px;
  font-size: 0.63rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-card > .status-badge {
  position: absolute;
  top: 27px;
  inset-inline-end: 24px;
}

.status-badge.available {
  background: rgba(32, 198, 164, 0.12);
  color: var(--success);
}

.status-badge.beta {
  background: var(--accent-soft);
  color: #74c2ff;
}

.status-badge.planned {
  background: rgba(245, 185, 66, 0.11);
  color: var(--warning);
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-grid::before {
  position: absolute;
  top: 39px;
  right: 10%;
  left: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.42), transparent);
  content: "";
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 25px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.step-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-5px);
}

.step-number {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 22px;
  place-items: center;
  border: 1px solid rgba(79, 70, 229, 0.3);
  border-radius: 50%;
  background: var(--background-elevated);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
}

.step-card p {
  min-height: 96px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.step-example {
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  align-items: center;
  gap: 72px;
}

.split-layout.reverse {
  grid-template-columns: minmax(380px, 0.88fr) minmax(0, 1.12fr);
}

.split-layout.reverse > :first-child {
  order: 1;
}

.split-copy p {
  max-width: 62ch;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.check-grid li,
.check-list li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.check-grid li::before,
.check-list li::before {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  color: var(--success);
  content: "✓";
  font-weight: 900;
}

.forecast-card {
  padding: 18px;
  border: 1px solid rgba(245, 185, 66, 0.22);
  border-radius: 15px;
  background: rgba(245, 185, 66, 0.06);
}

.forecast-card p {
  margin: 8px 0 14px;
  color: var(--text-secondary);
  font-size: 0.83rem;
}

.forecast-card div {
  display: inline-flex;
  gap: 5px;
  margin-inline-end: 14px;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.forecast-label {
  color: var(--warning);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}

.mode-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 110px;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}

.mode-card > .material-symbols-rounded {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.mode-card h3 {
  margin: 0 0 3px;
  font-size: 1rem;
}

.mode-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.attribution-section {
  overflow: hidden;
  border-block: 1px solid rgba(79, 70, 229, 0.2);
  background:
    radial-gradient(circle at 50% 35%, rgba(36, 145, 231, 0.11), transparent 36rem),
    #06101d;
}

.attribution-glow {
  position: absolute;
  top: 22%;
  left: 50%;
  width: 900px;
  height: 380px;
  border-radius: 50%;
  background: rgba(14, 121, 211, 0.09);
  filter: blur(80px);
  transform: translateX(-50%);
}

.attribution-flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 90px 1fr 90px 1fr;
  align-items: center;
  gap: 8px;
}

.flow-card {
  min-height: 218px;
  padding: 26px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: rgba(14, 31, 50, 0.9);
  box-shadow: var(--shadow-small);
}

.flow-card > .material-symbols-rounded {
  display: block;
  margin: 24px 0 16px;
  color: var(--accent);
  font-size: 2rem;
}

.flow-card.detected {
  border-color: rgba(245, 185, 66, 0.3);
}

.flow-card.detected > .material-symbols-rounded {
  color: var(--warning);
}

.flow-card.credited {
  border-color: rgba(32, 198, 164, 0.3);
}

.flow-card.credited > .material-symbols-rounded {
  color: var(--success);
}

.flow-card h3 {
  margin-bottom: 3px;
}

.flow-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.flow-label {
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-arrow {
  position: relative;
  height: 2px;
  overflow: hidden;
  background: rgba(79, 70, 229, 0.2);
}

.flow-arrow::after {
  position: absolute;
  top: -4px;
  right: 0;
  border-block: 5px solid transparent;
  border-left: 8px solid var(--accent);
  content: "";
}

.flow-arrow span {
  position: absolute;
  top: 0;
  width: 32%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: transfer 2.8s ease-in-out infinite;
}

.timeline-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
  margin: 22px auto 0;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(7, 18, 31, 0.78);
}

.timeline-proof div {
  padding: 4px 20px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.timeline-proof div:last-child {
  border-right: 0;
}

.timeline-proof span,
.timeline-proof strong {
  display: block;
}

.timeline-proof span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.timeline-proof strong {
  font-size: 1rem;
}

.success-text {
  color: var(--success);
}

.unknown-card {
  display: flex;
  align-items: center;
  max-width: 900px;
  gap: 20px;
  margin: 22px auto 0;
  padding: 20px;
  border: 1px solid rgba(245, 185, 66, 0.16);
  border-radius: 16px;
  background: rgba(245, 185, 66, 0.045);
}

.unknown-card .icon-box {
  flex: 0 0 auto;
  margin: 0;
}

.unknown-card h3 {
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.unknown-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.insight-notes {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.insight-notes p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.86rem;
}

.insight-notes .material-symbols-rounded {
  margin-top: 3px;
  color: var(--accent);
}

.report-card,
.privacy-panel {
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-large);
}

.report-heading,
.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px;
  border-bottom: 1px solid var(--border);
}

.report-heading span,
.panel-title small {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.report-heading h3 {
  margin: 3px 0 0;
  font-size: 1rem;
}

.app-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.app-row:last-child {
  border-bottom: 0;
}

.app-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-size: 0.66rem;
  font-weight: 900;
}

.app-icon.blue {
  background: #1879d4;
}

.app-icon.cyan {
  background: #168ba4;
}

.app-icon.green {
  background: #16875c;
}

.app-icon.amber {
  background: #9d6e1d;
}

.app-name strong,
.app-name span,
.app-value strong {
  display: block;
}

.app-name strong {
  font-size: 0.82rem;
}

.app-name span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.app-value {
  text-align: end;
}

.app-value strong {
  margin-bottom: 3px;
  font-size: 0.82rem;
}

.classification {
  display: inline-flex;
  padding: 3px 7px;
  border-radius: 99px;
  font-size: 0.58rem;
  font-weight: 800;
}

.classification.productive {
  background: rgba(32, 198, 164, 0.1);
  color: var(--success);
}

.classification.research {
  background: var(--accent-soft);
  color: var(--accent);
}

.classification.communication {
  background: rgba(52, 208, 219, 0.1);
  color: #4bd4dd;
}

.classification.unknown {
  background: rgba(245, 185, 66, 0.1);
  color: var(--warning);
}

.coaching-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 74px;
}

.coaching-grid .section-heading {
  margin-bottom: 0;
}

.coaching-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.coaching-tags span,
.purpose-labels span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 99px;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.coaching-card {
  padding: 26px;
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: 22px;
  background:
    linear-gradient(140deg, rgba(79, 70, 229, 0.08), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow-large);
}

.coach-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.coach-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), #37ccd6);
}

.coach-top span,
.coach-top strong {
  display: block;
}

.coach-top span {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.coach-top strong {
  font-size: 0.86rem;
}

.confidence {
  padding: 5px 8px;
  border-radius: 99px;
  background: rgba(32, 198, 164, 0.1);
  color: var(--success) !important;
  font-weight: 800;
}

.coaching-card blockquote {
  margin: 28px 0 8px;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.38;
}

.coaching-card blockquote strong {
  color: var(--accent);
}

.coaching-card > p {
  font-size: 0.78rem;
}

.suggestion {
  padding: 14px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.suggestion span,
.suggestion strong {
  display: block;
}

.suggestion span {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.suggestion strong {
  margin-top: 4px;
  font-size: 0.82rem;
}

.coach-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.coach-actions button,
.privacy-row button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
  font-size: 0.68rem;
  cursor: pointer;
}

.coach-actions button:first-child {
  border-color: rgba(79, 70, 229, 0.25);
  background: var(--accent-soft);
  color: var(--accent);
}

.device-stage {
  position: relative;
  min-height: 390px;
}

.laptop {
  position: absolute;
  top: 20px;
  left: 0;
  width: 76%;
}

.laptop-screen {
  --text-primary: #f7fbff;
  --text-secondary: #b8c8d9;
  --text-muted: #8295aa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  aspect-ratio: 16 / 10;
  padding: 9%;
  border: 8px solid #233346;
  border-radius: 16px 16px 7px 7px;
  background:
    radial-gradient(circle at 35% 20%, rgba(79, 70, 229, 0.18), transparent 50%),
    #091827;
  box-shadow: var(--shadow-large);
}

.laptop-screen span,
.phone span {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.laptop-screen strong {
  margin: 14px 0;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.laptop-base {
  width: 112%;
  height: 13px;
  margin-left: -6%;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(#34465b, #1c2b3d);
}

.mini-progress {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--success));
}

.phone {
  --text-primary: #f7fbff;
  --text-secondary: #b8c8d9;
  --text-muted: #8295aa;
  position: absolute;
  right: 2%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 28%;
  aspect-ratio: 0.52;
  padding: 20px 14px;
  border: 6px solid #2a394b;
  border-radius: 29px;
  background: #091827;
  box-shadow: var(--shadow-large);
}

.phone-notch {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 34%;
  height: 7px;
  border-radius: 99px;
  background: #26384c;
  transform: translateX(-50%);
}

.phone strong {
  margin: 12px 0;
  font-size: clamp(1.1rem, 2.4vw, 1.8rem);
}

.phone button {
  padding: 9px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
}

.sync-orbit {
  position: absolute;
  top: 45%;
  left: 67%;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(79, 70, 229, 0.34);
  border-radius: 50%;
  background: #0d2135;
  color: var(--accent);
  box-shadow: 0 0 35px rgba(79, 70, 229, 0.18);
}

.flow-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.flow-steps span {
  padding: 7px 9px;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text-secondary);
  font-size: 0.7rem;
}

.flow-steps i {
  color: var(--accent);
  font-style: normal;
}

.check-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offline-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

.offline-grid .section-heading {
  margin-bottom: 0;
}

.connection-card {
  padding: 28px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-large);
}

.connection-state {
  display: flex;
  align-items: center;
  gap: 14px;
}

.connection-state > .material-symbols-rounded {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
}

.offline-state > .material-symbols-rounded {
  background: rgba(245, 185, 66, 0.1);
  color: var(--warning);
}

.online-state > .material-symbols-rounded {
  background: rgba(32, 198, 164, 0.1);
  color: var(--success);
}

.connection-state strong,
.connection-state p {
  display: block;
  margin: 0;
}

.connection-state p {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.connection-track {
  position: relative;
  width: 2px;
  height: 58px;
  margin: 9px 0 9px 23px;
  overflow: hidden;
  background: var(--border-strong);
}

.connection-track i {
  position: absolute;
  width: 100%;
  height: 45%;
  background: linear-gradient(transparent, var(--accent), transparent);
  animation: connect-once 1.7s ease 1 both;
}

.privacy-highlight {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 26px 0;
  padding: 18px;
  border: 1px solid rgba(32, 198, 164, 0.18);
  border-radius: 14px;
  background: rgba(32, 198, 164, 0.055);
}

.privacy-highlight .material-symbols-rounded {
  margin-top: 3px;
  color: var(--success);
}

.privacy-highlight p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.83rem;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.privacy-row:last-child {
  border-bottom: 0;
}

.toggle {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
  border: 1px solid var(--border-strong);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
}

.toggle::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-muted);
  content: "";
  transition: transform 160ms ease;
}

.toggle.on {
  border-color: rgba(79, 70, 229, 0.32);
  background: var(--accent-soft);
}

.toggle.on::after {
  background: var(--accent);
  transform: translateX(16px);
}

.danger-text {
  color: var(--danger) !important;
}

.showcase-frame {
  position: relative;
  overflow: visible;
}

.showcase-frame > img {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-large);
}

.callout {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid rgba(79, 70, 229, 0.38);
  border-radius: 8px;
  background: rgba(9, 25, 42, 0.92);
  box-shadow: var(--shadow-small);
  color: #dcefff;
  font-size: 0.68rem;
  font-weight: 800;
}

.callout::after {
  position: absolute;
  width: 42px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.callout-task {
  top: 18%;
  left: -24px;
}

.callout-task::after {
  top: 50%;
  left: 100%;
}

.callout-roadmap {
  top: 16%;
  right: -25px;
}

.callout-roadmap::after,
.callout-coaching::after {
  top: 50%;
  right: 100%;
}

.callout-coaching {
  right: -25px;
  bottom: 18%;
}

.mobile-showcase-list {
  display: none;
}

.secondary-screens {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.secondary-screens figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}

.secondary-screens figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.secondary-screens figcaption span {
  color: var(--warning);
  font-size: 0.62rem;
  text-transform: uppercase;
}

.contact-section {
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.09), transparent 32rem),
    var(--background);
}

.contact-card {
  max-width: 860px;
  margin-inline: auto;
  padding: 50px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-large);
  background:
    linear-gradient(150deg, rgba(79, 70, 229, 0.07), transparent 50%),
    var(--surface);
  box-shadow: var(--shadow-large);
  text-align: center;
}

.contact-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-logo-wrap img {
  width: 210px;
  height: 72px;
  object-fit: contain;
}

.contact-card > p {
  max-width: 65ch;
  margin-inline: auto;
}

.creator {
  display: grid;
  margin: 24px 0;
}

.creator span {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.creator strong {
  font-size: 1.25rem;
}

.creator a {
  color: var(--accent);
  text-decoration: none;
}

.creator a:hover {
  text-decoration: underline;
}

.purpose-labels {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.download-section {
  --text-primary: #f7fbff;
  --text-secondary: #cee4f7;
  --text-muted: #a9bfd3;
  --border: rgba(219, 239, 255, 0.17);
  --border-strong: rgba(219, 239, 255, 0.28);
  overflow: hidden;
  border-top: 1px solid rgba(72, 174, 255, 0.3);
  background:
    linear-gradient(145deg, rgba(15, 103, 186, 0.7), rgba(8, 38, 71, 0.85)),
    #0a3763;
}

.download-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 800px;
  height: 500px;
  border-radius: 50%;
  background: rgba(79, 187, 255, 0.15);
  filter: blur(80px);
  transform: translateX(-50%);
}

.download-section .section-heading {
  position: relative;
  z-index: 1;
}

.download-section .section-heading p {
  color: #cee4f7;
}

.download-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 940px;
  margin-inline: auto;
}

.download-card {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(219, 239, 255, 0.2);
  border-radius: 22px;
  background: rgba(7, 21, 38, 0.78);
  box-shadow: var(--shadow-large);
}

.download-card.recommended {
  border-color: rgba(32, 198, 164, 0.5);
}

.recommendation {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(32, 198, 164, 0.12);
  color: var(--success);
  font-size: 0.59rem;
  font-weight: 800;
}

.download-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  place-items: center;
  border: 1px solid rgba(79, 70, 229, 0.26);
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}

.download-icon .material-symbols-rounded {
  font-size: 1.8rem;
}

.download-card > p {
  color: var(--text-muted);
}

.download-card dl {
  margin: 22px 0;
  border-block: 1px solid var(--border);
}

.download-card dl div {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.download-card dt {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.download-card dd {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
}

.download-button {
  width: 100%;
}

.download-button[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: 0.56;
  pointer-events: none;
}

.release-link {
  display: block;
  margin-top: 14px;
  color: var(--text-secondary);
  font-size: 0.72rem;
  text-align: center;
  text-decoration: none;
}

.release-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.site-footer {
  padding: 68px 0 26px;
  border-top: 1px solid var(--border);
  background: #050d17;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 56px;
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.footer-grid a,
.footer-grid > div > span {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: none;
}

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

.footer-brand img {
  width: 180px;
  height: 52px;
  margin-bottom: 12px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand strong {
  display: block;
}

.footer-brand p {
  max-width: 34ch;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 46px;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.footer-copyright a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-copyright a:focus-visible {
  color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 560ms ease,
    transform 560ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-lift {
  from {
    opacity: 0;
    transform: perspective(1400px) rotateY(-3deg) rotateX(1.5deg)
      translateY(18px);
  }
}

@keyframes transfer {
  0% {
    left: -35%;
  }
  100% {
    left: 105%;
  }
}

@keyframes connect-once {
  from {
    top: -45%;
  }
  to {
    top: 100%;
  }
}

.mode-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
}

.mode-card-link .material-symbols-rounded {
  font-size: 1rem;
  transition: transform 160ms ease;
}

.mode-card-link:hover .material-symbols-rounded {
  transform: translateX(3px);
}

.widget-showcase-section {
  overflow: hidden;
  border-block: 1px solid rgba(89, 174, 255, 0.16);
  background:
    linear-gradient(140deg, rgba(17, 54, 92, 0.48), transparent 58%),
    #081421;
}

.widget-showcase-glow {
  position: absolute;
  top: 12%;
  right: -12%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(38, 146, 255, 0.19), transparent 64%);
  filter: blur(20px);
  pointer-events: none;
}

.widget-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(400px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.widget-showcase-copy {
  position: relative;
  z-index: 1;
}

.widget-showcase-copy > p {
  max-width: 62ch;
  font-size: 1.05rem;
}

.widget-showcase-section .section-kicker,
.widget-showcase-section h2,
.widget-showcase-section .widget-showcase-copy > p,
.widget-showcase-section .real-device-proof strong,
.widget-showcase-section .text-link,
.widget-showcase-section .widget-demo-caption {
  color: #f7fbff;
}

.widget-showcase-section .widget-showcase-copy > p,
.widget-showcase-section .real-device-proof span:last-child,
.widget-showcase-section .widget-benefit-list li,
.widget-showcase-section .widget-demo-caption {
  color: #b8c8d9;
}

.real-device-proof {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 28px 0;
  padding: 15px 17px;
  border: 1px solid rgba(32, 198, 164, 0.22);
  border-radius: 16px;
  background: rgba(32, 198, 164, 0.07);
}

.real-device-proof > .material-symbols-rounded {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: rgba(32, 198, 164, 0.13);
  color: var(--success);
}

.real-device-proof div {
  display: grid;
  gap: 2px;
}

.real-device-proof strong {
  color: var(--text-primary);
  font-size: 0.86rem;
}

.real-device-proof span:last-child {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.widget-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.widget-benefit-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
  font-size: 0.79rem;
  font-weight: 700;
}

.widget-benefit-list .material-symbols-rounded {
  color: var(--accent);
  font-size: 1.2rem;
}

.widget-showcase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.widget-phone-demo {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  isolation: isolate;
}

.widget-phone-demo::before {
  position: absolute;
  inset: 10% -8% 8%;
  z-index: -1;
  border: 1px solid rgba(88, 176, 255, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 139, 229, 0.16), transparent 68%);
  content: '';
  transform: rotate(-8deg);
}

.phone-hardware {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 9 / 19.4;
  padding: 9px;
  border: 1px solid rgba(210, 229, 247, 0.34);
  border-radius: 54px;
  background: linear-gradient(145deg, #4d5b68, #111922 38%, #394957);
  box-shadow:
    0 44px 90px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(3, 9, 15, 0.9),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1deg);
}

.phone-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 5;
  width: 60px;
  height: 5px;
  border-radius: 99px;
  background: #0a0f15;
  transform: translateX(-50%);
}

.phone-camera {
  position: absolute;
  top: 15px;
  right: 26%;
  z-index: 5;
  width: 9px;
  height: 9px;
  border: 2px solid #182532;
  border-radius: 50%;
  background: #03070a;
  box-shadow: inset 0 0 3px #2479aa;
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 45px;
  background: #02090e;
}

.phone-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
}

.phone-screen::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), transparent 36%, rgba(0, 8, 13, 0.12)),
    radial-gradient(circle at 50% 20%, transparent, rgba(0, 0, 0, 0.08));
  content: '';
  pointer-events: none;
}

.phone-status {
  position: absolute;
  top: 20px;
  right: 22px;
  left: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.phone-status-icons {
  font-size: 0.55rem;
  letter-spacing: 0.04em;
}

.live-home-widget {
  position: absolute;
  top: 31%;
  right: 6%;
  left: 6%;
  z-index: 3;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(246, 194, 77, 0.7);
  border-radius: 27px;
  background:
    radial-gradient(circle at 96% 0%, rgba(39, 119, 219, 0.28), transparent 44%),
    linear-gradient(145deg, rgba(11, 28, 54, 0.98), rgba(12, 39, 73, 0.98));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f7fbff;
}

.live-home-widget::before {
  position: absolute;
  top: -54%;
  left: -12%;
  width: 58%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 143, 255, 0.17), transparent 68%);
  content: '';
  pointer-events: none;
}

.live-home-widget[data-mode='break'] {
  border-color: rgba(89, 220, 169, 0.58);
  background:
    radial-gradient(circle at 96% 0%, rgba(49, 185, 136, 0.24), transparent 44%),
    linear-gradient(145deg, rgba(9, 43, 48, 0.98), rgba(12, 62, 58, 0.98));
}

.live-home-widget[data-mode='break'] .live-widget-state,
.live-home-widget[data-mode='break'] .live-widget-label {
  color: #80e6bc;
}

.live-home-widget[data-mode='break'] .live-widget-progress i {
  background: linear-gradient(90deg, #43d6a0, #e3bd61);
  box-shadow: 0 0 12px rgba(67, 214, 160, 0.48);
}

.live-widget-header,
.live-widget-body,
.live-widget-controls {
  position: relative;
  z-index: 1;
}

.live-widget-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.live-widget-mark {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(255, 203, 78, 0.42);
  border-radius: 8px;
  background: rgba(255, 189, 52, 0.1);
  color: #ffd36b;
  font-size: 1rem;
}

.live-widget-header strong {
  font-size: 0.78rem;
}

.live-widget-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7ed9b3;
  font-size: 0.64rem;
  font-weight: 800;
}

.live-widget-state i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.live-widget-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.live-widget-label {
  display: block;
  margin-bottom: 4px;
  color: #83bff0;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.live-widget-body h3 {
  max-width: 18ch;
  margin: 0;
  overflow: hidden;
  color: white;
  font-size: clamp(0.82rem, 2.3vw, 1.02rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-widget-time {
  color: white;
  font-size: clamp(2rem, 6vw, 2.9rem);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.live-widget-progress {
  position: relative;
  z-index: 1;
  height: 4px;
  margin: 17px 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.live-widget-progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4aa8ff, #5bdcb2);
  box-shadow: 0 0 12px rgba(74, 168, 255, 0.55);
  transition: width 420ms linear;
}

.live-widget-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.live-widget-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 5px;
  border: 1px solid rgba(138, 190, 232, 0.2);
  border-radius: 11px;
  background: rgba(115, 170, 216, 0.1);
  color: #eaf5ff;
  font-size: 0.61rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.live-widget-controls button:hover {
  border-color: rgba(111, 190, 255, 0.44);
  background: rgba(111, 190, 255, 0.18);
  transform: translateY(-1px);
}

.live-widget-controls button.finish {
  border-color: rgba(255, 185, 99, 0.22);
  background: rgba(255, 181, 85, 0.09);
}

.live-widget-controls .material-symbols-rounded {
  font-size: 0.9rem;
}

.phone-home-indicator {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  width: 32%;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.73);
  transform: translateX(-50%);
}

.widget-demo-caption {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 99px;
  background: rgba(12, 29, 47, 0.84);
  color: var(--text-muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(32, 198, 164, 0.8);
  animation: widget-live-pulse 1.8s ease-in-out infinite;
}

@keyframes widget-live-pulse {
  50% {
    opacity: 0.45;
    transform: scale(0.75);
  }
}

.health-showcase-section {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 32%, rgba(32, 198, 164, 0.13), transparent 27rem),
    linear-gradient(155deg, var(--background-elevated), var(--background));
}

.health-showcase-glow {
  position: absolute;
  top: 12%;
  left: -18%;
  width: 52vw;
  height: 52vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12), transparent 66%);
  filter: blur(24px);
  pointer-events: none;
}

.health-showcase-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(52px, 8vw, 118px);
}

.health-device-visual,
.health-showcase-copy {
  position: relative;
  z-index: 1;
}

.health-device-visual {
  display: grid;
  justify-items: center;
}

.health-device-visual::before {
  position: absolute;
  inset: 8% -11% 5%;
  z-index: -1;
  border: 1px solid rgba(32, 198, 164, 0.15);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 198, 164, 0.12), transparent 68%);
  content: '';
  transform: rotate(7deg);
}

.health-phone-shell {
  position: relative;
  width: min(100%, 372px);
  aspect-ratio: 1272 / 2772;
  padding: 8px;
  border: 1px solid rgba(214, 229, 243, 0.32);
  border-radius: 54px;
  background: linear-gradient(145deg, #566371, #111922 42%, #344554);
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.42),
    0 0 0 3px rgba(3, 9, 15, 0.86),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: perspective(1400px) rotateY(4deg) rotateX(1deg);
}

.health-phone-speaker {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 2;
  width: 62px;
  height: 5px;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.74);
  transform: translateX(-50%);
}

.health-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 46px;
  object-fit: cover;
  object-position: center top;
}

.health-capture-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 9px 14px;
  border: 1px solid rgba(32, 198, 164, 0.22);
  border-radius: 999px;
  background: rgba(32, 198, 164, 0.07);
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 700;
}

.health-capture-note .material-symbols-rounded {
  color: var(--success);
  font-size: 1.05rem;
}

.health-showcase-copy > p {
  max-width: 66ch;
  font-size: 1.06rem;
}

.health-benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.health-benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-soft);
  box-shadow: var(--shadow-small);
}

.health-benefit-list > li > .material-symbols-rounded {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
}

.health-benefit-list div {
  display: grid;
  align-content: start;
  gap: 3px;
}

.health-benefit-list strong {
  color: var(--text-primary);
  font-size: 0.9rem;
}

.health-benefit-list div span {
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
}

.health-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.health-trust-row > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
}

.health-trust-row .material-symbols-rounded {
  color: var(--success);
  font-size: 1rem;
}

@media (max-width: 1120px) {
  .main-navigation a {
    padding-inline: 7px;
    font-size: 0.78rem;
  }

  .header-download {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: 42px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .coaching-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 44px;
  }

  .widget-showcase-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 48px;
  }

  .health-showcase-grid {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 52px;
  }
}

@media (max-width: 1520px) {
  .header-download {
    display: none;
  }
}

@media (max-width: 1180px) {
  .brand {
    order: 1;
    min-width: 0;
    margin-inline-end: auto;
  }

  .language-toggle,
  .theme-toggle {
    order: 3;
  }

  .menu-button {
    order: 4;
    display: block;
  }

  .main-navigation {
    position: fixed;
    inset: 74px 0 auto;
    order: 2;
    display: grid;
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    align-items: stretch;
    gap: 2px;
    max-height: 0;
    margin: 0;
    padding: 0 24px;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(16, 24, 40, 0.98);
    opacity: 0;
    transition: max-height 220ms ease, padding 220ms ease, opacity 160ms ease;
  }

  html[data-theme="light"] .main-navigation {
    background: rgba(244, 248, 252, 0.98);
  }

  .main-navigation.open {
    max-height: 600px;
    padding-block: 14px 22px;
    border-bottom-color: var(--border);
    opacity: 1;
  }

  .main-navigation a {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 0.92rem;
  }

  .main-navigation a:hover {
    background: var(--surface-soft);
  }

  .main-navigation a::after {
    display: none;
  }
}

html[data-theme="light"] .forecast-card {
  border-color: rgba(194, 126, 12, 0.28);
  background: #fffaf0;
}

html[data-theme="light"] .forecast-card p {
  color: #485f76;
}

html[data-theme="light"] .widget-showcase-section {
  border-block-color: rgba(8, 127, 219, 0.18);
  background:
    linear-gradient(140deg, rgba(46, 151, 239, 0.12), transparent 58%),
    #eaf3fb;
}

html[data-theme="light"] .widget-showcase-glow {
  background: radial-gradient(circle, rgba(8, 127, 219, 0.13), transparent 64%);
}

html[data-theme="light"] .widget-showcase-section .section-kicker {
  border-color: rgba(8, 127, 219, 0.28);
  background: rgba(8, 127, 219, 0.08);
  color: #4338ca;
}

html[data-theme="light"] .widget-showcase-section h2,
html[data-theme="light"] .widget-showcase-section .real-device-proof strong {
  color: #101828;
}

html[data-theme="light"] .widget-showcase-section .widget-showcase-copy > p,
html[data-theme="light"] .widget-showcase-section .real-device-proof span:last-child,
html[data-theme="light"] .widget-showcase-section .widget-benefit-list li,
html[data-theme="light"] .widget-showcase-section .widget-demo-caption {
  color: #485f76;
}

html[data-theme="light"] .widget-showcase-section .real-device-proof {
  border-color: rgba(18, 151, 105, 0.24);
  background: rgba(18, 151, 105, 0.08);
}

html[data-theme="light"] .widget-showcase-section .widget-benefit-list li {
  border-color: rgba(45, 83, 116, 0.14);
  background: rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .widget-showcase-section .widget-demo-caption {
  border-color: rgba(45, 83, 116, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

html[data-theme="light"] .widget-showcase-section .text-link {
  color: #4338ca;
}

html[data-theme="light"] .attribution-section {
  background:
    radial-gradient(circle at 50% 35%, rgba(8, 127, 219, 0.09), transparent 36rem),
    #edf5fb;
}

html[data-theme="light"] .flow-card,
html[data-theme="light"] .timeline-proof {
  background: rgba(255, 255, 255, 0.86);
}

html[data-theme="light"] .site-footer {
  background: #eef2ff;
}

html[data-theme="light"] .legal-header {
  background: rgba(244, 248, 252, 0.94);
}

html[data-theme="light"] .release-modal-panel {
  background:
    linear-gradient(145deg, rgba(8, 127, 219, 0.08), transparent 36%),
    #ffffff;
}

@media (max-width: 1180px) {
  html[data-theme="light"] .main-navigation {
    border-bottom-color: rgba(45, 83, 116, 0.16);
    background: #f7f9fc;
    box-shadow: 0 18px 42px rgba(37, 69, 96, 0.14);
  }

  html[data-theme="light"] .main-navigation a {
    color: #29445f;
  }

  html[data-theme="light"] .main-navigation a:hover,
  html[data-theme="light"] .main-navigation a.active {
    background: rgba(8, 127, 219, 0.1);
    color: #4338ca;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 88px 0;
  }

  .brand {
    order: 1;
    min-width: 0;
    margin-inline-end: auto;
  }

  .main-navigation {
    order: 2;
  }

  .language-toggle {
    order: 3;
  }

  .theme-toggle {
    order: 3;
  }

  .menu-button {
    order: 4;
    display: block;
  }

  .main-navigation {
    position: fixed;
    inset: 74px 0 auto;
    display: grid;
    gap: 2px;
    max-height: 0;
    margin: 0;
    padding: 0 20px;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    background: rgba(16, 24, 40, 0.97);
    opacity: 0;
    transition:
      max-height 220ms ease,
      padding 220ms ease,
      opacity 160ms ease;
  }

  .main-navigation.open {
    max-height: 580px;
    padding-block: 16px 24px;
    border-bottom-color: var(--border);
    opacity: 1;
  }

  .main-navigation a {
    min-height: 46px;
    padding: 12px;
    border-radius: 9px;
    font-size: 0.9rem;
  }

  .main-navigation a:hover {
    background: var(--surface-soft);
  }

  .main-navigation a::after {
    display: none;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 132px;
  }

  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .coaching-grid,
  .offline-grid,
  .widget-showcase-grid,
  .health-showcase-grid {
    grid-template-columns: 1fr;
  }

  .widget-showcase-copy {
    max-width: 720px;
  }

  .health-showcase-copy {
    order: 1;
    max-width: 760px;
  }

  .health-device-visual {
    order: 2;
  }

  .health-phone-shell {
    transform: none;
  }

  .phone-hardware {
    width: min(100%, 400px);
    transform: none;
  }

  .hero-grid {
    gap: 72px;
  }

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

  .split-layout.reverse > :first-child {
    order: initial;
  }

  .floating-card {
    display: none;
  }

  .hero-window {
    transform: none;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .step-card p {
    min-height: 0;
  }

  .attribution-flow {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .flow-arrow {
    width: 2px;
    height: 52px;
    margin-inline: auto;
  }

  .flow-arrow::after {
    top: auto;
    right: -4px;
    bottom: 0;
    border-top: 8px solid var(--accent);
    border-right: 5px solid transparent;
    border-bottom: 0;
    border-left: 5px solid transparent;
  }

  .flow-arrow span {
    top: -35%;
    width: 2px;
    height: 32%;
    animation-name: transfer-vertical;
  }

  .callout {
    display: none;
  }

  .mobile-showcase-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin: 22px 0 0;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }

  @keyframes transfer-vertical {
    from {
      top: -35%;
    }
    to {
      top: 105%;
    }
  }
}

@media (max-width: 680px) {
  .container,
  .header-inner {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 70px;
  }

  .main-navigation {
    top: 70px;
  }

  .brand-wordmark {
    width: 154px;
    height: 45px;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
  }

  h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .benefit-grid,
  .steps-grid,
  .mode-grid,
  .timeline-proof,
  .download-grid,
  .secondary-screens,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .mode-card {
    grid-template-columns: auto 1fr;
  }

  .mode-card .status-badge {
    grid-column: 2;
    justify-self: start;
  }

  .timeline-proof div {
    padding: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .timeline-proof div:last-child {
    border-bottom: 0;
  }

  .unknown-card {
    align-items: flex-start;
  }

  .coach-top {
    grid-template-columns: auto 1fr;
  }

  .confidence {
    grid-column: 2;
    width: fit-content;
  }

  .device-stage {
    min-height: 310px;
  }

  .laptop {
    width: 82%;
  }

  .phone {
    width: 30%;
  }

  .sync-orbit {
    width: 44px;
    height: 44px;
  }

  .privacy-row {
    gap: 14px;
  }

  .contact-card {
    padding: 34px 20px;
  }

  .mobile-showcase-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 30px;
  }

  .widget-benefit-list {
    grid-template-columns: 1fr;
  }

  .health-benefit-list {
    grid-template-columns: 1fr;
  }

  .widget-showcase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .widget-showcase-actions .button {
    width: 100%;
  }

  .widget-showcase-actions .text-link {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.96rem;
  }

  .eyebrow {
    font-size: 0.64rem;
  }

  .platform-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

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

  .forecast-card div {
    display: flex;
    margin-bottom: 4px;
  }

  .connection-card {
    padding: 20px;
  }

  .legal-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .download-card {
    padding: 24px 20px;
  }

  .phone-hardware {
    width: min(100%, 348px);
    border-radius: 46px;
  }

  .health-phone-shell {
    width: min(100%, 338px);
    border-radius: 46px;
  }

  .health-phone-screen {
    border-radius: 39px;
  }

  .phone-screen {
    border-radius: 38px;
  }

  .live-home-widget {
    right: 5%;
    left: 5%;
    padding: 15px;
    border-radius: 23px;
  }

  .live-widget-header {
    margin-bottom: 16px;
  }

  .live-widget-controls button {
    min-height: 36px;
    font-size: 0.56rem;
  }

  .footer-copyright {
    flex-direction: column;
    gap: 0.35rem;
  }

  .footer-divider {
    display: none;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .phone-hardware {
    transform: none;
  }

  .live-dot {
    animation: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .download-section {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 0%, rgba(79, 70, 229, 0.1), transparent 32rem),
    var(--background);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(16, 24, 40, 0.88);
  backdrop-filter: blur(18px);
}

.legal-header .container {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.legal-header-actions .language-toggle {
  margin-left: 0;
}

.legal-back {
  color: var(--text-secondary);
  font-weight: 700;
  text-decoration: none;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-main {
  width: min(100% - 2rem, 820px);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.legal-main h1 {
  max-width: 14ch;
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 7vw, 4.8rem);
}

.legal-main h2 {
  margin: 3rem 0 0.8rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.legal-main p,
.legal-main li {
  color: var(--text-secondary);
}

.legal-main a {
  color: var(--accent);
}

.legal-main .legal-updated {
  margin-bottom: 2.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-note {
  margin: 2rem 0;
  padding: 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
}

.install-steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: install-step;
}

.install-steps li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface-soft);
  counter-increment: install-step;
}

.install-steps li::before {
  position: absolute;
  top: 1.1rem;
  left: 1.25rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  content: counter(install-step);
  font-weight: 800;
}

@media (max-width: 600px) {
  .legal-header .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    gap: 8px 12px;
    padding-block: 12px;
  }

  .legal-header .brand {
    grid-column: 1;
    grid-row: 1;
    order: initial;
  }

  .legal-header-actions {
    display: contents;
  }

  .legal-header-actions .language-toggle {
    grid-column: 2;
    grid-row: 1;
    order: initial;
  }

  .legal-back {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 0.82rem;
  }
}

.release-link-button {
  appearance: none;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.download-secondary-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

body.release-modal-open {
  overflow: hidden;
}

.release-modal[hidden] {
  display: none;
}

.release-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.release-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 17, 0.78);
  backdrop-filter: blur(10px);
}

.release-modal-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(820px, 100%);
  max-height: min(820px, calc(100dvh - 2.5rem));
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-large);
  background:
    linear-gradient(145deg, rgba(22, 58, 91, 0.24), transparent 36%),
    rgba(9, 24, 41, 0.98);
  box-shadow: var(--shadow-large);
  animation: release-modal-enter 220ms ease-out both;
}

.release-modal-panel:focus {
  outline: none;
}

@media (max-width: 1180px) {
  html[data-theme="light"] .main-navigation {
    border-bottom-color: rgba(45, 83, 116, 0.16);
    background: #f7f9fc;
    box-shadow: 0 18px 42px rgba(37, 69, 96, 0.14);
  }

  html[data-theme="light"] .main-navigation a {
    color: #29445f;
  }

  html[data-theme="light"] .main-navigation a:hover,
  html[data-theme="light"] .main-navigation a.active {
    background: rgba(8, 127, 219, 0.1);
    color: #4338ca;
  }
}

.release-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2rem);
  border-bottom: 1px solid var(--border);
}

.release-modal-header h2 {
  margin: 0.35rem 0 0.45rem;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
}

.release-modal-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.release-modal-x {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text-primary);
  cursor: pointer;
}

.release-modal-x:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.release-modal-content {
  min-height: 220px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.release-modal-state {
  display: grid;
  min-height: 210px;
  place-items: center;
  align-content: center;
  gap: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.release-modal-state[hidden],
.release-markdown[hidden] {
  display: none;
}

.release-modal-state strong {
  color: var(--text-primary);
  font-size: 1.15rem;
}

.release-modal-state-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.release-modal-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border-strong);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: release-spinner 800ms linear infinite;
}

.release-markdown {
  max-width: 68ch;
  margin-inline: auto;
  color: var(--text-secondary);
}

.release-markdown h2,
.release-markdown h3,
.release-markdown h4 {
  margin: 1.6rem 0 0.65rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.release-markdown h2:first-child,
.release-markdown h3:first-child {
  margin-top: 0;
}

.release-markdown p,
.release-markdown li {
  line-height: 1.75;
}

.release-markdown a,
.release-modal-legal a {
  color: var(--accent);
}

.release-markdown code {
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  background: var(--accent-soft);
  color: var(--text-primary);
}

.release-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.2rem, 4vw, 2rem);
  border-top: 1px solid var(--border);
  background: rgba(16, 24, 40, 0.76);
}

.release-modal-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.86rem;
}

@keyframes release-modal-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
}

@keyframes release-spinner {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 560px) {
  .release-modal {
    align-items: end;
    padding: 0;
  }

  .release-modal-panel {
    width: 100%;
    max-height: 94dvh;
    border-radius: 24px 24px 0 0;
  }

  .release-modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .release-modal-footer .button {
    width: 100%;
  }

  .release-modal-legal {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-modal-panel,
  .release-modal-spinner {
    animation: none;
  }
}

/* Theme and bidirectional polish for marketing mockups with fixed dark surfaces. */
.screenshot-window,
.laptop-screen,
.phone,
.download-section {
  color: var(--text-primary);
}

.laptop-screen strong,
.phone strong,
.download-section h2,
.download-card h3 {
  color: var(--text-primary);
}

.coach-avatar {
  color: #ffffff;
}

.coach-avatar .material-symbols-rounded {
  font-size: 1.35rem;
  font-variation-settings: "FILL" 1;
}

html[data-theme="light"] .floating-card,
html[data-theme="light"] .step-card {
  border-color: rgba(45, 83, 116, 0.16);
  background: rgba(255, 255, 255, 0.94);
}

html[data-theme="light"] .floating-card {
  box-shadow: 0 18px 45px rgba(37, 69, 96, 0.14);
}

html[data-theme="light"] .coaching-card .suggestion,
html[data-theme="light"] .coach-actions button {
  background: rgba(8, 127, 219, 0.055);
}

html[data-theme="light"] .privacy-highlight {
  border-color: rgba(18, 151, 105, 0.24);
  background: rgba(18, 151, 105, 0.07);
}

html[data-theme="light"] .release-modal-footer {
  background: rgba(234, 242, 249, 0.94);
}

html[dir="rtl"] .flow-steps i {
  transform: rotate(180deg);
}

html[dir="rtl"] .pomodoro-info-trigger,
html[dir="rtl"] .app-value {
  text-align: right;
}

.laptop-screen strong,
.phone strong,
.widget-timer,
.health-phone-screen,
.app-value strong,
.download-card dd,
[data-release-version] {
  direction: ltr;
  unicode-bidi: isolate;
}

@media (max-width: 520px) {
  .feature-card > .status-badge {
    top: 20px;
    inset-inline-end: 18px;
  }

  .coach-top {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .coach-top .confidence {
    grid-column: 2;
    justify-self: start;
  }
}
