:root {
  color-scheme: light;
  --bg: #f2f2f7;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-2: rgba(255, 255, 255, 0.66);
  --text: #0b0b0c;
  --muted: rgba(60, 60, 67, 0.72);
  --muted-2: rgba(60, 60, 67, 0.52);
  --border: rgba(60, 60, 67, 0.16);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.09);
  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 14px;

  --accent: #007aff;
  --accent-2: #0a84ff;
  --accent-tint: rgba(0, 122, 255, 0.12);
  --success: #34c759;
  --warning: #ff9f0a;
  --danger: #ff3b30;

  --container: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --section-y: clamp(56px, 9vw, 112px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --bg: #0b0b0c;
    --bg-elevated: rgba(18, 18, 20, 0.7);
    --surface: rgba(28, 28, 30, 0.9);
    --surface-solid: #1c1c1e;
    --surface-2: rgba(28, 28, 30, 0.66);
    --text: #f5f5f7;
    --muted: rgba(235, 235, 245, 0.72);
    --muted-2: rgba(235, 235, 245, 0.48);
    --border: rgba(255, 255, 255, 0.14);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.44);
    --accent-tint: rgba(10, 132, 255, 0.2);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-elevated: rgba(18, 18, 20, 0.7);
  --surface: rgba(28, 28, 30, 0.9);
  --surface-solid: #1c1c1e;
  --surface-2: rgba(28, 28, 30, 0.66);
  --text: #f5f5f7;
  --muted: rgba(235, 235, 245, 0.72);
  --muted-2: rgba(235, 235, 245, 0.48);
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.44);
  --accent-tint: rgba(10, 132, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.5;
  background: radial-gradient(1000px 700px at 15% -10%, rgba(0, 122, 255, 0.10), transparent 60%),
    radial-gradient(900px 650px at 85% 0%, rgba(52, 199, 89, 0.08), transparent 55%),
    var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

:focus-visible {
  outline: 2px solid rgba(0, 122, 255, 0.55);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 10px 14px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  color: var(--text);
  z-index: 999;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand-mark picture {
  width: 100%;
  height: 100%;
  display: block;
}

.brand-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.brand-name {
  font-weight: 650;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle__icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle__icon svg {
  display: block;
}

.theme-toggle__icon--sun {
  display: none;
}

.theme-toggle.is-dark .theme-toggle__icon--moon {
  display: none;
}

.theme-toggle.is-dark .theme-toggle__icon--sun {
  display: inline-flex;
}

@media (max-width: 420px) {
  .theme-toggle__label {
    display: none;
  }
}

.nav-link {
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  background: var(--surface-2);
  color: var(--text);
}

.nav-link:active {
  transform: translateY(1px);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .header-inner {
    padding-left: max(calc(var(--gutter) + 6px), calc(env(safe-area-inset-left) + 6px));
    padding-right: max(calc(var(--gutter) + 6px), calc(env(safe-area-inset-right) + 6px));
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 22px rgba(0, 122, 255, 0.18);
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(0, 122, 255, 0.28);
  box-shadow: var(--shadow-soft);
}

.btn-small {
  padding: 10px 14px;
  font-size: 14px;
}

.hero {
  padding: calc(var(--section-y) + 16px) 0 var(--section-y);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 6vw, 72px);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(42px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.lead {
  margin-top: 14px;
  font-size: clamp(18px, 2.6vw, 22px);
  color: var(--muted);
  max-width: 42ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.cta-row--center {
  justify-content: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-top: 18px;
}

.badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.hero-note {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 14px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero-caption {
  max-width: 48ch;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.section {
  padding: var(--section-y) 0;
}

.section--tint {
  position: relative;
}

.section--tint::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.26);
  opacity: 1;
  pointer-events: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .section--tint::before {
    background: rgba(0, 0, 0, 0.18);
  }
}

:root[data-theme="dark"] .section--tint::before {
  background: rgba(0, 0, 0, 0.18);
}

.section--tint > .container {
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
}

.section-head h2 {
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.1;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  counter-reset: step;
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  counter-increment: step;
}

.step-card::after {
  content: counter(step);
  position: absolute;
  top: 14px;
  right: 14px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 12px;
  color: rgba(60, 60, 67, 0.72);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(60, 60, 67, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .step-card::after {
    color: rgba(235, 235, 245, 0.62);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .step-card::after {
  color: rgba(235, 235, 245, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.step-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-tint);
  color: var(--accent);
  border: 1px solid rgba(0, 122, 255, 0.18);
}

.step-card h3 {
  margin-top: 12px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.step-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 860px) {
  .feature-groups {
    grid-template-columns: 1fr;
  }
}

.feature-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.feature-group summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: start;
  list-style: none;
  outline: none;
}

.feature-group summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(60, 60, 67, 0.42);
  border-bottom: 2px solid rgba(60, 60, 67, 0.42);
  transform: rotate(-45deg);
  margin-top: 8px;
  justify-self: end;
  transition: transform 160ms ease, border-color 160ms ease;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .feature-group summary::after {
    border-right-color: rgba(235, 235, 245, 0.44);
    border-bottom-color: rgba(235, 235, 245, 0.44);
  }
}

:root[data-theme="dark"] .feature-group summary::after {
  border-right-color: rgba(235, 235, 245, 0.44);
  border-bottom-color: rgba(235, 235, 245, 0.44);
}

.feature-group[open] summary::after {
  transform: rotate(45deg);
}

.feature-group summary::-webkit-details-marker {
  display: none;
}

.fg-letter {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 122, 255, 0.18);
  font-weight: 700;
  font-size: 13px;
}

.fg-title {
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 15px;
}

.fg-sub {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.feature-group ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  padding-left: 0;
}

@media (max-width: 560px) {
  .feature-group ul {
    grid-template-columns: 1fr;
  }
}

.feature-group li {
  padding-left: 14px;
  position: relative;
  color: var(--muted);
  font-size: 13px;
}

.feature-group li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 6px;
  background: rgba(0, 122, 255, 0.6);
  position: absolute;
  left: 0;
  top: 8px;
}

.feature-spotlight {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 3vw, 26px);
  box-shadow: var(--shadow-soft);
  margin-top: 18px;
}

.feature-tabs {
  position: relative;
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(60, 60, 67, 0.34) transparent;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .feature-tabs {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    scrollbar-color: rgba(235, 235, 245, 0.26) transparent;
  }
}

:root[data-theme="dark"] .feature-tabs {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  scrollbar-color: rgba(235, 235, 245, 0.26) transparent;
}

.feature-tabs::-webkit-scrollbar {
  height: 4px;
}

.feature-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.feature-tabs::-webkit-scrollbar-thumb {
  background: rgba(60, 60, 67, 0.34);
  border-radius: 999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .feature-tabs::-webkit-scrollbar-thumb {
    background: rgba(235, 235, 245, 0.26);
  }
}

:root[data-theme="dark"] .feature-tabs::-webkit-scrollbar-thumb {
  background: rgba(235, 235, 245, 0.26);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ui-gallery,
  :root:not([data-theme]) .screens-grid {
    scrollbar-color: rgba(235, 235, 245, 0.26) transparent;
  }

  :root:not([data-theme]) .ui-gallery::-webkit-scrollbar-thumb,
  :root:not([data-theme]) .screens-grid::-webkit-scrollbar-thumb {
    background: rgba(235, 235, 245, 0.26);
  }
}

:root[data-theme="dark"] .ui-gallery,
:root[data-theme="dark"] .screens-grid {
  scrollbar-color: rgba(235, 235, 245, 0.26) transparent;
}

:root[data-theme="dark"] .ui-gallery::-webkit-scrollbar-thumb,
:root[data-theme="dark"] .screens-grid::-webkit-scrollbar-thumb {
  background: rgba(235, 235, 245, 0.26);
}

.feature-indicator {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  width: var(--indicator-w, 120px);
  transform: translateX(var(--indicator-x, 0px));
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(60, 60, 67, 0.14);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), width 280ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 200ms ease;
  opacity: 0;
  pointer-events: none;
}

.feature-tabs.is-ready .feature-indicator {
  opacity: 1;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .feature-indicator {
    background: rgba(28, 28, 30, 0.86);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  }
}

:root[data-theme="dark"] .feature-indicator {
  background: rgba(28, 28, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.feature-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 14px;
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.feature-tab:active {
  transform: translateY(1px);
}

.feature-tab__icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.10);
  border: 1px solid rgba(0, 122, 255, 0.18);
  color: var(--accent);
  flex: 0 0 auto;
}

.feature-tab.is-active {
  color: var(--text);
}

.feature-panel {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
}

@media (max-width: 980px) {
  .feature-panel {
    grid-template-columns: 1fr;
  }
}

.feature-copy {
  padding: 10px 10px 10px 14px;
}

.feature-copy,
.feature-media {
  transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
  will-change: opacity, transform;
  filter: none;
}

.feature-panel.is-switching .feature-copy {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(2px);
}

.feature-panel.is-switching .feature-media {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  filter: blur(6px);
}

.feature-title {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.feature-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 54ch;
}

.feature-points {
  margin-top: 14px;
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
}

.feature-points.is-animated li {
  opacity: 0;
  transform: translateY(8px);
  animation: featurePointIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d, 0ms);
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.18);
  border: 1px solid rgba(52, 199, 89, 0.28);
}

.feature-points li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 2px solid rgba(52, 199, 89, 0.7);
  border-bottom: 2px solid rgba(52, 199, 89, 0.7);
  transform: rotate(-45deg);
}

