:root {
  --font-sans: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ink: #17201e;
  --ink-soft: #53615d;
  --paper: #fbfcfb;
  --paper-alt: #f1f5f3;
  --mint: #22b8a7;
  --mint-dark: #087e73;
  --mint-pale: #dcf4ee;
  --coral: #f16f61;
  --coral-pale: #fde6e1;
  --line: #dce4e0;
  --dark: #171b1a;
  --dark-soft: #242a28;
  --white: #ffffff;
  --shadow-small: 0 10px 30px rgba(22, 41, 36, 0.1);
  --shadow-device: 0 30px 70px rgba(18, 37, 32, 0.2);
  --shell: min(1180px, calc(100% - 48px));
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--dark);
  color: var(--white);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(34, 184, 167, 0.4);
  outline-offset: 3px;
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-space {
  padding-block: 112px;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(251, 252, 251, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(220, 228, 224, 0.9);
  box-shadow: 0 5px 20px rgba(22, 41, 36, 0.05);
}

.nav-shell {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  color: #34413e;
  font-size: 14px;
  font-weight: 600;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--mint);
  transition: right 180ms ease;
}

.nav-links a:hover::after {
  right: 0;
}

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

.button,
.icon-button,
.feature-tab {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.button svg {
  width: 18px;
  height: 18px;
}

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

.button-small {
  min-height: 40px;
  padding-inline: 15px;
  color: var(--white);
  background: var(--dark);
  font-size: 14px;
}

.button-primary {
  color: var(--white);
  background: var(--mint-dark);
  box-shadow: 0 10px 24px rgba(8, 126, 115, 0.2);
}

.button-primary:hover {
  background: #076d64;
  box-shadow: 0 14px 32px rgba(8, 126, 115, 0.24);
}

.button-dark {
  min-height: 42px;
  color: var(--white);
  background: var(--dark);
}

.button-light {
  color: var(--dark);
  background: var(--white);
}

.icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.7);
}

.icon-button:hover {
  color: var(--mint-dark);
  border-color: #b4d6ce;
  transform: translateY(-1px);
}

.icon-button svg {
  width: 19px;
  height: 19px;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 5;
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--white);
  background: var(--dark);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, -4px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.menu-button {
  display: none;
}

.hero {
  overflow: hidden;
  padding-top: var(--header-height);
  background: var(--paper-alt);
}

