@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/Outfit-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0d1b2a;
  --ink-soft: #25344a;
  --hero: #121b29;
  --paper: #f7f9fc;
  --tint: #eef3f8;
  --line: #dde6f0;
  --muted: #5b6676;
  --muted-2: #667085;
  --blue: #2387ff;
  --blue-deep: #176cdd;
  --teal: #1ecfba;
  --green: #24d58a;
  --white: #ffffff;
  --wrap: 1120px;
  --radius: 20px;
  --shadow: 0 16px 40px rgba(13, 27, 42, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(35, 135, 255, 0.55);
  outline-offset: 3px;
}

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(18, 27, 41, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: var(--white);
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-text small {
  margin-top: 3px;
  color: #9da9b9;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  color: #c9d3df;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--white);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 94px;
  background: var(--hero);
  color: #eef1f7;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  top: -180px;
  right: -120px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(35, 135, 255, 0.24), transparent 66%);
}

.hero::after {
  bottom: -260px;
  left: -180px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(30, 207, 186, 0.14), transparent 68%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #7fb6ff;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.lede {
  max-width: 550px;
  margin: 24px 0 0;
  color: #b9c4d3;
  font-size: 17px;
  line-height: 1.85;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.chips span {
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce5ef;
  font-size: 12px;
  letter-spacing: 0.02em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 650;
  box-shadow: 0 10px 26px rgba(35, 135, 255, 0.28);
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.text-link {
  color: #a9c9ff;
  font-size: 13px;
  font-weight: 550;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.status-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  color: #8f9cae;
  font-size: 12px;
}

.status-note .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(36, 213, 138, 0.12);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 135, 255, 0.2), transparent 68%);
  filter: blur(18px);
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  height: auto;
  animation: pod-float 9s ease-in-out infinite;
  -webkit-mask-image: radial-gradient(ellipse at 50% 48%, #000 58%, transparent 82%);
  mask-image: radial-gradient(ellipse at 50% 48%, #000 58%, transparent 82%);
}

.hero-visual .pod-viewer {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 540px);
  height: auto;
  aspect-ratio: 5 / 4;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-height: 0;
  --progress-bar-color: transparent;
}

.hero-visual .caption {
  position: relative;
  z-index: 1;
  margin: 6px 0 0;
  color: #788598;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-align: center;
}

@keyframes pod-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* Sections */

.section {
  padding: 96px 0;
  scroll-margin-top: 86px;
}

.section-tint {
  background: var(--tint);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2,
.about-grid h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.section-head > p:last-child,
.about-grid > div > p {
  max-width: 690px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(13, 27, 42, 0.035);
  transition: transform 0.22s ease, border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.card:hover {
  border-color: #bdd4f4;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 13px;
  background: #eaf2ff;
  color: var(--blue);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.card h3,
.steps h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p,
.steps p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.spec-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 30px 0 0;
  padding: 23px 28px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  list-style: none;
}

.spec-strip li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.spec-strip li + li {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-strip strong {
  font-size: 14px;
  font-weight: 650;
}

.spec-strip span {
  color: #9fabbc;
  font-size: 11px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 20px;
  border-top: 1px solid #cfdbe9;
}

.steps span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.steps h3 {
  font-size: 20px;
}

.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 34px;
}

.metric-chips span {
  padding: 9px 15px;
  border: 1px solid #d7e2ef;
  border-radius: 999px;
  background: var(--white);
  color: #29394f;
  font-size: 13px;
}

.metric-chips span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--teal);
  vertical-align: 2px;
}

.note {
  margin: 20px 0 0;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.7;
}

/* App mockups */

.phones-hint {
  display: none;
  margin: -28px 0 18px;
  color: var(--muted-2);
  font-size: 12px;
}

.phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.phone {
  min-width: 0;
  margin: 0;
}

.phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 18.7;
  overflow: hidden;
  padding: 24px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  background: #101016;
  box-shadow: 0 26px 55px rgba(13, 27, 42, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  color: #eef1f7;
  font-size: 10px;
  line-height: 1.38;
}

.phone-screen::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 52px;
  height: 5px;
  border-radius: 999px;
  background: #2b2d36;
  transform: translateX(-50%);
}

.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 4px;
  color: #8f93a1;
  font-size: 8px;
}

.statusbar .battery-icon {
  display: inline-block;
  width: 14px;
  height: 7px;
  border: 1px solid #8f93a1;
  border-radius: 2px;
  vertical-align: -1px;
}

.app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1px 1px 10px;
  font-size: 12px;
  font-weight: 650;
}

