:root {
  --page: #f4f5f7;
  --paper: #ffffff;
  --paper-soft: #fafafa;
  --ink: #19191f;
  --ink-soft: #3b3b44;
  --muted: #6d6f78;
  --muted-2: #8a8d96;
  --line: #dfe1e7;
  --line-soft: #eceef3;
  --accent: #6f55b5;
  --accent-strong: #563f99;
  --accent-soft: #eee9fb;
  --blue: #3868a8;
  --green: #2f8a60;
  --amber: #a96c1e;
  --danger: #a84646;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 1px rgba(20, 20, 24, 0.05), 0 18px 48px rgba(20, 20, 24, 0.08);
  --shadow-window: 0 1px 1px rgba(20, 20, 24, 0.04), 0 18px 42px rgba(20, 20, 24, 0.13);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 420px),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(111, 85, 181, 0.18);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(223, 225, 231, 0.72);
  background: rgba(244, 245, 247, 0.82);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  border-radius: 999px;
  padding: 8px 11px;
  transition: color 160ms ease, background-color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(25, 25, 31, 0.05);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(25, 25, 31, 0.14);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: #050508;
  box-shadow: 0 10px 22px rgba(25, 25, 31, 0.18);
}

.section,
.hero,
.page-hero {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.hero {
  padding: 76px 0 40px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(47, 138, 96, 0.12);
}

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

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 24px auto 0;
  font-size: 58px;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 780;
}

.hero-copy,
.page-copy {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.page-actions,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card-actions.start {
  justify-content: flex-start;
}

.support-grid .support-card .card-actions {
  margin-top: auto;
  padding-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 750;
  font-size: 15px;
  box-shadow: 0 1px 1px rgba(20, 20, 24, 0.04), 0 8px 20px rgba(20, 20, 24, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: #cfd2da;
  box-shadow: 0 1px 1px rgba(20, 20, 24, 0.04), 0 12px 26px rgba(20, 20, 24, 0.09);
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #050508;
}

.button.subtle {
  background: transparent;
  box-shadow: none;
}

.hero-shot-wrap {
  margin: 44px auto 0;
  max-width: 980px;
}

/* Hero feature carousel ------------------------------------------------ */
.hero-carousel {
  margin: 44px auto 0;
  max-width: 980px;
}

.hero-carousel-frame {
  position: relative;
  aspect-ratio: 2184 / 1624;
}

.hero-carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 900ms ease, visibility 0s;
  z-index: 1;
}

.hero-carousel-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.hero-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 1px 1px rgba(20, 20, 24, 0.04), 0 8px 20px rgba(20, 20, 24, 0.05);
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hero-tab:hover,
.hero-tab:focus-visible {
  color: var(--ink);
  border-color: #cfd2da;
  transform: translateY(-1px);
}

.hero-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(111, 85, 181, 0.16);
}

.hero-tab.is-active {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 7px 18px rgba(25, 25, 31, 0.18);
}

.shot-body-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.story-shot {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Floating overlay image (not a window) */
.overlay-shot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay-shot .story-shot {
  border-radius: 23px;
  box-shadow: 0 8px 28px rgba(20, 20, 24, 0.12);
}

.overlay-shot .story-shot-flat {
  border-radius: 0;
}

.shot-frame {
  max-width: 100%;
  border: 1px solid rgba(201, 204, 214, 0.86);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-window);
  overflow: hidden;
}

.window-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #fbfbfc, #f0f1f4);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.traffic {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 14px;
}

.traffic span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: block;
}

.traffic span:nth-child(1) {
  background: #ff6258;
}

.traffic span:nth-child(2) {
  background: #ffbd2e;
}

.traffic span:nth-child(3) {
  background: #27c93f;
}

.window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.window-state {
  padding-right: 14px;
  color: var(--green);
}

.shot-body {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  min-height: 520px;
  background: #f7f8fa;
}

.shot-sidebar {
  border-right: 1px solid var(--line-soft);
  background: #f1f2f5;
  padding: 18px 14px;
}

.side-heading {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.side-heading.spaced {
  margin-top: 22px;
}

.side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  border-radius: 9px;
  padding: 0 10px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.side-item.active {
  background: white;
  box-shadow: 0 1px 2px rgba(20, 20, 24, 0.05);
  color: var(--ink);
}

.side-pill {
  min-width: 26px;
  border-radius: 999px;
  padding: 2px 7px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  text-align: center;
  font-size: 11px;
}

.shot-main {
  padding: 22px;
}

.shot-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  align-items: stretch;
}

.mock-panel {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: white;
  box-shadow: 0 1px 1px rgba(20, 20, 24, 0.03);
}

.mock-panel.pad {
  padding: 18px;
}

.mock-panel.stack-after {
  margin-top: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel-title h3,
.panel-title h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
}

.status-chip,
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  background: #eff7f2;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.status-chip.violet,
.mini-chip.violet {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.status-chip.amber,
.mini-chip.amber {
  background: #fff4df;
  color: var(--amber);
}

.remote-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 148px;
}

