/* Typeface */
@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Display";
  src: url("../fonts/SFProDisplay-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

/* Design tokens */
:root {
  --color-bg: #08080a;
  --color-surface: #15151a;
  --color-surface-raised: #111114;
  --color-line: rgba(255, 255, 255, 0.08);
  --color-text: #f4f4f5;
  --color-muted: #a1a1aa;
  --color-subtle: #71717a;
  --color-accent: #e2323f;
  --color-accent-deep: #9e0e1f;
  --color-accent-soft: #ff6b74;
  --gradient-accent: linear-gradient(135deg, #9e0e1f 0%, #d4202f 50%, #f0646e 100%);

  --font-sans: "SF Pro Display", -apple-system, system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --container: 1080px;
  --container-narrow: 760px;
  --gutter: 32px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

/* Ambient glow behind the page */
body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  z-index: -1;
  height: 80vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(226, 50, 63, 0.22), transparent 65%);
  pointer-events: none;
}

/* Layout */
.container {
  width: min(100% - var(--gutter), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - var(--gutter), var(--container-narrow));
}

.text-center {
  text-align: center;
}

.section {
  padding: 88px 0;
}

.section--flush-top {
  padding-top: 24px;
}

.section-head {
  margin-bottom: 44px;
}

.section-head p {
  margin-top: 14px;
  color: var(--color-muted);
}

/* Typography */
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  margin-top: 26px;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.gradient-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  max-width: 640px;
  margin: 22px auto 0;
  color: var(--color-muted);
  font-size: clamp(17px, 2vw, 20px);
}

.lede strong {
  color: var(--color-text);
}

/* Site header and footer */
.site-header {
  display: flex;
  justify-content: center;
  padding-top: 32px;
}

.site-header__logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(226, 50, 63, 0.35));
}

.site-footer {
  padding: 44px 0 56px;
  border-top: 1px solid var(--color-line);
  color: var(--color-subtle);
  font-size: 13px;
  text-align: center;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer__brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.site-footer p + p {
  margin-top: 8px;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero__guarantee {
  display: block;
  margin-top: 1.1em;
  font-size: 0.5em;
  letter-spacing: -0.01em;
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 40px 0 24px;
  }

  .site-header {
    padding-top: 24px;
  }

  .site-header__logo img {
    width: 54px;
    height: 54px;
  }
}
