:root {
  --page: #f1f7fa;
  --soft: #eef4f7;
  --surface: #ffffff;
  --surface-subtle: #f6fafc;
  --surface-raised: #eaf2f6;
  --border: #d6e1e8;
  --border-strong: #c7d5de;
  --ink: #101820;
  --secondary: #65737e;
  --muted: #7e8b96;
  --graphite: #080a0d;
  --graphite-surface: #11151a;
  --graphite-raised: #181d23;
  --cyan: #00b8f0;
  --cyan-text: #007fa8;
  --cyan-soft: #e7f7fc;
  --cyan-border: #b7e8f6;
  --lime: #93e83d;
  --lime-soft: #ecf7ee;
  --shadow: 0 22px 54px rgba(23, 42, 54, 0.14);
  --shadow-soft: 0 10px 26px rgba(23, 42, 54, 0.1);
  --radius: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Manrope, Inter, Roboto, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(241, 247, 250, 0) 28%),
    linear-gradient(90deg, rgba(231, 247, 252, 0.72), rgba(241, 247, 250, 0) 36%, rgba(234, 242, 246, 0.64));
}

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

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(214, 225, 232, 0.9);
  background: rgba(241, 247, 250, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  padding: 12px 0;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: fit-content;
  text-decoration: none;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--graphite);
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.footer-brand .brand-logo {
  border: 0;
  box-shadow: none;
}

.brand-wordmark {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 0 0 auto;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--cyan-soft);
  color: var(--cyan-text);
  outline: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--ink);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #25343f;
}

.button-secondary {
  border-color: var(--cyan-border);
  background: var(--cyan-soft);
  color: var(--cyan-text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--cyan);
  background: #d8f3fb;
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
}

.section {
  padding: 76px 0;
  scroll-margin-top: 96px;
}

.section-soft {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(214, 225, 232, 0.7);
  border-bottom: 1px solid rgba(214, 225, 232, 0.7);
}

.section-graphite {
  color: #f4f7fa;
}

.hero {
  padding: 36px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
  max-width: 700px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-text);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-size: 40px;
  line-height: 1.08;
  font-weight: 780;
}

h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.14;
  font-weight: 760;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.24;
  font-weight: 720;
}

.lead {
  max-width: 650px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 520;
}

.supporting {
  max-width: 630px;
  color: var(--secondary);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 22px;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-chips span,
.status,
.limit-chip,
.stage-caption span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--cyan-border);
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--cyan-text);
  font-size: 14px;
  font-weight: 700;
}

.hero-note {
  max-width: 590px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-stage {
  position: relative;
  min-width: 0;
  min-height: 500px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #24303a;
  border-radius: 28px;
  background:
    linear-gradient(140deg, #080a0d 0%, #11151a 48%, #18222a 100%);
  box-shadow: var(--shadow);
}

.stage-caption {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 20px;
}

.stage-caption span {
  min-height: 28px;
  border-color: rgba(183, 232, 246, 0.28);
  background: rgba(0, 184, 240, 0.12);
  color: #d9f7ff;
  font-size: 12px;
}

.phone-shell {
  position: absolute;
  width: 260px;
  padding: 10px;
  border: 1px solid #2a313a;
  border-radius: 40px;
  background: #080a0d;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.phone-shell::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 74px;
  height: 5px;
  border-radius: 999px;
  background: #2a313a;
  transform: translateX(-50%);
}

.phone-screen {
  min-height: 450px;
  padding: 30px 14px 16px;
  overflow: hidden;
  border-radius: 30px;
  background: #eef4f7;
}

.phone-main {
  top: 58px;
  right: 30px;
}

.phone-result {
  top: 98px;
  left: 28px;
  width: 232px;
  opacity: 0.98;
  transform: rotate(-3deg);
}

.phone-result .phone-screen {
  min-height: 386px;
}

.mobile-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.mobile-top img:first-child {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.mobile-wordmark {
  width: 94px;
}

.limit-chip {
  min-height: 26px;
  margin-left: auto;
  padding: 0 9px;
  border-color: #c8ebc9;
  background: var(--lime-soft);
  color: #407a1a;
  font-size: 11px;
}

.app-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.input-card {
  padding: 18px;
}

.input-card p {
  color: var(--secondary);
  font-size: 13px;
}

.tabs,
.format-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 16px 0;
}

.tabs span,
.format-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
}

.tabs .active {
  border-color: var(--cyan-border);
  background: var(--cyan-soft);
  color: var(--cyan-text);
}

.format-row .selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.fake-input {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-subtle);
  color: var(--muted);
  font-size: 13px;
}

