:root {
  --brand: #4b5563;
  --bg: #ffffff;
  --surface: #f6f6f6;
  --text: #222222;
  --muted: #6b6b6b;
  --border: #e5e5e5;
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f10;
    --surface: #151515;
    --text: #e5e5e5;
    --muted: #a1a1aa;
    --border: #262626;
    --shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg), transparent 0%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(140%) blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}
.brand .logo { color: var(--brand); }
.brand-text { letter-spacing: 0.2px; }

.site-nav { display: none; gap: 1rem; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}
.site-nav a:hover { color: var(--text); background: var(--surface); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); }

@media (min-width: 860px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}

.site-nav.open { display: flex; position: absolute; top: 64px; right: 1rem; flex-direction: column; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 0.5rem; box-shadow: var(--shadow); }

.hero {
  position: relative;
  padding: 4rem 0 2rem;
  background: radial-gradient(1200px 600px at 80% -10%, color-mix(in oklab, var(--brand), transparent 70%), transparent),
              linear-gradient(180deg, color-mix(in oklab, var(--surface), transparent 40%), transparent 30%);
}
.hero-inner { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1.1fr; }
.hero-copy h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 0.75rem; }
.hero-copy p { margin: 0 0 1.25rem; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-media { position: relative; height: 280px; }
.hero-card {
  position: absolute; right: 0; left: 0; margin: 0 auto; top: 0;
  width: min(520px, 90%);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 1rem;
  animation: float 8s ease-in-out infinite;
}
.hc-row { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 0.5rem; border-bottom: 1px dashed var(--border); }
.hc-row:last-child { border-bottom: 0; }
.hc-row .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand), transparent 80%); }
.glow { position: absolute; inset: auto 0 -40px; height: 120px; filter: blur(32px); background: radial-gradient(closest-side, color-mix(in oklab, var(--brand), transparent 30%), transparent); opacity: 0.6; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero { padding: 5rem 0 3rem; }
  .hero-media { height: 360px; }
}

.section { padding: 3rem 0; }
.section.alt { background: var(--surface); }
.section-title { margin: 0 0 1.25rem; font-size: clamp(22px, 3vw, 32px); }
.lead { color: var(--muted); margin-top: -0.25rem; margin-bottom: 1.5rem; }

.grid { display: grid; gap: 1rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1rem;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { margin: 0 0 0.75rem; color: var(--muted); }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }

.split { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: start; }
.panel { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 1rem; box-shadow: var(--shadow); }
.panel-header { font-weight: 600; margin-bottom: 0.75rem; }
.flow { margin: 0; padding-left: 1.25rem; }
.checklist { margin: 0.75rem 0 0; padding-left: 1.1rem; }

@media (min-width: 980px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
}

.contact { grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .contact { grid-template-columns: 1.1fr 0.9fr; }
}

.form .form-row { display: grid; gap: 0.4rem; margin-bottom: 0.85rem; }
.form label { font-weight: 600; font-size: 0.95rem; }
.form input, .form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  outline: none;
}
.form input:focus, .form textarea:focus { border-color: color-mix(in oklab, var(--brand), var(--border) 40%); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand), transparent 85%); }
.form-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.form-hint { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.9rem; }
.form-status { margin-top: 0.75rem; min-height: 1.2rem; font-weight: 600; }

.info .contact-list { list-style: none; margin: 0; padding: 0; }
.info .contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px dashed var(--border); }
.info .contact-list li:last-child { border-bottom: 0; }
.info a { color: var(--brand); text-decoration: none; }
.info a:hover { text-decoration: underline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0 1rem; min-height: 44px; border-radius: 12px; border: 1px solid var(--border); cursor: pointer; text-decoration: none; font-weight: 600; font-family: inherit; font-size: 0.95rem; line-height: 1; white-space: nowrap; }
button.btn { appearance: none; -webkit-appearance: none; background: none; border: 1px solid var(--border); }
a.btn { text-decoration: none; }
.btn-primary { background: var(--brand); color: white; border-color: color-mix(in oklab, var(--brand), black 10%); box-shadow: 0 6px 16px color-mix(in oklab, var(--brand), transparent 75%); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--surface); }

.site-footer { border-top: 1px solid var(--border); padding: 1rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.to-top { color: var(--muted); text-decoration: none; border: 1px solid var(--border); padding: 0.25rem 0.5rem; border-radius: 8px; }
.to-top:hover { color: var(--text); background: var(--surface); } 