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

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

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

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

:root {
  --primary: #f97316;
  --secondary: #0ea5e9;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --background: #fffbf7;
  --surface: #ffffff;
  --text: #1c1917;
  --muted: #57534e;
  --soft: #78716c;
  --border: #e7e5e4;
  --shadow: 0 18px 50px rgba(120, 113, 108, 0.14);
  --shadow-soft: 0 10px 30px rgba(120, 113, 108, 0.1);
  --radius: 16px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font-family: "Nunito", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 30rem),
    linear-gradient(180deg, rgba(14, 165, 233, 0.08), transparent 24rem);
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(231, 229, 228, 0.84);
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 40px);
  max-width: var(--max-width);
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  background: rgba(249, 115, 22, 0.1);
}

.nav-links a:active {
  transform: scale(0.96);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0;
}

.lead {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.action-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 13px 20px;
  background: linear-gradient(135deg, #f97316, #fb923c, #fbbf24);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(249, 115, 22, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.28);
}

.button:active {
  transform: scale(0.96);
}

.button.secondary {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.2);
}

.phone-stage {
  display: grid;
  justify-items: center;
  padding: 18px;
}

.phone-frame {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 420 / 760;
  padding: 12px;
  border-radius: 42px;
  background: #1c1917;
  box-shadow: var(--shadow);
}

.phone-frame::before {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 82px;
  height: 20px;
  border-radius: 0 0 14px 14px;
  background: #1c1917;
  content: "";
  transform: translateX(-50%);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  object-fit: cover;
  object-position: top center;
}

.section {
  padding: 56px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

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

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

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-width: 0;
  border: 1px solid rgba(231, 229, 228, 0.82);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card.accent {
  border-color: rgba(249, 115, 22, 0.22);
  background: linear-gradient(180deg, #ffffff, #fff7ed);
}

.card.sky {
  border-color: rgba(14, 165, 233, 0.22);
  background: linear-gradient(180deg, #ffffff, #f0f9ff);
}

.card h3 {
  margin-bottom: 10px;
}

.card p,
.card li {
  color: var(--muted);
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.link-card {
  display: flex;
  min-height: 158px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.36);
  box-shadow: var(--shadow);
}

.link-card:active {
  transform: scale(0.98);
}

.arrow {
  color: var(--primary);
  font-weight: 700;
}

.page-hero {
  max-width: 860px;
  padding: 66px 0 34px;
}

.page-hero h1 {
  max-width: 13ch;
}

.page-hero .lead {
  max-width: 790px;
}

.content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 72px;
}

.prose-card {
  border: 1px solid rgba(231, 229, 228, 0.86);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.prose-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.prose-card h3 {
  margin: 24px 0 8px;
}

.prose-card p + p,
.prose-card p + ul,
.prose-card ul + p {
  margin-top: 14px;
}

.prose-card ul,
.prose-card ol {
  margin: 12px 0 0;
  padding-left: 1.15rem;
}

.prose-card li {
  margin: 8px 0;
  color: var(--muted);
}

.notice {
  border-left: 5px solid var(--primary);
  background: #fff7ed;
}

.sky-note {
  border-left: 5px solid var(--secondary);
  background: #f0f9ff;
}

.danger-note {
  border-left: 5px solid var(--danger);
  background: #fff1f2;
}

.kicker {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.mono {
  font-family: "DM Mono", monospace;
  font-size: 0.95em;
}

.site-footer {
  border-top: 1px solid rgba(231, 229, 228, 0.84);
  padding: 28px 0;
  color: var(--muted);
}

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

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 112px;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  h1 {
    max-width: 12ch;
  }

  .phone-stage {
    padding-top: 0;
  }

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

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container,
  .nav {
    width: calc(100% - 28px);
  }

  .nav-links a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .hero,
  .section,
  .page-hero {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .action-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card,
  .prose-card {
    padding: 20px;
  }
}
