:root {
  --primary: #1f7a63;
  --mint: #e7f1ed;
  --background: #f4f5f1;
  --surface: #fcfcfa;
  --text: #111111;
  --secondary: #66706b;
  --border: #d8ded9;
  --expense: #a65345;
  --profit-on-dark: #bfe9d9;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.08);
  --soft-shadow: 0 16px 44px rgba(31, 122, 99, 0.12);
  --deep-shadow: 0 34px 90px rgba(17, 17, 17, 0.14);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(231, 241, 237, 0.85), transparent 26rem),
    var(--background);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 17px;
  line-height: 1.66;
  text-rendering: geometricPrecision;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3.15rem, 7.1vw, 6rem);
  font-weight: 700;
  line-height: 1.01;
}

h2 {
  font-size: clamp(1.95rem, 3.7vw, 3.55rem);
  font-weight: 660;
  line-height: 1.1;
}

h3 {
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.18;
}

p {
  margin: 0;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 999px;
  background: var(--text);
  color: var(--surface);
  padding: 10px 14px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(216, 222, 217, 0.82);
  background: rgba(244, 245, 241, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.brand img {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  padding: 4px;
}

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

.menu-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle__line {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: top 180ms var(--ease), transform 180ms var(--ease);
}

.menu-toggle__line:first-child {
  top: 17px;
}

.menu-toggle__line + .menu-toggle__line {
  top: 25px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line + .menu-toggle__line {
  top: 21px;
  transform: rotate(-45deg);
}

.nav-panel {
  position: fixed;
  top: 84px;
  right: 16px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.nav-panel[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-panel a:not(.button) {
  border-radius: 14px;
  color: var(--secondary);
  padding: 12px 10px;
  font-size: 0.91rem;
  font-weight: 620;
}

.nav-panel a:not(.button):hover {
  background: var(--mint);
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 0.95rem;
  font-weight: 680;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

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

.button--small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.9rem;
}

.button--primary {
  background: var(--primary);
  color: var(--surface);
  box-shadow: 0 14px 28px rgba(31, 122, 99, 0.18);
}

.button--primary:hover {
  background: var(--primary);
  box-shadow: 0 18px 34px rgba(31, 122, 99, 0.22);
}

.button--secondary {
  border-color: var(--border);
  background: rgba(252, 252, 250, 0.68);
  color: var(--text);
}

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

.eyebrow {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  border-bottom: 1px solid var(--border);
  padding: clamp(58px, 8vw, 96px) 0 clamp(70px, 8vw, 106px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: -8rem;
  width: min(34rem, 80vw);
  height: min(34rem, 80vw);
  border-radius: 999px;
  background: rgba(231, 241, 237, 0.7);
  filter: blur(34px);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(48px, 8vw, 92px);
  align-items: center;
}

.hero__text {
  max-width: 590px;
  margin-top: 30px;
  color: var(--secondary);
  font-size: clamp(1.12rem, 1.45vw, 1.28rem);
  line-height: 1.62;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-list,
.final-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.trust-list li,
.final-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(216, 222, 217, 0.86);
  border-radius: 999px;
  background: rgba(252, 252, 250, 0.72);
  color: #38413d;
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 620;
}

.trust-list li::before,
.final-proof li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary);
}

.hero__visual {
  display: grid;
  place-items: center;
  min-width: 0;
}

.device {
  position: relative;
  width: min(380px, 86vw);
  border: 10px solid #111111;
  border-radius: 48px;
  background: #111111;
  box-shadow:
    0 48px 110px rgba(17, 17, 17, 0.22),
    0 18px 42px rgba(31, 122, 99, 0.14);
  transform: rotate(1.5deg);
}

.device--primary {
  animation: phoneFloat 8s var(--ease) infinite;
}

.device::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(216, 222, 217, 0.76);
  border-radius: 58px;
  background: rgba(252, 252, 250, 0.42);
}

.device__speaker {
  position: absolute;
  top: 14px;
  left: 50%;
  z-index: 3;
  width: 84px;
  height: 24px;
  border-radius: 999px;
  background: #111111;
  transform: translateX(-50%);
}

.app-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 770px;
  overflow: hidden;
  border-radius: 37px;
  background: var(--background);
  padding: 48px 18px 88px;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-topbar span,
.app-card span,
.app-mini-card span,
.panel-header span,
.insight-card span {
  display: block;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 620;
}

.app-topbar strong {
  display: block;
  margin-top: 4px;
  font-size: 1.38rem;
  font-weight: 650;
  line-height: 1;
}

.app-topbar img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface);
  padding: 4px;
}

.app-card,
.app-mini-card,
.screen-panel,
.insight-card,
.cta-card,
.privacy-points article,
.step-card {
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.05);
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    transform 180ms var(--ease);
}