.fake-input strong {
  color: var(--secondary);
  font-weight: 500;
}

.app-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  background: var(--ink);
  color: #ffffff;
  font-size: 14px;
  font-weight: 760;
}

.compact-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 16px;
}

.compact-card strong,
.compact-card span {
  display: block;
}

.compact-card span {
  color: var(--secondary);
  font-size: 12px;
}

.progress-track {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--surface-raised);
}

.progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 68%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
}

.result-screen {
  background: #ffffff;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--secondary);
  font-size: 13px;
}

.result-head strong {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--cyan-text);
  font-size: 12px;
}

.summary-block {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.summary-block h3 {
  margin-bottom: 4px;
  font-size: 16px;
}

.summary-block p {
  margin-bottom: 0;
  color: var(--secondary);
  font-size: 13px;
}

.result-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.result-actions span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--cyan-text);
  font-size: 13px;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--secondary);
  font-size: 17px;
}

.align-left {
  margin-left: 0;
  text-align: left;
}

.cards-grid,
.steps-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.card,
.price-card,
.result-panel,
.links-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 22px;
}

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

.step-card {
  position: relative;
  padding-top: 58px;
}

.step-number {
  position: absolute;
  top: 18px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--cyan-soft);
  color: var(--cyan-text);
  font-weight: 800;
}

.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.result-grid,
.split-section,
.feature-band,
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.result-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.result-panel article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.result-panel article span {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 6px;
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
}

.result-panel h3 {
  margin-bottom: 4px;
}

.result-panel p {
  margin-bottom: 0;
  color: var(--secondary);
}

.feature-band {
  padding: 34px;
  border: 1px solid #24303a;
  border-radius: 24px;
  background:
    linear-gradient(145deg, var(--graphite) 0%, var(--graphite-surface) 54%, #18232b 100%);
  box-shadow: var(--shadow);
}

.feature-band .eyebrow {
  color: #72ddff;
}

.feature-band .section-heading p:not(.eyebrow),
.feature-list p {
  color: #a7b0ba;
}

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

.feature-list article,
.privacy-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.feature-list article:first-child,
.privacy-list article:first-child {
  padding-top: 0;
}

.feature-list article {
  border-color: #2a313a;
}

.feature-list h3,
.privacy-list h3 {
  margin-bottom: 6px;
  font-size: 18px;
}

.privacy-list p {
  margin-bottom: 0;
  color: var(--secondary);
}

.inline-link,
.support-email {
  display: inline-flex;
  width: fit-content;
  color: var(--cyan-text);
  font-weight: 760;
  text-decoration: none;
}

.inline-link:hover,
.inline-link:focus-visible,
.support-email:hover,
.support-email:focus-visible {
  text-decoration: underline;
  outline: none;
}

.status-card {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  align-items: flex-start;
}

.status-card h3 {
  margin-top: 18px;
}

.status {
  min-height: 30px;
  border-color: var(--border);
  background: var(--surface-subtle);
  color: var(--secondary);
  font-size: 13px;
}

.status.active {
  border-color: var(--cyan-border);
  background: var(--cyan-soft);
  color: var(--cyan-text);
}

.pricing-grid {
  align-items: stretch;
}

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

.price-card h3 {
  margin-bottom: 4px;
  font-size: 31px;
}

.price-label {
  margin-bottom: 14px;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 800;
}

.price-meta {
  margin-bottom: 16px;
  color: var(--cyan-text);
  font-size: 14px;
  font-weight: 700;
}

.price-card p:not(.price-meta) {
  color: var(--secondary);
}

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

.free-card {
  border-color: var(--cyan-border);
  background: linear-gradient(180deg, var(--cyan-soft), #ffffff 42%);
}

.highlighted {
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(0, 184, 240, 0.15);
}

.pricing-note {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-subtle);
  color: var(--secondary);
}

.pricing-note p {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--cyan-text);
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--secondary);
}