.remote-device {
  position: relative;
  width: 54px;
  height: 132px;
  margin: 0 auto;
  border-radius: 26px;
  background: linear-gradient(180deg, #25252b, #09090d);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 14px 24px rgba(20, 20, 24, 0.18);
}

.remote-device::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 50%;
  width: 34px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #34343c;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.remote-device::after {
  content: "";
  position: absolute;
  bottom: 18px;
  left: 50%;
  width: 26px;
  height: 7px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #42424b;
}

.remote-buttons {
  position: absolute;
  top: 56px;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, 12px);
  gap: 8px;
  transform: translateX(-50%);
}

.remote-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #494954;
}

.remote-meta {
  display: grid;
  gap: 8px;
}

.metric-row,
.action-row,
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 34px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.metric-row:first-child,
.action-row:first-child,
.setting-row:first-child {
  border-top: 0;
}

.metric-row span:last-child,
.action-row span:last-child,
.setting-row span:last-child {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.assignment-list {
  display: grid;
  gap: 9px;
}

.assignment {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 0 10px;
  background: #fbfbfc;
  font-size: 13px;
  font-weight: 700;
}

.keycap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  border: 1px solid #d7dae2;
  border-radius: 7px;
  padding: 0 8px;
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(20, 20, 24, 0.06);
  font-size: 12px;
  font-weight: 850;
}

.profile-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.profile {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background: #fbfbfc;
}

.profile strong {
  display: block;
  font-size: 13px;
}

.profile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.keyboard-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  margin-top: 14px;
}

.keyboard-grid span {
  min-height: 30px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfbfc;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.keyboard-grid span.focus {
  border-color: rgba(111, 85, 181, 0.45);
  background: var(--accent-soft);
  color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(111, 85, 181, 0.1);
}

.voice-strip {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 78px;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: #fbfbfc;
}

.voice-strip span {
  flex: 1;
  min-width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(111, 85, 181, 0.72), rgba(56, 104, 168, 0.58));
}

.voice-strip span:nth-child(1) { height: 20%; }
.voice-strip span:nth-child(2) { height: 48%; }
.voice-strip span:nth-child(3) { height: 70%; }
.voice-strip span:nth-child(4) { height: 38%; }
.voice-strip span:nth-child(5) { height: 88%; }
.voice-strip span:nth-child(6) { height: 56%; }
.voice-strip span:nth-child(7) { height: 76%; }
.voice-strip span:nth-child(8) { height: 32%; }
.voice-strip span:nth-child(9) { height: 62%; }
.voice-strip span:nth-child(10) { height: 44%; }
.voice-strip span:nth-child(11) { height: 74%; }
.voice-strip span:nth-child(12) { height: 30%; }

.transcript-box {
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 14px;
  background: white;
  color: var(--ink-soft);
  font-size: 14px;
}

.transcript-box mark {
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 1px 4px;
}

.ai-flow {
  display: grid;
  gap: 10px;
}

.ai-step {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 12px;
  background: #fbfbfc;
}

.ai-step strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.ai-step span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.confirmation {
  border-color: rgba(111, 85, 181, 0.28);
  background: #f9f6ff;
}

.section {
  padding: 96px 0 0;
}

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

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2,
.page-section h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p,
.page-section > p {
  color: var(--muted);
  font-size: 17px;
}

.story-list {
  display: grid;
  gap: 28px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 30px;
  align-items: center;
  padding: 26px;
  border: 1px solid rgba(223, 225, 231, 0.82);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 1px 1px rgba(20, 20, 24, 0.03);
}

.story-row:nth-child(even) .story-copy {
  order: -1;
}

/* Transparent row for floating overlay screenshots */
.story-row-overlay {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.story-copy h3 {
  margin: 10px 0 12px;
  font-size: 27px;
  line-height: 1.16;
}

.story-copy p {
  color: var(--muted);
  font-size: 16px;
}

.story-points {
  display: grid;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.story-points li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.story-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.mini-window .shot-body {
  display: block;
  min-height: auto;
  padding: 16px;
}

.mini-window .window-top {
  min-height: 32px;
}

.mini-window .window-title {
  position: static;
  transform: none;
  font-size: 11px;
}

.mini-window .window-state {
  font-size: 11px;
}

.steps-grid,
.pricing-grid,
.support-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.support-grid .support-card {
  display: flex;
  flex-direction: column;
}

.step-card,
.price-card,
.support-card,
.legal-card,
.faq-card,
.callout,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 1px rgba(20, 20, 24, 0.03);
}

.step-card,
.support-card,
.legal-card {
  padding: 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 18px;
}

.step-card h3,
.support-card h3,
.legal-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.step-optional {
  display: inline-block;
  vertical-align: middle;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(20, 20, 24, 0.05);
  border-radius: 999px;
  padding: 1px 6px;
}

.step-card p,
.support-card p,
.legal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card .card-actions {
  margin-top: auto;
  padding-top: 24px;
}

.price-card.highlight {
  border-color: rgba(111, 85, 181, 0.38);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(248, 245, 255, 0.72));
}