.app-card:hover,
.app-mini-card:hover,
.screen-panel:hover,
.insight-card:hover,
.cta-card:hover,
.privacy-points article:hover,
.step-card:hover {
  border-color: rgba(31, 122, 99, 0.34);
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.08);
  transform: translateY(-3px);
}

.app-card {
  margin-top: 16px;
  padding: 18px;
}

.app-card--hero {
  margin-top: 24px;
  background: var(--primary);
  color: var(--surface);
}

.app-card__row,
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.app-card--hero span,
.app-card--hero p {
  color: rgba(252, 252, 250, 0.76);
}

.app-card--hero b,
.app-card--hero strong {
  color: var(--surface);
}

.app-card--hero strong {
  display: block;
  margin-top: 24px;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.app-card--hero p {
  margin-top: 12px;
  font-size: 0.96rem;
  line-height: 1.55;
}

.profit-line {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.profit-line span {
  display: block;
  width: var(--width);
  height: 8px;
  border-radius: 999px;
  background: rgba(252, 252, 250, 0.78);
}

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

.app-mini-card {
  padding: 16px;
  border-radius: 24px;
}

.app-mini-card strong {
  display: block;
  margin-top: 20px;
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.16;
  font-variant-numeric: tabular-nums;
}

.app-card--soft {
  background: var(--mint);
  box-shadow: none;
}

.compare-row {
  display: grid;
  grid-template-columns: 78px 1fr 58px;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.compare-row p {
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 620;
}

.compare-row i,
.comparison-stack i {
  display: block;
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(102, 112, 107, 0.16);
}

.compare-row b,
.comparison-stack b {
  display: block;
  width: var(--width);
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
}

.compare-row strong {
  font-size: 0.84rem;
  text-align: right;
  white-space: nowrap;
}

.app-tabs {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(252, 252, 250, 0.92);
  padding: 12px;
}

.app-tabs span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(102, 112, 107, 0.26);
}

.app-tabs .is-active {
  background: var(--primary);
}

.section {
  padding: clamp(76px, 9vw, 124px) 0;
}

.intro-section {
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  gap: 34px;
}

.intro-grid p:last-child {
  max-width: 680px;
  align-self: end;
  color: var(--secondary);
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.68;
}

.story-section {
  padding: clamp(42px, 7vw, 80px) 0;
}

.workflow-section {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(252, 252, 250, 0.52), rgba(231, 241, 237, 0.5)),
    var(--background);
}

.section-heading--split {
  display: grid;
  max-width: none;
  gap: 22px;
  align-items: end;
}

.section-heading--split p:last-child {
  max-width: 560px;
  justify-self: end;
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow-list::before {
  content: "";
  position: absolute;
  top: 30px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: var(--border);
}

.workflow-step {
  position: relative;
  display: grid;
  gap: 16px;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 650;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.06);
}

.step-card {
  min-height: 250px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.05);
  padding: 22px;
}

.step-card span {
  display: block;
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 620;
}

.step-card strong {
  display: block;
  margin-top: 30px;
  color: var(--text);
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  font-weight: 650;
  line-height: 1.16;
}

.step-card p {
  margin-top: 20px;
  color: var(--primary);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 680;
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
}

.amount--income,
.amount--profit {
  color: var(--primary);
}

.amount--expense {
  color: var(--expense);
}

