@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --bg: #ffffff; --ink: #0b0b0c; --muted: #6e6e73; --line: #e8e8ed; --soft: #f5f5f7;
  --green: #1f9d6b;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 56px; display: flex; align-items: center;
       transition: background .4s var(--ease), color .4s var(--ease), backdrop-filter .4s; }
.nav .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav.solid { background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(20px); color: var(--ink); }
.nav.dark { color: #fff; }
.nav.dark.solid { background: rgba(10,10,12,.72); color: #fff; }
.brand { font-weight: 600; letter-spacing: .18em; font-size: 13px; text-transform: uppercase; }
.brand small { font-weight: 400; opacity: .55; margin-left: 6px; letter-spacing: .12em; }
.links { display: flex; gap: 26px; font-size: 13px; }
.links a { opacity: .75; transition: opacity .2s; }
.links a:hover, .links a[aria-current] { opacity: 1; }
@media (max-width: 760px) { .links { display: none; } }

/* Full-screen panels */
.panel { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
         justify-content: space-between; overflow: hidden; padding: 120px 0 56px; }
.panel .top { text-align: center; position: relative; z-index: 2; }
.panel .bottom { position: relative; z-index: 2; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.panel h1, .panel h2 { font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.panel h1 { font-size: clamp(40px, 7vw, 76px); }
.panel h2 { font-size: clamp(34px, 5.4vw, 58px); }
.panel .sub { margin-top: 14px; font-size: clamp(16px, 1.6vw, 19px); opacity: .72; }
.panel .bg { position: absolute; inset: 0; z-index: 0; }
.panel.dark { color: #fff; }

.btn { display: inline-block; min-width: 220px; text-align: center; padding: 11px 26px; border-radius: 6px;
       font-size: 14px; font-weight: 500; transition: transform .25s var(--ease), background .25s; }
.btn.solid { background: rgba(23,26,32,.85); color: #fff; }
.btn.ghost { background: rgba(23,26,32,.07); color: #171a20; backdrop-filter: blur(8px); }
.panel.dark .btn.solid { background: #fff; color: #0b0b0c; }
.panel.dark .btn.ghost { background: rgba(255,255,255,.12); color: #fff; }
.btn:hover { transform: translateY(-1px); }

/* Content sections */
.section { padding: 128px 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: clamp(28px, 4vw, 44px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; margin: 18px 0 20px; max-width: 20ch; }
.body { color: var(--muted); max-width: 58ch; font-size: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px; margin-top: 72px; }
.grid3 h3 { font-size: 20px; font-weight: 500; margin: 12px 0 6px; }
.grid3 p { color: var(--muted); font-size: 16px; }
.stat { font-size: clamp(36px, 4vw, 48px); font-weight: 300; letter-spacing: -.02em; }

/* Contact form — colors follow the page (light home, dark media) through currentColor and --muted. */
.contact-form { position: relative; max-width: 520px; margin: 0 auto; display: grid; gap: 18px; text-align: left; }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 13px; color: var(--muted); }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; color: inherit; background: transparent;
       border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: 6px; padding: 11px 14px;
       transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: currentColor; }
.contact-form textarea { resize: vertical; min-height: 132px; }
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .cf-turnstile { justify-self: center; }
.contact-form .btn { justify-self: center; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:disabled { opacity: .5; cursor: default; transform: none; }
.form-status { text-align: center; font-size: 15px; min-height: 1.6em; }
.form-status.error { color: #e5484d; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.darkpage footer { border-color: rgba(255,255,255,.1); color: rgba(255,255,255,.55); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