.feature-media {
  display: grid;
  place-items: center;
}

.phone--spotlight {
  max-width: 360px;
}

.feature-shot {
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
  will-change: opacity, transform;
}

.feature-shot.is-swapping {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(8px);
}

@media (prefers-reduced-motion: reduce) {
  .feature-shot {
    transition: none;
  }

  .feature-copy,
  .feature-media,
  .feature-indicator {
    transition: none;
  }
}

.ui-gallery,
.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .ui-gallery,
  .screens-grid {
    --carousel-item-w: min(300px, 84vw);
    --carousel-edge: max(8px, calc((100% - var(--carousel-item-w)) / 2));
    display: flex;
    overflow-x: auto;
    gap: 14px;
    padding: 4px var(--carousel-edge) 10px;
    scroll-padding-inline: var(--carousel-edge);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(60, 60, 67, 0.34) transparent;
  }

  .ui-gallery::-webkit-scrollbar,
  .screens-grid::-webkit-scrollbar {
    height: 4px;
  }

  .ui-gallery::-webkit-scrollbar-track,
  .screens-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .ui-gallery::-webkit-scrollbar-thumb,
  .screens-grid::-webkit-scrollbar-thumb {
    background: rgba(60, 60, 67, 0.34);
    border-radius: 999px;
  }

  .ui-card,
  .screen-card {
    min-width: var(--carousel-item-w);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
}