details a {
  color: var(--cyan-text);
  font-weight: 700;
}

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

.support-email {
  margin-top: 8px;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.links-panel {
  display: grid;
  gap: 0;
  padding: 8px 18px;
}

.links-panel a {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.links-panel a:last-child {
  border-bottom: 0;
}

.links-panel a:hover,
.links-panel a:focus-visible {
  color: var(--cyan-text);
  outline: none;
}

.rustore-section {
  padding-top: 44px;
}

.rustore-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--cyan-border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.rustore-box h2 {
  font-size: 30px;
}

.rustore-box p {
  max-width: 760px;
  color: var(--secondary);
}

.site-footer {
  padding: 38px 0 46px;
  background: var(--graphite);
  color: #f4f7fa;
}

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

.footer-inner p {
  margin-bottom: 0;
  color: #a7b0ba;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.footer-links a {
  color: #f4f7fa;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #72ddff;
  outline: none;
}

.doc-page .site-header {
  position: sticky;
}

.doc-hero {
  padding: 64px 0 34px;
}

.doc-shell {
  display: grid;
  gap: 22px;
  max-width: 920px;
  margin: 0 auto 70px;
}

.doc-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.doc-card h2 {
  margin-top: 6px;
  font-size: 26px;
}

.doc-card h3 {
  margin-top: 18px;
}

.doc-card p,
.doc-card li {
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.doc-card ul,
.doc-card ol {
  padding-left: 22px;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.doc-meta span {
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-subtle);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.warning-box {
  padding: 16px;
  border: 1px solid #efd27a;
  border-radius: var(--radius);
  background: #fff8dd;
  color: #6f5612;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px 10px;
    min-height: 0;
  }

  .brand {
    order: 1;
    flex: 1 1 auto;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-wordmark {
    width: 124px;
  }

  .header-inner > .button {
    order: 2;
    flex: 0 0 auto;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .nav a {
    padding: 8px 10px;
  }

  .button {
    min-height: 48px;
    width: 100%;
  }

  .button-small {
    width: auto;
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 22px 0 18px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 30px;
  }

  .doc-hero h1 {
    font-size: 32px;
    overflow-wrap: anywhere;
  }

  .supporting,
  .hero-note {
    display: none;
  }

  .lead {
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-grid {
    gap: 22px;
  }

  .trust-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .trust-chips::-webkit-scrollbar {
    display: none;
  }

  .trust-chips span {
    flex: 0 0 auto;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-actions .button {
    min-height: 46px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.15;
    width: 100%;
  }

  .hero-stage {
    min-height: 170px;
    padding: 12px;
    border-radius: 20px;
  }

  .stage-caption {
    justify-content: flex-start;
    margin-bottom: 0;
  }

  .phone-shell {
    width: 260px;
  }

  .phone-main {
    top: 44px;
    right: 10px;
    transform: scale(0.54);
    transform-origin: top right;
  }

  .phone-result {
    top: 68px;
    left: 12px;
    width: 232px;
    transform: scale(0.52) rotate(-3deg);
    transform-origin: top left;
  }

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

  .mobile-wordmark {
    width: 82px;
  }

  .limit-chip {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .feature-band {
    padding: 24px;
    border-radius: 20px;
  }

  .price-card .button {
    width: 100%;
  }

  .doc-card {
    padding: 20px;
  }
}

@media (min-width: 761px) {
  h1 {
    font-size: 60px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.26fr) minmax(430px, 0.74fr);
  }

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

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

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

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

  .result-grid,
  .split-section,
  .support-grid {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .feature-band {
    grid-template-columns: 0.78fr 1.22fr;
  }

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

  .rustore-box {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

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

  .hero-stage {
    max-width: 620px;
  }

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