:root {
  --bg: #f6f8ff;
  --card: #ffffff;
  --ink: #07142f;
  --muted: #63718d;
  --line: #dde6f7;
  --line-strong: #c4d1ea;
  --night: #07142f;
  --night-2: #0d2356;
  --brand-blue: #2f82ff;
  --brand-purple: #7557f4;
  --brand-cyan: #62d5ff;
  --moon: #f8fbff;
  --green: #07142f;
  --green-2: #2f82ff;
  --green-soft: #eef4ff;
  --amber: #b98116;
  --amber-soft: #fff3d8;
  --blue-soft: #edf3ff;
  --blue-text: #2856b5;
  --shadow: 0 22px 62px rgba(7, 20, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 46%, #f8f9fe 100%);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans SC",
    "PingFang SC",
    sans-serif;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 72px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(196, 209, 234, 0.78);
  background: rgba(248, 251, 255, 0.92);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: max-content;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(124, 157, 244, 0.35);
  border-radius: 8px;
  background: var(--night);
  box-shadow: 0 10px 28px rgba(13, 35, 86, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  color: #36435e;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 11px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--brand-blue);
}

.site-nav a[aria-current="page"] {
  border-color: rgba(47, 130, 255, 0.26);
  background: linear-gradient(135deg, rgba(237, 243, 255, 0.94), rgba(243, 239, 255, 0.86));
  color: var(--night);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.language-switch {
  display: inline-flex;
  min-height: 40px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.language-switch button {
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.language-switch button:last-child {
  border-right: 0;
}

.language-switch button.active {
  background: linear-gradient(135deg, var(--night-2), var(--brand-purple));
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--night-2), var(--brand-blue) 58%, var(--brand-purple));
  color: #fff;
  box-shadow: 0 12px 28px rgba(47, 130, 255, 0.26);
}

.button.ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
}

.button.large {
  min-height: 48px;
  padding: 13px 18px;
  font-size: 15px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(760px, calc(100vh - 72px));
  padding: 76px max(24px, calc((100vw - 1180px) / 2)) 92px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.95) 40%, rgba(248, 251, 255, 0.58) 76%, rgba(248, 251, 255, 0.86) 100%),
    url("/marketing/static/assets/dashboard-preview.png");
  background-position: center, right max(24px, calc((100vw - 1180px) / 2)) center;
  background-size: cover, min(1020px, 72vw) auto;
  background-repeat: no-repeat;
}

.setup-hero {
  display: flex;
  align-items: center;
  min-height: 540px;
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 245, 255, 0.92) 54%, rgba(238, 233, 255, 0.76) 100%);
}

.setup-hero-copy {
  width: min(780px, 100%);
}

.download-hero {
  display: flex;
  align-items: center;
  min-height: 620px;
  padding: 82px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(117, 87, 244, 0.16), transparent 32%),
    radial-gradient(circle at 16% 18%, rgba(47, 130, 255, 0.14), transparent 34%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 58%, #f4f1ff 100%);
}

.download-hero-copy {
  width: min(820px, 100%);
}

.download-status-card {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin-top: 28px;
  border: 1px solid rgba(47, 130, 255, 0.24);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(7, 20, 47, 0.08);
}

.download-status-card span {
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download-status-card strong {
  color: var(--night);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.14;
}

.download-status-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 720;
  line-height: 1.62;
}

.hero::after {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 22px;
  left: max(24px, calc((100vw - 1180px) / 2));
  height: 1px;
  background: var(--line);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 680px;
  color: var(--night);
  font-size: clamp(56px, 8vw, 108px);
  line-height: 0.94;
}

.hero h1 {
  background: linear-gradient(135deg, var(--night) 0%, var(--night-2) 44%, var(--brand-blue) 76%, var(--brand-purple) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-lede {
  max-width: 590px;
  margin: 22px 0 0;
  color: #30405f;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
  line-height: 1.55;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 100%;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(47, 130, 255, 0.24);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(238, 244, 255, 0.9);
  color: #224aaf;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.section {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
  padding: 76px 0;
}

.page-subnav {
  position: sticky;
  z-index: 9;
  top: 72px;
  display: flex;
  width: 100%;
  min-height: 52px;
  margin: 0;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(196, 209, 234, 0.78);
  padding: 8px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(248, 251, 255, 0.94);
  box-shadow: 0 10px 28px rgba(7, 20, 47, 0.06);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.page-subnav::-webkit-scrollbar {
  display: none;
}

.page-subnav span,
.page-subnav a {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  white-space: nowrap;
}

.page-subnav span {
  color: var(--muted);
}

.page-subnav a {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: #354563;
}

.page-subnav a:hover {
  border-color: rgba(47, 130, 255, 0.24);
  background: var(--green-soft);
  color: var(--green);
}

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

.section-heading h2,
.security-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(30px, 3.55vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
}

.section-heading p,
.security-copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.6;
}

.philosophy-section {
  padding-top: 68px;
}

.brand-story {
  display: grid;
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin: 0 0 16px;
  border: 1px solid rgba(47, 130, 255, 0.2);
  border-radius: 8px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(238, 244, 255, 0.9), rgba(246, 242, 255, 0.82));
  box-shadow: 0 12px 36px rgba(7, 20, 47, 0.07);
}

.brand-story p {
  margin: 0;
}

.brand-story-label {
  color: var(--green);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.35;
}

.brand-story p:not(.brand-story-label) {
  color: #354563;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.65;
}

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

.philosophy-card {
  min-height: 188px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(7, 20, 47, 0.07);
}

.philosophy-card span {
  display: inline-flex;
  width: 38px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
}

.philosophy-card h3 {
  margin: 18px 0 0;
  font-size: 21px;
  line-height: 1.24;
}

.philosophy-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.58;
}

