/* =========================================
   Light theme design tokens
========================================= */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;

  --brand: #2563eb;
  --brand-600: #1d4ed8;

  --ok: #16a34a;

  --radius: 14px;
  --max: 960px;

  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, Inter, Arial,
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* =========================================
   Base
========================================= */
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: radial-gradient(
      1200px 640px at 12% -10%,
      rgba(37, 99, 235, 0.06),
      transparent 55%
    )
    var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
h1 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.02em;
  text-align: center;
}
h2 {
  font-size: clamp(18px, 2.2vw, 22px);
}
p {
  margin: 0 0 1rem;
}
.muted {
  color: var(--muted);
}

/* Links */
a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
/* Do NOT underline the brand link on hover/focus */
.brand,
.brand:hover,
.brand:focus,
.brand:focus-visible {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand) 65%, transparent);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================================
   Layout
========================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 24px;
}
.main {
  padding-top: 0;
}

/* Header / brand */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}
.brand-mark {
  width: clamp(96px, 14vw, 160px);
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}
.brand-text {
  font-weight: 900;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: 0.1px;
}
.badge {
  font-size: 14px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface-2);
}

/* =========================================
   Hero
========================================= */
.hero {
  text-align: center;
  padding: 28px 0 12px;
}
.pill {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: color-mix(in srgb, var(--brand) 70%, var(--text) 30%);
  background: var(--surface-2);
}
.lede {
  color: var(--muted);
  max-width: 720px;
  margin: 8px auto 24px;
}

/* =========================================
   Panels & lists
========================================= */
.split {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-top: 8px;
}
@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.kicker {
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 60%, var(--text) 40%);
  margin: 2px 0 8px;
}
.list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: color-mix(in srgb, var(--text) 90%, var(--muted) 10%);
}
.list li {
  display: flex;
  gap: 10px;
  margin: 8px 0;
}
.tick {
  color: var(--ok);
}

/* =========================================
   Form
========================================= */
.lead-form {
  display: grid;
  gap: 12px;
  max-width: 640px;
  margin: 16px auto 0;
}
.row.two-col {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  width: 100%;
}

.lead-form input[type='text'],
.lead-form input[type='email'],
.lead-form input[type='url'],
.lead-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}
.lead-form textarea {
  resize: vertical;
  min-height: 120px;
}
.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, var(--text) 25%);
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
  outline: none;
}

.actions {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

/* Honeypot */
.hp {
  position: absolute !important;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================
   Buttons (no shadows)
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand);
  border: 1px solid var(--brand-600);
  color: #fff;
  font-weight: 650;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.06s ease, filter 0.15s ease;
  cursor: pointer;
  min-width: 200px;
}
.btn:hover {
  filter: brightness(1.05);
}
.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--surface-2);
}

/* =========================================
   Contact block
========================================= */
.contact-card {
  margin-top: 26px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* =========================================
   Footer
========================================= */
.footer {
  opacity: 0.9;
  font-size: 14px;
  text-align: center;
  padding: 28px 0;
}
.footer a {
  color: color-mix(in srgb, var(--brand) 85%, var(--text) 15%);
}
.footer a:hover {
  text-decoration: underline;
}

/* =========================================
   Utilities & a11y
========================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.center {
  display: grid;
  place-items: center;
  min-height: 70vh;
}
@media (min-width: 1280px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}
