:root {
  --ink: #0d2033;
  --ink-soft: #405467;
  --navy: #0f3a69;
  --navy-deep: #092845;
  --sky: #dceeff;
  --sky-soft: #eef7ff;
  --green: #178b67;
  --green-bright: #32c48d;
  --green-soft: #dff7ee;
  --paper: #f6f4ee;
  --surface: #fffefb;
  --line: #d7dde1;
  --line-dark: #b9c4cc;
  --warning: #8a5a12;
  --warning-bg: #fff4d7;
  --danger: #b42318;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-sm: 0 12px 32px rgba(13, 32, 51, 0.08);
  --shadow-lg: 0 34px 90px rgba(9, 40, 69, 0.16);
  --content: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(220, 238, 255, 0.85), transparent 28rem),
    var(--paper);
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 58, 105, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 58, 105, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0, transparent 72%);
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

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

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--green-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-deep);
  border-radius: 8px;
  transform: translateY(-160%);
}

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

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

.draft-notice {
  padding: 9px 20px;
  color: #5f3c08;
  background: var(--warning-bg);
  border-bottom: 1px solid #ead49f;
  font-size: 14px;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid rgba(185, 196, 204, 0.7);
  background: rgba(246, 244, 238, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(15, 58, 105, 0.18);
}

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

.site-nav a {
  padding: 10px 13px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: rgba(220, 238, 255, 0.72);
}

.site-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 18px;
  color: #fff;
  background: var(--navy);
}

.site-nav .nav-cta:hover {
  color: #fff;
  background: var(--navy-deep);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 710px;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.75fr);
  gap: clamp(48px, 7vw, 96px);
  padding-block: clamp(70px, 10vw, 132px) 92px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--green);
  content: "";
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6.7vw, 88px);
  font-weight: 780;
  letter-spacing: -0.066em;
  line-height: 0.98;
}

.hero h1 span {
  color: var(--navy);
}

.hero-lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 28px rgba(15, 58, 105, 0.22);
}

.button-primary:hover {
  background: var(--navy-deep);
  box-shadow: 0 16px 34px rgba(15, 58, 105, 0.27);
}

.button-secondary {
  color: var(--navy);
  background: rgba(255, 254, 251, 0.66);
  border-color: var(--line-dark);
}

.button-secondary:hover {
  background: var(--surface);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 32px 0 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 14px;
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li::before {
  width: 7px;
  height: 7px;
  background: var(--green-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--green-soft);
  content: "";
}

.phone-stage {
  position: relative;
  min-height: 600px;
}

.phone-stage::before,
.phone-stage::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.phone-stage::before {
  inset: 4% -5% auto auto;
  width: 390px;
  height: 390px;
  background: var(--sky);
}

.phone-stage::after {
  right: -24px;
  bottom: 20px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(15, 58, 105, 0.18);
}

.phone {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: clamp(6px, 3vw, 44px);
  width: min(360px, 100%);
  min-height: 590px;
  padding: 12px;
  color: #f8fbff;
  background: #071a2a;
  border: 1px solid #28465f;
  border-radius: 48px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2.4deg);
}

.phone-screen {
  min-height: 566px;
  padding: 22px 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(56, 189, 248, 0.2), transparent 42%),
    #0e2133;
  border-radius: 38px;
}

.phone-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  color: #9db0c0;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.phone-bar::after {
  width: 54px;
  height: 18px;
  background: #06131f;
  border-radius: 999px;
  content: "";
}

.phone-kicker {
  margin: 0;
  color: #8fa6b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-title {
  margin: 5px 0 21px;
  color: #fff;
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.balance-card {
  padding: 19px;
  background: linear-gradient(135deg, #164d80, #0f3a69);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.balance-label {
  margin: 0;
  color: #bdd8ef;
  font-size: 12px;
}

.balance-number {
  margin: 5px 0 18px;
  font-size: 31px;
  font-weight: 780;
  letter-spacing: -0.04em;
}

.balance-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 12px;
}

.balance-meta span {
  display: block;
  color: #b8d1e6;
}

.balance-meta strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 14px;
}

.balance-meta div:first-child strong {
  color: #74e0b8;
}

.activity-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 25px 0 11px;
  font-size: 13px;
  font-weight: 760;
}

.activity-title span {
  color: #7dd3fc;
  font-size: 11px;
}

.activity-list {
  display: grid;
  gap: 8px;
}

.activity-row {
  display: grid;
  align-items: center;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
}

.activity-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 11px;
  font-size: 15px;
  font-weight: 800;
}

.activity-copy strong,
.activity-copy span {
  display: block;
}

.activity-copy strong {
  color: #f8fbff;
  font-size: 12px;
}