.ui-card,
.screen-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.ui-card figcaption,
.screen-card figcaption {
  margin-top: 14px;
}

.ui-card h3,
.screen-card h3 {
  font-size: 16px;
  letter-spacing: -0.02em;
}

.ui-card p,
.screen-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.phone {
  width: min(340px, 84vw);
  border-radius: 46px;
  padding: 10px;
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.22));
  border: 1px solid rgba(60, 60, 67, 0.22);
  box-shadow: var(--shadow);
  color: rgba(60, 60, 67, 0.9);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .phone {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(235, 235, 245, 0.9);
  }
}

:root[data-theme="dark"] .phone {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(235, 235, 245, 0.9);
}

.phone::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 37px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.phone__screen {
  width: 100%;
  aspect-ratio: var(--phone-screen-aspect, 603 / 1311);
  border-radius: 34px;
  overflow: hidden;
  background: var(--surface-solid);
  display: flex;
  flex-direction: column;
  position: relative;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .phone__screen {
    background: #0f0f12;
  }
}

:root[data-theme="dark"] .phone__screen {
  background: #0f0f12;
}

.phone--mini {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.phone--mini.phone--spotlight {
  max-width: 360px;
}

.app-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-shot-picture {
  flex: 1;
  width: 100%;
  display: block;
  min-height: 0;
}

.shot-overlay {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
}

.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 6px;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.statusbar__icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sb-signal {
  width: 16px;
  height: 10px;
  background: linear-gradient(to right, currentColor 20%, transparent 0) 0 100% / 4px 3px repeat-x;
  mask: linear-gradient(to top, black 0 100%);
  opacity: 0.9;
}

.sb-wifi {
  width: 14px;
  height: 10px;
  position: relative;
  opacity: 0.9;
}

.sb-wifi::before,
.sb-wifi::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.6px solid currentColor;
  border-color: currentColor transparent transparent transparent;
  border-radius: 50%;
}