.philosophy-note {
  margin: 16px 0 0;
  border-left: 4px solid var(--brand-blue);
  border-radius: 8px;
  padding: 16px 18px;
  background: rgba(238, 244, 255, 0.8);
  color: #31415f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.58;
}

.risk-teaser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.risk-teaser h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.16;
  text-wrap: balance;
}

.risk-teaser p:not(.eyebrow) {
  max-width: 880px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.62;
}

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

.gateway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.audience-grid article,
.gateway-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: var(--card);
  box-shadow: 0 12px 36px rgba(7, 20, 47, 0.07);
}

.gateway-card {
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 24px;
}

.risk-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.99) 0%, rgba(238, 245, 255, 0.94) 54%, rgba(243, 240, 255, 0.9) 100%);
}

.gateway-kicker {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  background: var(--green-soft);
  color: var(--green-2);
  font-size: 12px;
  font-weight: 900;
}

.gateway-kicker.moomoo {
  background: var(--amber-soft);
  color: #8a6208;
}

.gateway-kicker.ibkr {
  background: var(--blue-soft);
  color: var(--blue-text);
}

.feature-index {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h3,
.audience-grid h3,
.gateway-card h3 {
  margin: 18px 0 0;
  font-size: 21px;
}

.feature-card p,
.audience-grid p,
.gateway-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.58;
}

.gateway-card dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
}

.gateway-card dl div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.gateway-card dt {
  color: #343c35;
  font-size: 12px;
  font-weight: 900;
}

.gateway-card dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.setup-flow-section {
  border-top: 1px solid var(--line);
}

.flow-panel {
  display: grid;
  gap: 14px;
}

.flow-lane {
  display: grid;
  grid-template-columns: minmax(180px, 1.1fr) auto minmax(220px, 1.25fr) auto minmax(180px, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(7, 20, 47, 0.06);
}

.flow-lane.cloud {
  background: #f8fbff;
}

.flow-label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-node {
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 17px;
  background: var(--card);
  color: #28364f;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.flow-node.strong {
  border-color: rgba(47, 130, 255, 0.32);
  background: var(--green-soft);
  color: var(--green);
}

.flow-arrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.security-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 30px;
  align-items: stretch;
  width: 100%;
  padding: 76px max(24px, calc((100vw - 1180px) / 2));
  background: #eef3ff;
}

.security-list {
  display: grid;
  gap: 12px;
}

.security-list div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.security-list strong {
  font-size: 15px;
}

.security-list span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

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

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

.download-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(7, 20, 47, 0.07);
}

.download-card span {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 900;
}

.download-card h3 {
  margin: 18px 0 0;
  font-size: 21px;
  line-height: 1.24;
}

.download-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.58;
}

.risk-card {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(7, 20, 47, 0.07);
}

.risk-card span {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--amber-soft);
  color: #8a6208;
  font-size: 12px;
  font-weight: 900;
}

.risk-card h3 {
  margin: 18px 0 0;
  font-size: 21px;
  line-height: 1.24;
}

.risk-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.58;
}

.risk-detail-section {
  width: 100%;
  padding: 76px max(24px, calc((100vw - 1180px) / 2));
  background: #f0f4ff;
}

