:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #efefec;
  --ink: #101113;
  --muted: #6b6d72;
  --line: #dedfda;
  --line-dark: rgba(255,255,255,.13);
  --blue: #1769e0;
  --blue-dark: #0f55ba;
  --blue-soft: #e8f0fc;
  --dark: #111214;
  --dark-2: #191a1d;
  --max: 1180px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow: 0 24px 70px rgba(18,20,25,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: #cfe0fb; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(20,20,20,.055);
  background: rgba(246,246,244,.86);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 21px; font-weight: 720; letter-spacing: -.05em; }
.brand-mark { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.brand-mark span { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 6px 0 0 -3px var(--blue); }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav > a:not(.button) { color: #4f5156; text-decoration: none; font-size: 14px; font-weight: 560; }
.main-nav > a:not(.button):hover, .main-nav > a[aria-current="page"] { color: var(--ink); }
.menu-button { display: none; border: 0; background: transparent; padding: 8px 0; font-weight: 650; }

.button { min-height: 50px; padding: 0 21px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 15px; font-weight: 680; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px rgba(23,105,224,.2); }
.button-primary:hover { background: var(--blue-dark); }
.button-dark { background: var(--ink); color: #fff; }
.button-light { background: #fff; color: var(--ink); }
.button-small { min-height: 40px; padding-inline: 17px; font-size: 13px; }
.button-large { min-height: 58px; padding-inline: 28px; font-size: 16px; }
.text-link { color: var(--ink); font-weight: 650; text-decoration: none; font-size: 15px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.eyebrow, .section-label { color: #76787d; font-size: 12px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.eyebrow-light { color: rgba(255,255,255,.52); }

.hero { padding: 88px 0 96px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr); align-items: center; gap: clamp(52px, 7vw, 96px); }
.hero-copy-block h1 { max-width: 720px; margin: 18px 0 0; font-size: clamp(56px, 7.4vw, 92px); line-height: .96; letter-spacing: -.064em; font-weight: 730; }
.hero-lead { max-width: 640px; margin: 28px 0 0; color: var(--muted); font-size: clamp(19px, 2.1vw, 24px); line-height: 1.48; letter-spacing: -.025em; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-note { margin-top: 54px; color: #929398; font-size: 12px; }

.ai-window { background: var(--dark); color: #fff; border-radius: var(--radius-xl); padding: 34px; box-shadow: 0 34px 90px rgba(10,12,16,.17); position: relative; overflow: hidden; }
.ai-window::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.ai-window-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.micro-label { color: rgba(255,255,255,.48); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.ai-window h2 { margin: 0; max-width: 420px; font-size: clamp(32px, 4vw, 48px); line-height: 1.04; letter-spacing: -.045em; font-weight: 680; }
.status-pill { flex: 0 0 auto; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.055); border-radius: 999px; padding: 8px 11px; font-size: 11px; font-weight: 650; }
.status-pill span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7dd58b; margin-right: 6px; box-shadow: 0 0 0 4px rgba(125,213,139,.08); }
.ai-jobs { display: grid; }
.ai-job { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line-dark); }
.job-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: rgba(255,255,255,.52); font-size: 11px; font-weight: 700; }
.ai-job h3 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.ai-job p { margin: 6px 0 0; color: rgba(255,255,255,.55); line-height: 1.48; font-size: 13.5px; }
.ai-window-bottom { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end; padding-top: 24px; }
.ai-window-bottom p { margin: 0; color: rgba(255,255,255,.5); line-height: 1.5; font-size: 12.5px; }
.ai-window-bottom a { color: #b9d5ff; white-space: nowrap; text-decoration: none; font-weight: 660; font-size: 13px; }

.section { padding: 112px 0; }
.section-soft { background: var(--surface-2); border-top: 1px solid rgba(0,0,0,.035); border-bottom: 1px solid rgba(0,0,0,.035); }
.section-head { display: grid; grid-template-columns: 1fr minmax(300px, .52fr); align-items: end; gap: 60px; margin-bottom: 36px; }
.section-head h2, .process-intro h2, .compliance-copy h2, .contact-panel h2, .legal-disclaimer h2 { margin: 15px 0 0; font-size: clamp(42px, 5.6vw, 68px); line-height: 1; letter-spacing: -.054em; font-weight: 700; }
.section-head > p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.55; }

.service-grid { display: grid; grid-template-columns: 1.22fr .89fr .89fr; gap: 14px; }
.service-card { min-height: 390px; display: flex; flex-direction: column; padding: 30px; background: var(--surface); border: 1px solid rgba(0,0,0,.07); border-radius: var(--radius-lg); box-shadow: 0 14px 34px rgba(20,20,20,.035); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card-featured { background: var(--blue-soft); border-color: rgba(23,105,224,.12); }
.service-top { min-height: 96px; display: flex; align-items: flex-start; justify-content: space-between; color: #98999e; font-size: 12px; }
.service-tag { color: var(--blue); background: rgba(255,255,255,.72); border-radius: 999px; padding: 7px 10px; font-weight: 700; }
.service-card h3 { margin: auto 0 0; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.05; letter-spacing: -.045em; }
.service-card p { color: var(--muted); line-height: 1.6; margin: 14px 0 0; }
.service-card a { margin-top: 26px; color: var(--blue); text-decoration: none; font-weight: 650; font-size: 14px; }

.process-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 96px; align-items: start; }
.process-intro { position: sticky; top: 108px; }
.process-intro p { color: var(--muted); max-width: 500px; font-size: 18px; line-height: 1.55; }
.process-list { border-top: 1px solid #ced0ca; }
.process-row { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid #ced0ca; }
.process-row > span { color: #989a9f; font-size: 12px; padding-top: 5px; }
.process-row h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.process-row p { margin: 9px 0 0; color: var(--muted); line-height: 1.55; }

.compliance-panel { display: grid; grid-template-columns: 1fr .95fr; gap: 70px; padding: 58px; background: var(--dark); color: #fff; border-radius: var(--radius-xl); box-shadow: 0 30px 80px rgba(10,12,15,.13); }
.compliance-copy p { color: rgba(255,255,255,.57); max-width: 620px; font-size: 17px; line-height: 1.58; margin: 18px 0 30px; }
.compliance-links { border-top: 1px solid var(--line-dark); }
.compliance-links a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 21px 0; border-bottom: 1px solid var(--line-dark); text-decoration: none; }
.compliance-links strong { display: block; font-size: 16px; }
.compliance-links small { display: block; margin-top: 5px; color: rgba(255,255,255,.45); line-height: 1.4; font-size: 12px; }
.compliance-links b { font-size: 19px; font-weight: 400; color: #9dc7ff; }

.contact-section { padding-top: 20px; }
.contact-panel { min-height: 340px; border-radius: var(--radius-xl); background: #fff; border: 1px solid rgba(0,0,0,.06); padding: 54px; display: flex; align-items: end; justify-content: space-between; gap: 50px; box-shadow: var(--shadow); }
.contact-panel p { color: var(--muted); font-size: 18px; line-height: 1.55; margin: 16px 0 0; max-width: 620px; }

.site-footer { padding: 70px 0 28px; border-top: 1px solid var(--line); background: #ececea; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .8fr; gap: 60px; }
.footer-brand { margin-bottom: 14px; }
.footer-grid p { color: var(--muted); margin: 0; }
.footer-column { display: grid; align-content: start; gap: 9px; color: #5f6166; font-size: 13px; }
.footer-column strong { color: var(--ink); margin-bottom: 4px; }
.footer-column a { text-decoration: none; }
.footer-column a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 54px; padding-top: 20px; border-top: 1px solid #d3d4cf; display: flex; justify-content: space-between; gap: 24px; color: #8a8c90; font-size: 12px; }

/* Legal hub */
.legal-hub-main { min-height: 70vh; }
.legal-hub-hero { padding: 100px 0 40px; }
.legal-hub-hero h1 { max-width: 920px; margin: 16px 0 0; font-size: clamp(58px, 8vw, 98px); line-height: .96; letter-spacing: -.064em; font-weight: 720; }
.legal-hub-hero p { max-width: 720px; color: var(--muted); font-size: 20px; line-height: 1.55; margin: 26px 0 0; }
.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.policy-card { min-height: 280px; position: relative; padding: 30px; border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,.07); background: #fff; text-decoration: none; display: grid; grid-template-columns: 46px 1fr auto; gap: 20px; align-items: end; box-shadow: 0 14px 34px rgba(20,20,20,.03); transition: transform .2s ease, box-shadow .2s ease; }
.policy-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.policy-card-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.policy-number { align-self: start; color: #999ba0; font-size: 12px; }
.policy-card h2 { margin: 0; font-size: clamp(28px, 3.2vw, 39px); letter-spacing: -.045em; }
.policy-card p { color: var(--muted); line-height: 1.55; margin: 12px 0 0; }
.policy-card-dark p { color: rgba(255,255,255,.52); }
.policy-card > span { font-size: 24px; color: var(--blue); }
.legal-disclaimer { max-width: 900px; }
.legal-disclaimer p { color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Legal pages */
.legal-main { padding-bottom: 112px; }
.legal-hero { padding: 96px 0 52px; }
.legal-hero h1 { max-width: 900px; margin: 16px 0 0; font-size: clamp(56px, 7.5vw, 92px); line-height: .97; letter-spacing: -.061em; font-weight: 720; }
.legal-hero p { max-width: 760px; color: var(--muted); line-height: 1.6; font-size: 19px; margin: 22px 0 0; }
.legal-meta { display: inline-flex; margin-top: 22px; padding: 8px 11px; border-radius: 999px; background: #ececea; color: #77797d; font-size: 11px; font-weight: 650; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 820px); gap: 58px; align-items: start; justify-content: center; }
.legal-toc { position: sticky; top: 106px; display: grid; gap: 2px; padding: 8px; border: 1px solid rgba(0,0,0,.065); background: rgba(255,255,255,.68); backdrop-filter: blur(12px); border-radius: 20px; }
.legal-toc a { color: #67696e; text-decoration: none; font-size: 12.5px; line-height: 1.35; padding: 10px 11px; border-radius: 11px; }
.legal-toc a:hover { background: #f0f0ee; color: var(--ink); }
.legal-content { background: #fff; border: 1px solid rgba(0,0,0,.055); border-radius: 28px; padding: 48px; box-shadow: 0 22px 54px rgba(18,20,25,.055); }
.legal-content section + section { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 38px; }
.legal-content h2 { margin: 0 0 14px; font-size: 29px; line-height: 1.15; letter-spacing: -.038em; }
.legal-content h3 { margin: 26px 0 8px; font-size: 18px; letter-spacing: -.02em; }
.legal-content p, .legal-content li { color: #4c4e53; line-height: 1.72; }
.legal-content p { margin: 12px 0; }
.legal-content ul, .legal-content ol { padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--blue); }
.notice { margin: 0 0 32px; padding: 20px 22px; border: 1px solid #d7e5f9; border-radius: 17px; background: #edf4fe; color: #40536e; line-height: 1.6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 15px; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
th, td { text-align: left; vertical-align: top; padding: 14px 13px; border-bottom: 1px solid var(--line); line-height: 1.55; }
tr:last-child td { border-bottom: 0; }
th { color: #27292d; background: #f4f4f2; }
td { color: #55575c; }
.code-note { white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12.5px; line-height: 1.65; background: #f3f3f1; border: 1px solid var(--line); border-radius: 14px; padding: 16px; overflow-x: auto; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .ai-window { max-width: 760px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card-featured { grid-column: 1 / -1; min-height: 330px; }
  .process-grid, .compliance-panel { grid-template-columns: 1fr; gap: 50px; }
  .process-intro { position: static; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .contact-panel { align-items: flex-start; flex-direction: column; }
  .legal-layout { grid-template-columns: 1fr; gap: 22px; }
  .legal-toc { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 64px; }
  .menu-button { display: block; }
  .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 66px; padding: 16px; background: rgba(255,255,255,.97); border: 1px solid rgba(0,0,0,.08); border-radius: 20px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.button) { padding: 12px; border-radius: 12px; }
  .hero { padding: 72px 0 72px; }
  .hero-copy-block h1 { font-size: clamp(54px, 16vw, 76px); }
  .hero-note { margin-top: 38px; }
  .ai-window { padding: 25px; border-radius: 27px; }
  .ai-window-top { display: grid; }
  .status-pill { justify-self: start; }
  .ai-window-bottom { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .service-grid, .policy-grid { grid-template-columns: 1fr; }
  .service-card-featured { grid-column: auto; }
  .service-card { min-height: 320px; padding: 25px; }
  .compliance-panel, .contact-panel { padding: 32px 24px; border-radius: 27px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .legal-hub-hero { padding-top: 70px; }
  .policy-card { min-height: 250px; grid-template-columns: 36px 1fr auto; padding: 24px; }
  .legal-hero { padding: 70px 0 34px; }
  .legal-hero h1 { font-size: clamp(50px, 14vw, 72px); }
  .legal-content { padding: 28px 22px; border-radius: 22px; }
  .legal-toc { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .legal-toc { display: none !important; }
  body { background: #fff; }
  .legal-main { padding: 0; }
  .legal-hero { padding: 20px 0; }
  .legal-content { box-shadow: none; border: 0; padding: 0; }
  .legal-layout { display: block; }
}
