:root {
  --bg: #0a0f16;
  --bg-soft: #101926;
  --panel: rgba(12, 17, 27, 0.78);
  --panel-strong: #101726;
  --text: #f2f4f8;
  --muted: #93a2b7;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #72f2c9;
  --accent-2: #2f7bff;
  --accent-3: #ffb44d;
  --accent-red: #ff314f;
  --danger: #ff6b7a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 32px));
  --header-top-offset: 16px;
  --anchor-offset: 40px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(47, 123, 255, 0.24), transparent 24%),
    radial-gradient(circle at 82% 8%, rgba(255, 49, 79, 0.1), transparent 16%),
    radial-gradient(circle at 85% 15%, rgba(114, 242, 201, 0.16), transparent 18%),
    linear-gradient(180deg, #07101c 0%, #0a0f16 55%, #09131e 100%);
}

body.modal-open {
  position: fixed;
  inset: 0;
  width: 100%;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
}

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

.inline-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.inline-link:hover,
.inline-link:focus-visible {
  color: #b9ffe1;
}

code {
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

button {
  font: inherit;
}

.hidden {
  display: none !important;
}

.page-shell {
  width: var(--container);
  margin: 0 auto;
  padding-bottom: 72px;
}

.site-header {
  position: fixed;
  top: var(--header-top-offset);
  left: 50%;
  width: var(--container);
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 0;
  padding: 16px 20px;
  background: rgba(8, 12, 20, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow), 0 0 32px rgba(255, 49, 79, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
  filter:
    drop-shadow(0 0 18px rgba(255, 49, 79, 0.2))
    drop-shadow(0 0 12px rgba(114, 242, 201, 0.16));
}

.brand-text,
h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.main-nav,
.header-actions,
.hero-actions,
.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav a,
.ghost-button,
.solid-button {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.main-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.ghost-button,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: center;
}

.menu-toggle,
.menu-sheet-close {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.solid-button {
  color: #05111f;
  background: linear-gradient(135deg, var(--accent), #b9ffe1);
  border-color: transparent;
  font-weight: 800;
}

.ghost-button:hover,
.solid-button:hover,
.ghost-button:focus-visible,
.solid-button:focus-visible {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  flex-shrink: 0;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease, background 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(114, 242, 201, 0.35);
  background: rgba(114, 242, 201, 0.08);
  box-shadow: 0 0 0 4px rgba(114, 242, 201, 0.05);
}

.menu-toggle:hover span,
.menu-toggle:focus-visible span {
  background: #dbfff3;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  margin-top: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
  padding: 118px 0 18px;
  min-height: calc(100vh - 120px);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(114, 242, 201, 0.08);
  border: 1px solid rgba(114, 242, 201, 0.18);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.96;
}

.hero-tagline {
  margin: 16px 0 0;
  max-width: 540px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1rem, 2.1vw, 1.45rem);
  line-height: 1.35;
  color: #c6d2e4;
}

.hero-text,
.section-heading h2,
.feature-card p,
.step-card p,
.server-card p,
.server-note li,
.price-card li,
.dashboard-copy p,
.faq-list p,
.support-card p,
.modal-text,
.modal-hint {
  color: var(--muted);
}

.dashboard-copy .eyebrow,
.support-copy .eyebrow {
  color: var(--accent);
  background: rgba(114, 242, 201, 0.08);
  border-color: rgba(114, 242, 201, 0.18);
}

.hero-text {
  max-width: 640px;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 24px 0 0;
}

.hero-actions {
  margin-top: 34px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.hero-metrics li,
.feature-card,
.step-card,
.server-card,
.server-note,
.price-card,
.setup-step,
.setup-card,
.dashboard-card,
.support-card,
.site-footer,
.legal-card,
.modal,
.hero-card,
.dashboard-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signal-grid,
.hero-ring,
.hero-device,
.hero-card {
  position: absolute;
}

.signal-grid {
  inset: 0;
  border-radius: 40px;
  background:
    radial-gradient(circle at center, rgba(114, 242, 201, 0.16), transparent 40%),
    linear-gradient(135deg, rgba(47, 123, 255, 0.08), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ring {
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ring-large {
  width: 500px;
  height: 500px;
}

.hero-ring-small {
  width: 320px;
  height: 320px;
}

.hero-device {
  width: min(76%, 420px);
  aspect-ratio: 0.88;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a2638, #0f1520);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
  transform: rotate(-10deg);
  animation: float 6s ease-in-out infinite;
}

.device-screen {
  height: 100%;
  border-radius: 26px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(114, 242, 201, 0.22), transparent 35%),
    linear-gradient(180deg, #111926 0%, #0b1018 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-badge,
.card-label,
.price-badge,
.server-region {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.device-badge {
  color: #dffaf4;
  background: linear-gradient(135deg, rgba(16, 42, 63, 0.9), rgba(20, 84, 92, 0.8));
  border: 1px solid rgba(114, 242, 201, 0.2);
  box-shadow:
    0 8px 20px rgba(8, 20, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
}

.price-badge {
  color: #fff3f6;
  background: linear-gradient(135deg, rgba(255, 120, 146, 0.26), rgba(255, 49, 79, 0.52));
  border: 1px solid rgba(255, 127, 149, 0.34);
  box-shadow:
    0 10px 26px rgba(255, 49, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
}

.device-screen h2 {
  margin: 18px 0 10px;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.device-screen p {
  max-width: 320px;
  line-height: 1.6;
  color: #bfd0e8;
}

.device-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.device-stats div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.device-stats strong,
.price-value {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.hero-card {
  width: 230px;
  padding: 18px;
  border-radius: 22px;
}

.hero-card-list {
  display: block;
  font-size: 1.15rem;
  line-height: 1.65;
}

.status-card {
  top: 12%;
  right: 0;
}

.location-card {
  bottom: 10%;
  left: 0;
}

.card-label,
.server-region {
  margin-bottom: 12px;
  padding: 7px 10px;
  color: var(--accent);
  background: rgba(114, 242, 201, 0.08);
  border: 1px solid rgba(114, 242, 201, 0.2);
}

.hero-card .card-label {
  color: #dffaf4;
  background: linear-gradient(135deg, rgba(16, 42, 63, 0.9), rgba(20, 84, 92, 0.8));
  border-color: rgba(114, 242, 201, 0.2);
  box-shadow:
    0 8px 20px rgba(8, 20, 34, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.price-badge {
  align-self: flex-start;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.ticker-track {
  display: flex;
  width: max-content;
  padding: 18px 0;
  animation: ticker 22s linear infinite;
}

.ticker-segment {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  padding-right: 24px;
  white-space: nowrap;
}

.ticker-track span {
  font-family: "Unbounded", sans-serif;
  font-size: 1.25rem;
  color: var(--accent-3);
}

section {
  margin-top: 72px;
}

.ticker {
  margin-top: 26px;
}

.ticker + section {
  margin-top: 86px;
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

.section-grid,
.steps-section,
.servers-section,
.pricing-section,
.setup-section,
.faq-section,
.support-section {
  padding-top: 36px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 1.1;
}

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

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

.setup-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 0;
  width: 100%;
}

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

.feature-card,
.step-card,
.price-card,
.server-note,
.setup-step,
.setup-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card span,
.step-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(47, 123, 255, 0.14);
  color: #9fc2ff;
  font-weight: 800;
}

.feature-card h3,
.step-card h3,
.server-card h3,
.price-card h3,
.setup-card h3,
.dashboard-copy h2,
.support-card h2,
.modal h2 {
  margin: 18px 0 12px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.feature-card h3 {
  min-height: calc(1.2rem * 1.3 * 2);
}

.feature-card p {
  margin: 0;
  line-height: 1.7;
}

.setup-step strong,
.setup-card h3 {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.setup-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.setup-step p,
.setup-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.setup-step-download {
  gap: 18px;
}

.setup-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.setup-card h3 {
  margin: 0;
}

.setup-card p {
  margin: 0;
}

.setup-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.setup-card-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.setup-card .solid-button {
  width: 100%;
  margin-top: auto;
}

.setup-step-note {
  max-width: 940px;
}

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

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

.server-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.server-region {
  min-width: 54px;
}

.server-note ul,
.price-card ul {
  padding-left: 18px;
  margin: 16px 0 0;
  min-height: 172px;
}

.server-note li + li,
.price-card li + li {
  margin-top: 10px;
}

.price-card.featured {
  position: relative;
  overflow: hidden;
  border-color: rgba(114, 242, 201, 0.3);
}

.price-card {
  display: flex;
  flex-direction: column;
}

.price-card.featured::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 242, 201, 0.18), transparent 65%);
}

.price-card .solid-button {
  width: 100%;
  margin-top: auto;
}

.dashboard-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.support-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-xl);
}

.dashboard-copy,
.dashboard-panel {
  min-width: 0;
}

.dashboard-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.dashboard-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dashboard-row:last-of-type {
  border-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 20px 24px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-align: left;
}

.faq-question::before {
  content: "▸";
  flex: 0 0 auto;
  color: var(--text);
  transition: transform 240ms ease;
}

.faq-item.is-open .faq-question::before {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 320ms ease, opacity 220ms ease, margin-top 320ms ease;
}

.faq-item.is-open .faq-answer {
  opacity: 1;
  margin-top: 14px;
}

.faq-answer p {
  margin: 0;
  line-height: 1.7;
}

.menu-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px 16px 16px;
  background: rgba(4, 7, 12, 0.52);
  backdrop-filter: blur(12px);
}

.menu-sheet {
  width: min(720px, 100%);
  padding: 14px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(114, 242, 201, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(28, 30, 36, 0.98), rgba(18, 19, 24, 0.99));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
}

.menu-sheet-handle {
  width: 68px;
  height: 5px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.menu-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.menu-sheet-title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 0.98rem;
}

.menu-sheet-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  padding: 0;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.menu-sheet-close:hover,
.menu-sheet-close:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(114, 242, 201, 0.35);
  background: rgba(114, 242, 201, 0.08);
}

.menu-sheet-nav {
  display: grid;
}

.menu-sheet-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: "Unbounded", sans-serif;
  font-size: 1rem;
  transition: transform 180ms ease, color 180ms ease;
}

.menu-sheet-link:last-child {
  border-bottom: 0;
}

.menu-sheet-link:hover,
.menu-sheet-link:focus-visible {
  transform: translateX(3px);
  color: #dbfff3;
}

.menu-sheet-arrow {
  color: var(--accent-3);
  font-size: 1rem;
}

.support-card {
  align-items: start;
}

.support-copy {
  max-width: 820px;
}

.support-card > .solid-button {
  align-self: start;
  justify-self: end;
  margin-top: 82px;
}

.dashboard-actions {
  justify-content: center;
  margin-top: 18px;
}

.site-footer {
  margin-top: 56px;
  padding: 34px 36px 28px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 0 0, rgba(255, 180, 77, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(32, 27, 27, 0.96), rgba(18, 18, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.footer-frame {
  display: grid;
  grid-template-columns: minmax(220px, auto) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-nav {
  display: grid;
  gap: 14px;
  justify-items: end;
  justify-self: end;
  width: fit-content;
  max-width: 100%;
}

.footer-brand p,
.footer-meta,
.footer-links a {
  color: var(--muted);
}

.footer-links-title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: 0.98rem;
  color: var(--text);
  justify-self: center;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 14px 22px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  line-height: 1.7;
}

.legal-shell {
  width: min(980px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 128px 0 72px;
}

.legal-card {
  padding: 32px;
  border-radius: var(--radius-xl);
}

.legal-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.98;
}

.legal-card h2 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
}

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

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.legal-card ol {
  margin: 0;
  padding-left: 22px;
}

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

.guide-card {
  display: grid;
  gap: 20px;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.guide-highlight {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.guide-highlight strong {
  display: block;
  margin-bottom: 10px;
}

.guide-steps {
  display: grid;
  gap: 12px;
}

.guide-note {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: rgba(4, 7, 12, 0.7);
  backdrop-filter: blur(10px);
  z-index: 40;
}

.modal-backdrop.hidden {
  display: none;
}

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 28px;
  border-radius: 28px;
  margin: auto;
  background: rgba(12, 17, 27, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

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

.auth-switch {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.auth-tab {
  flex: 1 1 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.auth-tab.is-active {
  color: var(--text);
  border-color: rgba(114, 242, 201, 0.35);
  background: rgba(114, 242, 201, 0.1);
}

.auth-tab:hover,
.auth-tab:focus-visible {
  transform: translateY(-1px);
}

.plan-summary,
.warning-box,
.result-status,
.key-card {
  border-radius: 18px;
  border: 1px solid var(--line);
}

.plan-summary {
  padding: 14px 16px;
  background: rgba(114, 242, 201, 0.08);
  color: var(--text);
  font-weight: 700;
}

.auth-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.auth-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

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

.auth-input:focus {
  outline: 1px solid rgba(114, 242, 201, 0.5);
  border-color: rgba(114, 242, 201, 0.45);
}

.modal-panel .solid-button {
  width: 100%;
}

.ghost-button:disabled,
.solid-button:disabled,
.auth-tab:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.modal-hint {
  margin-bottom: 0;
}

.warning-box,
.result-status,
.key-card {
  padding: 14px 16px;
}

.warning-box {
  margin-top: 16px;
  color: #d7e5fb;
  background: rgba(47, 123, 255, 0.12);
}

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

.result-status {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.result-keys {
  display: grid;
  gap: 12px;
}

.key-card {
  background: rgba(255, 255, 255, 0.03);
}

.key-card strong {
  display: block;
  margin-bottom: 10px;
}

.key-link {
  margin: 0;
  color: #dce7f7;
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-all;
}

.key-actions {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.key-actions .ghost-button,
.key-actions .solid-button {
  width: 100%;
  text-align: center;
}

.account-panel {
  display: block;
}

.account-stack {
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

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

.account-plan-grid .ghost-button,
.account-plan-grid .solid-button {
  width: 100%;
  min-height: 54px;
}

.account-hint {
  margin: 0;
  color: var(--muted);
}

.account-panel .dashboard-actions {
  justify-content: flex-start;
}

@keyframes float {
  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(-12px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .hero,
  .support-card,
  .server-layout,
  .feature-grid,
  .steps-grid,
  .pricing-grid,
  .setup-platforms {
    grid-template-columns: 1fr 1fr;
  }

  .footer-frame,
  .account-plan-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-items: start;
    justify-self: stretch;
    width: 100%;
  }

  .footer-links-title {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
  }

  .server-note {
    grid-column: span 2;
  }
}

@media (max-width: 1050px) {
  .site-header {
    position: sticky;
    top: 16px;
    left: auto;
    width: auto;
    transform: none;
    flex-wrap: nowrap;
    border-radius: 28px;
    margin-top: 16px;
    gap: 12px;
    padding: 12px 14px;
  }

  .main-nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
    flex-shrink: 0;
  }

  .header-actions .ghost-button,
  .header-actions .solid-button {
    padding: 10px 14px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

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

  .hero,
  .feature-grid,
  .steps-grid,
  .server-layout,
  .pricing-grid,
  .dashboard-card,
  .support-card {
    grid-template-columns: 1fr;
  }

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

  section {
    margin-top: 56px;
  }

  .ticker {
    margin-top: 22px;
  }

  .ticker + section {
    margin-top: 64px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .server-note {
    grid-column: auto;
  }

  .legal-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 116px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
  }

  .setup-platforms {
    grid-template-columns: 1fr;
  }

  .site-header,
  .hero-card,
  .feature-card,
  .step-card,
  .server-card,
  .server-note,
  .price-card,
  .setup-step,
  .setup-card,
  .dashboard-card,
  .support-card,
  .site-footer,
  .legal-card,
  .modal {
    border-radius: 22px;
  }

  .hero-actions,
  .dashboard-actions,
  .key-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .support-card > .solid-button {
    margin-top: 12px;
    justify-self: stretch;
  }

  .ghost-button,
  .solid-button {
    width: 100%;
    text-align: center;
  }

  .header-actions .ghost-button,
  .header-actions .solid-button,
  .menu-toggle {
    width: auto;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    flex: 0 0 42px;
    padding: 0;
    border-radius: 50%;
  }

  .header-actions .ghost-button,
  .header-actions .solid-button {
    padding: 9px 12px;
    font-size: 0.82rem;
  }

  .brand-text {
    display: none;
  }

  .menu-sheet {
    padding: 14px 16px 18px;
    border-radius: 26px;
  }

  .hero {
    padding-top: 44px;
  }

  section {
    margin-top: 46px;
  }

  .ticker {
    margin-top: 18px;
  }

  .ticker + section {
    margin-top: 54px;
  }

  .hero-device {
    width: 88%;
  }

  .site-footer,
  .legal-card {
    padding: 22px 18px;
  }

  .footer-frame {
    gap: 24px;
  }

  .status-card,
  .location-card {
    width: 180px;
  }

  .modal-backdrop {
    padding: 12px;
    align-items: start;
  }

  .modal {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 24px 18px 20px;
  }
}

@media (max-width: 460px) {
  .hero-visual {
    min-height: 410px;
    overflow: hidden;
  }

  .status-card,
  .location-card,
  .hero-ring {
    display: none;
  }

  .signal-grid {
    inset: 12px;
    border-radius: 28px;
  }

  .hero-device {
    width: min(92%, 320px);
    padding: 10px;
    border-radius: 28px;
    transform: rotate(-6deg);
  }

  .device-screen {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .device-screen h2 {
    margin: 16px 0 10px;
    font-size: 2.1rem;
  }

  .device-screen p {
    max-width: none;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .device-stats {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .device-stats div {
    padding: 16px;
    border-radius: 18px;
  }

  .device-stats div:last-child {
    display: none;
  }
}
