/* GO10X look for the check. Tokens, fonts, button and prose styles are copied from the website
   (go10xai-website: src/styles/global.css, components/ui/Button.astro, layouts/LegalLayout.astro).
   Change them there first, then copy. Light system, dark header band, quiet orange for the one action. */

@font-face { font-family: "Satoshi"; src: url("/static/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/static/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/static/fonts/satoshi-700.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/static/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --color-deep-navy: #070B1A;
  --color-slate-navy: #101828;
  --color-indigo-blue: #3F5CFF;
  --color-indigo-blue-hover: #263FEF;
  --color-indigo-ink: #2F49E5;
  --color-blue-violet: #5867F2;
  --color-blue-violet-tint: #EEF2FF;
  --color-blue-violet-soft: #F8FAFF;
  --color-border-violet: #C9D3FF;
  --color-border-violet-soft: #AAB7FF;
  --color-coral-orange: #E32D09;
  --color-coral-orange-hover: #DE3618;
  --color-coral-orange-active: #D83F26;
  --color-coral-ink: #C63D1F;
  --color-soft-orange: #FFF0EA;
  --color-orange-border: #FFD4C8;
  --color-white: #FFFFFF;
  --color-off-white: #F7F8FC;
  --color-light-gray: #F4F6FA;
  --color-border: #E5E7EF;
  --color-border-strong: #D8DDE8;
  --color-border-faint: #EEF0F5;
  --color-soft-periwinkle: #DDE4FF;
  --color-text-quiet: #6B7689;
  --color-text-primary: #0B1220;
  --color-text-secondary: #536075;
  --color-text-muted: #687183;
  --color-text-on-dark-secondary: rgba(255, 255, 255, 0.76);
  --color-success-ink: #0E8761;
  --color-success-on-dark: #7FE7B0;

  --font-display: "Satoshi", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", "Satoshi", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --shadow-card: 0 8px 24px rgba(11, 18, 32, 0.045);
  --shadow-cta: 0 8px 20px rgba(227, 45, 9, 0.20);
  --shadow-cta-hover: 0 10px 26px rgba(227, 45, 9, 0.28);
  --focus-ring: 0 0 0 4px rgba(88, 103, 242, 0.18);
  --container: 880px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--color-text-primary); background: var(--color-white); }
::selection { background: var(--color-blue-violet); color: var(--color-white); }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* Header: the website's nav on a light page (wordmark left, one link right). */
.top { border-bottom: 1px solid var(--color-border); background: var(--color-white); }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.top__logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text-secondary); }
.top__logo img { display: block; width: 96px; height: 24px; }
.top__name { font-family: var(--font-display); font-weight: 500; font-size: 15px; padding-left: 12px; border-left: 1px solid var(--color-border-strong); }
.top__link { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--color-text-secondary); text-decoration: none; }
.top__link:hover { color: var(--color-indigo-blue); }
@media (max-width: 480px) { .top__name { display: none; } }

/* Hero band: dark, as on the website. */
.hero { background: var(--color-deep-navy); color: var(--color-white); padding: 72px 0 80px; }
.hero__eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-border-violet-soft); margin: 0 0 16px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; margin: 0 0 20px; color: var(--color-white); hyphens: auto; overflow-wrap: break-word; }
.hero__sub { font-size: 18px; line-height: 1.55; color: var(--color-text-on-dark-secondary); max-width: 620px; margin: 0 0 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 32px 0 0; font-size: 14px; color: var(--color-text-on-dark-secondary); }
.hero__facts li::before { content: "✓"; color: var(--color-success-on-dark); margin-right: 8px; font-weight: 700; }

main { padding: 56px 0 80px; }
main h1 { font-family: var(--font-display); font-size: clamp(30px, 4vw, 40px); line-height: 1.08; font-weight: 700; letter-spacing: -0.035em; margin: 0 0 16px; hyphens: auto; overflow-wrap: break-word; }
main h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
main h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin: 28px 0 8px; }
main p, main ul, main ol { color: var(--color-text-secondary); line-height: 1.7; margin: 0 0 16px; }
main ul, main ol { padding-left: 20px; }
main li { margin-bottom: 6px; }
main strong, main b { color: var(--color-text-primary); font-weight: 600; }
main a { color: var(--color-indigo-blue); text-decoration: underline; text-underline-offset: 3px; }
main a:hover { color: var(--color-indigo-blue-hover); }
main code { font-family: var(--font-mono); font-size: 13px; background: var(--color-light-gray); border: 1px solid var(--color-border); border-radius: 6px; padding: 1px 6px; color: var(--color-text-primary); }
main pre { font-family: var(--font-mono); font-size: 13px; background: var(--color-light-gray); border-radius: var(--radius-md); padding: 16px; overflow-x: auto; }
main hr { border: 0; border-top: 1px solid var(--color-border); margin: 32px 0; }
main > *:first-child, .box > *:first-child { margin-top: 0; }