.app-date {
  color: #9da1ae;
  font-size: 8px;
  font-weight: 500;
}

.app-avatar {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.app-card {
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 14px;
  background: #191a20;
}

.card-kicker {
  color: #9da1ae;
  font-size: 8px;
  letter-spacing: 0.06em;
}

.goal-numbers {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 4px;
}

.goal-numbers strong {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.goal-numbers span {
  color: #8f93a1;
  font-size: 8px;
}

.bar {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2c35;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.pod-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 600;
}

.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(36, 213, 138, 0.1);
}

.pod-battery {
  margin-left: auto;
  color: #9da1ae;
  font-size: 8px;
  font-weight: 500;
}

.pod-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #8f93a1;
  font-size: 7px;
}

.run-line {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 5px;
}

.run-line strong {
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.run-line span {
  color: #9da1ae;
  font-size: 8px;
}

.run-line em {
  margin-left: auto;
  color: #c8ccd6;
  font-size: 8px;
  font-style: normal;
}

.run-sub {
  margin-top: 2px;
  color: #8f93a1;
  font-size: 7px;
}

.spark {
  width: 100%;
  height: 28px;
  margin-top: 7px;
}

.spark path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.week-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 50px;
  margin-top: 8px;
}

.week-bars i {
  flex: 1;
  min-height: 7px;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(35, 135, 255, 0.95), rgba(30, 207, 186, 0.55));
}

.week-bars i:nth-child(7) {
  background: linear-gradient(180deg, var(--teal), rgba(35, 135, 255, 0.5));
}

.segmented {
  display: flex;
  gap: 3px;
  margin: 1px 0 10px;
  padding: 3px;
  border-radius: 999px;
  background: #191a20;
}

.segmented span {
  flex: 1;
  padding: 4px 0;
  border-radius: 999px;
  color: #8f93a1;
  font-size: 8px;
  text-align: center;
}

.segmented .active {
  background: #2a2c35;
  color: #eef1f7;
}

.recent-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  color: #8f93a1;
  font-size: 8px;
}

.recent-row + .recent-row {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.recent-row strong {
  color: #c8ccd6;
  font-weight: 550;
}

.gait-mini path {
  stroke: var(--blue);
}

.phone-footer {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #8f93a1;
  font-size: 7px;
}

.phone-footer strong {
  color: #9cc4ff;
  font-weight: 500;
}

.tabbar {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding: 8px 5px 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #737886;
  font-size: 7px;
}

.tabbar .active {
  color: var(--blue);
}

.detail-hero {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 2px;
}

.detail-hero strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.detail-hero span {
  color: #9da1ae;
  font-size: 9px;
}

.detail-sub {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
  color: #b7bbc6;
  font-size: 8px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 10px;
}

.metric-grid div {
  padding: 8px;
  border-radius: 10px;
  background: #15161c;
}

.metric-grid span {
  display: block;
  color: #8f93a1;
  font-size: 7px;
}

.metric-grid strong {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
}

.metric-grid small {
  margin-left: 2px;
  color: #8f93a1;
  font-size: 6px;
  font-weight: 500;
}

.chart-card {
  margin-top: 8px;
  padding: 9px;
  border-radius: 12px;
  background: #191a20;
}

.chart-card svg {
  width: 100%;
  height: 36px;
  margin-top: 4px;
}

.chart-card path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.split-list {
  margin-top: 8px;
  border-radius: 12px;
  background: #191a20;
  overflow: hidden;
}

.split-list div {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: #b7bbc6;
  font-size: 8px;
}

.split-list div:last-child {
  border-bottom: 0;
}

.split-list strong {
  color: #eef1f7;
  font-weight: 550;
}

.gait-stage {
  position: relative;
  flex: 1;
  min-height: 150px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(circle at 60% 70%, rgba(35, 135, 255, 0.12), transparent 55%),
    #15161c;
}

.gait-stage svg {
  position: absolute;
  inset: 8% 6%;
  width: 88%;
  height: 84%;
}

.gait-stage .trail {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 5px rgba(35, 135, 255, 0.45));
}

.gait-stage .trail-fade {
  fill: none;
  stroke: rgba(35, 135, 255, 0.24);
  stroke-width: 1.2;
  stroke-dasharray: 2 4;
}

.gait-stage circle {
  fill: var(--teal);
  stroke: #eef1f7;
  stroke-width: 1.5;
}

.gait-axis {
  position: absolute;
  z-index: 1;
  color: #7f8492;
  font-size: 7px;
}

.gait-axis.forward {
  bottom: 7px;
  left: 9px;
}