.step-card small {
  display: block;
  margin-top: 20px;
  color: var(--secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

.step-card--expense {
  background: rgba(252, 252, 250, 0.76);
}

.step-card--expense p {
  color: var(--expense);
}

.step-card--profit {
  background: var(--primary);
  color: var(--surface);
}

.step-card--profit span,
.step-card--profit p,
.step-card--profit small,
.step-card--profit strong {
  color: var(--surface);
}

.step-card--profit .amount--profit {
  color: var(--profit-on-dark);
}

.step-card--profit span,
.step-card--profit small {
  opacity: 0.76;
}

.step-card--rate {
  background: var(--mint);
  box-shadow: none;
}

.story {
  display: grid;
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: clamp(54px, 7vw, 86px) 0;
}

.story + .story {
  border-top: 1px solid var(--border);
}

.story:nth-child(even) {
  background:
    linear-gradient(90deg, transparent, rgba(231, 241, 237, 0.28), transparent);
}

.story__copy {
  max-width: 560px;
}

.story__copy p:not(.eyebrow),
.section-heading p,
.privacy-copy p,
.availability-layout p {
  margin-top: 26px;
  color: var(--secondary);
  font-size: clamp(1.04rem, 1.35vw, 1.16rem);
  line-height: 1.72;
}

.screen-panel {
  width: min(520px, 100%);
  min-height: 420px;
  justify-self: center;
  padding: clamp(22px, 4vw, 34px);
}

.panel-header strong {
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 620;
}

.large-number {
  margin-top: 44px;
  color: var(--text);
  font-size: clamp(2.65rem, 6vw, 4.85rem);
  font-weight: 680;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.large-number.amount--profit {
  color: var(--primary);
}

.calm-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 12px;
  height: 190px;
  margin-top: 48px;
  border-bottom: 1px solid var(--border);
}

.calm-chart span {
  display: block;
  height: var(--height);
  border-radius: 18px 18px 0 0;
  background: var(--mint);
}

.calm-chart span:nth-child(2),
.calm-chart span:nth-child(4) {
  background: var(--primary);
}

.screen-panel--ledger {
  background: var(--mint);
}

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

.ledger-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(216, 222, 217, 0.72);
  border-radius: 22px;
  background: rgba(252, 252, 250, 0.78);
  padding: 16px;
}

.ledger-list span {
  color: var(--secondary);
  font-weight: 580;
}

.ledger-list strong {
  font-weight: 650;
  white-space: nowrap;
}

.screen-panel--reserve {
  display: grid;
  place-items: center;
  text-align: center;
}

.screen-panel--reserve .panel-header {
  width: 100%;
  place-self: start stretch;
}

.reserve-ring {
  display: grid;
  place-items: center;
  width: 190px;
  height: 190px;
  border: 20px solid var(--mint);
  border-right-color: var(--primary);
  border-bottom-color: var(--primary);
  border-radius: 999px;
}

.reserve-ring span {
  color: var(--text);
  font-size: 2.25rem;
  font-weight: 680;
}

.panel-caption {
  max-width: 280px;
  color: var(--secondary);
}

.comparison-stack {
  display: grid;
  gap: 22px;
  margin-top: 58px;
}

.comparison-stack div {
  display: grid;
  grid-template-columns: 116px 1fr 98px;
  align-items: center;
  gap: 14px;
}

.comparison-stack span {
  color: var(--secondary);
  font-weight: 620;
}

.comparison-stack strong {
  font-size: 0.92rem;
  text-align: right;
}

.comparison-stack .amount--profit {
  color: var(--primary);
}

.privacy-section {
  border-block: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(29, 54, 47, 0.94)),
    var(--text);
  color: var(--surface);
}

.privacy-section h2,
.privacy-section h3 {
  color: var(--surface);
}

.privacy-section .eyebrow {
  color: #a7d8c8;
}

.privacy-section .privacy-copy p {
  color: rgba(252, 252, 250, 0.7);
}

.privacy-layout {
  display: grid;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

.privacy-copy {
  max-width: 570px;
}

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

.privacy-points article {
  min-height: 210px;
  border-color: rgba(252, 252, 250, 0.14);
  background: rgba(252, 252, 250, 0.06);
  box-shadow: none;
  padding: 24px;
}

.privacy-points article span {
  display: block;
  width: 32px;
  height: 32px;
  border: 8px solid var(--mint);
  border-radius: 999px;
  background: var(--primary);
}

.privacy-points h3 {
  margin-top: 30px;
}

.privacy-points p {
  margin-top: 12px;
  color: rgba(252, 252, 250, 0.68);
  font-size: 0.98rem;
  line-height: 1.62;
}

.section-heading {
  max-width: 680px;
  margin-bottom: clamp(38px, 5vw, 62px);
}

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

.insight-card {
  min-height: 246px;
  padding: 24px;
}

.insight-card strong {
  display: block;
  margin-top: 36px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2.08rem);
  font-weight: 650;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}

.insight-card .amount--profit {
  color: var(--primary);
}

.insight-card p {
  margin-top: 20px;
  color: var(--secondary);
  font-size: 0.98rem;
  line-height: 1.62;
}

.insight-card--wide {
  grid-column: span 2;
  min-height: 276px;
  background: var(--mint);
  box-shadow: none;
}

.insight-card--wide strong {
  max-width: 440px;
  font-size: clamp(1.42rem, 2.35vw, 2rem);
}

.availability-section {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.availability-layout {
  display: grid;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.availability-layout > div:first-child {
  max-width: 690px;
}

.cta-card {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 4vw, 30px);
}

.cta-card__eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 680;
  text-transform: uppercase;
}

.cta-card h3 {
  max-width: 430px;
  margin-bottom: 12px;
  font-size: clamp(1.38rem, 2.3vw, 1.95rem);
  font-weight: 650;
  line-height: 1.16;
}

.store-button {
  display: grid;
  min-height: 78px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  padding: 16px 18px;
  transition: border-color 180ms var(--ease), transform 180ms var(--ease);
}

.store-button:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.store-button--primary {
  background: var(--text);
  color: var(--surface);
}

.store-button span {
  color: inherit;
  opacity: 0.68;
  font-size: 0.78rem;
  font-weight: 620;
}

