/* Minimal fallback rules for every class in the shared contract.
 *
 * Always prepended to the model-generated stylesheet, which overrides it via the normal
 * later-wins cascade. This exists because the stylesheet and the pages are generated by
 * separate model calls, so the stylesheet can omit a contract class -- which used to fail
 * the whole build (a real business, find-dog, died on a missing `btn-primary`). With this
 * in place a missed rule degrades to plain-but-styled instead of destroying the build.
 *
 * Keep these deliberately neutral and low-specificity: they are a safety net, not a design.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.site-header { padding: 1rem 0; }
.header-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; }
.logo-text { font-weight: 700; }
.main-nav { display: block; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.nav-link { text-decoration: none; }
.nav-link:hover, .nav-link:focus { text-decoration: underline; }
.is-current { font-weight: 700; }

.hero, .page-hero { padding: 3rem 0; }
.hero-inner { display: flex; flex-direction: column; gap: 1rem; }
.hero-title { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
.hero-subtitle { margin: 0; font-size: 1.125rem; }

.section { padding: 3rem 0; }
.section-alt { padding: 3rem 0; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-intro { margin: 0 0 1.5rem; max-width: 60ch; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card { padding: 1.25rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.card-title { margin: 0 0 .5rem; font-size: 1.125rem; }
.card-text { margin: 0; }

.steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid currentColor; font-weight: 700; }
.step-title { margin: 0 0 .25rem; font-size: 1.05rem; }
.step-text { margin: 0; }

.faq-list { display: grid; gap: 1rem; margin: 0; padding: 0; }
.faq-item { padding: 1rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.faq-question { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.faq-answer { margin: 0; }

.cta-band { padding: 3rem 0; text-align: center; }
.cta-title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.cta-text { margin: 0 0 1.25rem; }

.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: .4rem; text-decoration: none;
  border: 1px solid currentColor; cursor: pointer; }
.btn:hover, .btn:focus { opacity: .85; }
.btn-primary { font-weight: 600; }
.btn-secondary { font-weight: 500; background: transparent; }

.contact-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.contact-item { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-label { font-weight: 600; }
.contact-value { }

.site-footer { padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.footer-col { }
.footer-title { margin: 0 0 .5rem; font-size: 1rem; }
.footer-note { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .step { flex-direction: column; }
}

/* ---- generated ---- */
:root {
  /* Colors */
  --bg-dark: #0a0a0a;
  --bg-light: #151515;
  --accent: #ff00ff; /* hot pink */
  --text-primary: #ffffff;
  --text-muted: #cccccc;
  --card-bg: #1e1e1e;
  --card-shadow: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.7);

  /* Spacing */
  --space-0: 0;
  --space-0-5: 0.25rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Typography */
  --font-base: system-ui, sans-serif;
}

/* Global reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 100%;
}
body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

/* Layout helpers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4) 0;
}

/* Header */
.site-header {
  background: var(--bg-light);
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
  text-decoration: none;
}
.main-nav {
}
.nav-list {
  list-style: none;
  display: flex;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.nav-link:hover,
.nav-link:focus {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}
.nav-link.is-current {
  color: var(--accent);
  background: rgba(255,255,255,0.1);
}

/* Hero */
.hero,
.page-hero {
  background: var(--bg-dark);
  color: var(--text-primary);
  padding: var(--space-6) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,0,255,0.15), transparent 70%);
  pointer-events: none;
}
.hero-inner,
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  font-size: calc(1.5rem + 2vw);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: var(--space-5) 0;
}
.section-alt {
  background: var(--bg-light);
}
.section-title {
  font-size: 2rem;
  margin-bottom: var(--space-2);
  text-align: center;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}
.section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto var(--space-4);
  text-align: center;
}

/* Cards */
.card-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--accent);
}
.card-text {
  font-size: 1rem;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Process steps */
.steps {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
}
.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.125rem;
}
.step-title {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text-primary);
}
.step-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-3) 0;
}
.faq-item:first-child {
  border-top: none;
}
.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
  cursor: pointer;
}
.faq-answer {
  margin-top: var(--space-1);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* CTA */
.cta-band {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: var(--space-5) 0;
}
.cta-title {
  font-size: 2rem;
  margin-bottom: var(--space-2);
}
.cta-text {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto var(--space-3);
  opacity: 0.9;
}

/* Buttons */
.btn,
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn {
  background: var(--bg-light);
  color: var(--text-primary);
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn:hover,
.btn:focus {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ff33ff;
}
.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255,0,255,0.1);
  color: #fff;
}

/* Contact details */
.contact-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
}
.contact-label {
  font-weight: 600;
  min-width: 80px;
  color: var(--text-muted);
}
.contact-value {
  color: var(--text-primary);
  word-break: break-all;
}

/* Footer */
.site-footer {
  background: var(--bg-light);
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-inner {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-col {
}
.footer-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
  color: var(--accent);
}
.footer-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Focus outlines */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .container {
    width: 95%;
  }
  .hero-title {
    font-size: calc(1.3rem + 2vw);
  }
}
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: var(--space-2);
    align-items: flex-start;
  }
  .main-nav {
    width: 100%;
  }
  .nav-list {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .nav-link {
    padding: var(--space-0-5) var(--space-1);
    font-size: 0.9rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .cta-title {
    font-size: 1.75rem;
  }
  .cta-text {
    font-size: 1.1rem;
  }
}
@media (max-width: 480px) {
  .logo-text {
    font-size: 1.25rem;
  }
  .nav-list {
    justify-content: center;
  }
  .nav-link {
    padding: var(--space-0-5) var(--space-1);
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .section-intro {
    font-size: 1rem;
  }
  .card {
    padding: var(--space-2);
  }
  .step-number {
    width: 2rem;
    height: 2rem;
    font-size: 1rem;
  }
  .step-title {
    font-size: 1.1rem;
  }
  .faq-question {
    font-size: 1rem;
  }
  .faq-answer {
    font-size: 0.9rem;
  }
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-text {
    font-size: 1rem;
  }
  .btn,
  .btn-primary,
  .btn-secondary {
    padding: var(--space-1) var(--space-2);
    font-size: 0.9rem;
  }
}