@font-face {
  font-family: "Outfit";
  src: url("assets/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0a0a21;
  --navy: #171943;
  --panel: #050821;
  --raised: #202342;
  --soft: #ccc9e8;
  --muted: #9f9abf;
  --white: #ffffff;
  --green: #40e085;
  --red: #ff4a4f;
  --yellow: #f2cf05;
  --line: rgba(204, 201, 232, 0.18);
  --strong-line: rgba(204, 201, 232, 0.32);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 4%, rgba(64, 224, 133, 0.13), transparent 28%),
    radial-gradient(circle at 86% 26%, rgba(255, 74, 79, 0.12), transparent 22%),
    linear-gradient(145deg, var(--ink), var(--navy) 52%, var(--ink));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(132deg, transparent 0 58%, rgba(64, 224, 133, 0.34) 58.4% 60%, transparent 60.4%),
    linear-gradient(148deg, transparent 0 68%, rgba(255, 74, 79, 0.32) 68.4% 69.7%, transparent 70.1%);
  opacity: 0.34;
  pointer-events: none;
}

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

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.25rem, 8vw, 6.9rem);
  line-height: 0.88;
  font-weight: 850;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 830;
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 2.3vw, 1.72rem);
  line-height: 1.08;
  font-weight: 820;
}

p {
  margin-bottom: 0;
  color: var(--soft);
  font-size: 1.08rem;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px clamp(18px, 5vw, 74px);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 33, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.2rem;
  font-weight: 850;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--soft);
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--green);
}

main {
  overflow: hidden;
}

section {
  padding: clamp(58px, 9vw, 112px) clamp(20px, 6vw, 92px);
}

.hero {
  min-height: 88vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(330px, 0.72fr);
  gap: clamp(30px, 7vw, 86px);
  align-items: center;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 650px;
  color: var(--white);
  font-size: clamp(1.25rem, 2.5vw, 1.72rem);
  line-height: 1.38;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 820;
}

.button-primary {
  color: var(--panel);
  background: var(--white);
}

.button-secondary {
  border: 1px solid var(--strong-line);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 600px;
}

.phone {
  position: absolute;
  width: min(66%, 360px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.phone-left {
  left: 0;
  top: 92px;
  transform: rotate(-7deg);
  opacity: 0.88;
}

.phone-main {
  right: 0;
  top: 0;
  width: min(76%, 430px);
  transform: rotate(3deg);
}

.story-section,
.developer-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.story-grid,
.legal-grid,
.feature-grid,
.privacy-list {
  display: grid;
  gap: 14px;
}

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

.panel,
.feature,
.legal-panel,
.privacy-list article,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(32, 35, 66, 0.74);
}

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

.number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--panel);
  background: var(--green);
  font-weight: 900;
}

.number.danger {
  background: var(--red);
}

.features-section,
.privacy-section {
  background: rgba(5, 8, 33, 0.58);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 34px;
}

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

.feature {
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--panel);
  font-weight: 900;
  background: var(--green);
}

.feature-icon.danger {
  background: var(--red);
}

.feature-icon.timer {
  background: var(--yellow);
}

.support-section {
  padding-block: clamp(48px, 7vw, 78px);
}

.support-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(32, 35, 66, 0.92), rgba(5, 8, 33, 0.88)),
    rgba(32, 35, 66, 0.74);
}

.support-card p {
  max-width: 760px;
}

.support-email {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  color: var(--panel);
  background: var(--green);
  font-weight: 850;
  white-space: nowrap;
}

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

.legal-panel {
  padding: 24px;
}

.legal-panel.warning {
  border-color: rgba(255, 74, 79, 0.48);
  background: linear-gradient(135deg, rgba(255, 74, 79, 0.14), rgba(32, 35, 66, 0.74));
}

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

.privacy-list article {
  padding: 24px;
}

.developer-section {
  border-bottom: 1px solid var(--line);
}

.developer-section p {
  align-self: center;
  max-width: 720px;
  color: var(--white);
  font-size: clamp(1.22rem, 2.2vw, 1.62rem);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(20px, 6vw, 92px);
  background: var(--panel);
}

.footer-brand img {
  width: 34px;
  height: 34px;
}

.site-footer p {
  max-width: 650px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: right;
}

@media (max-width: 1040px) {
  .hero,
  .story-section,
  .developer-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
    max-width: 650px;
  }

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  section {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.05rem, 17vw, 4.5rem);
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .phone {
    width: 62%;
    border-radius: 24px;
  }

  .phone-main {
    width: 72%;
  }

  .phone-left {
    top: 72px;
  }

  .story-grid,
  .feature-grid,
  .legal-grid,
  .privacy-list,
  .support-card {
    grid-template-columns: 1fr;
  }

  .support-email {
    justify-self: start;
  }

  .site-footer {
    display: grid;
  }

  .site-footer p {
    text-align: left;
  }
}