.store-button strong {
  font-size: 1.2rem;
  font-weight: 650;
  line-height: 1.15;
}

.cta-card p {
  margin-top: 8px;
  color: var(--secondary);
  font-size: 0.9rem;
}

.legal-hero {
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 84% 36%, rgba(231, 241, 237, 0.92), transparent 24rem),
    var(--background);
  padding: clamp(58px, 9vw, 104px) 0 clamp(44px, 7vw, 78px);
}

.legal-hero__inner {
  max-width: 880px;
}

.legal-hero h1 {
  max-width: 720px;
  font-size: clamp(2.9rem, 6.2vw, 5.2rem);
  line-height: 1.02;
}

.legal-hero__inner > p:not(.eyebrow) {
  margin-top: 22px;
  color: var(--secondary);
  font-size: 1.05rem;
}

.legal-section {
  padding: clamp(44px, 7vw, 86px) 0 clamp(76px, 10vw, 132px);
}

.legal-doc {
  max-width: 880px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: rgba(252, 252, 250, 0.78);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.04);
  padding: clamp(24px, 5vw, 56px);
}

.legal-doc > * + * {
  margin-top: 16px;
}

.legal-doc h2 {
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.legal-doc h2:first-of-type {
  margin-top: 28px;
}

.legal-doc p,
.legal-doc li {
  color: #2f3633;
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.78;
}

.legal-doc ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 1.25rem;
}

.legal-doc li::marker {
  color: var(--primary);
}

.legal-doc a {
  color: var(--primary);
  font-weight: 620;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(252, 252, 250, 0.5);
  padding: 38px 0 46px;
}

.footer__layout {
  display: grid;
  gap: 24px;
  color: var(--secondary);
}

.footer p {
  margin-top: 12px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
}

.footer__links a,
.footer__links button {
  border: 0;
  background: transparent;
  color: var(--secondary);
  padding: 0;
  font-weight: 620;
  cursor: pointer;
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--primary);
}

.legal {
  max-width: 420px;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: rotate(1.5deg) translateY(0);
  }

  50% {
    transform: rotate(0.7deg) translateY(-10px);
  }
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.back-to-top[data-visible="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.modal {
  width: min(560px, calc(100% - 32px));
  border: 0;
  border-radius: 30px;
  background: transparent;
  padding: 0;
}

.modal::backdrop {
  background: rgba(17, 17, 17, 0.34);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: inherit;
  background: var(--surface);
  padding: clamp(24px, 5vw, 38px);
  box-shadow: var(--shadow);
}

.modal__panel h2 {
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}

.modal__content {
  display: grid;
  gap: 14px;
  margin: 22px 0 28px;
  color: var(--secondary);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}

.modal__close span,
.modal__close span::after {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
}

.modal__close span {
  transform: rotate(45deg);
}

.modal__close span::after {
  content: "";
  transform: rotate(90deg);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 640ms var(--ease),
    transform 640ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

  .device--primary {
    animation: none;
  }
}

@media (min-width: 760px) {
  .intro-grid,
  .privacy-layout,
  .availability-layout,
  .footer__layout {
    grid-template-columns: 1fr 1fr;
  }

  .story {
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1fr);
  }

  .section-heading--split {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.74fr);
  }

  .story--reverse .story__copy {
    order: 2;
    justify-self: end;
  }

  .story--reverse .screen-panel {
    order: 1;
  }

  .footer__layout {
    align-items: start;
  }

  .legal {
    grid-column: 2;
  }
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-panel a:not(.button) {
    padding: 10px 12px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.8fr);
  }
}

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

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

  .workflow-list::before {
    display: none;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2.85rem, 13.5vw, 4.35rem);
  }

  .hero {
    min-height: 0;
  }

  .hero__actions {
    display: grid;
  }

  .trust-list,
  .final-proof {
    display: grid;
    grid-template-columns: 1fr;
  }

  .device {
    width: min(340px, 88vw);
    border-width: 8px;
    border-radius: 42px;
  }

  .app-screen {
    min-height: 690px;
    border-radius: 34px;
    padding: 46px 14px 82px;
  }

  .app-card--hero strong {
    font-size: 2.55rem;
  }

  .metric-pair,
  .privacy-points,
  .insight-grid,
  .workflow-list {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    gap: 12px;
  }

  .step-number {
    width: 50px;
    height: 50px;
  }

  .step-card {
    min-height: 0;
  }

  .insight-card--wide {
    grid-column: auto;
  }

  .comparison-stack div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .comparison-stack strong {
    text-align: left;
  }

  .screen-panel {
    min-height: 360px;
  }

  .legal-hero {
    padding-top: 46px;
  }

  .legal-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.8rem);
  }

  .legal-doc {
    border-radius: 24px;
    padding: 22px;
  }
}
