:root {
  color-scheme: light;
  --ink: #171612;
  --muted: #6f6a5f;
  --faint: #aaa292;
  --paper: #f7f0e4;
  --paper-strong: #fffaf1;
  --line: rgba(23, 22, 18, 0.14);
  --olive: #56624a;
  --olive-deep: #2e3929;
  --clay: #bb6f50;
  --gold: #d9ad62;
  --shadow: 0 24px 80px rgba(46, 57, 41, 0.16);
  --radius-lg: 28px;
  --radius-md: 18px;
  --max: 1120px;
}

@font-face {
  font-family: "Aspekta";
  src: url("./assets/fonts/Aspekta-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("./assets/fonts/Aspekta-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("./assets/fonts/Aspekta-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aspekta";
  src: url("./assets/fonts/Aspekta-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Aspekta", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(217, 173, 98, 0.28), transparent 30%),
    radial-gradient(circle at 84% 0%, rgba(86, 98, 74, 0.20), transparent 32%),
    linear-gradient(135deg, #f8efe0 0%, #efe3d1 52%, #f9f3ea 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 22, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 22, 18, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

a {
  color: inherit;
}

.site-header,
.site-footer,
main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
}

.brand,
.nav,
.footer-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper-strong);
  box-shadow: 0 10px 30px rgba(23, 22, 18, 0.18);
}

.nav,
.footer-links {
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.nav a,
.footer-links a {
  text-decoration: none;
}

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

.hero {
  position: relative;
  margin-top: 64px;
  padding: clamp(42px, 7vw, 88px);
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.88), rgba(247, 240, 228, 0.62)),
    radial-gradient(circle at 92% 18%, rgba(187, 111, 80, 0.16), transparent 34%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  border: 1px solid rgba(86, 98, 74, 0.24);
  box-shadow: inset 0 0 0 38px rgba(217, 173, 98, 0.12);
}

.app-hero {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.9), rgba(238, 226, 208, 0.66)),
    radial-gradient(circle at 88% 22%, rgba(86, 98, 74, 0.18), transparent 34%);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  font-size: clamp(48px, 9vw, 106px);
}

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

p {
  line-height: 1.65;
}

.hero-copy,
.support-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  background: var(--olive-deep);
  color: var(--paper-strong);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.58);
  color: var(--ink);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0;
}

.panel,
.support-hero,
.legal-page {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 241, 0.66);
  box-shadow: 0 14px 50px rgba(46, 57, 41, 0.08);
}

.panel {
  padding: 28px;
}

.panel-number {
  display: inline-block;
  margin-bottom: 34px;
  font-size: 12px;
  font-weight: 800;
  color: var(--olive);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel h2 {
  font-size: 30px;
}

.panel p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.support-page {
  margin-top: 64px;
}

.support-hero {
  padding: clamp(34px, 7vw, 70px);
}

.legal-page {
  max-width: 860px;
  margin-top: 64px;
  margin-bottom: 70px;
  padding: clamp(30px, 7vw, 70px);
}

.legal-page section {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-page h1 {
  font-size: clamp(44px, 7vw, 76px);
}

.legal-page h2 {
  font-size: 28px;
}

.updated {
  color: var(--faint);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    flex-wrap: wrap;
  }

  .hero {
    margin-top: 28px;
    border-radius: 30px;
  }

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