.activity-copy span {
  color: #8fa6b8;
  font-size: 10px;
}

.activity-amount {
  color: #f8fbff;
  font-size: 12px;
  font-weight: 760;
}

.activity-amount.income {
  color: #74e0b8;
}

.phone-tabs {
  display: grid;
  margin-top: 19px;
  padding: 10px;
  color: #7890a3;
  background: rgba(4, 16, 26, 0.72);
  border-radius: 17px;
  font-size: 9px;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.phone-tabs strong {
  color: #7dd3fc;
}

.metric-strip {
  display: grid;
  padding: 27px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: repeat(3, 1fr);
}

.metric {
  padding: 8px 32px;
  border-right: 1px solid var(--line);
}

.metric:first-child {
  padding-left: 0;
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -0.03em;
}

.metric span {
  color: var(--ink-soft);
  font-size: 14px;
}

.section {
  padding-block: clamp(78px, 10vw, 132px);
}

.section-tight {
  padding-block: 70px;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 58px;
  grid-template-columns: 1fr minmax(280px, 0.55fr);
  gap: 40px;
}

.section-heading h2,
.split-copy h2,
.cta-panel h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.section-heading p,
.split-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.feature-rows {
  border-top: 1px solid var(--line-dark);
}

.feature-row {
  display: grid;
  align-items: start;
  padding-block: 34px;
  border-bottom: 1px solid var(--line-dark);
  grid-template-columns: 90px minmax(220px, 0.7fr) 1fr;
  gap: 32px;
}

.feature-index {
  color: var(--green);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 14px;
  font-weight: 700;
}

.feature-row h3 {
  margin: 0;
  color: var(--navy);
  font-size: 25px;
  letter-spacing: -0.035em;
}

.feature-row p {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
}

.tint-section {
  background: var(--navy-deep);
  color: #f8fbff;
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.84fr) minmax(360px, 0.68fr);
  gap: clamp(50px, 8vw, 110px);
}

.tint-section .eyebrow {
  color: #7dd3fc;
}

.tint-section .split-copy > p {
  margin-top: 24px;
  color: #b9ccda;
}

.trust-list {
  display: grid;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li {
  position: relative;
  padding: 16px 0 16px 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #d8e5ed;
}

.trust-list li::before {
  position: absolute;
  top: 22px;
  left: 4px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--green-bright);
  border-left: 2px solid var(--green-bright);
  content: "";
  transform: rotate(-45deg);
}

.security-panel {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  background: #f7fbff;
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.16);
}

.security-panel::before {
  position: absolute;
  top: -17px;
  right: 34px;
  width: 34px;
  height: 34px;
  background: var(--green-bright);
  border: 8px solid var(--navy-deep);
  border-radius: 50%;
  content: "";
}

