@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-extrabold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0e0e10;
  --surface: #17171a;
  --surface-2: #1f1f23;
  --outline: #26262b;
  --text: #f2f2f0;
  --muted: #9a9aa2;
  --accent: #ff5a36;
  --accent-soft: rgba(255, 90, 54, 0.12);
  --success: #2fb36d;
  --error: #e5484d;
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --font: "Bricolage", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 14px; }
ul { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--outline);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--outline);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.18s ease, background 0.18s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: var(--surface-2);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--outline);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); background: #ff6d4d; }
.btn-ghost {
  background: var(--surface);
  border-color: var(--outline);
  color: var(--text);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 800;
}
h1 span { color: var(--accent); }
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.8vw, 19px);
  max-width: 52ch;
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

/* Phone mockup */
.phone {
  width: min(300px, 100%);
  margin: 0 auto;
  border: 1px solid var(--outline);
  border-radius: 30px;
  background: var(--surface);
  padding: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.phone-screen {
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--outline);
  overflow: hidden;
}
.phone-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 12px;
  border-bottom: 1px solid var(--outline);
}
.phone-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.phone-title { font-size: 12px; font-weight: 700; }
.phone-search {
  margin: 12px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--outline);
  background: var(--surface);
}
.phone-chips {
  display: flex;
  gap: 6px;
  padding: 0 12px;
}
.phone-chip {
  height: 22px;
  border-radius: 6px;
  background: var(--surface-2);
  flex: 1;
}
.phone-chip.active { background: var(--accent); }
.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px;
}
.poster {
  aspect-ratio: 2 / 3;
  border-radius: 7px;
  background: linear-gradient(160deg, #2a2a30, #1a1a1f);
  position: relative;
  overflow: hidden;
}
.poster::after {
  content: "";
  position: absolute;
  inset: auto 4px 4px 4px;
  height: 8px;
  border-radius: 3px;
  background: rgba(255, 90, 54, 0.55);
}
.poster:nth-child(3n)::after { background: rgba(255, 255, 255, 0.16); }
.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 8px;
  border-top: 1px solid var(--outline);
}
.phone-nav i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--surface-2);
}
.phone-nav i:first-child { background: var(--accent); }

.mockup-caption {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

/* Sections */
section { padding: 56px 0; }
.section-head {
  max-width: 620px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: #35353c;
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.feature-icon svg { width: 21px; height: 21px; }
.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* Showcase */
.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Legal cards */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.legal-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.legal-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}
.legal-card h3 { margin: 10px 0 6px; font-size: 16px; }
.legal-card p { margin: 0; color: var(--muted); font-size: 14px; }
.legal-card svg { width: 22px; height: 22px; color: var(--accent); }

/* CTA */
.cta-band {
  background: var(--accent);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.02em;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}
.cta-band .btn {
  background: #0e0e10;
  color: #fff;
  flex: none;
}
.cta-band .btn:hover { background: #000; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: var(--radius-sm);
  padding: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}
.contact-icon svg { width: 19px; height: 19px; }
.contact-card small {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}
.contact-card strong {
  font-size: 14.5px;
  word-break: break-word;
}

/* Footer */
footer {
  border-top: 1px solid var(--outline);
  padding: 36px 0 28px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 26px;
}
.footer-brand { display: flex; gap: 10px; align-items: flex-start; }
.footer-brand img { width: 38px; border-radius: 10px; }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.footer-col a {
  display: block;
  padding: 4px 0;
  color: var(--text);
  font-size: 14px;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--outline);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

/* Legal pages */
.page {
  padding: 44px 0 20px;
}
.page-head {
  max-width: 760px;
  margin-bottom: 26px;
}
.page-head h1 { font-size: clamp(30px, 4vw, 44px); }
.page-head p { color: var(--muted); }
.prose {
  max-width: 820px;
  color: #d9d9d6;
}
.prose h2 {
  margin: 30px 0 10px;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.prose h3 { margin: 20px 0 8px; font-size: 17px; }
.prose p, .prose li { font-size: 15.5px; color: #cfcfcb; }
.prose a { color: var(--accent); text-decoration: underline; }
.note {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.note p:last-child { margin-bottom: 0; }
.warning {
  border-left-color: var(--error);
}
.updated {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 12.5px;
  margin-bottom: 8px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 1000px) {
  .hero-grid { gap: 28px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid .footer-col:last-child { display: none; }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto;
    background: var(--bg);
    border-bottom: 1px solid var(--outline);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 18px;
    gap: 4px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; font-size: 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: grid; place-items: center; }
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero .phone { order: -1; width: min(280px, 80%); }
  .showcase { grid-template-columns: 1fr; }
  .showcase .phone { width: min(280px, 78%); }
  .steps, .legal-grid, .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid .footer-col:last-child { display: block; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  section { padding: 40px 0; }
  .hero-meta { gap: 10px 16px; }
  .container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
