:root {
  color-scheme: light;
  --ink: #111214;
  --muted: #66686d;
  --soft: #62646a;
  --line: rgba(17, 18, 20, 0.12);
  --paper: #f7f7f4;
  --surface: #ffffff;
  --surface-alt: #efefec;
  --dark: #11151c;
  --green: #2abf63;
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 28px 70px rgba(17, 18, 20, 0.12);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.section-shell,
.nav-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: max(12px, env(safe-area-inset-top)) 0 12px;
  border-bottom: 1px solid transparent;
  background: rgba(247, 247, 244, 0.82);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 48px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand img,
.footer-brand img {
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(5, 9, 20, 0.16);
}

.nav-shell nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.nav-shell nav a,
.site-footer nav a {
  padding: 9px 0;
  transition: color 150ms ease;
}

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

.platform-badge {
  justify-self: end;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  min-height: 780px;
  padding-block: 84px 100px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(42, 191, 99, 0.12);
  font-size: 0;
}

.hero h1 {
  max-width: 670px;
  margin: 0;
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 600px;
  margin: 32px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.button:active {
  transform: scale(0.97);
}

.button-primary {
  color: #fff;
  background: var(--ink);
}

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

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(17, 18, 20, 0.28);
  background: var(--surface);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 26px 0 0;
  padding: 0;
  color: var(--soft);
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.trust-list li::before {
  content: "✓";
  margin-right: 6px;
  color: var(--ink);
}

.hero-visual {
  position: relative;
  min-height: 650px;
}

.hero-visual::before {
  position: absolute;
  inset: 8% -8% -3% 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 40%, #fff 0, #ececea 42%, rgba(236, 236, 234, 0) 72%);
  content: "";
}

.device {
  position: absolute;
  overflow: hidden;
  border: 8px solid #17191d;
  border-radius: 46px;
  background: #fff;
  box-shadow: var(--shadow);
}

.device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-bar {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 31%;
  height: 20px;
  border-radius: 999px;
  background: #111;
  transform: translateX(-50%);
}

.device-main {
  inset: 0 14% 0 8%;
}

.device-float {
  right: -3%;
  bottom: -2%;
  width: 39%;
  height: 57%;
  border-width: 6px;
  border-radius: 36px;
  transform: rotate(3deg);
}

.device-float .device-bar {
  height: 14px;
}

.principles {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-block: 30px;
}

.principle-grid > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 16px;
  padding: 8px 30px;
  border-right: 1px solid var(--line);
}

.principle-grid > div:first-child {
  padding-left: 0;
}

.principle-grid > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #fff;
  background: var(--dark);
  font-size: 19px;
  font-weight: 700;
}

.principle-grid strong {
  font-size: 15px;
  line-height: 1.35;
}

.principle-grid p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.features,
.details {
  padding-block: clamp(96px, 12vw, 160px);
}

.section-heading {
  max-width: 750px;
  margin-bottom: 58px;
}

.section-heading h2,
.requirements h2 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
}

.feature-large {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 0.86fr 1.14fr;
  min-height: 680px;
  background: var(--surface-alt);
}

.feature-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5vw, 62px);
}