.risk-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 30px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.risk-detail h2 {
  margin: 0;
  font-size: clamp(30px, 3.55vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
}

.risk-detail-list {
  display: grid;
  gap: 12px;
}

.risk-detail-list article {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.risk-detail-list h3 {
  margin: 0;
  font-size: 16px;
}

.risk-detail-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.terms-hero {
  background:
    radial-gradient(circle at 18% 5%, rgba(47, 130, 255, 0.16), transparent 34%),
    radial-gradient(circle at 78% 0%, rgba(117, 87, 244, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.terms-document-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 28px;
  align-items: end;
  padding: 72px max(24px, calc((100vw - 1180px) / 2)) 44px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 4%, rgba(47, 130, 255, 0.13), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(117, 87, 244, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.terms-document-title h1 {
  max-width: 820px;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 0.98;
}

.terms-document-title p:not(.eyebrow) {
  max-width: 780px;
  margin: 20px 0 0;
  color: #30405f;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.65;
}

.terms-notice {
  border: 1px solid rgba(47, 130, 255, 0.22);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(7, 20, 47, 0.07);
}

.terms-notice h2 {
  margin: 0;
  font-size: 18px;
}

.terms-notice p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.65;
}

.terms-section {
  padding-right: 24px;
  padding-left: 24px;
  scroll-margin-top: 132px;
}

.legal-document {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 44px);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(7, 20, 47, 0.08);
}

.legal-document header {
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.legal-document h2 {
  margin: 0 0 18px;
  color: var(--night);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

.legal-document h3 {
  margin: 0 0 12px;
  color: var(--night);
  font-size: 21px;
  line-height: 1.28;
}

.legal-document section + section {
  margin-top: 26px;
  border-top: 1px solid rgba(221, 230, 247, 0.78);
  padding-top: 24px;
}

.legal-document p {
  margin: 10px 0 0;
  color: #354563;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.78;
}

.legal-document a {
  color: var(--brand-blue);
  font-weight: 850;
}

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

.terms-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.terms-grid article,
.liability-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 32px rgba(7, 20, 47, 0.06);
}

.terms-grid article {
  padding: 20px;
}

.terms-grid h3,
.liability-box h3 {
  margin: 0 0 10px;
  color: var(--night);
  font-size: 18px;
  line-height: 1.28;
}

.terms-grid p,
.liability-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.75;
}

.liability-section {
  background:
    radial-gradient(circle at 8% 12%, rgba(47, 130, 255, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(242, 247, 255, 0.98));
}

.liability-box {
  margin: 18px 0;
  padding: 20px;
  border-color: rgba(47, 130, 255, 0.24);
}

.terms-accept-section {
  padding-bottom: 92px;
}

.terms-accept-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(47, 130, 255, 0.26);
  border-radius: 8px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(238, 244, 255, 0.96), rgba(247, 244, 255, 0.92));
  box-shadow: 0 14px 36px rgba(7, 20, 47, 0.08);
}

.terms-accept-panel h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

.terms-accept-panel p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
  line-height: 1.65;
}

.terms-accept-panel button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.terms-accept-status {
  grid-column: 1 / -1;
  margin: 0;
  color: #354563;
  font-size: 13px;
  font-weight: 850;
}

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

.audience-grid article {
  min-height: 180px;
  background: #ffffff;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.final-cta h2 {
  max-width: 760px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 38px;
  border-top: 1px solid rgba(122, 149, 215, 0.18);
  background: var(--night);
  color: #b7c6e8;
  font-size: 13px;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
}

.footer-legal {
  display: grid;
  gap: 7px;
  max-width: 980px;
  text-align: center;
}

.footer-legal p {
  margin: 0;
  color: #aebee0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.footer-legal p:first-child {
  color: #f8fbff;
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    overflow: visible;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .page-subnav {
    position: static;
    top: auto;
    flex-wrap: wrap;
    overflow: visible;
    padding: 8px 24px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    background-position: center, right -120px top 72px;
    background-size: cover, 760px auto;
  }

  .feature-grid,
  .audience-grid,
  .philosophy-grid,
  .gateway-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gateway-card {
    min-height: auto;
  }

  .flow-lane {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    text-align: left;
  }

  .brand-story {
    grid-template-columns: 1fr;
  }

  .risk-teaser {
    align-items: flex-start;
    flex-direction: column;
  }

  .security-band {
    grid-template-columns: 1fr;
  }

  .terms-document-hero {
    grid-template-columns: 1fr;
  }

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

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

  .risk-detail {
    grid-template-columns: 1fr;
  }

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

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .site-nav {
    width: 100%;
  }

  .site-nav a {
    min-height: 36px;
    padding: 8px 10px;
  }

  .language-switch {
    width: 100%;
  }

  .language-switch button {
    flex: 1;
  }

  .hero {
    padding: 58px 18px 78px;
    background-image:
      linear-gradient(180deg, rgba(248, 251, 255, 0.99) 0%, rgba(248, 251, 255, 0.98) 62%, rgba(248, 251, 255, 0.92) 100%),
      url("/marketing/static/assets/dashboard-preview.png");
    background-position: center, right -420px top 126px;
    background-size: cover, 720px auto;
  }

  .hero-lede {
    font-size: 17px;
  }

  .setup-hero h1 {
    overflow-wrap: break-word;
    font-size: clamp(40px, 11vw, 52px);
    line-height: 1.04;
  }

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

  .section,
  .security-band,
  .setup-hero,
  .download-hero {
    width: 100%;
    padding: 52px 18px;
  }

  .terms-section {
    padding-right: 22px;
    padding-left: 22px;
  }

  .page-subnav {
    padding: 8px 18px;
  }

  .feature-grid,
  .audience-grid,
  .philosophy-grid,
  .risk-grid,
  .download-grid,
  .gateway-grid,
  .terms-grid,
  .terms-grid.two {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .audience-grid article,
  .philosophy-card,
  .risk-card,
  .download-card,
  .gateway-card {
    min-height: auto;
  }

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