:root {
  --ink: #15202b;
  --muted: #5f6f7d;
  --line: #dbe4ea;
  --surface: #ffffff;
  --soft: #f4f8fa;
  --blue: #0969e8;
  --blue-dark: #0751b6;
  --cyan: #05b9c7;
  --amber: #ffb21a;
  --focus: #101820;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

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

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 72px;
  border-bottom: 1px solid rgba(219, 228, 234, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
}

.brand img {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(9, 105, 232, 0.18);
}

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

.site-nav > a:not(.nav-download) {
  color: #40505d;
  font-size: 14px;
  font-weight: 650;
}

.site-nav > a:not(.nav-download):hover,
.site-nav > a[aria-current="page"] {
  color: var(--blue);
}

.nav-download,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.nav-download,
.button-primary {
  color: #fff;
  background: var(--blue);
}

.nav-download:hover,
.button-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.92);
}

.button-secondary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 25px;
  cursor: pointer;
}

.hero {
  position: relative;
  height: calc(100svh - 140px);
  min-height: 520px;
  max-height: 700px;
  overflow: hidden;
  background: #123453;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
  transform: scale(1.025);
}

.hero-shade {
  background: rgba(5, 28, 51, 0.54);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--content));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding: 0 0 58px;
}

.hero-copy {
  max-width: 670px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8df4ef;
}

.hero h1 {
  margin: 0;
  max-width: 650px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.5;
}

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

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-inner {
  width: min(calc(100% - 40px), var(--content));
  min-height: 88px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-right: 1px solid var(--line);
  color: #40505d;
  font-size: 14px;
  font-weight: 680;
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.trust-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  color: var(--blue);
  font-size: 14px;
  font-weight: 900;
}

.section {
  padding: 88px 0;
}

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

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

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-visual {
  height: 310px;
  overflow: hidden;
  background: #e9f2f6;
}

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

.feature-copy {
  padding: 24px;
}

.feature-number {
  display: block;
  margin-bottom: 9px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
}

.feature-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.feature-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.control-band {
  padding: 86px 0;
  color: #fff;
  background: #112f45;
}

.control-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 72px;
  align-items: center;
}

.control-copy h2 {
  margin: 0;
  max-width: 590px;
  font-size: 40px;
  line-height: 1.14;
}

.control-copy > p {
  margin: 18px 0 0;
  max-width: 630px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}

.control-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.control-list li {
  position: relative;
  margin-top: 14px;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.control-list li::before {
  content: "";
  position: absolute;
  top: 0.53em;
  left: 0;
  width: 13px;
  height: 7px;
  border-bottom: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
  transform: rotate(-45deg);
}

.control-statements {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 42px;
}

.statement {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

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

.statement strong {
  display: block;
  color: #fff;
  font-size: 17px;
}

.statement span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
}

.download-band {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background: #eaf7f7;
}

.download-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 100%;
  background: var(--amber);
}

.download-inner {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  text-align: center;
}

.download-inner img {
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(9, 105, 232, 0.2);
}

.download-inner h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.16;
}

.download-inner p {
  margin: 14px auto 26px;
  max-width: 610px;
  color: var(--muted);
  font-size: 18px;
}

.legal-hero {
  padding: 72px 0 62px;
  border-bottom: 1px solid var(--line);
  background: #eef6f8;
}

.legal-hero-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.legal-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: 48px;
  line-height: 1.08;
}

.legal-summary {
  max-width: 740px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.updated {
  margin: 18px 0 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-layout {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 760px);
  gap: 72px;
  justify-content: start;
  padding: 64px 0 90px;
}

.legal-toc {
  align-self: start;
  position: sticky;
  top: 104px;
  padding-right: 28px;
  border-right: 1px solid var(--line);
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  text-transform: uppercase;
}

.legal-toc a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

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

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

.legal-content > p:first-child {
  margin-top: 0;
  color: #354653;
  font-size: 18px;
}

.legal-content section {
  padding-top: 26px;
  scroll-margin-top: 92px;
}

.legal-content h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.3;
}

.legal-content h3 {
  margin: 24px 0 0;
  font-size: 17px;
}

.legal-content p,
.legal-content li {
  color: #4b5c68;
}

.legal-content p {
  margin: 12px 0 0;
}

.legal-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

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

.legal-content a,
.site-footer a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 4px solid var(--amber);
  background: #fff8e6;
  color: #4c3a12;
}

.site-footer {
  color: #d3dce2;
  background: #101b23;
}

.footer-inner {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 48px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(150px, 0.6fr));
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 17px;
  font-weight: 750;
}

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

.footer-copy {
  max-width: 460px;
  margin: 14px 0 0;
  color: #94a5b1;
  font-size: 14px;
}

.footer-column strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: #bdc9d1;
  font-size: 14px;
  text-decoration: none;
}

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

.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid #2d3a43;
  color: #7f909c;
  font-size: 13px;
}

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

@media (max-width: 860px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 30px rgba(18, 36, 50, 0.12);
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav > a:not(.nav-download) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-download {
    margin-top: 16px;
  }

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

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

  .feature-card {
    display: grid;
    grid-template-columns: minmax(210px, 0.8fr) minmax(0, 1.2fr);
  }

  .feature-visual {
    height: 300px;
  }

  .feature-copy {
    align-self: center;
  }

  .control-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .control-statements {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
    padding: 12px 0 0;
  }

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

  .legal-toc {
    position: static;
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    columns: 2;
  }

  .legal-toc strong {
    column-span: all;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 66px;
  }

  .nav-shell,
  .hero-inner,
  .trust-inner,
  .section-inner,
  .control-inner,
  .download-inner,
  .legal-hero-inner,
  .legal-layout,
  .footer-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .brand {
    font-size: 15px;
  }

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

  .site-nav {
    inset: 66px 0 auto;
  }

  .hero {
    height: calc(100svh - 132px);
    min-height: 500px;
    max-height: 650px;
  }

  .hero-media img {
    object-position: 54% center;
  }

  .hero-shade {
    background: rgba(5, 28, 51, 0.62);
  }

  .hero-inner {
    padding-bottom: 34px;
  }

  .hero h1 {
    max-width: 370px;
    font-size: 42px;
    line-height: 1.05;
  }

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

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

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

  .trust-inner {
    grid-template-columns: 1fr;
    padding: 10px 0;
  }

  .trust-item,
  .trust-item:first-child,
  .trust-item:last-child {
    padding: 11px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section,
  .control-band,
  .download-band {
    padding: 64px 0;
  }

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

  .section-heading h2,
  .download-inner h2 {
    font-size: 31px;
  }

  .section-heading p:not(.eyebrow),
  .control-copy > p,
  .download-inner p {
    font-size: 16px;
  }

  .feature-card {
    display: block;
  }

  .feature-visual {
    height: 330px;
  }

  .feature-copy {
    padding: 21px;
  }

  .control-copy h2 {
    font-size: 32px;
  }

  .download-band::after {
    width: 7px;
  }

  .legal-hero {
    padding: 54px 0 46px;
  }

  .legal-hero h1 {
    font-size: 39px;
  }

  .legal-summary {
    font-size: 16px;
  }

  .legal-layout {
    padding: 42px 0 66px;
  }

  .legal-toc {
    columns: 1;
  }

  .legal-content > p:first-child {
    font-size: 16px;
  }

  .legal-content h2 {
    font-size: 22px;
  }

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

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

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