/* CentraFIN's landing page (after style.css, whose tokens it uses): light
   from top to bottom (no dark background anywhere, the owner's choice), the
   hero, the security band and the last call lit by the mark's colours.
   Nothing moves (style.css's guard). */

.site {
  /* The lit surfaces' ground: the page's, a touch of the mark's blue. */
  --glow: #f2f6fd;
  --brand: linear-gradient(100deg, #68d7fa 0%, #5fbfff 35%, #87a7fa 70%, #b090f5 100%);
  /* The mark's colours deepened, for text on a light page. */
  --ink: linear-gradient(100deg, #0a86d8 0%, #2f74e8 45%, #6a5cf0 100%);
  --tile-radius: 20px;
  --section-space: clamp(72px, 9vw, 128px);
}

body.site {
  display: block;
  place-items: normal;
  min-height: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--bg);
}

.site h1,
.site h2,
.site h3 {
  margin: 0;
  text-wrap: balance;
}

.site p {
  text-wrap: pretty;
}

.wrap {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -64px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  font-weight: 500;
}

.skip:focus-visible {
  top: 16px;
}

.flip:dir(rtl) {
  transform: scaleX(-1);
}

/* The glow: a light surface lit by the mark's colours. */

.glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--glow);
  color: var(--text);
}

.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(42% 52% at 14% 6%, rgb(104 215 250 / 0.3), transparent 72%),
    radial-gradient(38% 46% at 88% 2%, rgb(176 144 245 / 0.3), transparent 72%),
    radial-gradient(60% 50% at 50% 50%, rgb(95 191 255 / 0.12), transparent 75%);
  pointer-events: none;
}

.hero-shell {
  border-bottom: 1px solid var(--line);
}

/* The mark's open ring around the headline: hidden where the words are,
   fading before the dashboard. */
