:root {
  --iphone17pro-width-mm: 71.9;
  --iphone17pro-height-mm: 150;
  --iphone17pro-base-width: calc(var(--iphone17pro-width-mm) * 1mm);
  --iphone17pro-base-height: calc(var(--iphone17pro-height-mm) * 1mm);
  --iphone17pro-ratio: calc(var(--iphone17pro-width-mm) / var(--iphone17pro-height-mm));
  --shell-max: clamp(1240px, 90vw, 1680px);
  --phone-scale: clamp(0.92, 0.72 + 0.022vw, 1.16);
  --chat-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --bg: #dce7fb;
  --bg-strong: #b8ccef;
  --surface: rgba(240, 246, 255, 0.9);
  --surface-strong: #edf4ff;
  --line: rgba(18, 44, 91, 0.18);
  --text: #0a1f45;
  --muted: #425f8d;
  --brand: #1b57d9;
  --brand-dark: #123d9f;
  --accent: #149eb6;
  --shadow: 0 22px 58px rgba(15, 43, 94, 0.2);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max-width: 1180px;
}

:root[data-theme="dark"] {
  --bg: #081227;
  --bg-strong: #122548;
  --surface: rgba(13, 27, 53, 0.82);
  --surface-strong: rgba(18, 35, 68, 0.92);
  --line: rgba(129, 170, 255, 0.16);
  --text: #e9f1ff;
  --muted: #a9bedf;
  --brand: #6ea4ff;
  --brand-dark: #a9c6ff;
  --accent: #7bdad9;
  --shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 87, 217, 0.28), transparent 28%),
    radial-gradient(circle at top right, rgba(20, 158, 182, 0.18), transparent 24%),
    linear-gradient(180deg, #dfe9fb 0%, #c8d8f5 100%);
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(70, 118, 255, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(26, 148, 176, 0.16), transparent 24%),
    linear-gradient(180deg, #091427 0%, #0f1d37 58%, #132749 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 33, 63, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 33, 63, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 88%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--shell-max));
  margin: 0 auto;
  padding: 10px 0 48px;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(239, 245, 255, 0.74);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(15, 43, 94, 0.1);
  transition:
    padding 220ms ease,
    transform 220ms ease,
    opacity 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    backdrop-filter 220ms ease;
}

:root[data-theme="dark"] .site-header {
  background: rgba(9, 20, 40, 0.74);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

body.header-condensed .site-header {
  padding: 8px 12px;
  box-shadow: 0 10px 24px rgba(15, 43, 94, 0.08);
}

body.home-route .site-header {
  position: fixed;
  left: 50%;
  top: 10px;
  width: min(calc(100% - 32px), var(--shell-max));
  transform: translateX(-50%);
}

body.home-route.header-hidden .site-header {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -135%);
}

body.header-floating .site-header {
  position: sticky;
  top: 10px;
  background: rgba(239, 245, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  opacity: 1;
  pointer-events: auto;
}

body.home-route.header-floating .site-header {
  position: fixed;
  transform: translate(-50%, 0);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  min-width: 38px;
  max-width: 38px;
  height: 38px;
  min-height: 38px;
  max-height: 38px;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  background: linear-gradient(135deg, rgba(94, 219, 227, 0.16), rgba(27, 95, 213, 0.18));
  box-shadow: 0 8px 18px rgba(18, 61, 159, 0.16);
}

.brand-mark img {
  display: block;
  width: 38px !important;
  min-width: 38px;
  max-width: 38px;
  height: 38px !important;
  min-height: 38px;
  max-height: 38px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 1.02rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.15;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: 180ms ease;
}

.theme-toggle {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.theme-toggle-track {
  position: relative;
  display: block;
  width: 72px;
  height: 38px;
  border: 1px solid rgba(27, 87, 217, 0.16);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(228, 239, 255, 0.96), rgba(243, 247, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.theme-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd365, #ffb942);
  box-shadow: 0 8px 14px rgba(255, 185, 66, 0.24);
  transition: transform 260ms ease, background 260ms ease, box-shadow 260ms ease;
}

.theme-icon {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}

.theme-icon::before,
.theme-icon::after {
  content: "";
  position: absolute;
}

.theme-icon-sun {
  left: 9px;
}

.theme-icon-sun::before {
  inset: 3px;
  border-radius: 50%;
  background: rgba(255, 193, 64, 0.38);
}

.theme-icon-sun::after {
  inset: 0;
  border: 2px solid rgba(255, 193, 64, 0.38);
  border-radius: 50%;
}

.theme-icon-moon {
  right: 10px;
}

.theme-icon-moon::before {
  inset: 2px 2px 2px 5px;
  border-radius: 50%;
  background: rgba(89, 113, 161, 0.46);
}

.theme-icon-moon::after {
  top: 2px;
  left: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(228, 237, 255, 0.9);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-track {
  background: linear-gradient(135deg, rgba(24, 41, 78, 0.98), rgba(10, 20, 39, 0.96));
  border-color: rgba(129, 170, 255, 0.18);
}

.theme-toggle[data-theme-state="dark"] .theme-toggle-thumb {
  transform: translateX(34px);
  background: linear-gradient(135deg, #dfe8ff, #9fbfff);
  box-shadow: 0 8px 14px rgba(68, 105, 181, 0.24);
}

.theme-toggle[data-theme-state="dark"] .theme-icon-sun::before,
.theme-toggle[data-theme-state="dark"] .theme-icon-sun::after {
  opacity: 0.2;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(27, 87, 217, 0.14);
  color: var(--brand-dark);
}

#app {
  padding-top: 12px;
}

body.home-route #app {
  padding-top: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: start;
  gap: clamp(18px, 2vw, 42px);
  min-height: calc(100vh - 20px);
  padding: clamp(18px, 2vw, 34px) clamp(28px, 2.4vw, 42px) 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(242, 247, 255, 0.98), rgba(199, 217, 247, 0.94));
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .hero {
  background: linear-gradient(145deg, rgba(10, 23, 47, 0.94), rgba(17, 34, 63, 0.92));
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 87, 217, 0.34), transparent 68%);
}

.hero-copy,
.hero-panel,
.section-card,
.auth-card,
.metric-card,
.feature-card,
.audience-card,
.timeline-card,
.faq-item,
.dashboard-preview {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(27, 87, 217, 0.24);
  color: var(--brand-dark);
  background: rgba(27, 87, 217, 0.11);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero h1,
.page-title h1 {
  margin: 18px 0 14px;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero p,
.page-title p,
.section-copy p,
.feature-card p,
.auth-intro p,
.faq-answer,
.footer-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy p {
  max-width: 62ch;
}

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

.hero-compact-card {
  padding: 14px 14px 15px;
  border: 1px solid rgba(18, 44, 91, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(231, 239, 252, 0.94));
  box-shadow: 0 12px 30px rgba(15, 43, 94, 0.08);
}

.hero-compact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.hero-compact-card small {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

:root[data-theme="dark"] .hero-compact-card {
  background: linear-gradient(180deg, rgba(14, 31, 60, 0.96), rgba(12, 27, 50, 0.94));
  border-color: rgba(129, 170, 255, 0.14);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

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

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  color: #f7fbff;
  background: linear-gradient(135deg, #123d9f, #1f67f2);
  box-shadow: 0 20px 38px rgba(18, 61, 159, 0.28);
}

.button-secondary {
  color: var(--brand-dark);
  border-color: rgba(27, 87, 217, 0.24);
  background: rgba(237, 244, 255, 0.92);
}

:root[data-theme="dark"] .button-secondary {
  background: rgba(19, 37, 72, 0.92);
  border-color: rgba(129, 170, 255, 0.24);
  color: #dbe7ff;
}

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

.hero-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  justify-items: center;
  padding-top: 0;
}

.telegram-preview {
  display: grid;
  justify-items: center;
  width: 100%;
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, calc(var(--iphone17pro-base-width) * var(--phone-scale)));
  min-height: calc(var(--iphone17pro-base-height) * var(--phone-scale));
  padding: 0;
  justify-self: center;
  transform: translate(clamp(10px, 1.5vw, 28px), 2px);
}

.phone-glow {
  position: absolute;
  inset: 34px 28px 26px;
  border-radius: 56px;
  background:
    radial-gradient(circle at center, rgba(27, 87, 217, 0.28), rgba(27, 87, 217, 0)),
    radial-gradient(circle at top, rgba(255, 255, 255, 0.32), transparent 44%);
  filter: blur(30px);
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: var(--iphone17pro-base-width);
  max-width: none;
  height: var(--iphone17pro-base-height);
  aspect-ratio: var(--iphone17pro-ratio);
  padding: 8px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(52, 60, 74, 1) 0%, rgba(21, 25, 34, 1) 100%);
  box-shadow:
    0 28px 62px rgba(7, 18, 43, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -2px 0 rgba(255, 255, 255, 0.04);
  transform: scale(var(--phone-scale));
  transform-origin: top center;
}

.phone-frame::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 37px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.phone-side-button {
  position: absolute;
  left: -3px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(96, 106, 124, 0.95), rgba(43, 49, 62, 0.98));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone-side-button-top {
  top: 102px;
  height: 32px;
}

.phone-side-button-mid {
  top: 150px;
  height: 56px;
}

.phone-side-button-low {
  top: 218px;
  height: 56px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #06090f;
  z-index: 3;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}

.telegram-screen {
  display: grid;
  grid-template-rows: 18px auto minmax(0, 1fr) auto;
  overflow: hidden;
  height: 100%;
  border-radius: 32px;
  font-family: var(--chat-font);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 24%),
    linear-gradient(180deg, rgba(191, 219, 171, 0.95), rgba(174, 210, 149, 0.96));
}

.phone-statusbar {
  height: 18px;
}

.telegram-topbar {
  display: grid;
  grid-template-columns: 20px 1fr 20px;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px 8px;
  background: rgba(245, 249, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 44, 91, 0.08);
  color: #17315f;
}

.telegram-back,
.telegram-menu {
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2d63c8;
}

.telegram-profile {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telegram-profile img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: block;
}

.telegram-profile strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.telegram-profile small {
  color: #7b8fae;
  font-size: 0.64rem;
}

.telegram-chat {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 0;
  max-height: none;
  height: 100%;
  padding: 10px 10px 12px;
  overflow: auto;
  background:
    linear-gradient(rgba(174, 205, 143, 0.12), rgba(174, 205, 143, 0.12)),
    url("telegram-chat-wallpaper.jpeg?v=1");
  background-size: cover;
  background-position: center;
}

.telegram-date {
  justify-self: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(225, 239, 242, 0.9);
  color: #69899c;
  font-size: 0.58rem;
  font-weight: 600;
}

.bubble {
  width: fit-content;
  max-width: 92%;
  padding: 8px 10px 9px;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(16, 44, 95, 0.06);
}

.bubble small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.6rem;
  font-weight: 600;
}

.bubble p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.48;
  color: #213754;
}

.bubble-bot {
  border-bottom-left-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
}

.bubble-user {
  margin-left: auto;
  border-bottom-right-radius: 8px;
  background: linear-gradient(135deg, rgba(230, 245, 190, 0.96), rgba(219, 239, 178, 0.96));
}

.bubble-user small,
.bubble-user p {
  color: #4c6840;
}

.bubble-command {
  min-width: 68px;
  padding-bottom: 8px;
}

.bubble-dynamic {
  border: 1px solid rgba(20, 158, 182, 0.08);
}

.bubble-meta {
  display: block;
  margin-top: 4px;
  text-align: right;
  color: #8aa0b5;
  font-size: 0.54rem;
  line-height: 1;
}

.telegram-inline-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.telegram-inline-button,
.telegram-tool-button {
  padding: 7px 8px;
  border: 0;
  border-radius: 7px;
  color: #f4f8ff;
  background: linear-gradient(135deg, rgba(142, 123, 51, 0.92), rgba(125, 108, 42, 0.94));
  text-align: center;
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(60, 53, 18, 0.12);
}

.telegram-inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.telegram-tool-button {
  color: #344d78;
  background: rgba(247, 250, 255, 0.92);
  box-shadow: none;
}

.telegram-tool-button.is-active {
  color: #f6faff;
  background: linear-gradient(135deg, rgba(18, 61, 159, 0.96), rgba(31, 103, 242, 0.94));
}

.telegram-inputbar {
  display: grid;
  grid-template-columns: 20px 1fr 28px;
  align-items: center;
  gap: 8px;
  padding: 10px 10px 14px;
  background: rgba(240, 246, 249, 0.96);
}

.telegram-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  color: #6f88ad;
  background: transparent;
}