.hero-inner {
  width: var(--shell);
  min-height: min(700px, calc(100svh - 136px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: 36px;
}

.hero-copy {
  position: relative;
  z-index: 3;
  padding-block: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--mint-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 22px;
  height: 2px;
  background: var(--coral);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 5.5vw, 74px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9em;
  color: #475955;
  font-weight: 500;
}

.hero-lead {
  margin: 26px 0 4px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 600;
}

.hero-description {
  max-width: 540px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.text-link svg {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

.hero-actions .text-link:hover svg {
  transform: translateY(3px);
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #52615d;
  font-size: 12px;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-row svg {
  width: 15px;
  height: 15px;
  color: var(--mint-dark);
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 610px;
}

.hero-wordmark {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(34, 184, 167, 0.08);
  font-size: 520px;
  line-height: 0.8;
  font-weight: 900;
  transform: translate(-48%, -48%);
  user-select: none;
}

.device {
  margin: 0;
  overflow: hidden;
  background: #eef3f1;
  box-shadow: 0 34px 76px rgba(18, 37, 32, 0.24);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06);
}

.phone {
  border: 6px solid #1c211f;
  border-radius: 34px;
}

.phone-main,
.phone-side {
  position: absolute;
  width: 276px;
  aspect-ratio: 620 / 1344;
  bottom: -30px;
}

.phone-main {
  z-index: 2;
  left: 20%;
  transform: rotate(-4deg);
}

.phone-side {
  z-index: 1;
  left: 55%;
  bottom: -82px;
  transform: rotate(7deg);
  opacity: 1;
}

.floating-note {
  position: absolute;
  z-index: 4;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(22, 41, 36, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
}

.floating-note svg {
  width: 18px;
  height: 18px;
  color: var(--coral);
}

.note-history {
  top: 20%;
  left: 4%;
}

.note-tools {
  right: 0;
  bottom: 25%;
}

.availability-strip {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(201, 215, 209, 0.85);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.availability-inner {
  width: var(--shell);
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.availability-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.platform-line {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #68746f;
  font-size: 12px;
}

.platform-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.platform-line svg {
  width: 15px;
  height: 15px;
}

.proof-band {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  min-height: 148px;
  padding: 32px 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.proof-item:last-child {
  border-right: 1px solid var(--line);
}

.proof-item strong {
  color: var(--mint-dark);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
}

.proof-zero strong {
  color: var(--coral);
}

.proof-item span {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.section-heading {
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.section-heading h2,
.tool-intro h2,
.privacy-copy h2,
.download-heading h2 {
  margin: 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 15px;
}

.feature-tabs {
  position: relative;
  z-index: 3;
  margin-bottom: 0;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  background: #f4f7f5;
}

.feature-tab {
  min-height: 50px;
  padding: 0 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #65716d;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
}

.feature-tab svg {
  width: 18px;
  height: 18px;
}

.feature-tab:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
}

.feature-tab.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 10px rgba(27, 48, 42, 0.08);
}

.feature-tab.is-active svg {
  color: var(--mint-dark);
}

.feature-panels {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  overflow: hidden;
  background: #f7faf8;
}

.feature-panel {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1.14fr);
  align-items: stretch;
}

.feature-panel[hidden] {
  display: none;
}

.feature-panel.is-entering .feature-copy,
.feature-panel.is-entering .feature-media {
  animation: panel-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-panel.is-entering .feature-media {
  animation-delay: 50ms;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.feature-copy {
  position: relative;
  z-index: 2;
  padding: 78px 40px 70px 64px;
  align-self: center;
}

.feature-copy h3 {
  max-width: 470px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 46px);
  line-height: 1.18;
  font-weight: 700;
}

.feature-copy > p:not(.section-kicker) {
  max-width: 500px;
  margin: 22px 0 0;
  color: var(--ink-soft);
}

.feature-number {
  display: block;
  margin-bottom: 38px;
  color: #9aa8a3;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.check-list {
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  list-style: none;
  color: #34413e;
  font-size: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.check-list svg {
  width: 17px;
  height: 17px;
  padding: 3px;
  border-radius: 50%;
  color: var(--white);
  background: var(--mint-dark);
  stroke-width: 3;
}

.feature-media {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: var(--mint-pale);
}

.calculator-media {
  background: #d9eee9;
}

.feature-media::before {
  content: "";
  position: absolute;
  inset: 11% 12%;
  border: 1px solid rgba(8, 126, 115, 0.18);
  border-radius: 50%;
}

.feature-phone {
  position: absolute;
  width: 248px;
  aspect-ratio: 620 / 1344;
}

.feature-phone-back {
  z-index: 1;
  top: 56px;
  left: 13%;
  transform: rotate(-6deg);
}

.feature-phone-front {
  z-index: 2;
  top: 36px;
  right: 12%;
  transform: rotate(5deg);
}

.single-phone-media {
  background: var(--coral-pale);
}

[data-panel="graph"] .single-phone-media {
  background: #e1ecef;
}

[data-panel="kinship"] .single-phone-media {
  background: #e8e5f2;
}

.feature-phone-single {
  top: 38px;
  left: 50%;
  width: 270px;
  transform: translateX(-50%) rotate(2deg);
}

.tool-section {
  background: var(--paper-alt);
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(520px, 1.3fr);
  gap: 100px;
  align-items: start;
}

.tool-intro {
  position: sticky;
  top: 110px;
}

.tool-intro h2 {
  font-size: clamp(36px, 4vw, 52px);
}

.tool-intro > p:not(.section-kicker) {
  margin: 22px 0 28px;
  color: var(--ink-soft);
}

.tool-list {
  border-top: 1px solid #cdd8d3;
}

.tool-row {
  min-height: 84px;
  padding: 18px 10px;
  border-bottom: 1px solid #cdd8d3;
  display: grid;
  grid-template-columns: 34px minmax(120px, 0.45fr) minmax(220px, 1fr);
  align-items: center;
  gap: 16px;
}

.tool-row > svg {
  width: 21px;
  height: 21px;
  color: var(--mint-dark);
}

.tool-row span {
  font-weight: 700;
}

.tool-row small {
  color: var(--ink-soft);
  font-size: 13px;
}

.platform-section {
  overflow: hidden;
}

.ipad-stage {
  position: relative;
  min-height: 590px;
  margin-top: 20px;
  padding: 72px 54% 70px 60px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}

.ipad-copy {
  position: relative;
  z-index: 3;
}

.ipad-copy h3 {
  margin: 32px 0 16px;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.18;
}

.ipad-copy p {
  margin: 0;
  color: #b9c3c0;
}

.status-pill {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-soon {
  color: #1f3330;
  background: #caefe6;
}

.tablet-device {
  position: absolute;
  z-index: 2;
  top: 74px;
  left: 47%;
  width: min(760px, 67%);
  aspect-ratio: 4 / 3;
  border: 8px solid #090b0a;
  border-radius: 25px;
  transform: rotate(2.5deg);
}

.platform-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.platform-card {
  min-height: 106px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  background: var(--white);
}

.platform-card > svg {
  width: 26px;
  height: 26px;
  color: var(--mint-dark);
}

.platform-card h3,
.download-card h3 {
  margin: 0;
  font-size: 17px;
}

.platform-card p,
.download-card p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.status-text {
  color: #76817d;
  font-size: 12px;
  white-space: nowrap;
}

.privacy-section {
  padding-block: 112px;
  color: var(--white);
  background: var(--dark);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 100px;
  align-items: center;
}

.privacy-copy .section-kicker {
  color: #79d9c9;
}

.privacy-copy h2 {
  max-width: 680px;
}

.privacy-copy > p:not(.section-kicker) {
  max-width: 650px;
  margin: 24px 0 32px;
  color: #b7c1be;
}

.privacy-points {
  border-top: 1px solid #39413f;
}

.privacy-points > div {
  min-height: 104px;
  padding: 22px 0;
  border-bottom: 1px solid #39413f;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 18px;
}

.privacy-points svg {
  width: 28px;
  height: 28px;
  color: #79d9c9;
}

.privacy-points span {
  color: #9faaa7;
  font-size: 13px;
}

.privacy-points strong {
  display: block;
  color: var(--white);
  font-size: 17px;
}

.download-heading {
  max-width: 720px;
  margin: 0 auto 54px;
  text-align: center;
}

.download-heading img {
  width: 88px;
  height: 88px;
  margin: 0 auto 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-small);
}

.download-heading h2 {
  max-width: none;
}

.download-heading > p:last-child {
  margin: 18px auto 0;
  color: var(--ink-soft);
}

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

.download-card {
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
}

.download-card > div:nth-child(2) {
  margin-bottom: auto;
}

.download-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 26px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--mint-dark);
  background: var(--mint-pale);
}

.download-upcoming .download-icon {
  color: #a84f44;
  background: var(--coral-pale);
}

.download-icon svg {
  width: 24px;
  height: 24px;
}

.download-card small {
  display: block;
  margin-top: 12px;
  color: #84908c;
  font-size: 11px;
}

.download-card .button,
.download-card .status-pill {
  margin-top: 26px;
}

.release-link {
  margin-top: 26px;
  text-align: center;
}

.release-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.release-link svg {
  width: 15px;
  height: 15px;
}

.site-footer {
  padding-top: 64px;
  color: #c4cecb;
  background: #111413;
}

.footer-main {
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
}

.footer-brand .brand {
  color: var(--white);
}

.footer-brand p {
  margin: 15px 0 0;
  color: #7f8a86;
  font-size: 13px;
}

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

.footer-links > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-links h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 13px;
}

.footer-links a {
  color: #8e9995;
  font-size: 12px;
}

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

.footer-bottom {
  min-height: 68px;
  border-top: 1px solid #272c2a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6f7a76;
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms cubic-bezier(0.22, 1, 0.36, 1), transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Legal and support pages */
.inner-page {
  padding-top: var(--header-height);
  background: var(--paper-alt);
}

.page-hero {
  padding-block: 86px 70px;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.12;
  font-weight: 700;
}

.page-hero p:not(.section-kicker) {
  max-width: 660px;
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.page-updated {
  display: block;
  margin-top: 26px;
  color: #71807b;
  font-size: 12px;
}

.legal-content {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: 72px 110px;
}

.legal-lead {
  margin: 0 0 46px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
  color: #394642;
  font-size: 18px;
}

.legal-section {
  margin-top: 48px;
}

.legal-section h2 {
  margin: 0 0 18px;
  font-size: 23px;
}

.legal-section h3 {
  margin: 26px 0 10px;
  font-size: 16px;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
}

.legal-section ul {
  padding-left: 22px;
}

.legal-section a,
.contact-link {
  color: var(--mint-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  color: var(--ink-soft);
  background: var(--coral-pale);
  font-size: 14px;
}

.support-content {
  width: var(--shell);
  margin-inline: auto;
  padding-block: 80px 110px;
}

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

.support-card {
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.support-card > svg {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--mint-dark);
}

.support-card h2 {
  margin: 0;
  font-size: 20px;
}

.support-card p {
  margin: 10px 0 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.faq-section {
  width: min(820px, 100%);
  margin: 90px auto 0;
}

.faq-section > h2 {
  margin: 0 0 30px;
  font-size: clamp(32px, 4vw, 46px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 24px 40px 24px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}

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

.faq-list summary::after {
  content: "+";
  float: right;
  margin-right: -34px;
  color: var(--mint-dark);
  font-size: 22px;
  line-height: 1;
}

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

.faq-list details p {
  margin: -6px 0 24px;
  color: var(--ink-soft);
}

@media (max-width: 1040px) {
  :root {
    --shell: min(100% - 40px, 920px);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.85fr) minmax(390px, 1.15fr);
    gap: 16px;
  }

  .hero-visual {
    min-height: 570px;
  }

  .phone-main,
  .phone-side {
    width: 240px;
  }

  .phone-main {
    left: 10%;
  }

  .phone-side {
    left: 48%;
  }

  .note-tools {
    right: -8px;
  }

  .feature-panel {
    grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  }

  .feature-copy {
    padding-left: 42px;
    padding-right: 30px;
  }

  .feature-phone {
    width: 220px;
  }

  .feature-phone-back {
    left: 8%;
  }

  .feature-phone-front {
    right: 7%;
  }

  .tool-layout {
    gap: 58px;
  }

  .ipad-stage {
    padding-left: 44px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 66px;
    --shell: calc(100% - 32px);
  }

  .section-space,
  .privacy-section {
    padding-block: 82px;
  }

  .desktop-only {
    display: none;
  }

  .menu-button {
    display: inline-grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto;
    max-height: 0;
    padding-inline: 20px;
    border-bottom: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: rgba(251, 252, 251, 0.98);
    transition: max-height 260ms ease, padding 260ms ease, border-color 260ms ease;
  }

  .nav-links.is-open {
    max-height: 340px;
    padding-block: 14px 24px;
    border-bottom-color: var(--line);
  }

  .nav-links a {
    min-height: 50px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    font-size: 16px;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .nav-links a::after {
    display: none;
  }

  .hero-inner {
    min-height: 720px;
    padding-top: 40px;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0;
  }

  .hero-copy {
    padding: 28px 0 0;
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero h1 span {
    display: inline;
    margin-left: 7px;
  }

  .hero-lead {
    margin-top: 17px;
    font-size: 20px;
  }

  .hero-description {
    max-width: 620px;
    margin-inline: auto;
    font-size: 15px;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

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

  .trust-row {
    margin-top: 20px;
  }

  .hero-visual {
    min-height: 365px;
    margin-top: 16px;
  }

  .hero-wordmark {
    font-size: 360px;
  }

  .phone-main,
  .phone-side {
    width: 190px;
    bottom: -70px;
  }

  .phone-main {
    left: calc(50% - 160px);
  }

  .phone-side {
    left: calc(50% + 5px);
    bottom: -110px;
  }

  .floating-note {
    font-size: 11px;
  }

  .note-history {
    top: 10%;
    left: 7%;
  }

  .note-tools {
    right: 7%;
    bottom: 33%;
  }

  .availability-inner {
    min-height: 76px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
  }

  .platform-line {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .platform-line::-webkit-scrollbar {
    display: none;
  }

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

  .proof-item {
    min-height: 126px;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-child(2) {
    border-right: 1px solid var(--line);
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .feature-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .feature-tabs::-webkit-scrollbar {
    display: none;
  }

  .feature-tab {
    min-width: 138px;
  }

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

  .feature-copy {
    padding: 54px 34px 48px;
  }

  .feature-number {
    margin-bottom: 24px;
  }

  .feature-media {
    min-height: 520px;
  }

  .feature-phone {
    width: 218px;
  }

  .feature-phone-back {
    left: calc(50% - 200px);
  }

  .feature-phone-front {
    right: calc(50% - 200px);
  }

  .tool-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .tool-intro {
    position: static;
  }

  .platform-heading {
    margin-bottom: 30px;
  }

  .ipad-stage {
    min-height: 640px;
    padding: 46px 36px;
  }

  .ipad-copy {
    max-width: 520px;
  }

  .tablet-device {
    top: 290px;
    left: 8%;
    width: 84%;
  }

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

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .download-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    min-height: 220px;
  }

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

  .support-content {
    width: var(--shell);
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .section-space,
  .privacy-section {
    padding-block: 68px;
  }

  .hero-inner {
    min-height: 690px;
    padding-top: 16px;
  }

  .hero-copy {
    padding-top: 24px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero h1 span {
    display: block;
    margin-left: 0;
  }

  .hero-lead {
    margin-top: 12px;
    font-size: 18px;
  }

  .hero-description {
    padding-inline: 6px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-actions {
    gap: 15px;
  }

  .hero-actions .button {
    min-height: 44px;
    padding-inline: 16px;
  }

  .hero-actions .text-link {
    font-size: 13px;
  }

  .trust-row {
    gap: 10px;
    font-size: 10px;
  }

  .hero-visual {
    min-height: 300px;
    margin-top: 12px;
  }

  .hero-wordmark {
    font-size: 290px;
  }

  .phone {
    border-width: 4px;
    border-radius: 25px;
  }

  .phone-main,
  .phone-side {
    width: 158px;
  }

  .phone-main {
    left: calc(50% - 137px);
    bottom: -48px;
  }

  .phone-side {
    left: calc(50% - 3px);
    bottom: -78px;
  }

  .floating-note {
    min-height: 34px;
    padding: 7px 9px;
  }

  .floating-note svg {
    width: 14px;
    height: 14px;
  }

  .note-history {
    top: 15%;
    left: 0;
  }

  .note-tools {
    right: 0;
    bottom: 31%;
  }

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

  .proof-item {
    min-height: 112px;
    padding: 24px 18px;
  }

  .proof-item strong {
    font-size: 34px;
  }

  .proof-item span {
    font-size: 11px;
  }

  .section-heading h2,
  .tool-intro h2,
  .privacy-copy h2,
  .download-heading h2 {
    font-size: 34px;
  }

  .feature-tab {
    min-width: 120px;
    min-height: 46px;
    font-size: 13px;
  }

  .feature-copy {
    padding: 44px 24px 42px;
  }

  .feature-copy h3 {
    font-size: 31px;
  }

  .feature-media {
    min-height: 430px;
  }

  .feature-phone {
    width: 184px;
  }

  .feature-phone-back {
    top: 46px;
    left: calc(50% - 165px);
  }

  .feature-phone-front {
    top: 28px;
    right: calc(50% - 165px);
  }

  .feature-phone-single {
    top: 30px;
    left: 50%;
    width: 196px;
  }

  .tool-row {
    min-height: 78px;
    padding-inline: 4px;
    grid-template-columns: 28px 1fr;
    gap: 8px 12px;
  }

  .tool-row small {
    grid-column: 2;
    margin-top: -8px;
  }

  .ipad-stage {
    min-height: 520px;
    padding: 34px 24px;
  }

  .ipad-copy h3 {
    margin-top: 24px;
    font-size: 30px;
  }

  .tablet-device {
    top: 280px;
    left: 6%;
    width: 88%;
    border-width: 5px;
    border-radius: 16px;
  }

  .platform-card {
    padding: 18px;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
  }

  .platform-card .status-text {
    grid-column: 2 / 4;
  }

  .privacy-points > div {
    min-height: 92px;
  }

  .download-heading img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }

  .download-card {
    min-height: 240px;
    padding: 24px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .footer-bottom {
    padding-block: 20px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
  }

  .page-hero-inner,
  .legal-content {
    width: calc(100% - 32px);
  }

  .page-hero {
    padding-block: 62px 52px;
  }

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

  .legal-content,
  .support-content {
    padding-block: 56px 80px;
  }

  .support-card {
    min-height: 200px;
    padding: 24px;
  }
}

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

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

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