.hero-rings {
  position: absolute;
  top: -24px;
  left: 50%;
  z-index: -1;
  width: 1600px;
  height: 1000px;
  translate: -50% 0;
  -webkit-mask-image: radial-gradient(42% 46% at 50% 38%, transparent 62%, #000 100%), linear-gradient(180deg, #000 45%, transparent 82%);
  mask-image: radial-gradient(42% 46% at 50% 38%, transparent 62%, #000 100%), linear-gradient(180deg, #000 45%, transparent 82%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}

/* Right to left, the ring opens on the left, as the reading. */
.hero-rings:dir(rtl) {
  transform: scaleX(-1);
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 76px;
}

.site-brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.site-brand .brand-mark {
  width: 30px;
  height: 30px;
}

.site-nav {
  display: flex;
  gap: 2px;
}

.site-nav a,
.site-login {
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-login:hover,
.site-login:focus-visible {
  background: rgb(40 45 64 / 0.06);
  color: var(--text);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-inline-start: auto;
}

.glow .lang-button:hover,
.glow .lang-button:focus-visible,
.glow .lang-button[aria-expanded="true"] {
  background: rgb(40 45 64 / 0.06);
}

/* Calls to action: the mark's gradient, or a white outline. */

.cta,
.cta-ghost,
.cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.cta {
  background: var(--brand);
  color: #07101f;
  box-shadow: 0 10px 28px -10px rgb(95 191 255 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.55);
}

.cta:hover,
.cta:focus-visible {
  filter: brightness(1.07) saturate(1.08);
}

.cta-ghost {
  border-color: var(--line-strong);
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 2px rgb(40 45 64 / 0.06);
}

.cta-ghost:hover,
.cta-ghost:focus-visible {
  border-color: var(--line-hover);
}

.cta-sm {
  height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 0.875rem;
}

.cta-lg {
  height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 1rem;
}

.cta .glyph,
.cta-ghost .glyph {
  width: 18px;
  height: 18px;
}

/* Hero */

.hero {
  display: grid;
  justify-items: center;
  padding-top: clamp(36px, 4.5vw, 64px);
  text-align: center;
}

/* What is new, leading to its section. */
.announce {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 4px 14px 4px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 1px 2px rgb(40 45 64 / 0.06);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.announce:hover,
.announce:focus-visible {
  border-color: var(--line-hover);
}

.announce-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #07101f;
  font-size: 0.75rem;
  font-weight: 650;
}

.announce .glyph {
  width: 15px;
  height: 15px;
  color: var(--muted);
}

.hero h1 {
  max-width: 940px;
  margin-top: 24px;
  padding-bottom: 0.08em;
  background: linear-gradient(180deg, #0b1020 35%, #34466f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.5rem, 1.35rem + 4.9vw, 5rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.042em;
}

.hero-text {
  max-width: 660px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* The main feature in the hero: a conversation with Claude, on a light card. */
.hero-chat {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 760px;
  margin: clamp(48px, 5vw, 72px) 0 clamp(72px, 8vw, 112px);
  padding: 28px;
  border-radius: 24px;
  background: var(--card);
  color: var(--text);
  text-align: start;
  border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgb(40 45 64 / 0.04), 0 36px 100px -32px rgb(52 110 220 / 0.38);
}

.hero-answer {
  display: grid;
  gap: 14px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.point-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  translate: 0 -1px;
}

.point-dot.gain {
  background: var(--gain-icon);
}

.point-dot.loss {
  background: var(--loss);
}

/* The allocation it describes: spot, stocks, perpetuals, cash. */
.allocation {
  display: flex;
  gap: 3px;
  height: 8px;
  margin-top: 2px;
  overflow: hidden;
  border-radius: 999px;
}

.allocation i {
  display: block;
  height: 100%;
}

.share-spot {
  flex: 50;
  background: #5fbfff;
}

.share-stocks {
  flex: 25;
  background: #87a7fa;
}

.share-perps {
  flex: 15;
  background: #b090f5;
}

.share-cash {
  flex: 10;
  background: #68d7fa;
}

/* The figures' small parts, in the features' tiles. */
.mock-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gain-soft);
  color: var(--gain);
  font-size: 0.75rem;
  font-weight: 500;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gain-icon);
  box-shadow: 0 0 0 3px rgb(11 156 74 / 0.18);
}

.mock-label {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.sum-figure {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.sum-figure small {
  color: var(--subtle);
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0;
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.mock-pill.gain {
  background: var(--gain-soft);
  color: var(--gain);
}

.mock-pill.loss {
  background: var(--loss-soft);
  color: var(--loss);
}

/* Proof: the platforms, the numbers. */

.proof {
  padding-top: clamp(48px, 6vw, 72px);
}

.proof-label {
  color: var(--subtle);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

/* The platforms' own logos, each at the height that gives it the weight of the others. */
.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 56px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.brands li {
  display: flex;
}

/* Heights that give each logo the same drawn area (its width over its
   height measured tight), OKX's solid blocks a little smaller. */
.brand-logo {
  width: auto;
  height: 23px;
}

.logo-kraken {
  height: 22px;
}

.logo-coinbase,
.logo-bitcoin {
  height: 24px;
}

.logo-ibkr {
  height: 23px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--tile-radius);
  background: var(--card);
  list-style: none;
}

.stats li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 30px 20px;
  text-align: center;
}

.stats li + li {
  border-inline-start: 1px solid var(--line);
}

.stat-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  padding-bottom: 0.06em;
  background: var(--ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stats span {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.35;
}


/* Sections */

.block {
  padding-block: var(--section-space);
}

.section-tint {
  border-block: 1px solid var(--line);
  background: var(--card);
}

.section-intro {
  display: grid;
  justify-items: center;
  max-width: 780px;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}

.eyebrow {
  background: var(--ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.block h2,
.final h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 1.3rem + 2.9vw, 3.5rem);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.038em;
}

.intro-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
}

/* Features: a bento of tiles. */

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

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--tile-radius);
  background: var(--card);
}

.feature-wide {
  grid-column: span 2;
}

.feature-full {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border-color: transparent;
}

.feature h3 {
  margin-top: 6px;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.feature p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.feature-full h3 {
  margin-top: 0;
}

.feature-full .feature-text {
  display: grid;
  flex: 1;
  gap: 6px;
  min-width: 0;
}

.feature.glow {
  background: var(--glow);
}

.feature-link {
  height: 44px;
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 12px;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--brand) border-box;
  color: var(--accent);
  box-shadow: 0 8px 20px -10px rgb(95 191 255 / 0.6);
}

.icon-tile .glyph {
  width: 20px;
  height: 20px;
}

/* The live prices' tile: a few assets, moving. */
.ticks {
  display: grid;
  align-self: stretch;
  gap: 8px;
  margin-top: auto;
  padding: 14px;
  border-radius: 14px;
  background: var(--fill);
}

.ticks .mock-live {
  justify-self: start;
  margin-bottom: 4px;
}

.tick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 600;
}

/* The first tile's sum: the platforms, their markets, the total. */
.sum {
  display: grid;
  align-self: stretch;
  gap: 16px;
  margin-top: auto;
  padding: 18px;
  border-radius: 14px;
  background: var(--fill);
}

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

.sum-rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  font-size: 0.875rem;
}

.sum-rows span {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sum-rows bdi {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.sum-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sum-chips span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.sum-total {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.sum-figure {
  font-size: 1.5rem;
  font-weight: 650;
}

/* Security: lit again, the vault beside its promises. */

.band::before {
  background:
    radial-gradient(40% 60% at 10% 30%, rgb(104 215 250 / 0.18), transparent 72%),
    radial-gradient(40% 60% at 92% 80%, rgb(176 144 245 / 0.22), transparent 72%);
}

.band {
  border-block: 1px solid var(--line);
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.security-intro {
  justify-items: start;
  margin: 0;
  text-align: start;
}

.vault-art {
  width: min(300px, 70%);
  height: auto;
  margin-top: 40px;
}

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

.sec-item {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--tile-radius);
  background: var(--card);
}

.sec-item h3 {
  margin-top: 6px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.sec-item p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* AI: its promise beside a conversation. */

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 88px);
}

.ai-intro {
  justify-items: start;
  margin: 0;
  text-align: start;
}

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

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
}

.checks .glyph {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  stroke-width: 3;
}

.chat {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
}

.chat::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 25px;
  background: var(--brand);
  filter: blur(44px);
  opacity: 0.3;
}

.bubble {
  padding: 14px 18px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.bubble-user {
  justify-self: end;
  max-width: 85%;
  border-radius: 18px;
  border-end-end-radius: 6px;
  background: var(--accent);
  color: var(--accent-text);
}

.assistant {
  display: grid;
  gap: 10px;
}

.assistant-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Claude's own mark, unaltered in its colour, before its name. */
.assistant-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
}

.claude-mark {
  width: 20px;
  height: 20px;
  flex: none;
}

.tool-chip {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--fill);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
}

