:root {
  --bg: #00100b;
  --bg-2: #0d2420;
  --bg-3: #122b26;
  --forest: #1c483b;
  --pine: #085946;
  --cream: #ede8dc;
  --ivory: #f5f1e8;
  --white: #ffffff;
  --muted: #8fa8a3;
  --slate: #66706d;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(237, 232, 220, 0.2);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font-display: "Epilogue", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background: var(--bg);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body,
button,
input {
  font: 400 15px/1.6 var(--font-sans);
}

a {
  color: inherit;
}

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

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 0 48px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 16, 11, 0.88);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
}

.brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(237, 232, 220, 0.14);
}

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

.nav-links a,
.footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 108px 48px 56px;
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  filter: brightness(0.38) saturate(0.8);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(0, 16, 11, 0.94) 0%, rgba(0, 16, 11, 0.76) 48%, rgba(0, 16, 11, 0.58) 100%),
    linear-gradient(180deg, rgba(0, 16, 11, 0.08) 0%, #00100b 100%);
}

.hero-inner {
  width: min(1160px, 100%);
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 58px;
  align-items: start;
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

.eyebrow,
.form-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  opacity: 0.76;
}

.eyebrow span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(237, 232, 220, 0.14);
}

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

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.06;
}

h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

h3 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.lede {
  max-width: 470px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.proof-list {
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof-list li {
  display: flex;
  gap: 10px;
  color: #b9c9c6;
  line-height: 1.55;
}

.proof-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(237, 232, 220, 0.06);
  box-shadow: inset 0 0 0 5px rgba(237, 232, 220, 0.18);
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 520px;
}

.step-row div,
.feature-grid article,
.voice-grid article {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(20px);
}

.step-row div {
  min-height: 82px;
  display: grid;
  gap: 3px;
  align-content: center;
  padding: 14px;
  border-radius: 14px;
}

.step-row strong,
.feature-grid article > span {
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  opacity: 0.82;
}

.step-row span {
  color: var(--muted);
  font-size: 12px;
}

.hero-note {
  max-width: 520px;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 89, 70, 0.16);
  backdrop-filter: blur(20px);
}

.hero-note span {
  color: var(--cream);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.76;
}

.hero-note p {
  max-width: 440px;
  color: #b9c9c6;
  font-size: 14px;
  line-height: 1.55;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.signup-card,
.chat-preview,
.billing-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.signup-card {
  display: grid;
  gap: 15px;
  padding: 28px;
}

.signup-head {
  display: grid;
  gap: 5px;
}

.signup-card h2 {
  font-size: 24px;
  line-height: 1.2;
}

.form-copy,
.status,
.feature-grid p,
.voice-grid p,
.photo-band p,
.footer p {
  color: var(--muted);
  line-height: 1.62;
}

.form-copy {
  font-size: 13px;
}

label {
  display: grid;
  gap: 6px;
  color: #d6d0c6;
  font-size: 12px;
  font-weight: 600;
}

label em {
  color: var(--slate);
  font-style: normal;
  font-weight: 400;
}

input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--cream);
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input::placeholder {
  color: rgba(143, 168, 163, 0.68);
}

input:focus {
  outline: none;
  border-color: rgba(237, 232, 220, 0.45);
  box-shadow: 0 0 0 3px rgba(237, 232, 220, 0.08);
}

.btn {
  min-height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--bg);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  background: var(--ivory);
}

.btn-telegram {
  color: var(--white);
  background: var(--pine);
  box-shadow: 0 14px 34px rgba(8, 89, 70, 0.35);
}

.btn-telegram:hover {
  background: var(--forest);
}

.btn-ghost {
  color: var(--cream);
  border-color: var(--line-strong);
  background: transparent;
}

.status {
  min-height: 22px;
  font-size: 12px;
}

.status.success {
  color: #8ee8ad;
}

.status.error {
  color: #ff8888;
}

.chat-preview {
  overflow: hidden;
}

.telegram-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: #17212b;
}

.avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--cream);
  background: linear-gradient(135deg, var(--forest), var(--pine));
  font-weight: 700;
}

.telegram-top strong,
.telegram-top span {
  display: block;
}

.telegram-top span {
  color: #7aa3b5;
  font-size: 11px;
}

.chat-screen {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 10px;
  background: #0e1621;
}

.day-label {
  color: #7aa3b5;
  font-size: 10px;
  text-align: center;
}

.bubble {
  max-width: 82%;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--white);
  font-size: 13px;
  line-height: 1.5;
}

.incoming {
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  background: #182533;
}

.outgoing {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: #2b5278;
}

.plan-card {
  max-width: 90%;
  padding: 11px 12px;
  border: 1px solid rgba(237, 232, 220, 0.12);
  border-radius: 12px;
  background: #182533;
}

.plan-card span {
  color: #7aa3b5;
  font-size: 9px;
  text-transform: uppercase;
}

.plan-card strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.plan-card p {
  margin-top: 4px;
  color: #7aa3b5;
  font-size: 12px;
  line-height: 1.5;
}

.section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr);
  gap: 34px 44px;
  align-items: end;
}

.section-grid > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.74;
}

.feature-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article,
.voice-grid article {
  display: grid;
  gap: 10px;
  min-height: 210px;
  align-content: start;
  padding: 22px;
  border-radius: 18px;
}

.feature-grid p,
.voice-grid p {
  font-size: 13px;
}

.voice-section {
  display: grid;
  gap: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.voice-section h2 {
  max-width: 720px;
}

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

.voice-grid article {
  min-height: 154px;
  border-color: var(--line-strong);
}

.photo-band {
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 72px 48px;
}

.photo-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  filter: brightness(0.36) saturate(0.76);
}

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 16, 11, 0.94) 0%, rgba(0, 16, 11, 0.64) 54%, rgba(0, 16, 11, 0.28) 100%);
}

.photo-band > div {
  width: min(1160px, 100%);
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 0 auto;
}

.photo-band h2,
.photo-band p {
  max-width: 560px;
}

.photo-band p {
  font-size: 16px;
}

.billing-card {
  width: min(640px, calc(100% - 48px));
  display: grid;
  gap: 16px;
  margin: 82px auto;
  padding: 26px;
}

.billing-card h2 {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
  font-size: 30px;
}

.billing-card h2 span {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 15px;
}

.billing-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 48px;
  border-top: 1px solid var(--line);
}

.footer > div {
  display: grid;
  gap: 6px;
}

.footer nav {
  display: flex;
  gap: 22px;
}

.footer p {
  font-size: 12px;
}

@media (max-width: 980px) {
  .site-nav,
  .hero,
  .photo-band,
  .footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    align-items: flex-start;
    padding-top: 106px;
  }

  .hero-inner,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    align-items: start;
  }

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

@media (max-width: 720px) {
  .site-nav {
    min-height: 62px;
  }

  .nav-links a:not(:last-child) {
    display: none;
  }

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

  .hero-inner,
  .hero-panel,
  .feature-grid,
  .voice-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .step-row,
  .billing-actions {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 36px, 1160px);
    padding: 62px 0;
  }

  .photo-band {
    min-height: 390px;
  }

  .billing-card {
    width: min(100% - 36px, 640px);
    margin: 62px auto;
  }

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