.security-panel p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.security-panel strong {
  display: block;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 30px;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.security-panel dl {
  margin: 0;
}

.security-panel dl div {
  display: grid;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.security-panel dt {
  color: var(--ink-soft);
}

.security-panel dd {
  margin: 0;
  color: var(--green);
  font-weight: 760;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.plan {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 254, 251, 0.72);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}

.plan-pro {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.plan-label {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-pro .plan-label {
  color: #7ee2bd;
}

.plan h3 {
  margin: 7px 0 10px;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.plan > p {
  margin: 0;
  color: var(--ink-soft);
}

.plan-pro > p {
  color: #c8d9e6;
}

.plan ul {
  display: grid;
  gap: 11px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.plan li {
  position: relative;
  padding-left: 25px;
}

.plan li::before {
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 8px;
  height: 8px;
  background: var(--green-bright);
  border-radius: 50%;
  content: "";
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  border-top: 1px solid var(--line-dark);
}

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

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 730;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 24px;
  right: 5px;
  color: var(--green);
  content: "+";
  font-size: 26px;
  font-weight: 400;
}

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

.faq-list details p {
  max-width: 760px;
  margin: -7px 0 25px;
  color: var(--ink-soft);
}

.cta-panel {
  position: relative;
  padding: clamp(38px, 7vw, 84px);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-radius: var(--radius-lg);
}

.cta-panel::after {
  position: absolute;
  top: -160px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 80px solid rgba(125, 211, 252, 0.1);
  border-radius: 50%;
  content: "";
}

.cta-panel p {
  max-width: 620px;
  margin: 23px 0 0;
  color: #c7d9e6;
  font-size: 19px;
}

.cta-panel .button-primary {
  color: var(--navy-deep);
  background: #fff;
}

.cta-panel .button-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.page-hero {
  padding-block: clamp(64px, 10vw, 116px) 54px;
}

.page-hero h1 {
  max-width: 930px;
  font-size: clamp(42px, 6vw, 74px);
}

.page-hero p {
  max-width: 730px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.legal-layout {
  display: grid;
  align-items: start;
  padding-bottom: 110px;
  grid-template-columns: 240px minmax(0, 760px);
  gap: clamp(38px, 7vw, 96px);
}

.legal-toc {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 7px;
  padding: 20px;
  background: rgba(255, 254, 251, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-toc strong {
  margin-bottom: 7px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-toc a {
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--navy);
}

.legal-article {
  min-width: 0;
}

.legal-draft {
  margin-bottom: 38px;
  padding: 20px 22px;
  color: #5f3c08;
  background: var(--warning-bg);
  border: 1px solid #ead49f;
  border-radius: var(--radius-sm);
}

.legal-article section {
  padding: 32px 0;
  border-top: 1px solid var(--line-dark);
}

.legal-article h2 {
  margin: 0 0 17px;
  font-size: 29px;
  letter-spacing: -0.035em;
}

.legal-article h3 {
  margin: 28px 0 8px;
  font-size: 19px;
}

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

.legal-article ul,
.legal-article ol {
  padding-left: 22px;
}

.legal-article li + li {
  margin-top: 8px;
}

.legal-meta {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.legal-meta div {
  display: grid;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 180px 1fr;
  gap: 20px;
}

.legal-meta div:last-child {
  border-bottom: 0;
}

.legal-meta dt {
  color: var(--ink-soft);
}

.legal-meta dd {
  margin: 0;
  font-weight: 680;
}

.support-grid {
  display: grid;
  padding-bottom: 110px;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.52fr);
  gap: 24px;
}

.support-card {
  padding: clamp(28px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
}

.support-card-primary {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.support-card h2 {
  margin: 0 0 14px;
  font-size: 30px;
  letter-spacing: -0.04em;
}

.support-card p {
  color: var(--ink-soft);
}

.support-card-primary p {
  color: #c6d8e5;
}

.support-card .button {
  margin-top: 15px;
}

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

.support-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.delete-steps {
  counter-reset: delete-step;
  display: grid;
  gap: 13px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.delete-steps li {
  position: relative;
  min-height: 44px;
  padding: 10px 0 10px 58px;
  counter-increment: delete-step;
}

.delete-steps li::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--navy);
  background: var(--sky);
  border-radius: 14px;
  content: counter(delete-step, decimal-leading-zero);
  font-family: Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}

.auth-panel {
  width: min(calc(100% - 40px), 680px);
  margin: clamp(70px, 11vw, 140px) auto;
  padding: clamp(34px, 7vw, 70px);
  background: var(--surface);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.auth-mark {
  width: 68px;
  margin: 0 auto 25px;
}

.auth-panel h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.auth-panel p {
  color: var(--ink-soft);
}

.auth-panel .button {
  margin-top: 15px;
}

.not-found {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found strong {
  display: block;
  color: var(--sky);
  font-size: clamp(90px, 18vw, 180px);
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.not-found h1 {
  margin: 25px 0 8px;
  font-size: 36px;
}

.site-footer {
  margin-top: 42px;
  padding: 55px 0 30px;
  color: #c6d6e1;
  background: #081e31;
}

.footer-top {
  display: grid;
  padding-bottom: 42px;
  grid-template-columns: 1fr auto auto;
  gap: clamp(34px, 7vw, 96px);
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  max-width: 380px;
  margin: 17px 0 0;
  color: #93aabb;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-column strong {
  margin-bottom: 6px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-column a {
  color: #b8cad7;
  font-size: 15px;
  text-decoration: none;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 25px;
  color: #7890a2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (max-width: 900px) {
  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line-dark);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
  }

  .site-header[data-menu-open="true"] .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .site-nav .nav-cta {
    margin: 5px 0 0;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 76px;
  }

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

  .phone-stage {
    min-height: 610px;
  }

  .phone {
    right: 50%;
    transform: translateX(50%) rotate(1.2deg);
  }

  .section-heading,
  .split,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    gap: 22px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .legal-toc {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -0.055em;
  }

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

  .phone-stage {
    min-height: 540px;
  }

  .phone {
    width: min(325px, 96%);
    min-height: 530px;
  }

  .phone-screen {
    min-height: 506px;
    padding: 18px 15px;
  }

  .phone-title {
    font-size: 25px;
  }

  .balance-number {
    font-size: 27px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:first-child {
    padding: 17px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .feature-row {
    grid-template-columns: 54px 1fr;
    gap: 17px;
  }

  .feature-row p {
    grid-column: 2;
  }

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

  .legal-meta div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .draft-notice,
  .legal-toc,
  .button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .legal-layout {
    display: block;
  }

  .legal-article p,
  .legal-article li {
    color: #111;
  }
}
