:root {
  --bg: #0b1120; --bg-2: #111a2e; --line: #1f2a44; --line-2: #2a3652;
  --fg: #e8edf5; --muted: #a3aec0; --dim: #7c8aa0; --placeholder: #566379;
  --sky: #0ea5e9; --sky-2: #38bdf8; --teal: #2dd4bf; --ink: #06101f;
  --grad: linear-gradient(90deg, var(--sky), var(--teal));
  --display: "Syne", "Arial Black", Arial, sans-serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, monospace;
  --gutter: clamp(24px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--fg); text-decoration: none; transition: color .15s; }
a:hover { color: var(--sky-2); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: var(--ink); padding: 8px 12px; border-radius: 4px; z-index: 100; }
.skip:focus { left: 8px; }

.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; font-size: clamp(40px, 7vw, 96px); }
.display-xl { font-size: clamp(40px, 10.4vw, 148px); line-height: 0.9; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; max-width: 620px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, opacity .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: var(--ink); }
.btn-primary:hover { color: var(--ink); opacity: .92; }
.btn-ghost { border-color: var(--line-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--sky-2); color: var(--fg); }
.btn-dark { background: var(--ink); color: var(--fg); }
.btn-dark:hover { color: var(--fg); }
.btn-sm { min-height: 42px; padding: 0 18px; }

.site-header { display: flex; justify-content: space-between; align-items: center; padding: 24px var(--gutter); position: relative; z-index: 3; }
.brand { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; gap: 36px; align-items: center; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"]:not(.btn) { color: var(--sky-2); }
.menu-toggle { display: none; background: none; border: 0; color: var(--fg); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 4px; }
.menu-toggle:hover { background: var(--bg-2); }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.contours { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line); opacity: .7; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(56px, 7vw, 80px); display: flex; flex-direction: column; gap: 24px; }
.hero-home .hero-inner { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(64px, 8vw, 120px); gap: clamp(32px, 4vw, 56px); }
.hero-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.hero-row .lead { grid-column: span 5; }
.hero-row .actions { grid-column: 9 / span 4; display: flex; gap: 12px; }
.hero-row .actions .btn { flex: 1; }

.section { padding: clamp(56px, 6vw, 88px) var(--gutter); }
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.split > .label { grid-column: span 3; }
.split > :not(.label) { grid-column: 4 / span 9; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: flex; flex-direction: column; }
.card .icon { color: var(--sky-2); display: flex; margin-bottom: 56px; }
.card h2 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.prose p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 720px; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 16px; }
.prose h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose ul { list-style: disc; padding-left: 22px; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 720px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--sky-2); }
.legal.prose { max-width: 860px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 48px; }
.value h2 { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; margin-bottom: 10px; display: inline-block; }
.value p { color: var(--muted); font-size: 16px; line-height: 1.6; }

.service { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; padding-bottom: 0; }
.service + .service { padding-top: 0; }
.service-intro { grid-column: span 5; display: flex; flex-direction: column; gap: 16px; }
.service-intro h2 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.02em; }
.service-intro p { color: var(--muted); line-height: 1.6; max-width: 420px; }
.service-list { grid-column: 7 / span 6; border-bottom: 1px solid var(--line); margin-bottom: clamp(56px, 6vw, 80px); }
.service-list li { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.service-list strong { font-weight: 600; font-size: 17px; }
.service-list span { color: var(--muted); font-size: 15px; line-height: 1.5; }
.cta { padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px); border-radius: 6px; background: linear-gradient(120deg, var(--sky), var(--teal)); color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; margin-bottom: 8px; }
.cta p { font-size: 17px; opacity: .85; }
.cta .btn { flex-shrink: 0; }

.contact-hero { border-bottom: 0; }
.contact-grid { position: relative; z-index: 2; padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(56px, 6vw, 80px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.contact-intro { grid-column: span 5; display: flex; flex-direction: column; gap: 20px; }
.contact-intro .lead { max-width: 400px; }
.contact-facts { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.fact { display: flex; gap: 16px; align-items: flex-start; }
.fact .icon { display: flex; margin-top: 2px; }
.icon-sky { color: var(--sky-2); } .icon-teal { color: var(--teal); }
.fact div { display: flex; flex-direction: column; gap: 4px; }
.fact strong { font-weight: 600; }
.fact a, .fact span:not(.icon) { color: var(--muted); }
.fact a:hover { color: var(--sky-2); }
.contact-form { grid-column: 7 / span 6; gap: 20px; padding: 40px; }
.contact-form h2 { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; padding: 12px 14px; min-height: 48px; width: 100%; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--sky-2); outline-offset: 0; border-color: transparent; }

.site-footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.footer-brand { grid-column: span 5; display: flex; flex-direction: column; gap: 10px; }
.footer-col { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--sky-2); }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.hero .display { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero .display { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 12px; border-bottom: 0; }
  .hero-row { display: flex; flex-direction: column; gap: 24px; }
  .hero-row .actions { flex-direction: column; }
  .hero-row .actions .btn { width: 100%; }
  .split { display: flex; flex-direction: column; gap: 20px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .card .icon { margin-bottom: 24px; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .service { display: flex; flex-direction: column; gap: 20px; }
  .service-list li { grid-template-columns: 1fr; gap: 6px; }
  .cta { flex-direction: column; align-items: flex-start; gap: 24px; }
  .contact-grid { display: flex; flex-direction: column; gap: 32px; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: span 3; margin-bottom: 8px; }
  .footer-col { grid-column: span 1; }
}