.telegram-command {
  display: flex;
  align-items: center;
  min-height: 33px;
  padding: 0 12px;
  border: 1px solid rgba(18, 44, 91, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: #8a9db4;
  font-size: 0.66rem;
}

.telegram-send-button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #f7fbff;
  background: linear-gradient(135deg, rgba(28, 107, 221, 0.96), rgba(18, 61, 159, 0.98));
  box-shadow: 0 6px 14px rgba(25, 78, 171, 0.2);
}

.dashboard-preview,
.highlight-box,
.section-card,
.auth-card,
.feature-card,
.metric-card,
.audience-card,
.timeline-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.dashboard-preview {
  padding: 24px;
  background: linear-gradient(180deg, rgba(244, 248, 255, 0.98), rgba(224, 234, 251, 0.96));
}

.preview-header,
.preview-row,
.metric-grid,
.feature-grid,
.audience-grid,
.timeline-grid,
.faq-grid {
  display: grid;
  gap: 16px;
}

.preview-header {
  grid-template-columns: repeat(3, 1fr);
}

.preview-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 158, 182, 0.16);
  color: #0a6b7d;
  font-weight: 700;
  font-size: 0.88rem;
}

.preview-row {
  grid-template-columns: 1fr 1fr;
}

.preview-card {
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(220, 232, 252, 0.96));
}