.sb-wifi::before {
  width: 14px;
  height: 14px;
  top: -4px;
  opacity: 0.8;
}

.sb-wifi::after {
  width: 8px;
  height: 8px;
  top: -1px;
}

.sb-battery {
  width: 22px;
  height: 11px;
  position: relative;
  border: 1.4px solid currentColor;
  border-radius: 3px;
  opacity: 0.9;
}

.sb-battery::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 14px;
  border-radius: 2px;
  background: currentColor;
}

.sb-battery::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
}

.hero-screen {
  position: relative;
  flex: 1;
}

.hero-layer {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-layer--guest {
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.985);
}

.hero-layer--recording {
  opacity: 1;
  transform: scale(1);
}

.phone[data-hero-state="guest"] .hero-layer--guest {
  opacity: 1;
  transform: scale(1);
}

.phone[data-hero-state="guest"] .hero-layer--recording {
  opacity: 0;
  transform: scale(0.985);
}

.welcome {
  margin-top: 10px;
  text-align: center;
  color: rgba(0, 0, 0, 0.86);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .welcome {
    color: rgba(255, 255, 255, 0.9);
  }
}

:root[data-theme="dark"] .welcome {
  color: rgba(255, 255, 255, 0.9);
}

.welcome__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.12);
  color: var(--accent);
  border: 1px solid rgba(0, 122, 255, 0.18);
}

.welcome__title {
  margin-top: 10px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 18px;
}