/* Billing toggle inside the subscription card */
.plan-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(20, 20, 24, 0.06);
  border-radius: 999px;
  padding: 3px;
  margin-bottom: 18px;
  align-self: center;
}

.plan-toggle button {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.plan-toggle button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 20, 24, 0.1);
}

.plan-toggle .save-badge {
  font-size: 11px;
  font-weight: 800;
  color: #1a8a3a;
}

.price-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 10px 0 6px;
  font-size: 24px;
}

.price {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 36px;
  line-height: 1;
  font-weight: 820;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.feature-list li::before {
  content: "+";
  display: inline-flex;
  width: 20px;
  color: var(--green);
  font-weight: 900;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
}

.callout h2,
.callout h3 {
  margin-bottom: 8px;
}

.callout p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details.faq-card {
  padding: 0;
}

details.faq-card summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 780;
}

details.faq-card summary::-webkit-details-marker {
  display: none;
}

details.faq-card summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 900;
}

details.faq-card[open] summary::after {
  content: "-";
}

details.faq-card p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.page-hero {
  padding: 70px 0 42px;
}

.page-hero.center {
  text-align: center;
}

.page-section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 72px 0 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.form-card {
  padding: 24px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.field label,
.check-field span {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 760;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  padding: 0 13px;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  min-height: 120px;
  padding-top: 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(111, 85, 181, 0.72);
  box-shadow: 0 0 0 4px rgba(111, 85, 181, 0.1);
}

.field small,
.form-note {
  color: var(--muted);
  font-size: 13px;
}

.check-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.form-success {
  display: none;
  border: 1px solid rgba(47, 138, 96, 0.24);
  border-radius: 12px;
  background: #eff7f2;
  color: #225d43;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
}

.form-success.is-visible {
  display: block;
}

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

.info-list li {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.info-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.info-list strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
}

.site-footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 96px auto 0;
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, 1fr));
  gap: 28px;
}

.footer-grid h3 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 14px;
}

.footer-grid a {
  display: block;
  margin-top: 8px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: var(--muted-2);
  font-size: 13px;
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link-list .button {
  min-height: 40px;
}

@media (max-width: 980px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-cta {
    position: absolute;
    top: 14px;
    right: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 44px;
  }

  .hero-carousel-tabs {
    gap: 6px;
  }

  .hero-tab {
    padding: 0 12px;
    font-size: 12px;
  }

  .shot-body,
  .shot-main-grid,
  .story-row,
  .two-column,
  .footer-grid,
  .callout {
    grid-template-columns: 1fr;
  }

  .story-row:nth-child(even) .story-copy {
    order: 0;
  }

  .shot-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

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

@media (max-width: 680px) {
  body {
    font-size: 15px;
  }

  .section,
  .hero,
  .page-hero,
  .page-section,
  .site-footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .hero {
    padding-top: 54px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 300px;
    font-size: 30px;
  }

  .hero-copy,
  .page-copy {
    max-width: 310px;
    font-size: 16px;
  }

  .hero-actions,
  .page-actions,
  .card-actions {
    width: min(100%, 288px);
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .card-actions.start {
    margin-left: 0;
    margin-right: 0;
  }

  .button {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .nav-wrap {
    width: min(calc(100% - 28px), var(--max));
    min-width: 0;
    overflow: hidden;
  }

  .nav-links {
    max-width: 100%;
  }

  .story-row,
  .price-card,
  .form-card,
  .callout {
    padding: 18px;
  }

  .steps-grid,
  .pricing-grid,
  .support-grid,
  .legal-grid,
  .profile-strip {
    grid-template-columns: 1fr;
  }

  .assignment {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .keyboard-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .window-title {
    display: none;
  }

  .shot-main {
    padding: 14px;
  }

  .shot-body,
  .shot-main,
  .shot-main-grid,
  .remote-card,
  .story-row,
  .story-copy {
    max-width: 100%;
    min-width: 0;
  }

  .shot-frame,
  .hero-shot-wrap,
  .story-list {
    max-width: 100%;
    overflow: hidden;
  }

  .shot-body,
  .shot-main-grid {
    overflow: hidden;
  }

  .remote-card {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }

  .remote-device {
    width: 46px;
    height: 112px;
  }

  .remote-device::before {
    width: 28px;
    height: 28px;
  }

  .remote-buttons {
    top: 49px;
    gap: 6px;
  }

  .metric-row,
  .action-row,
  .setting-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: auto;
    padding: 8px 0;
    align-items: flex-start;
  }

  .metric-row span,
  .action-row span,
  .setting-row span {
    min-width: 0;
  }

  .metric-row span:last-child,
  .action-row span:last-child,
  .setting-row span:last-child {
    text-align: right;
  }

  .mini-window .window-state {
    display: none;
  }
}

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