.bubble-answer {
  border: 1px solid var(--line);
  border-radius: 18px;
  border-start-start-radius: 6px;
  background: var(--bg);
}

/* How it works: three numbered steps. */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--tile-radius);
  background: var(--bg);
}

.step-number {
  justify-self: start;
  padding-bottom: 0.06em;
  background: var(--ink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 2.75rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin-top: 8px;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.step p {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* FAQ: native disclosures, open at once. */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.faq details[open] {
  border-color: var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-radius: 15px;
  cursor: pointer;
  list-style: none;
}

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

.faq summary:hover,
.faq summary:focus-visible {
  background: var(--fill);
}

.faq details[open] summary {
  border-end-start-radius: 0;
  border-end-end-radius: 0;
}

.faq h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

/* A plus, its upright stroke gone once open. */
.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--fill);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 1px;
  background: var(--text-2);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  margin: -6px 0 0 -1px;
}

.faq details[open] .faq-icon {
  background: var(--accent-soft);
}

.faq details[open] .faq-icon::before {
  background: var(--accent);
}

.faq details[open] .faq-icon::after {
  display: none;
}

.faq details p {
  padding: 4px 24px 22px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* The last call. */

.final {
  padding-bottom: var(--section-space);
}

.final-panel {
  display: grid;
  justify-items: center;
  padding: clamp(56px, 8vw, 96px) 24px;
  border-radius: 28px;
  text-align: center;
}

.final-panel .brand-mark {
  width: 56px;
  height: 56px;
}

.final-panel h2 {
  max-width: 760px;
  margin-top: 24px;
  padding-bottom: 0.06em;
  background: linear-gradient(180deg, #0b1020 35%, #34466f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.final-panel {
  border: 1px solid var(--line);
}

.final-panel .intro-text {
  max-width: 560px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding-block: 56px 40px;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-brand p {
  max-width: 340px;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 4px;
}

.footer-links a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 0.875rem;
}

/* Scripts that set their words tight or tall. */

html:is(:lang(ja), :lang(ko), :lang(zh)) .site :is(h1, h2, h3, .stat-number, .eyebrow) {
  letter-spacing: 0;
}

html:is(:lang(ja), :lang(ko), :lang(zh)) .site :is(h1, h2) {
  line-height: 1.2;
}

html:is(:lang(th), :lang(hi), :lang(vi), :lang(ar)) .site :is(h1, h2) {
  line-height: 1.3;
}

/* Narrower screens */

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

  .feature-wide {
    grid-column: 1 / -1;
  }

  .security-layout,
  .ai-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .vault-art {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }


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

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

  .stats li + li {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

@media (max-width: 720px) {

  .feature-full {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 559px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .site-header {
    gap: 12px;
    height: 64px;
  }

  .site-register,
  .site-header .lang-name,
  .site-header .lang-chevron {
    display: none;
  }

  .site-header .lang-button {
    width: 36px;
    padding: 0;
    justify-content: center;
  }

  .hero-ctas {
    display: grid;
    justify-content: stretch;
    width: 100%;
  }

  .brands {
    gap: 20px 32px;
  }

  .brand-logo {
    height: 19px;
  }

  .logo-kraken {
    height: 18px;
  }

  .logo-coinbase,
  .logo-bitcoin {
    height: 20px;
  }

  .logo-ibkr {
    height: 19px;
  }

  .sum-rows {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-ctas > * {
    width: 100%;
  }


  .bento,
  .security-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature,
  .sec-item,
  .step,
  .chat,
  .hero-chat {
    padding: 20px;
  }

  .hero-chat {
    margin-top: 40px;
    border-radius: 20px;
  }

  .faq summary {
    padding: 18px;
  }

  .faq details p {
    padding: 2px 18px 18px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .final-panel {
    border-radius: 20px;
  }
}
