@font-face {
  font-family: "Conthrax";
  src: url("assets/fonts/conthrax-sb.ttf") format("truetype");
  font-display: swap;
}

:root {
  --mint: #e0f2e9;
  --sage: #a3bbad;
  --red: #960200;
  --red-dark: #6f0100;
  --ink: #061817;
  --ink-2: #0a2422;
  --panel: rgba(224, 242, 233, 0.075);
  --panel-strong: rgba(224, 242, 233, 0.12);
  --line: rgba(224, 242, 233, 0.18);
  --text: #f5fffa;
  --muted: #b9cbc2;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 70% 12%, rgba(224, 242, 233, 0.16), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(150, 2, 0, 0.2), transparent 32%),
    linear-gradient(145deg, #031211 0%, #092725 48%, #061817 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(224, 242, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(224, 242, 233, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  opacity: 0.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 18, 17, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Conthrax", Arial, sans-serif;
  letter-spacing: 0;
  font-size: 21px;
  color: var(--mint);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(224, 242, 233, 0.18), 0 14px 34px rgba(0, 0, 0, 0.32);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--mint);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(224, 242, 233, 0.08);
  color: var(--mint);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-open .nav-toggle span {
  opacity: 0;
}

.nav-open .nav-toggle::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle::after {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 190px);
  padding: 70px 0 34px;
  background: #031211;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("assets/images/hero-stadium.png");
  background-size: cover;
  background-position: center bottom;
  opacity: 0.78;
  transform: scale(1.015);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 17, 0.86) 0%, rgba(3, 18, 17, 0.52) 40%, rgba(3, 18, 17, 0.2) 72%),
    linear-gradient(to bottom, rgba(3, 18, 17, 0.2), rgba(3, 18, 17, 0.2) 68%, rgba(3, 18, 17, 0.94) 100%);
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: 58px;
  align-items: center;
}

.hero-copy h1,
.section-title,
.legal-title {
  margin: 0;
  font-family: "Conthrax", Arial, sans-serif;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 690px;
  font-size: 76px;
  line-height: 1.02;
  color: var(--mint);
}

.hero-copy h1 span,
.section-title span,
.legal-title span {
  color: var(--sage);
}

.hero-copy p {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 900;
  font-size: 15px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 16px 34px rgba(150, 2, 0, 0.28);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--red-dark);
}

.button-secondary {
  background: rgba(224, 242, 233, 0.08);
  border-color: var(--line);
  color: var(--mint);
}

.phone-stage {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.phone-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 242, 233, 0.19), transparent 64%);
  filter: blur(4px);
}

.phone-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 40px;
  width: 430px;
  height: 82px;
  border: 1px solid rgba(224, 242, 233, 0.14);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(224, 242, 233, 0.16), rgba(3, 18, 17, 0.48) 52%, transparent 72%);
  filter: blur(1px);
}

.phone {
  position: relative;
  z-index: 2;
  width: min(292px, 72vw);
  max-height: min(620px, calc(100vh - 120px));
  aspect-ratio: 9 / 19.5;
  border: 9px solid #071412;
  border-radius: 38px;
  background: #071412;
  box-shadow: var(--shadow), 0 0 0 1px rgba(224, 242, 233, 0.18);
  overflow: hidden;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: contain;
  object-position: top center;
}

.section {
  padding: 92px 0;
}

#features {
  padding-top: 56px;
}

.section-muted {
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-title {
  font-size: 48px;
  line-height: 1.1;
}

.section-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.work-panel,
.legal-card,
.delete-card,
.cta-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.feature-card {
  min-height: 250px;
  padding: 24px;
}

.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(224, 242, 233, 0.12);
  color: var(--mint);
  margin-bottom: 24px;
}

.feature-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
}

.feature-card h3,
.work-panel h3,
.delete-card h3 {
  margin: 0;
  color: var(--mint);
  font-size: 20px;
}

.feature-card p,
.work-panel p,
.delete-card p,
.delete-card li {
  color: var(--muted);
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 36px;
  align-items: center;
}

.app-preview {
  min-height: 560px;
  display: grid;
  place-items: center;
}

.work-list {
  display: grid;
  gap: 18px;
}

.work-panel {
  padding: 26px;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
}

.work-number {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: white;
  font-family: "Conthrax", Arial, sans-serif;
}

.cta-panel {
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(224, 242, 233, 0.13), rgba(150, 2, 0, 0.16)),
    var(--panel);
}

.cta-panel h2 {
  margin: 0;
  font-family: "Conthrax", Arial, sans-serif;
  font-size: 44px;
  color: var(--mint);
}

.cta-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  padding: 56px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: start;
}

.footer-grid p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--mint);
  font-weight: 800;
}

.copyright {
  margin-top: 34px;
  color: rgba(224, 242, 233, 0.62);
  font-size: 14px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  color: white;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.legal-main,
.delete-main {
  padding: 76px 0 96px;
}

.legal-title {
  font-size: 60px;
  line-height: 1.1;
  color: var(--mint);
}

.updated {
  color: var(--muted);
  margin: 16px 0 34px;
}

.legal-stack {
  display: grid;
  gap: 22px;
}

.legal-card,
.delete-card {
  padding: 30px;
}

.legal-card h2 {
  margin: 0 0 16px;
  color: var(--mint);
  font-size: 24px;
}

.legal-card h3 {
  margin: 24px 0 10px;
  color: var(--mint);
  font-size: 18px;
}

.legal-card p,
.legal-card li {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

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

.legal-card li + li {
  margin-top: 10px;
}

.legal-card p + p {
  margin-top: 14px;
}

.legal-card strong {
  color: var(--mint);
}

.delete-layout {
  max-width: 850px;
}

.warning-panel {
  border: 1px solid rgba(150, 2, 0, 0.55);
  background: rgba(150, 2, 0, 0.18);
  border-radius: 8px;
  padding: 22px;
  margin-bottom: 28px;
}

.warning-panel h3 {
  color: #ffb8b8;
}

.form-grid {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--mint);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  font: inherit;
}

.check-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.check-row input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-message {
  min-height: 24px;
  color: var(--mint);
  font-weight: 800;
}

.delete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.faq {
  margin-top: 24px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.faq summary {
  color: var(--mint);
  cursor: pointer;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero-grid,
  .work-grid,
  .cta-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    min-height: auto;
  }

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

  .hero-copy h1 {
    font-size: 58px;
  }

  .section-title,
  .legal-title {
    font-size: 42px;
  }

  .cta-panel h2 {
    font-size: 38px;
  }
}

@media (max-width: 760px) {
  .nav-shell,
  .container {
    width: min(100% - 32px, var(--max));
    margin-left: 16px;
    margin-right: 16px;
  }

  .nav-shell {
    max-width: 358px;
  }

  .nav-shell {
    min-height: 74px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(3, 18, 17, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-open .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    padding: 13px 8px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    gap: 36px;
  }

  .hero-copy,
  .hero-actions {
    max-width: 358px;
  }

  .hero-copy p,
  .section-copy,
  .cta-panel p {
    font-size: 16px;
  }

  .hero-copy h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-copy h1 span {
    display: block;
  }

  .section-title,
  .legal-title,
  .cta-panel h2 {
    font-size: 30px;
    line-height: 1.18;
  }

  .hero-actions,
  .cta-actions,
  .delete-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .section {
    padding: 68px 0;
  }

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

  .cta-panel,
  .legal-card,
  .delete-card {
    padding: 24px;
  }

  .footer-links {
    display: grid;
  }
}
