:root {
  --ink: #0A0A0A; --paper: #FFFFFF; --soft: #F8FAFC; --muted: #475569;
  --subtle: #94A3B8; --divider: #E2E8F0; --cyan: #06B6D4; --cyan-d: #0891B2;
  --danger: #E11D48;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; }
body::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 32mm; height: 32mm;
  background: var(--cyan);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  pointer-events: none;
}
main { flex: 1; display: flex; align-items: center; padding: 80px 24px 40px; }
.container { max-width: 720px; margin: 0 auto; width: 100%; padding: 0 8px; }
.logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  margin-bottom: 16px;
}
.logo-mark { width: 44px; height: 44px; }
.logo-word { font-size: 1.75rem; font-weight: 900; letter-spacing: -0.025em; }
.tag {
  display: inline-block; width: fit-content;
  background: var(--ink); color: var(--cyan);
  padding: 6px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; margin: 8px 0 28px;
}
.tag::after { content: '  /'; color: var(--cyan); }
h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  color: var(--ink); margin: 0 0 16px;
}
.lede {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--muted); line-height: 1.6;
  max-width: 60ch; margin: 0 0 14px;
}
.small { font-size: 0.9rem; color: var(--subtle); margin: 0 0 36px; letter-spacing: 0.02em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px; border: 1px solid var(--ink);
  font-weight: 700; font-size: 0.96rem; letter-spacing: -0.01em;
  cursor: pointer; font-family: inherit;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary .arrow, .btn-primary .submit-arrow { color: var(--cyan); font-weight: 900; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost .arrow { color: var(--ink); font-weight: 900; }

footer { padding: 24px; border-top: 1px solid var(--divider); }
.footer-inner { display: flex; flex-direction: column; gap: 4px; font-size: 0.84rem; color: var(--subtle); line-height: 1.6; }
.footer-inner .name { color: var(--ink); font-weight: 700; letter-spacing: -0.01em; font-size: 0.92rem; }
.footer-inner a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Sheet (dialog) ---- */
.sheet {
  border: none; padding: 0; background: var(--paper);
  border-radius: 18px 18px 0 0;
  width: 100%; max-width: 560px; margin: auto auto 0; height: auto;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  animation: sheetIn 240ms cubic-bezier(0.32, 0.72, 0, 1);
}
@media (min-width: 720px) { .sheet { border-radius: 18px; margin: auto; } }
.sheet::backdrop { background: rgba(15, 23, 42, 0.55); animation: backdropIn 240ms ease; }
@keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes backdropIn { from { opacity: 0; } to { opacity: 1; } }
.sheet-inner { padding: 24px 22px 22px; }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 12px; }
.sheet-eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.18em; color: var(--cyan); background: var(--ink); padding: 4px 10px; border-radius: 999px; display: inline-block; margin-bottom: 8px; }
.sheet-head h2 { font-size: 1.4rem; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.sheet-close {
  background: var(--soft); border: 1px solid var(--divider);
  width: 36px; height: 36px; border-radius: 999px;
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted);
  font-family: inherit; flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .label { font-size: 0.84rem; color: var(--muted); font-weight: 600; }
.contact-form .label em { color: var(--cyan); font-style: normal; font-weight: 900; }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 0.96rem; padding: 11px 12px;
  border-radius: 12px; border: 1px solid var(--divider); background: var(--paper); color: var(--ink);
  outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}
.turnstile-wrap { display: flex; justify-content: center; min-height: 65px; }
.sheet-actions { display: flex; justify-content: flex-end; margin-top: 8px; }
.step-body { font-size: 1rem; color: var(--muted); }
.muted { color: var(--muted); }
.step-body .sheet-actions { margin-top: 18px; }
