/* Inner pages (about, services): the homepage's layout moves, using the class names these pages already have.
   Linked last so it wins over each page's own inline styles. Colours and type come from the page tokens (Anton headings via display-font.css). */

@font-face { font-family: "Satoshi"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/satoshi/Satoshi-Regular.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/satoshi/Satoshi-Medium.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/satoshi/Satoshi-Bold.woff2") format("woff2"); }

/* Homepage tokens: the same pale blue-white ground and near-black ink as the homepage, with Satoshi for text */
:root {
  --cream: #eef3fb; --cream-2: #f7f9fd; --line: #dbe4f2;
  --ink: #0a1838; --ink-82: rgba(10, 24, 56, 0.82); --ink-62: rgba(10, 24, 56, 0.66); --ink-40: rgba(10, 24, 56, 0.4); --ink-08: rgba(10, 24, 56, 0.08);
  --font: "Satoshi", "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Satoshi", "Montserrat", var(--font);
}
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(55% 40% at 8% 0%, rgba(13, 71, 201, 0.34), transparent 60%),
    radial-gradient(45% 36% at 96% 4%, rgba(56, 208, 255, 0.22), transparent 60%),
    var(--cream);
}

/* Heroes: the homepage's light opening, not the navy stage. Anton headline, Satoshi lede, black button. */
.hero, .blog-hero, .article-head, body.legal-page > header {
  background: transparent;
  color: var(--ink);
}
.hero h1, .blog-hero h1, .article-head h1, body.legal-page > header h1 { color: var(--ink); }
.hero h1 em { color: #0d47c9; text-shadow: none; font-style: normal; }
.hero .hero-lede, .hero .hero-copy, .hero .lede, .blog-hero p, .article-head .dek { color: var(--ink-62); }
.hero .button-ghost { color: var(--ink); border-color: var(--ink-40); }
.hero .button:not(.button-ghost) { background: #0b0b0f; color: #fff; box-shadow: none; }
.hero .button:not(.button-ghost):hover { background: #22222a; }
.hero .hero-media { background: rgba(255, 255, 255, 0.6); border-color: var(--line); }
.article-head .crumbs, .article-head .crumbs a, .article-head .byline, .article-head .byline strong { color: var(--ink-62); }
.article-head .byline strong { color: var(--ink); }
body.legal-page > header { width: 100vw; margin-left: calc(50% - 50vw); padding: 64px 0 40px; }
body.legal-page > header p { color: var(--ink-62); max-width: 68ch; }
body.legal-page > header a { color: #0d47c9; }

/* Cards: the homepage's rounded, softly lit surfaces */
.panel, .principle-card, .timeline-card, .quote-block, .card, .step, .notice {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 2px rgba(10, 24, 56, 0.04);
}
.step { border: 1px solid var(--line); }
.steps .step b { display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 99px; background: #e3ecff; color: #0d47c9; font-size: 13px; }

/* FAQ: questions as cards with a plus marker; on desktop the heading sits on the left (same as the homepage FAQ) */
details {
  margin: 0 0 10px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
details summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 18px;
  list-style: none;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: #0d47c9; font-size: 22px; line-height: 1; transition: transform 200ms ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 22px 20px; }
.faq { border-top: 0; }

@media (min-width: 900px) {
  section[aria-labelledby="faq-title"] {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 56px;
    align-items: start;
  }
  section[aria-labelledby="faq-title"] > h2 { position: sticky; top: 110px; margin: 0; }
  section[aria-labelledby="faq-title"] > .faq, section[aria-labelledby="faq-title"] > .faq-note { grid-column: 2; }
}

/* Closing band: the homepage's last call-to-action, on the dark navy used across the site */
.closing {
  padding: 40px;
  border-radius: 24px;
  background: radial-gradient(ellipse at 85% 0%, rgba(56, 208, 255, 0.22), transparent 45%), linear-gradient(130deg, #061a4d, #0a2f8f);
}
.closing h2 { font-size: clamp(28px, 3.4vw, 44px); }
.closing .button { flex: none; }

/* About: the closing pair of panels sits as two equal cards */
#start .panel-dark { background: linear-gradient(130deg, #061a4d, #0a2f8f); }

@media (max-width: 899px) {
  .closing { padding: 28px; }
}

/* Legal drafts (privacy, terms, accessibility): rounded light sections, same as the homepage cards */
body.legal-page main > section { margin-bottom: 14px; padding: 26px 28px; border-radius: 22px; background: rgba(255, 255, 255, 0.78); box-shadow: 0 1px 2px rgba(10, 24, 56, 0.04); }