.feature-number {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.feature-copy h3 {
  margin: 18px 0 14px;
  font-size: clamp(29px, 3.5vw, 46px);
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.feature-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.feature-screen {
  align-self: end;
  justify-self: center;
  width: min(420px, 80%);
  height: 600px;
  overflow: hidden;
  border: 7px solid #17191d;
  border-bottom: 0;
  border-radius: 42px 42px 0 0;
  box-shadow: var(--shadow);
}

.feature-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.code-card {
  color: #f7f7f4;
  background: var(--dark);
  border-color: transparent;
}

.code-card .feature-number,
.code-card .feature-copy p {
  color: #aeb2bb;
}

.code-sample {
  margin: 0 clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: #07090d;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.code-label {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #d6d8de;
  font-size: 13px;
  font-weight: 700;
}

.code-label span {
  margin-right: 8px;
  color: #9da3ae;
}

.code-sample pre {
  margin: 0;
  padding: 26px 22px 30px;
  overflow-x: auto;
  font: 500 16px/1.8 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.token-keyword { color: #77b8ff; }
.token-fn { color: #f1d17a; }
.token-string { color: #f2a97c; }

.language-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px clamp(28px, 5vw, 58px) 50px;
  padding: 0;
  list-style: none;
}

.language-list li {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: #bcc0c8;
  font-size: 11px;
  font-weight: 700;
}

.table-card {
  background: #ecece8;
}

.mini-table {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  margin: 4px clamp(28px, 5vw, 58px) 48px;
  overflow: hidden;
  border: 1px solid rgba(17, 18, 20, 0.14);
  border-radius: 18px;
  background: #fff;
}

.mini-table > div {
  min-width: 0;
  padding: 14px 12px;
  overflow-wrap: anywhere;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.mini-table > div:nth-child(3n) {
  border-right: 0;
}

.mini-table > div:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.mini-table .table-head {
  background: #dcdcd7;
  font-weight: 750;
}

.check-mark {
  color: var(--green);
  font-weight: 900;
}

.privacy-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-column: 1 / -1;
  align-items: center;
  min-height: 400px;
  color: #fff;
  background: #1c252d;
  border-color: transparent;
}

.privacy-card .feature-number,
.privacy-card .feature-copy p {
  color: #b9c0c5;
}

.privacy-seal {
  display: grid;
  place-items: center;
  width: 240px;
  aspect-ratio: 1;
  margin-right: clamp(40px, 8vw, 96px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  text-align: center;
}

.privacy-seal span {
  align-self: end;
  color: #aeb8bd;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.privacy-seal strong {
  align-self: start;
  margin-top: 8px;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

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

.section-heading.compact {
  margin-bottom: 48px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.detail-grid article {
  position: relative;
  min-height: 230px;
  padding: 36px 38px 38px 86px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-grid article > span {
  position: absolute;
  top: 38px;
  left: 36px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
}

.detail-grid h3 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.detail-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.requirements {
  color: #fff;
  background: var(--dark);
}

.requirements-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 420px;
  padding-block: 72px;
}

.requirements .eyebrow {
  color: #aeb2bb;
}

.requirements p:last-child {
  max-width: 580px;
  color: #bfc2c8;
  font-size: 17px;
}

.requirements img {
  flex: 0 0 auto;
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.site-footer {
  padding: 34px 0 max(34px, env(safe-area-inset-bottom));
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  color: var(--soft);
  font-size: 12px;
}

.legal-shell {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.legal-back::before {
  content: "←";
  margin-right: 8px;
}

.legal-card {
  padding: clamp(28px, 7vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.legal-kicker {
  margin: 0 0 12px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.legal-card h1 {
  margin: 0 0 34px;
  font-size: clamp(40px, 7vw, 62px);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.legal-card h2 {
  margin: 42px 0 10px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 16px;
}

.legal-card a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 12px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  text-decoration: none !important;
  font-weight: 750;
}

.contact-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-alt);
}

@media (max-width: 920px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-shell nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

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

  .hero-visual {
    width: min(620px, 100%);
    min-height: 660px;
    margin-inline: auto;
  }

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

  .principle-grid > div,
  .principle-grid > div:first-child,
  .principle-grid > div:last-child {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid > div:last-child {
    border-bottom: 0;
  }

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

  .feature-screen {
    height: 540px;
  }

  .privacy-seal {
    width: 190px;
    margin-right: 40px;
  }

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

  .site-footer nav {
    display: none;
  }
}

@media (max-width: 680px) {
  .section-shell,
  .nav-shell {
    width: min(calc(100% - 32px), 1180px);
  }

  .brand span {
    font-size: 14px;
  }

  .platform-badge {
    padding-inline: 10px;
  }

  .hero {
    gap: 44px;
    padding-block: 54px 74px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list {
    gap: 5px 12px;
  }

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

  .hero-visual::before {
    right: 0;
  }

  .device-main {
    inset: 0 9% 0 0;
  }

  .device-float {
    right: 0;
    width: 43%;
    height: 53%;
  }

  .device {
    border-width: 6px;
    border-radius: 38px;
  }

  .features,
  .details {
    padding-block: 90px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .requirements h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .section-heading > p:last-child {
    font-size: 16px;
  }

  .feature-showcase,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
    border-radius: 30px;
  }

  .feature-copy {
    padding: 34px 28px;
  }

  .feature-large {
    grid-column: auto;
  }

  .feature-screen {
    width: calc(100% - 56px);
    height: 470px;
  }

  .privacy-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .privacy-seal {
    width: 170px;
    margin: 0 auto 38px;
  }

  .detail-grid article {
    min-height: 210px;
    padding: 32px 28px 34px 76px;
  }

  .detail-grid article > span {
    top: 34px;
    left: 28px;
  }

  .requirements-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    min-height: 0;
  }

  .requirements img {
    width: 112px;
    border-radius: 25px;
  }

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

  .site-footer p {
    justify-self: start;
  }

  .footer-brand span {
    overflow-wrap: anywhere;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom-color: var(--line);
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #45474b;
    --soft: #5b5d61;
    --line: rgba(17, 18, 20, 0.34);
  }

  .button-secondary,
  .feature-card,
  .legal-card {
    border-width: 2px;
  }
}
