:root {
  color-scheme: light;
  --ink: oklch(17% 0.025 250);
  --muted: oklch(40% 0.035 240);
  --surface: oklch(98% 0.01 95);
  --soft: oklch(94% 0.018 95);
  --line: oklch(82% 0.025 95);
  --yellow: oklch(84% 0.16 85);
  --red: oklch(58% 0.18 28);
  --teal: oklch(58% 0.12 190);
  --green: oklch(50% 0.13 145);
  --night: oklch(22% 0.045 255);
  --night-2: oklch(28% 0.055 250);
  --paper: oklch(99% 0.012 95);
  --shadow: 0 24px 60px oklch(14% 0.03 250 / 0.18);
  --radius: 8px;
  font-family: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--surface);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 3vw, 2rem);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 80%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.language-toolbar,
.launch-strip,
.hero-band {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  text-decoration: none;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  background:
    linear-gradient(90deg, var(--yellow) 0 33%, var(--teal) 33% 66%, var(--red) 66% 100%);
  box-shadow: inset 0 0 0 1px oklch(10% 0.02 250 / 0.2);
}

.nav-links {
  gap: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--muted);
}

.nav-links a,
.nav-action {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-action {
  padding: 0.58rem 0.82rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--night);
  color: var(--paper);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, oklch(10% 0.04 250 / 0.78), oklch(18% 0.04 250 / 0.52) 45%, oklch(18% 0.04 250 / 0.15)),
    linear-gradient(0deg, oklch(10% 0.03 250 / 0.8), transparent 45%);
}

