:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef6ff;
  --text: #172033;
  --muted: #637083;
  --line: #d9e2ef;
  --primary: #1463ff;
  --primary-dark: #0a43b8;
  --accent: #00a88f;
  --warning: #ffb020;
  --shadow: 0 18px 50px rgba(20, 38, 70, 0.12);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 226, 239, 0.8);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 650;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(20, 99, 255, 0.08);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius);
  padding: 9px 11px;
  font: inherit;
  font-weight: 750;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(20, 99, 255, 0.22);
}

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

.button.secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(20, 99, 255, 0.16), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(0, 168, 143, 0.12);
  color: #087b6b;
  font-weight: 800;
  font-size: 0.9rem;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 18px;
}

.hero p,
.page-hero p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.16rem;
  margin-bottom: 28px;
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.phone-stage {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(100%, 350px);
  border-radius: 34px;
  padding: 14px;
  background: #121827;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 610px;
  border-radius: 24px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(20, 99, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #eaf2ff 100%);
  overflow: hidden;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.app-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 850;
}

.app-mark img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.timer-card {
  background: var(--surface);
  border: 1px solid rgba(217, 226, 239, 0.9);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 14px 35px rgba(20, 38, 70, 0.12);
}

.phase {
  color: var(--primary);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.time {
  margin: 10px 0;
  font-size: 4rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.progress {
  height: 10px;
  background: #e6edf8;
  border-radius: 999px;
  overflow: hidden;
}

.progress span {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: inherit;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.mini-stats div {
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.mini-stats strong {
  display: block;
  font-size: 1.1rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.demo-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.demo-controls button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: #eef4ff;
  color: var(--primary);
  font-weight: 850;
  cursor: pointer;
}

.demo-controls button:first-child {
  background: var(--primary);
  color: #fff;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: #ffffff;
}

.section-head {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: 0 10px 26px rgba(20, 38, 70, 0.06);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

.icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: var(--primary);
  background: rgba(20, 99, 255, 0.1);
  font-weight: 900;
}

.preset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.preset strong {
  display: block;
}

.preset span {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.check {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(0, 168, 143, 0.14);
  color: #087b6b;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.cta {
  border-radius: var(--radius);
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(20, 99, 255, 0.94), rgba(0, 168, 143, 0.94)),
    #1463ff;
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
}

.cta .button {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}

.page-hero {
  padding: 64px 0 46px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.page-hero.compact h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.toc a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
}

.toc a:hover {
  background: rgba(20, 99, 255, 0.08);
  color: var(--primary);
}

.legal-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 34px;
}

.legal-copy h2 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--text);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  margin-top: 12px;
  color: #087b6b;
  font-weight: 750;
}

.site-footer {
  padding: 34px 0;
  background: #101827;
  color: #d6deea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer a {
  color: #d6deea;
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.small {
  color: #aab6c7;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .legal-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .phone-screen {
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding-top: 46px;
  }

  .section {
    padding: 52px 0;
  }

  .cta,
  .legal-copy {
    padding: 24px;
  }

  .preset {
    align-items: flex-start;
    flex-direction: column;
  }
}