.preview-card strong,
.metric-card strong,
.timeline-card strong {
  display: block;
  font-size: 1.02rem;
}

.preview-card small,
.metric-card small {
  color: var(--muted);
}

.highlight-box {
  padding: 20px;
  background: linear-gradient(180deg, rgba(237, 244, 255, 0.96), rgba(214, 227, 248, 0.95));
}

.section-stack {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.section-card {
  padding: 28px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2,
.auth-intro h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.04em;
}

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

.metric-card,
.feature-card,
.audience-card,
.timeline-card,
.faq-item {
  padding: 22px;
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(221, 232, 250, 0.95));
}

.metric-card span,
.audience-card span,
.timeline-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-weight: 700;
}

.metric-card strong {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
}

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

.feature-card h3,
.audience-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

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

.timeline-card {
  background: linear-gradient(180deg, rgba(241, 246, 255, 0.98), rgba(205, 221, 247, 0.96));
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(11, 39, 107, 0.98), rgba(27, 87, 217, 0.96));
  color: #f7fbff;
}

.cta-band p {
  margin: 8px 0 0;
  color: rgba(247, 251, 255, 0.8);
}

.cta-band .button-secondary {
  color: #f7fbff;
  border-color: rgba(247, 251, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.auth-card {
  padding: 30px;
}

.auth-intro {
  display: grid;
  gap: 18px;
}

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

.check-list li,
.status-list li {
  display: flex;
  gap: 10px;
  align-items: start;
  color: var(--muted);
}

.check-list li::before,
.status-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: 800;
}

.auth-form {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
  font-size: 0.95rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(18, 44, 91, 0.18);
  border-radius: 16px;
  color: var(--text);
  background: rgba(245, 249, 255, 0.96);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(27, 87, 217, 0.5);
  box-shadow: 0 0 0 4px rgba(27, 87, 217, 0.16);
}

.helper-text {
  color: var(--muted);
  font-size: 0.92rem;
}

.status-box {
  padding: 16px 18px;
  border-radius: 16px;
  font-weight: 600;
}

.status-box.success {
  color: #0f5872;
  background: rgba(34, 184, 207, 0.12);
  border: 1px solid rgba(34, 184, 207, 0.18);
}

.status-box.error {
  color: #9b3151;
  background: rgba(214, 71, 123, 0.1);
  border: 1px solid rgba(214, 71, 123, 0.18);
}

.auth-footer {
  color: var(--muted);
}

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

.footer-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.94rem;
}

.fade-in {
  animation: rise 460ms ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  :root {
    --phone-scale: 0.9;
  }

  .hero,
  .auth-layout,
  .metric-grid,
  .feature-grid,
  .audience-grid,
  .timeline-grid,
  .faq-grid,
  .hero-compact-grid {
    grid-template-columns: 1fr;
  }

  .preview-row,
  .field-grid,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header {
    border-radius: 28px;
    padding: 12px 14px;
  }

  body.home-route .site-header {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .site-header,
  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .header-tools {
    width: 100%;
    justify-content: space-between;
  }

  .phone-stage {
    transform: translateY(-4px);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  :root {
    --phone-scale: 0.78;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max-width));
    padding-top: 10px;
  }

  .site-header {
    position: static;
  }

  .brand-copy small {
    display: none;
  }

  .header-tools {
    gap: 10px;
  }

  .hero,
  .section-card,
  .auth-card {
    padding: 20px;
  }

  .hero h1,
  .page-title h1 {
    font-size: 2.4rem;
  }
}
