:root {
  color-scheme: light;
  --bg: #f6f4f1;
  --bg-alt: #ece7e0;
  --ink: #1f1f1f;
  --muted: #5b5751;
  --accent: #d94c1a;
  --card: rgba(255, 255, 255, 0.82);
  --border: rgba(31, 31, 31, 0.12);
  --shadow: 0 30px 60px rgba(31, 31, 31, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fbe9dc, transparent 60%),
    radial-gradient(circle at 30% 40%, #e6f3ff, transparent 55%),
    linear-gradient(160deg, var(--bg), var(--bg-alt));
  min-height: 100vh;
}

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 40px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 72px;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s ease;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 88px;
}

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.credibility {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.credibility span {
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  background: white;
  font-size: 0.85rem;
  color: var(--muted);
}

.primary,
.ghost {
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 18px 40px rgba(217, 76, 26, 0.35);
}

.ghost {
  border: 1px solid var(--border);
  color: var(--ink);
  background: white;
}

.primary:hover,
.ghost:hover {
  transform: translateY(-2px);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 26px 28px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.card-label {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--muted);
  margin: 0 0 16px;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.section {
  margin-bottom: 72px;
}

.section-title h2 {
  margin: 0 0 24px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid article {
  background: white;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(31, 31, 31, 0.08);
}

.grid h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.grid p {
  margin: 0;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-row span {
  border: 1px solid var(--border);
  padding: 10px 16px;
  border-radius: 999px;
  background: white;
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.timeline div {
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
}

.timeline h3 {
  margin: 0 0 8px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: center;
}

.contact-card {
  background: white;
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-card a {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 8px;
}

.small {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.legal-page .site-header {
  margin-bottom: 48px;
}

.legal h1 {
  margin-top: 0;
}

.legal section {
  margin-top: 28px;
}

.reveal {
  animation: fadeUp 0.9s ease both;
}

.reveal:nth-of-type(2) {
  animation-delay: 0.12s;
}

.reveal:nth-of-type(3) {
  animation-delay: 0.22s;
}

.reveal:nth-of-type(4) {
  animation-delay: 0.32s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

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