:root {
  --bg: #0b0f14;
  --bg-alt: #111820;
  --surface: #161d27;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8edf4;
  --muted: #9aa8bc;
  --accent: #3ecf8e;
  --accent-dim: #2a9d68;
  --accent-glow: rgba(62, 207, 142, 0.15);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --radius: 14px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo:hover { text-decoration: none; }

/* Source PNG is wide (cube cluster left, empty black right) — crop to cluster only */
.logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
}

.logo-mark img {
  display: block;
  height: 48px;
  width: 200px;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

.logo-wordmark {
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.site-header nav a:hover { color: var(--text); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.hero {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(ellipse at 30% 20%, var(--accent-glow), transparent 60%),
              radial-gradient(ellipse at 80% 10%, rgba(100, 140, 255, 0.08), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 18ch;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-offer {
  color: var(--muted);
  font-size: 1rem;
  max-width: 52ch;
  margin: 0 0 1.25rem;
}

.hero-offer strong { color: var(--text); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.hero-stats li {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: #041208;
}

.btn-primary:hover { background: #4ee09f; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover { border-color: var(--muted); }

.btn-small { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.section {
  padding: 4rem 1.5rem;
  max-width: var(--max);
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-alt .split {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2,
.split h2,
.section-contact h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.section-head p { color: var(--muted); margin: 0; max-width: 50ch; }

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

.split p { color: var(--muted); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.highlight-box {
  background: var(--surface);
  border: 1px solid rgba(62, 207, 142, 0.25);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  box-shadow: 0 0 60px var(--accent-glow);
}

.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.highlight-box h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.price span {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--muted);
}

.offer-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 1rem;
}

.offer-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.offer-points li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.92rem;
}

.offer-points li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.faq {
  display: grid;
  gap: 0.5rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.25rem 1.25rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 0;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.lang-toggle:hover { color: var(--text); border-color: var(--muted); }

.apply-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.apply-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field span {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field small {
  color: var(--muted);
  font-size: 0.8rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.form-field textarea { resize: vertical; min-height: 96px; }

.form-field-full { grid-column: 1 / -1; }

.hidden { display: none; }

.section-contact {
  text-align: center;
  padding-bottom: 5rem;
}

.section-contact p { color: var(--muted); margin-bottom: 1.5rem; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer nav { display: flex; gap: 1rem; }
.site-footer a { color: var(--muted); }

.legal-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
}

.legal-page p, .legal-page li {
  color: var(--muted);
  font-size: 0.95rem;
}

.success-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-page h1 {
  font-family: var(--serif);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 860px) {
  .form-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .menu-toggle { display: flex; }
  .site-header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  .site-header nav.open { display: flex; }
}
