/* Tokens adapted from @horizon/design (Tourouter theme, themes.css). */
:root {
  --background: hsl(210 44% 4%);
  --surface: hsl(223 20% 7%);
  --surface-raised: hsl(223 18% 11%);
  --foreground: hsl(0 0% 98%);
  --foreground-muted: hsl(12 7% 71%);
  --foreground-subtle: hsl(330 1% 49%);
  --border: hsl(180 1% 25%);
  --accent: hsl(0 99% 48%);
  --accent-start: hsl(359 99% 46%);
  --accent-end: hsl(11 100% 58%);
  --radius: 0.625rem;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--foreground);
  text-decoration-color: var(--accent-end);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-end);
}

/* Header */
.site-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand:hover {
  color: var(--foreground);
}

.brand .dot {
  color: var(--accent-end);
}

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

.site-nav a {
  color: var(--foreground-muted);
  text-decoration: none;
}

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

/* Hero */
.hero {
  padding: 88px 0 64px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.hero h1 .accent {
  background: linear-gradient(100deg, var(--accent-start), var(--accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--foreground-muted);
  max-width: 56ch;
  margin: 0;
}

/* Sections */
section {
  padding: 40px 0;
}

.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-end);
  margin: 0 0 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

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

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--foreground-muted);
}

.product {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.product img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 14px;
}

.product h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
}

.product p {
  margin: 0;
  font-size: 15px;
  color: var(--foreground-muted);
}

/* Contact */
.contact p {
  color: var(--foreground-muted);
  margin: 0;
  font-size: 16px;
}

/* Footer */
.site-footer {
  margin-top: 56px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--foreground-subtle);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

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

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

/* Legal pages */
.legal {
  padding: 56px 0 24px;
}

.legal h1 {
  font-size: 32px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--foreground-subtle);
  font-size: 14px;
  margin: 0 0 32px;
}

.legal h2 {
  font-size: 21px;
  margin: 40px 0 12px;
}

.legal h3 {
  font-size: 17px;
  margin: 28px 0 10px;
}

.legal p,
.legal li {
  color: var(--foreground-muted);
  font-size: 15px;
  line-height: 1.65;
}

.legal ul {
  padding-left: 22px;
}

.legal li {
  margin-bottom: 6px;
}

@media (max-width: 560px) {
  .hero {
    padding: 56px 0 40px;
  }

  .product {
    flex-direction: column;
  }
}