.gait-axis.up {
  top: 8px;
  left: 9px;
}

.gait-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  color: #9da1ae;
  font-size: 7px;
}

.gait-controls .play {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 7px;
  text-indent: 1px;
}

.gait-bar {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: #2a2c35;
}

.gait-bar i {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.gait-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #8f93a1;
  font-size: 7px;
}

.gait-meta strong {
  color: #c8ccd6;
  font-weight: 500;
}

.gait-summary {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #9da1ae;
  font-size: 7px;
}

.phone figcaption {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center;
}

.app-features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 40px auto 0;
}

.app-features div {
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
}

.app-features strong {
  display: block;
  font-size: 13px;
  font-weight: 650;
}

.app-features span {
  display: block;
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 11px;
}

.section-app .note {
  text-align: center;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 54px;
  align-items: start;
}

.about-grid > div > p + p {
  margin-top: 14px;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 600;
  word-break: break-all;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card .small {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 11px;
}

/* Footer */

.site-footer {
  padding: 56px 0 24px;
  background: var(--ink);
  color: #c9d3df;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 1fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-grid > div > p {
  max-width: 310px;
  margin: 0;
  color: #8f9cae;
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
}

.footer-links a {
  color: #c9d3df;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-meta p {
  margin: 0 0 8px;
  color: #8f9cae;
  font-size: 12px;
  line-height: 1.75;
}

.footer-meta a {
  color: #a9c9ff;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #748294;
  font-size: 10px;
}

.footer-bottom p {
  margin: 0;
}

/* Privacy page */

.page-hero {
  padding: 72px 0 42px;
  background: var(--hero);
  color: #eef1f7;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 780;
  letter-spacing: -0.035em;
}

.page-hero p {
  margin: 14px 0 0;
  color: #9fabbc;
  font-size: 13px;
}

.legal {
  padding: 56px 0 88px;
}

.legal article {
  max-width: 780px;
  margin: 0 auto;
}

.legal h2 {
  margin: 36px 0 10px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: #4f5c6e;
  font-size: 15px;
  line-height: 1.95;
}

.legal ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal a {
  color: var(--blue-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal .updated {
  margin-top: 36px;
  color: var(--muted-2);
  font-size: 12px;
}

/* Reduced motion */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive */

@media (max-width: 960px) {
  .hero {
    padding: 66px 0 72px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    order: 2;
  }

  .hero-visual img {
    width: min(100%, 480px);
  }

  .section {
    padding: 78px 0;
  }

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

  .steps {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .spec-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spec-strip li + li {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(calc(100% - 36px), var(--wrap));
  }

  .section {
    scroll-margin-top: 108px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 0 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    padding-top: 2px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 64px);
  }

  .lede {
    font-size: 15px;
  }

  .hero-actions {
    gap: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head > p:last-child,
  .about-grid > div > p {
    font-size: 15px;
  }

  .phones-hint {
    display: block;
  }

  .phones {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .phones::-webkit-scrollbar {
    display: none;
  }

  .phone {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .app-features {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom p + p {
    margin-top: 8px;
  }
}

@media (max-width: 430px) {
  .phone {
    flex-basis: 86%;
  }

  .app-features {
    grid-template-columns: 1fr;
  }

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

/* Feedback form and the pages the feedback service renders.
   Kept at the end so the shared rules above stay untouched. */
.feedback-page {
  max-width: 720px;
  padding: 48px 24px 72px;
}

.feedback-page .lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.feedback-form {
  margin: 32px 0 24px;
  display: grid;
  gap: 22px;
}

.feedback-form .field {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

.feedback-form legend,
.feedback-form .field > label {
  padding: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.5;
}

.feedback-form .req {
  color: var(--blue-deep);
}

.feedback-form .hint {
  margin-left: 8px;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 400;
}

.feedback-form .choice {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  color: var(--ink-soft);
  font-size: 15px;
}

.feedback-form input[type="text"],
.feedback-form textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 96px;
}

.feedback-form input[type="text"]:focus,
.feedback-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.feedback-form input[type="radio"],
.feedback-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  flex: none;
}

.feedback-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.feedback-form .button {
  justify-self: start;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.feedback-form .button:hover {
  background: var(--blue-deep);
}

/* Honeypot: present in the markup, unreachable by people. */
.feedback-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feedback-result {
  margin: 40px 0 0;
}

.feedback-result h1 {
  margin: 0 0 16px;
}

.feedback-result p {
  max-width: 560px;
  color: var(--muted);
}

.feedback-result .button {
  margin-top: 28px;
}