.welcome__sub {
  margin-top: 4px;
  color: rgba(60, 60, 67, 0.7);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .welcome__sub {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .welcome__sub {
  color: rgba(235, 235, 245, 0.62);
}

.ios-sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(60, 60, 67, 0.18);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-sheet {
    background: rgba(28, 28, 30, 0.92);
    border-color: rgba(255, 255, 255, 0.14);
  }
}

:root[data-theme="dark"] .ios-sheet {
  background: rgba(28, 28, 30, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
}

.ios-sheet__title {
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-sheet__title {
    color: rgba(255, 255, 255, 0.9);
  }
}

:root[data-theme="dark"] .ios-sheet__title {
  color: rgba(255, 255, 255, 0.9);
}

.ios-sheet__subtitle {
  margin-top: 4px;
  color: rgba(60, 60, 67, 0.72);
  font-size: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-sheet__subtitle {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .ios-sheet__subtitle {
  color: rgba(235, 235, 245, 0.62);
}

.ios-sheet__actions {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.ios-sheet__btn {
  text-align: center;
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-sheet__btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .ios-sheet__btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.ios-sheet__btn--primary {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.22);
  color: var(--accent);
}

.rec-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.rec-header__timer {
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(0, 0, 0, 0.86);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .rec-header__timer {
    color: rgba(255, 255, 255, 0.9);
  }
}

:root[data-theme="dark"] .rec-header__timer {
  color: rgba(255, 255, 255, 0.9);
}

.rec-header__pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.12);
  border: 1px solid rgba(0, 122, 255, 0.2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

.rec-header__pill--muted {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(60, 60, 67, 0.14);
  color: rgba(60, 60, 67, 0.8);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .rec-header__pill--muted {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(235, 235, 245, 0.78);
  }
}

:root[data-theme="dark"] .rec-header__pill--muted {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(235, 235, 245, 0.78);
}

.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 72px;
  margin-top: 2px;
}

.wave__bar {
  width: 3px;
  height: 10px;
  border-radius: 3px;
  background: rgba(0, 122, 255, 0.72);
  animation: wave 1200ms ease-in-out infinite;
}

.wave__bar:nth-child(2) { animation-delay: 60ms; }
.wave__bar:nth-child(3) { animation-delay: 120ms; }
.wave__bar:nth-child(4) { animation-delay: 180ms; }
.wave__bar:nth-child(5) { animation-delay: 240ms; }
.wave__bar:nth-child(6) { animation-delay: 300ms; }
.wave__bar:nth-child(7) { animation-delay: 360ms; }
.wave__bar:nth-child(8) { animation-delay: 420ms; }
.wave__bar:nth-child(9) { animation-delay: 480ms; }
.wave__bar:nth-child(10) { animation-delay: 540ms; }

.wave--soft .wave__bar {
  background: rgba(0, 122, 255, 0.52);
}

@media (prefers-reduced-motion: reduce) {
  .wave__bar {
    animation: none;
  }
}

@keyframes wave {
  0%,
  100% {
    height: 10px;
    opacity: 0.7;
  }
  50% {
    height: 44px;
    opacity: 1;
  }
}

.transcript {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(60, 60, 67, 0.14);
  border-radius: 18px;
  padding: 12px;
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .transcript {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .transcript {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.transcript__line {
  font-size: 12px;
  line-height: 1.35;
  color: rgba(60, 60, 67, 0.78);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .transcript__line {
    color: rgba(235, 235, 245, 0.72);
  }
}

:root[data-theme="dark"] .transcript__line {
  color: rgba(235, 235, 245, 0.72);
}

.transcript--dense .transcript__line {
  font-size: 12px;
}

.transcript__line--active {
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .transcript__line--active {
    color: rgba(255, 255, 255, 0.92);
  }
}

:root[data-theme="dark"] .transcript__line--active {
  color: rgba(255, 255, 255, 0.92);
}

.ts {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  padding-right: 8px;
  color: rgba(60, 60, 67, 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ts {
    color: rgba(235, 235, 245, 0.44);
  }
}

:root[data-theme="dark"] .ts {
  color: rgba(235, 235, 245, 0.44);
}

.rec-controls {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.rec-controls__btn {
  padding: 10px 12px;
  border-radius: 14px;
  text-align: center;
  font-weight: 650;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  color: rgba(60, 60, 67, 0.86);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .rec-controls__btn {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(235, 235, 245, 0.9);
  }
}

:root[data-theme="dark"] .rec-controls__btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(235, 235, 245, 0.9);
}

.rec-button {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rec-button__inner {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--danger);
}

.rec-button.pulse {
  animation: recPulse 700ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .rec-button.pulse {
    animation: none;
  }
}

@keyframes recPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.22);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(255, 59, 48, 0);
  }
}

.ios-toast {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%) translateY(-6px);
  opacity: 0;
  pointer-events: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  letter-spacing: -0.01em;
  transition: opacity 180ms ease, transform 180ms ease;
}

.ios-toast[data-visible="true"] {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ios-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 12px 12px;
  gap: 10px;
}

.ios-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 6px 0 4px;
}

.ios-nav__title {
  font-weight: 750;
  letter-spacing: -0.03em;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.86);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-nav__title {
    color: rgba(255, 255, 255, 0.9);
  }
}

:root[data-theme="dark"] .ios-nav__title {
  color: rgba(255, 255, 255, 0.9);
}

.ios-nav__left,
.ios-nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ios-nav__right {
  justify-content: flex-end;
}

.ios-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  color: rgba(60, 60, 67, 0.82);
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-chip {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(235, 235, 245, 0.78);
  }
}

:root[data-theme="dark"] .ios-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(235, 235, 245, 0.78);
}

.ios-chip--blue {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.22);
  color: var(--accent);
}

.ios-chip--muted {
  opacity: 0.8;
}

.ios-chip--lock::before {
  content: "🔒";
  font-size: 11px;
}

.ios-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.55);
}

.ios-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ios-body--center {
  align-items: center;
  justify-content: center;
}