/* Tables scroll inside their own box; the page never scrolls sideways. */
.table { overflow-x: auto; margin: 0 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.55; color: var(--color-text-secondary); }
th, td { text-align: left; vertical-align: top; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--color-border); }
th { color: var(--color-text-primary); font-weight: 600; border-bottom-color: var(--color-border-strong); }
td b { color: var(--color-text-primary); }

/* Cards. */
.box { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 28px; margin: 32px 0; }
.box--violet { background: var(--color-blue-violet-soft); border-color: var(--color-border-violet); }
.box--orange { background: var(--color-soft-orange); border-color: var(--color-orange-border); }
.box h2 { margin-top: 0; }
@media (max-width: 600px) { .box { padding: 20px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 32px; }
.step { border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 24px; background: var(--color-off-white); }
.step__n { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--color-indigo-ink); margin: 0 0 8px; }
.step h3 { margin: 0 0 6px; }
.step p { margin: 0; font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Buttons: Button.astro. */
.btn, button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-md); padding: 13px 20px; font-family: var(--font-body); font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; transition: all 180ms ease; border: 1px solid transparent; text-decoration: none; white-space: nowrap; }
.btn, button { background: var(--color-coral-orange); color: var(--color-white); border-color: var(--color-coral-orange); box-shadow: var(--shadow-cta); }
.btn:hover, button:hover { background: var(--color-coral-orange-hover); border-color: var(--color-coral-orange-hover); transform: translateY(-1px); box-shadow: var(--shadow-cta-hover); color: var(--color-white); }
.btn:active, button:active { background: var(--color-coral-orange-active); transform: translateY(0) scale(0.98); }
main a.btn, main a.btn:hover { color: var(--color-white); text-decoration: none; }
button.quiet { background: var(--color-white); color: var(--color-text-primary); border-color: var(--color-border-strong); box-shadow: none; }
button.quiet:hover { border-color: var(--color-border-violet-soft); color: var(--color-indigo-blue); background: var(--color-blue-violet-soft); }
.btn:focus-visible, button:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
@media (prefers-reduced-motion: reduce) { .btn, button, .btn:hover, button:hover, .btn:active, button:active { transform: none; transition: none; } }

textarea, input[type=text], input:not([type]) { font: inherit; font-size: 15px; color: var(--color-text-primary); background: var(--color-white); border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); padding: 10px 12px; }
textarea { width: 100%; min-height: 96px; resize: vertical; }
textarea:focus, input:focus { outline: none; border-color: var(--color-blue-violet); box-shadow: 0 0 0 4px rgba(88, 103, 242, 0.12); }
label.r { margin-right: 12px; white-space: nowrap; font-size: 14px; }
input[type=radio] { accent-color: var(--color-indigo-blue); }

.mute { color: var(--color-text-muted); font-size: 14px; }
.ok { color: var(--color-success-ink); font-weight: 600; }
.warn { color: var(--color-coral-ink); font-weight: 600; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; border-radius: 999px; padding: 3px 10px; background: var(--color-blue-violet-tint); color: var(--color-indigo-ink); }

.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--color-blue-violet-tint); border-top-color: var(--color-blue-violet); animation: spin 0.9s linear infinite; margin: 0 0 20px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }

/* Footer: the website's navy footer, one row. */
.ft { background: var(--color-deep-navy); color: rgba(255, 255, 255, 0.66); padding: 40px 0; font-size: 14px; }
.ft .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.ft img { display: block; width: 80px; height: 20px; margin-right: auto; }
.ft a { color: rgba(255, 255, 255, 0.76); text-decoration: none; }
.ft a:hover { color: var(--color-white); }