.hero-content {
  position: relative;
  width: min(1020px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(2rem, 5vh, 3.5rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--red);
  font-family: "Archivo", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3 {
  font-family: "Archivo", sans-serif;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  max-width: 13.5ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.1rem);
  font-weight: 800;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.hero-copy {
  max-width: 56ch;
  margin: 1.3rem 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.45;
  color: oklch(94% 0.01 95);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), background 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  transform: translateY(-1px);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  background: var(--yellow);
  color: var(--ink);
}

.button-secondary {
  background: oklch(96% 0.01 95 / 0.12);
  border-color: oklch(96% 0.01 95 / 0.42);
  color: var(--paper);
}

.guide-panel .button-secondary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.button-light {
  background: var(--paper);
  color: var(--night);
}

.hero-band {
  position: relative;
  width: min(1020px, calc(100% - 2rem));
  margin: 0 auto 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-band span {
  padding: 0.5rem 0.75rem;
  background: oklch(96% 0.02 95 / 0.16);
  border: 1px solid oklch(96% 0.01 95 / 0.22);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.launch-strip {
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: var(--yellow);
  color: var(--ink);
}

.launch-strip div {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.launch-strip a {
  font-weight: 800;
  white-space: nowrap;
}

.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
}

.section-intro {
  max-width: 820px;
  margin: 0 0 2rem;
}

.section-intro p,
.split-copy p,
.business-copy p {
  max-width: 65ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.55;
}

.language-toolbar {
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
}

.language-tab {
  min-height: 2.5rem;
  padding: 0.48rem 0.76rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.language-tab.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.guide-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guide-main h3 {
  font-size: clamp(2rem, 5vw, 4.2rem);
  max-width: 12ch;
}

.guide-main p {
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.55;
}

.guide-checklist {
  display: grid;
  gap: 0.7rem;
  margin: 1.3rem 0;
  padding: 0;
  list-style: none;
}

.guide-checklist li {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.6rem;
  align-items: start;
  color: var(--ink);
  font-weight: 700;
}

.guide-checklist li::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  margin-top: 0.38rem;
  background: var(--teal);
}

.guide-side {
  display: grid;
  gap: 0.9rem;
}

.side-block {
  padding: 1rem;
  background: var(--soft);
  border-radius: var(--radius);
}

.side-block span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.side-block strong {
  display: block;
  margin-top: 0.35rem;
  font-family: "Archivo", sans-serif;
  font-size: 1.2rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  background: var(--ink);
  color: var(--paper);
}

.split-section .eyebrow {
  color: var(--yellow);
}

.split-copy p {
  color: oklch(89% 0.02 95);
}

.match-list {
  display: grid;
  gap: 0.7rem;
}

.match-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1rem;
  background: oklch(96% 0.01 95 / 0.08);
  border: 1px solid oklch(96% 0.01 95 / 0.16);
  border-radius: var(--radius);
}

.match-date {
  font-family: "Archivo", sans-serif;
  color: var(--yellow);
  font-weight: 800;
}

.match-card strong {
  display: block;
  font-size: 1.1rem;
}

.match-card span {
  color: oklch(88% 0.01 95);
}

.business-categories {
  background: var(--soft);
}

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

.category-card {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.category-card span {
  color: var(--red);
  font-weight: 800;
}

.category-card p {
  color: var(--muted);
  line-height: 1.45;
}

.language-pills {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.language-pills li {
  padding: 0.25rem 0.45rem;
  background: var(--soft);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.business-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  min-height: 760px;
  background: var(--night);
  color: var(--paper);
}

.business-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.business-copy {
  align-self: center;
  padding: clamp(2rem, 6vw, 5rem);
}

.business-copy .eyebrow {
  color: var(--yellow);
}

.business-copy p {
  color: oklch(88% 0.015 95);
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.package-card {
  padding: 1rem;
  background: oklch(96% 0.01 95 / 0.08);
  border: 1px solid oklch(96% 0.01 95 / 0.16);
  border-radius: var(--radius);
}

.package-card.featured {
  background: var(--yellow);
  color: var(--ink);
}

.package-card span {
  display: block;
  font-weight: 800;
  color: var(--teal);
}

.package-card.featured span,
.package-card.featured p {
  color: var(--ink);
}

.package-card h3 {
  margin: 0.4rem 0;
  font-size: 2rem;
}

.package-card p {
  margin: 0;
  font-size: 0.98rem;
}

.forms-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lead-form h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 800;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus,
.language-tab:focus-visible,
.button:focus-visible,
.nav-action:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--yellow) 70%, transparent);
  outline-offset: 3px;
}

.dark-form {
  background: var(--ink);
  color: var(--paper);
}

.dark-form .eyebrow {
  color: var(--yellow);
}

.dark-form label,
.dark-form .form-note {
  color: oklch(88% 0.015 95);
}

.form-note {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: grid;
  gap: 0.4rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  background: var(--ink);
  color: oklch(86% 0.015 95);
  font-size: 0.92rem;
}

.site-footer p {
  max-width: 92ch;
  margin: 0;
}

.site-footer a {
  color: var(--yellow);
}

.legal-page {
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.legal-page h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 6.1rem);
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.legal-page p {
  max-width: 72ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

[dir="rtl"] {
  text-align: right;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .guide-panel,
  .split-section,
  .business-section,
  .forms-section {
    grid-template-columns: 1fr;
  }

  .business-section {
    min-height: 0;
  }

  .business-image {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-action {
    display: none;
  }

  .hero-content {
    width: calc(100% - 1.2rem);
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.8rem);
  }

  .launch-strip,
  .hero-band {
    align-items: flex-start;
  }

  .launch-strip {
    flex-direction: column;
  }

  .match-card {
    grid-template-columns: 1fr;
  }
}

@media print {
  body[data-print="guide"] .site-header,
  body[data-print="guide"] .hero,
  body[data-print="guide"] .launch-strip,
  body[data-print="guide"] #matches,
  body[data-print="guide"] .business-categories,
  body[data-print="guide"] .business-section,
  body[data-print="guide"] .forms-section,
  body[data-print="guide"] .site-footer,
  body[data-print="guide"] .section-intro,
  body[data-print="guide"] .language-toolbar {
    display: none !important;
  }

  body[data-print="guide"] .guide-section {
    padding: 0;
  }

  body[data-print="guide"] .guide-panel {
    display: block;
    border: 0;
    box-shadow: none;
  }

  .button {
    display: none;
  }
}