.ios-search {
  height: 36px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: rgba(60, 60, 67, 0.68);
  font-size: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-search {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .ios-search {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(235, 235, 245, 0.62);
}

.ios-search__icon {
  width: 12px;
  height: 12px;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  position: relative;
  opacity: 0.8;
}

.ios-search__icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 1.6px;
  background: currentColor;
  right: -5px;
  bottom: -2px;
  transform: rotate(45deg);
  border-radius: 2px;
}

.ios-section-label {
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(60, 60, 67, 0.58);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-section-label {
    color: rgba(235, 235, 245, 0.44);
  }
}

:root[data-theme="dark"] .ios-section-label {
  color: rgba(235, 235, 245, 0.44);
}

.ios-list {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(60, 60, 67, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-list {
    background: rgba(28, 28, 30, 0.86);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .ios-list {
  background: rgba(28, 28, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

.ios-cell {
  padding: 10px 12px;
  display: grid;
  gap: 3px;
  border-top: 1px solid rgba(60, 60, 67, 0.12);
  position: relative;
}

.ios-cell:first-child {
  border-top: none;
}

.ios-cell__title {
  font-size: 13px;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-cell__title {
    color: rgba(255, 255, 255, 0.92);
  }
}

:root[data-theme="dark"] .ios-cell__title {
  color: rgba(255, 255, 255, 0.92);
}

.ios-cell__meta {
  font-size: 11px;
  color: rgba(60, 60, 67, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-cell__meta {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .ios-cell__meta {
  color: rgba(235, 235, 245, 0.62);
}

.ios-cell--muted .ios-cell__title,
.ios-cell--muted .ios-cell__meta {
  opacity: 0.75;
}

.ios-cell--check::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.7);
}

.ios-cell--todo::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1.5px solid rgba(60, 60, 67, 0.36);
  background: transparent;
}

.ios-cell--todo {
  padding-left: 28px;
}

.ios-cell--done .ios-cell__title {
  text-decoration: line-through;
  opacity: 0.75;
}

.ios-cell--done::before {
  background: rgba(52, 199, 89, 0.7);
  border-color: rgba(52, 199, 89, 0.7);
}

.ios-tabbar {
  height: 46px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  padding: 0 8px;
  gap: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-tabbar {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .ios-tabbar {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.tab {
  text-align: center;
  font-size: 11px;
  color: rgba(60, 60, 67, 0.72);
  font-weight: 650;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .tab {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .tab {
  color: rgba(235, 235, 245, 0.62);
}

.tab--active {
  color: var(--accent);
}

.ios-fab {
  position: absolute;
  right: 18px;
  bottom: 70px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(0, 122, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-fab__inner {
  width: 16px;
  height: 16px;
  position: relative;
}

.ios-fab__inner::before,
.ios-fab__inner::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 2px;
}

.ios-fab__inner::before {
  width: 16px;
  height: 3px;
  left: 0;
  top: 6.5px;
}

.ios-fab__inner::after {
  width: 3px;
  height: 16px;
  left: 6.5px;
  top: 0;
}

.big-timer {
  font-weight: 800;
  letter-spacing: -0.05em;
  font-size: 34px;
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .big-timer {
    color: rgba(255, 255, 255, 0.92);
  }
}

:root[data-theme="dark"] .big-timer {
  color: rgba(255, 255, 255, 0.92);
}

.ios-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ios-row--space {
  justify-content: space-between;
}

.ios-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
  color: rgba(60, 60, 67, 0.86);
  font-weight: 650;
  font-size: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-pill {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(235, 235, 245, 0.86);
  }
}

:root[data-theme="dark"] .ios-pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(235, 235, 245, 0.86);
}

.ios-pill--primary {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.22);
  color: var(--accent);
}

.ios-rec {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ios-rec__inner {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--danger);
}

.ios-bottom {
  padding: 8px 2px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(60, 60, 67, 0.72);
  font-size: 11px;
}

.ios-mini-timer {
  font-variant-numeric: tabular-nums;
}

.ios-dotrow {
  display: flex;
  gap: 6px;
}

.ios-dotrow .ios-dot {
  width: 6px;
  height: 6px;
  background: rgba(60, 60, 67, 0.25);
}

.ios-card {
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(60, 60, 67, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-card {
    background: rgba(28, 28, 30, 0.86);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .ios-card {
  background: rgba(28, 28, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

.ios-card--tint {
  background: rgba(0, 122, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.18);
}

.ios-card__title {
  font-weight: 750;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-card__title {
    color: rgba(255, 255, 255, 0.92);
  }
}

:root[data-theme="dark"] .ios-card__title {
  color: rgba(255, 255, 255, 0.92);
}

.ios-card__subtitle {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(60, 60, 67, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .ios-card__subtitle {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .ios-card__subtitle {
  color: rgba(235, 235, 245, 0.62);
}

.scrub {
  margin-top: 10px;
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.18);
  overflow: hidden;
}

.scrub__bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 122, 255, 0.7), rgba(0, 122, 255, 0.18));
  width: 48%;
}

.scrub__thumb {
  position: absolute;
  left: 46%;
  top: -3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--surface-solid);
  border: 1px solid rgba(60, 60, 67, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

.scrub__meta {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(60, 60, 67, 0.72);
  font-variant-numeric: tabular-nums;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .scrub__meta {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .scrub__meta {
  color: rgba(235, 235, 245, 0.62);
}

.summary-card {
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(60, 60, 67, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .summary-card {
    background: rgba(28, 28, 30, 0.86);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .summary-card {
  background: rgba(28, 28, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
}

.summary-card__title {
  font-weight: 750;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .summary-card__title {
    color: rgba(255, 255, 255, 0.92);
  }
}

:root[data-theme="dark"] .summary-card__title {
  color: rgba(255, 255, 255, 0.92);
}

.summary-list {
  margin-top: 10px;
  padding-left: 18px;
  color: rgba(60, 60, 67, 0.78);
  font-size: 12px;
  display: grid;
  gap: 8px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .summary-list {
    color: rgba(235, 235, 245, 0.68);
  }
}

:root[data-theme="dark"] .summary-list {
  color: rgba(235, 235, 245, 0.68);
}

.seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  border-radius: 14px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(60, 60, 67, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .seg {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

:root[data-theme="dark"] .seg {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.seg__item {
  text-align: center;
  padding: 8px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  color: rgba(60, 60, 67, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .seg__item {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .seg__item {
  color: rgba(235, 235, 245, 0.62);
}

.seg__item--active {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(60, 60, 67, 0.14);
  color: rgba(0, 0, 0, 0.88);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .seg__item--active {
    background: rgba(28, 28, 30, 0.86);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
  }
}

:root[data-theme="dark"] .seg__item--active {
  background: rgba(28, 28, 30, 0.86);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.creation {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(60, 60, 67, 0.78);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .creation {
    color: rgba(235, 235, 245, 0.68);
  }
}

:root[data-theme="dark"] .creation {
  color: rgba(235, 235, 245, 0.68);
}

.lock-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.storage__bar {
  margin-top: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(60, 60, 67, 0.18);
  overflow: hidden;
}

.storage__fill {
  height: 100%;
  width: 62%;
  background: linear-gradient(to right, rgba(0, 122, 255, 0.75), rgba(52, 199, 89, 0.5));
}

.storage__meta {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(60, 60, 67, 0.72);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .storage__meta {
    color: rgba(235, 235, 245, 0.62);
  }
}

:root[data-theme="dark"] .storage__meta {
  color: rgba(235, 235, 245, 0.62);
}

.alert {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 159, 10, 0.25);
  background: rgba(255, 159, 10, 0.1);
  color: rgba(0, 0, 0, 0.82);
  font-size: 12px;
  line-height: 1.35;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .alert {
    color: rgba(255, 255, 255, 0.86);
  }
}

:root[data-theme="dark"] .alert {
  color: rgba(255, 255, 255, 0.86);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.trust-card h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.trust-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.trust-footer {
  margin-top: 18px;
  text-align: center;
}

.inline-link {
  color: var(--accent);
  font-weight: 650;
  letter-spacing: -0.02em;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.18);
  display: inline-flex;
}

.inline-link:hover {
  background: rgba(0, 122, 255, 0.12);
}

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

@media (max-width: 980px) {
  .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .usecase-grid {
    grid-template-columns: 1fr;
  }
}

.usecase-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.usecase-card h3 {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.usecase-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.final-cta {
  padding: var(--section-y) 0;
}

.final-cta__inner {
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.12), rgba(255, 255, 255, 0.28));
  border: 1px solid rgba(0, 122, 255, 0.18);
  border-radius: clamp(22px, 5vw, 36px);
  padding: clamp(22px, 5vw, 40px);
  box-shadow: var(--shadow-soft);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .final-cta__inner {
    background: linear-gradient(180deg, rgba(0, 122, 255, 0.16), rgba(0, 0, 0, 0.18));
  }
}

:root[data-theme="dark"] .final-cta__inner {
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.16), rgba(0, 0, 0, 0.18));
}

.final-cta__lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
}

.fineprint {
  margin-top: 14px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .footer {
    background: rgba(0, 0, 0, 0.14);
  }
}

:root[data-theme="dark"] .footer {
  background: rgba(0, 0, 0, 0.14);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.footer-inner > * {
  min-width: 0;
}

@media (max-width: 980px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  justify-self: stretch;
  white-space: normal;
}

.footer-nav .nav-link {
  font-size: 13px;
  padding: 8px 10px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .footer-nav {
    justify-content: flex-start;
  }
}

.brand--footer .brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
}

/* Legal / text pages */
.text-page {
  padding-top: calc(var(--section-y) + 10px);
  padding-bottom: var(--section-y);
  max-width: 820px;
}

.text-page--legal {
  max-width: 760px;
  line-height: 1.7;
}

.legal-header {
  margin-bottom: 18px;
}

.text-page--legal .legal-section {
  margin-top: 16px;
  padding: 18px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.text-page--legal .legal-section:first-of-type {
  margin-top: 0;
}

.text-page h1 {
  font-size: clamp(34px, 5vw, 46px);
  letter-spacing: -0.04em;
}

.text-page .meta {
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 13px;
}

.text-page h2 {
  margin-top: 28px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.text-page--legal .legal-section h2 {
  margin-top: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.text-page--legal .legal-section h3 {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.text-page p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.text-page--legal .legal-section p {
  margin-top: 12px;
}

.text-page p strong {
  color: var(--text);
}

.text-page ul,
.text-page ol {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}

.text-page--legal .legal-section ul,
.text-page--legal .legal-section ol {
  margin-top: 12px;
}

.text-page--legal .legal-section ul {
  padding-left: 0;
  list-style: none;
}

.text-page--legal .legal-section ul > li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.text-page--legal .legal-section ul > li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55em;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-tint);
  flex: 0 0 6px;
}

.text-page--legal .legal-section h2 + *,
.text-page--legal .legal-section h3 + * {
  margin-top: 14px;
}

.text-page li + li {
  margin-top: 6px;
}

.text-page--legal .legal-section li + li {
  margin-top: 10px;
}

.text-page--legal .legal-section .inline-link {
  padding: 0;
  background: none;
  border: 0;
  display: inline;
}

.text-page--legal .legal-section .inline-link:hover {
  background: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-card {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.contact-row strong {
  font-weight: 750;
  letter-spacing: -0.02em;
}

.contact-row span {
  color: var(--muted);
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Reveal (only when JS is enabled) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 650ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes featurePointIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .phone--hero {
    animation: phoneFloat 7.5s ease-in-out infinite;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .phone:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 34px 86px rgba(0, 0, 0, 0.22);
    border-color: rgba(0, 122, 255, 0.22);
  }

  .btn:hover {
    transform: translateY(-1px);
  }

  .step-card:hover,
  .usecase-card:hover,
  .ui-card:hover,
  .screen-card:hover {
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 122, 255, 0.18);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) and (prefers-color-scheme: dark) {
  :root:not([data-theme]) .phone:hover {
    box-shadow: 0 36px 92px rgba(0, 0, 0, 0.46);
    border-color: rgba(10, 132, 255, 0.24);
  }

  :root:not([data-theme]) .step-card:hover,
  :root:not([data-theme]) .usecase-card:hover,
  :root:not([data-theme]) .ui-card:hover,
  :root:not([data-theme]) .screen-card:hover {
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.42);
    border-color: rgba(10, 132, 255, 0.22);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root[data-theme="dark"] .phone:hover {
    box-shadow: 0 36px 92px rgba(0, 0, 0, 0.46);
    border-color: rgba(10, 132, 255, 0.24);
  }

  :root[data-theme="dark"] .step-card:hover,
  :root[data-theme="dark"] .usecase-card:hover,
  :root[data-theme="dark"] .ui-card:hover,
  :root[data-theme="dark"] .screen-card:hover {
    box-shadow: 0 22px 62px rgba(0, 0, 0, 0.42);
    border-color: rgba(10, 132, 255, 0.22);
  }
}

.analytics-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1100;
  display: grid;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.analytics-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

:root[data-theme="dark"] .analytics-consent {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(18, 18, 18, 0.94);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

:root[data-theme="dark"] .analytics-consent__text {
  color: rgba(230, 230, 235, 0.92);
}

@media (max-width: 560px) {
  .analytics-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 12px;
  }

  .analytics-consent__actions .btn {
    flex: 1 1 130px;
  }
}
