:root {
  --bg: #05141b;
  --content-max: 1310px;
  --content-gutter: 18px;
  --panel: rgba(8, 30, 39, 0.9);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f2f6f8;
  --muted: #a2bac4;
  --accent: #63d6cb;
  --accent-strong: #1da89f;
  --gold: #efc36c;
  --coral: #ff7d73;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: #081922;
}

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: #081922;
  background:
    linear-gradient(180deg, #0b1e2b 0%, #081823 52%, #06131b 100%);
}

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

.site-shell {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 56px;
  overflow: visible;
  isolation: isolate;
}

.site-shell > main {
  position: relative;
  z-index: 1;
  padding-top: 18px;
  padding-bottom: 18px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.site-shell > main > * {
  width: min(var(--content-max), calc(100vw - (var(--content-gutter) * 2)));
  margin-left: auto;
  margin-right: auto;
}

.site-shell > main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #102535 0%, #0d2230 36%, #0a1d29 72%, #081922 100%);
  z-index: -1;
  pointer-events: none;
}

.site-shell > main::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 360px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 8%, rgba(106, 120, 208, 0.12), transparent 24%);
  opacity: 0.72;
}

.topbar,
.hero-card,
.mini-strip article,
.section-block,
.cta-band,
.footer,
.feature-card,
.security-card,
.price-card {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 88px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 14px max(var(--content-gutter), calc((100vw - var(--content-max)) / 2 + var(--content-gutter)));
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  background: rgba(7, 22, 30, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: min(42vw, 200px);
  height: 34px;
  object-fit: contain;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.main-nav {
  display: none;
  gap: 28px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.main-nav a {
  font-size: 1rem;
}

.topbar-actions,
.hero-actions,
.cta-actions {
  display: flex;
  gap: 12px;
}

.topbar-actions {
  flex: 0 0 auto;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease;
}

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

.primary-button {
  color: #072129;
  background: linear-gradient(135deg, var(--accent), #9cf7ee);
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.primary-button-large,
.ghost-button-large {
  min-height: 56px;
  padding: 0 22px;
}

.topbar-login {
  min-width: 116px;
  min-height: 48px;
}

.hero-card,
.section-block,
.cta-band,
.footer {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  background: var(--panel);
}

.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px 18px 22px;
  background:
    linear-gradient(135deg, #11172f 0%, #1d2f4f 42%, #081921 100%);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-card h1,
.section-heading h2,
.cta-band h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.05em;
}

.hero-card h1 {
  max-width: 9.6ch;
  font-size: clamp(2.35rem, 8vw, 5rem);
  line-height: 0.94;
}

.hero-text,
.feature-card p,
.security-card p,
.plan-copy,
.footer p {
  color: var(--muted);
}

.hero-text {
  max-width: 46ch;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.62;
}

.hero-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.48;
  color: #edf6f8;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.hero-actions {
  flex-direction: column;
  margin-top: 22px;
}

.hero-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-tag-row span {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #edf6f8;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  margin-top: 28px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto 8% 24% 12%;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 214, 203, 0.28), transparent 68%);
  opacity: 0.84;
}

.device-card {
  position: absolute;
}

.device-card-main {
  left: 0;
  top: 0;
  z-index: 3;
}

.device-card-side {
  right: 0;
  top: 70px;
  z-index: 2;
}

.device-shell {
  width: min(80vw, 296px);
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(180deg, #d8dce5 0%, #f7f7fb 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

.device-notch {
  width: 44%;
  height: 24px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #0c1320;
}

.device-screen {
  min-height: 510px;
  padding: 18px;
  border-radius: 28px;
  color: #082730;
  background:
    linear-gradient(180deg, rgba(12, 30, 40, 0.08), rgba(10, 28, 36, 0.02)),
    linear-gradient(180deg, #fafcfd 0%, #e7eef1 100%);
}

.device-screen-light {
  background:
    linear-gradient(180deg, rgba(99, 214, 203, 0.08), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, #f9fcfd 0%, #eef5f7 100%);
}

.mock-toolbar,
.mock-stat-grid,
.mock-task-head,
.evidence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mock-toolbar-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
}

.mock-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mock-chip-alert {
  color: #fff6f5;
  background: rgba(255, 125, 115, 0.92);
}

.mock-chip-gold {
  color: #573c06;
  background: rgba(239, 195, 108, 0.96);
}

.mock-balance,
.mock-task-card,
.evidence-card {
  border-radius: 22px;
}

.mock-balance {
  margin-top: 16px;
  padding: 18px;
  color: #edf8fb;
  background: linear-gradient(180deg, #0e3344 0%, #17384f 100%);
}

.mock-balance p,
.mock-balance span {
  margin: 0;
}

.mock-balance p {
  color: #a7cbd8;
  font-size: 0.88rem;
}

.mock-balance strong {
  display: block;
  margin-top: 10px;
  font-size: 1.36rem;
  line-height: 1.2;
}

.mock-balance span {
  display: block;
  margin-top: 10px;
  color: #cce2ea;
  font-size: 0.9rem;
}

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

.mock-stat-grid article,
.mock-task-card,
.evidence-card {
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
}

.mock-stat-grid article span {
  color: #5c7680;
  font-size: 0.8rem;
}

.mock-stat-grid article strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.mock-task-card {
  margin-top: 14px;
}

.mock-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
}

.mock-task-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.mock-task-card li {
  position: relative;
  padding-left: 22px;
  color: #4b6670;
}

.mock-task-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.mock-bottom-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.mock-bottom-nav span {
  height: 10px;
  border-radius: 999px;
  background: rgba(8, 39, 48, 0.14);
}

.mock-bottom-nav span.active {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
}

.evidence-card strong {
  display: block;
  margin-top: 12px;
  font-size: 1.08rem;
}

.evidence-photo {
  height: 124px;
  margin-top: 16px;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(14, 45, 56, 0.12), rgba(12, 35, 44, 0.04)),
    linear-gradient(135deg, #8fb0bd, #dfeaec);
}

.evidence-row {
  margin-top: 12px;
  color: #5a717a;
  font-size: 0.84rem;
}

.mini-strip {
  display: grid;
  gap: 12px;
}

.mini-strip article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(8, 30, 39, 0.74);
}

.mini-strip strong {
  display: block;
  font-family: "Sora", sans-serif;
}

.mini-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.section-block {
  padding: 26px 18px;
}

.compact-heading h2 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.02;
}

.feature-grid,
.roles-grid,
.modules-grid,
.security-grid,
.pricing-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.before-after-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.feature-card,
.role-card,
.module-card,
.security-card,
.price-card {
  padding: 20px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.state-card {
  padding: 24px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.state-card-alert {
  background: linear-gradient(180deg, rgba(255, 125, 115, 0.08), rgba(255, 255, 255, 0.03));
}

.state-card-calm {
  background: linear-gradient(180deg, rgba(99, 214, 203, 0.1), rgba(255, 255, 255, 0.03));
}

.state-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-card-alert .state-label {
  color: #ffd7d4;
  background: rgba(255, 125, 115, 0.14);
}

.state-card-calm .state-label {
  color: #d8fffb;
  background: rgba(99, 214, 203, 0.16);
}

.state-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.state-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
  color: #eef6f8;
}

.state-list li::before {
  width: 20px;
  flex: 0 0 20px;
  font-weight: 800;
  line-height: 1;
}

.state-card-alert .state-list li::before {
  content: "×";
  color: var(--coral);
}

.state-card-calm .state-list li::before {
  content: "✓";
  color: var(--accent);
}

.feature-card-featured,
.role-card-featured,
.security-card-featured,
.price-card-featured {
  background: linear-gradient(180deg, rgba(99, 214, 203, 0.13), rgba(255, 255, 255, 0.04));
}

.benefit-card {
  min-height: 100%;
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #06252c;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #9cf7ee);
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  color: var(--accent);
  font-weight: 800;
  background: rgba(99, 214, 203, 0.1);
}

.feature-card h3,
.role-card h3,
.security-card strong,
.plan-name {
  margin: 16px 0 0;
  font-family: "Sora", sans-serif;
}

.feature-card p,
.role-card p,
.module-card p,
.security-card p,
.plan-copy {
  margin: 10px 0 0;
  line-height: 1.65;
}

.role-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: rgba(239, 195, 108, 0.1);
}

.module-card strong {
  display: block;
  font-family: "Sora", sans-serif;
}

.workflow-flow {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  align-items: center;
}

.workflow-old,
.workflow-new {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

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

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 18px;
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  background: rgba(99, 214, 203, 0.08);
}

.workflow-new {
  text-align: center;
}

.workflow-new strong {
  display: block;
  margin-top: 16px;
  font-family: "Sora", sans-serif;
  font-size: 1.05rem;
  line-height: 1.4;
}

.workflow-new p {
  max-width: 44ch;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.tool-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 800;
}

.tool-chip-old {
  color: #ffd8d5;
  border: 1px solid rgba(255, 125, 115, 0.28);
  background: rgba(255, 125, 115, 0.08);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.tool-chip-new {
  color: #052129;
  background: linear-gradient(135deg, var(--accent), #9cf7ee);
}

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

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 0.15em;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, var(--accent) 0 45%, transparent 46% 100%),
    rgba(99, 214, 203, 0.14);
}

.plan-flag {
  margin: 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.plan-price {
  margin: 14px 0 0;
  font-family: "Sora", sans-serif;
  font-size: 2.35rem;
  line-height: 1;
}

.plan-price span {
  font-size: 1rem;
  color: var(--muted);
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding-left: 18px;
  color: var(--muted);
}

.price-card .primary-button,
.price-card .ghost-button {
  margin-top: auto;
}

.android-download-block {
  display: grid;
  gap: 22px;
  align-items: center;
  padding: 26px 18px;
  background:
    linear-gradient(135deg, rgba(29, 168, 159, 0.2), rgba(17, 23, 47, 0.94)),
    var(--panel);
}

.android-download-copy h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.9rem, 5.2vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.android-download-copy p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.android-download-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.download-meta {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.cta-band {
  display: grid;
  gap: 18px;
  padding: 26px 18px;
  background:
    linear-gradient(135deg, #10203d 0%, #0a2a35 100%);
}

.cta-band h2 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.02;
}

.pricing-note {
  margin: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.cta-actions {
  flex-direction: column;
}

.footer {
  display: grid;
  gap: 24px;
  margin-top: 64px;
  padding: 28px 22px 24px;
  border: none;
  box-shadow: none;
  background: transparent;
}

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

.footer-top {
  display: grid;
  gap: 24px;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
}

.footer-brand p {
  margin-top: 16px;
  color: var(--muted);
}

.footer-title {
  display: inline-block;
  margin-bottom: 12px;
  color: #dbe8ed;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-nav-group {
  min-width: 0;
}

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

.footer-links a {
  color: #dce7eb;
  font-weight: 700;
  opacity: 0.88;
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.mini-strip,
.section-block,
.cta-band,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 700px;
}

@media (min-width: 720px) {
  :root {
    --content-gutter: 24px;
  }

  .hero-actions,
  .android-download-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .site-shell > main {
    padding-bottom: 28px;
  }

  .mini-strip,
  .roles-grid,
  .modules-grid,
  .security-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .case-block .feature-grid > .feature-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: calc((100% - 14px) / 2);
  }

  .role-card-featured,
  .price-card-featured,
  .security-card-featured {
    grid-column: span 2;
  }

  .cta-band {
    grid-template-columns: 1.2fr 0.9fr;
    align-items: center;
  }

  .android-download-block {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 34px;
  }

  .android-download-actions {
    align-items: flex-end;
    justify-content: center;
  }

  .workflow-flow {
    grid-template-columns: minmax(0, 1fr) 88px minmax(0, 1.15fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
    align-items: start;
  }
}

@media (min-width: 720px) and (max-width: 979px) {
  .topbar {
    min-height: 84px;
    padding-inline: max(18px, calc((100vw - 960px) / 2 + 20px));
  }

  .hero-card {
    padding: 30px 24px 24px;
  }

  .hero-card h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 6vw, 4.4rem);
  }

  .hero-text {
    max-width: 44ch;
    font-size: 1rem;
  }

  .hero-list li {
    font-size: 1rem;
  }

  .hero-tag-row {
    gap: 12px;
  }
}

@media (min-width: 820px) and (max-width: 979px) {
  .main-nav {
    display: inline-flex;
  }

  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 28px;
    align-items: center;
  }

  .hero-visual {
    min-height: 520px;
    margin-top: 0;
  }

  .hero-glow {
    inset: auto 0 18% 6%;
    height: 250px;
  }

  .device-shell {
    width: min(31vw, 280px);
  }

  .device-card-main {
    left: 0;
    top: 0;
  }

  .device-card-side {
    right: 0;
    top: 86px;
  }
}

@media (min-width: 980px) {
  :root {
    --content-gutter: 28px;
  }

  .site-shell > main::before {
    background:
      radial-gradient(circle at 50% 10%, rgba(70, 92, 154, 0.24), transparent 24%),
      linear-gradient(180deg, #102536 0%, #0d2231 32%, #0a1d2a 70%, #081922 100%);
  }

  .site-shell > main::after {
    height: 620px;
    background:
      radial-gradient(circle at 16% 18%, rgba(99, 214, 203, 0.1), transparent 26%),
      radial-gradient(circle at 84% 10%, rgba(109, 117, 204, 0.18), transparent 24%);
  }

  .main-nav {
    display: inline-flex;
  }

  .topbar {
    min-height: 92px;
    padding: 16px max(var(--content-gutter), calc((100vw - var(--content-max)) / 2 + var(--content-gutter)));
  }

  .site-shell > main {
    padding-bottom: 40px;
  }

  .hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(520px, 700px);
    gap: 46px;
    align-items: center;
    min-height: 720px;
    padding: 48px 42px 36px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-card h1 {
    max-width: 9.8ch;
    font-size: clamp(3.4rem, 4.8vw, 5.4rem);
  }

  .hero-text {
    max-width: 42ch;
    margin-top: 22px;
    font-size: 1.04rem;
  }

  .hero-list {
    gap: 16px;
    margin-top: 30px;
  }

  .hero-list li {
    font-size: 1.06rem;
  }

  .hero-actions {
    margin-top: 30px;
    gap: 14px;
  }

  .hero-tag-row {
    margin-top: 22px;
  }

  .hero-visual {
    min-height: 680px;
    margin-top: 0;
  }

  .hero-glow {
    inset: auto 2% 20% 8%;
    height: 320px;
    opacity: 0.8;
  }

  .device-shell {
    width: 340px;
  }

  .device-card-main {
    left: 36px;
    top: 8px;
  }

  .device-card-side {
    right: 12px;
    top: 110px;
  }

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

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

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

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

  .security-grid {
    grid-template-columns: 1.15fr 0.9fr 0.9fr;
  }

  .role-card-featured,
  .price-card-featured,
  .security-card-featured {
    grid-column: auto;
  }

  .section-block,
  .cta-band,
  .footer {
    padding: 38px 32px;
  }

  .mini-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
  }

  .mini-strip article {
    padding: 22px 18px;
  }

  .footer {
    gap: 28px;
    margin-top: 84px;
    padding: 34px 30px 26px;
  }

  .footer-logo {
    height: 42px;
  }
}

@media (min-width: 980px) and (max-width: 1180px) {
  .hero-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    min-height: auto;
    padding: 36px 28px 30px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-card h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 6vw, 4.6rem);
  }

  .hero-text {
    max-width: 40ch;
    font-size: 1.04rem;
  }

  .hero-list {
    max-width: 44ch;
    gap: 14px;
    margin-top: 24px;
  }

  .hero-list li {
    font-size: 1rem;
  }

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

  .hero-tag-row {
    margin-top: 18px;
  }

  .hero-visual {
    min-height: 520px;
    margin-top: 8px;
  }

  .hero-glow {
    inset: auto 8% 16% 10%;
    height: 260px;
    opacity: 0.78;
  }

  .device-shell {
    width: 300px;
  }

  .device-card-main {
    left: 12%;
    top: 0;
  }

  .device-card-side {
    right: 8%;
    top: 72px;
  }

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

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

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

  .price-card:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 1280px) {
  .site-shell > main::after {
    height: 680px;
  }

  .hero-card {
    grid-template-columns: minmax(0, 1.04fr) minmax(560px, 760px);
    gap: 54px;
    padding-inline: 48px;
  }

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

  .device-shell {
    width: 364px;
  }

  .device-card-main {
    left: 54px;
  }

  .device-card-side {
    right: 22px;
    top: 126px;
  }
}

@media (max-width: 719px) {
  :root {
    --content-gutter: 10px;
  }

  .site-shell {
    width: 100%;
    padding: 10px 10px 40px;
  }

  .site-shell > main {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-top: 12px;
    padding-bottom: 20px;
  }

  .hero-card,
  .section-block,
  .cta-band,
  .footer {
    width: min(100%, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    margin-left: auto;
    margin-right: auto;
  }

  .mini-strip article {
    width: min(100%, calc(100vw - 20px));
    max-width: calc(100vw - 20px);
    margin-left: auto;
    margin-right: auto;
  }

  .brand-subtitle {
    display: none;
  }

  .topbar {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    min-height: 68px;
    padding: 10px 14px;
    border-radius: 0;
  }

  .brand {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .brand-logo {
    max-width: min(44vw, 156px);
    height: 26px;
  }

  .topbar-actions {
    width: auto;
    flex: 0 0 auto;
  }

  .topbar-login {
    width: auto;
    min-width: 92px;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .topbar-apk {
    display: none;
  }

  .hero-card {
    width: 100%;
    max-width: 100%;
    padding: 18px 14px 16px;
    border-radius: 24px;
  }

  .hero-card h1 {
    max-width: 9.4ch;
    font-size: clamp(2.12rem, 8.4vw, 3.05rem);
    line-height: 0.95;
  }

  .hero-text {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 0.93rem;
    line-height: 1.58;
  }

  .hero-list {
    gap: 7px;
    margin-top: 16px;
  }

  .hero-list li {
    line-height: 1.42;
    font-size: 0.89rem;
  }

  .hero-list li:nth-child(4) {
    display: none;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 10px;
  }

  .hero-actions .primary-button-large,
  .hero-actions .ghost-button-large,
  .cta-actions .primary-button-large,
  .cta-actions .ghost-button-large {
    width: 100%;
  }

  .hero-tag-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 14px;
  }

  .hero-tag-row span {
    width: 100%;
    justify-content: center;
    font-size: 0.86rem;
  }

  .hero-tag-row span:last-child {
    display: none;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    min-height: auto;
    margin-top: 12px;
  }

  .device-shell {
    width: min(68vw, 228px);
    padding: 10px;
  }

  .device-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }

  .device-card-side {
    display: none;
  }

  .device-screen {
    min-height: 328px;
    padding: 11px;
  }

  .device-notch {
    height: 18px;
    margin-bottom: 10px;
  }

  .mock-toolbar-icon {
    width: 28px;
    height: 28px;
  }

  .mock-chip {
    min-height: 26px;
    padding: 0 10px;
    font-size: 0.7rem;
  }

  .mock-balance {
    margin-top: 12px;
    padding: 14px;
  }

  .mock-balance p {
    font-size: 0.74rem;
  }

  .mock-balance strong {
    margin-top: 8px;
    font-size: 1rem;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .mock-balance,
  .mock-task-card,
  .evidence-card {
    border-radius: 18px;
  }

  .mock-balance span {
    margin-top: 8px;
    font-size: 0.78rem;
  }

  .mock-stat-grid {
    gap: 10px;
    margin-top: 12px;
  }

  .mock-stat-grid article,
  .mock-task-card,
  .evidence-card {
    padding: 12px;
  }

  .mock-stat-grid article span {
    font-size: 0.72rem;
  }

  .mock-stat-grid article strong {
    margin-top: 6px;
    font-size: 0.96rem;
  }

  .mock-task-card {
    margin-top: 12px;
  }

  .mock-task-head strong {
    font-size: 0.92rem;
  }

  .mock-task-card ul {
    gap: 8px;
    margin-top: 10px;
  }

  .mini-strip article,
  .feature-card,
  .role-card,
  .module-card,
  .security-card,
  .price-card {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .section-block,
  .cta-band,
  .footer {
    padding: 20px 12px;
    border-radius: 24px;
  }

  .footer {
    margin-top: 48px;
  }

  .footer-top {
    gap: 22px;
  }

  .footer-logo {
    height: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
  }

  .mock-task-card li,
  .mock-balance span,
  .mini-strip span,
  .feature-card p,
  .role-card p,
  .module-card p,
  .security-card p,
  .plan-copy {
    font-size: 0.89rem;
    overflow-wrap: anywhere;
  }

  .primary-button-large,
  .ghost-button-large {
    min-height: 52px;
    padding: 0 16px;
    font-size: 0.9rem;
  }
}

@media (max-width: 420px) {
  .hero-card h1 {
    max-width: 9ch;
    font-size: clamp(2rem, 8.8vw, 2.7rem);
  }

  .hero-text {
    max-width: 31ch;
  }

  .device-shell {
    width: min(72vw, 218px);
  }
}

@media (max-width: 360px) {
  .hero-visual {
    display: none;
  }

  .hero-card {
    padding-bottom: 16px;
  }
}

.legal-shell {
  width: min(1100px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.legal-page {
  display: grid;
  gap: 18px;
}

.legal-hero,
.legal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.legal-hero {
  padding: 28px 24px;
  background:
    linear-gradient(135deg, #101d36 0%, #0b2b36 46%, #081921 100%);
}

.legal-hero h1,
.legal-card h2,
.legal-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.04em;
}

.legal-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.1rem, 5vw, 3.7rem);
  line-height: 1.02;
}

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

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.legal-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #e8f6f8;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
}

.legal-card {
  padding: 24px;
}

.legal-card h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.legal-card h3 {
  margin-top: 20px;
  font-size: 1.08rem;
}

.legal-card p + p {
  margin-top: 12px;
}

.legal-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-callout {
  padding: 18px;
  border: 1px solid rgba(99, 214, 203, 0.18);
  border-radius: 20px;
  background: rgba(99, 214, 203, 0.08);
}

.legal-callout strong {
  display: block;
  margin-bottom: 8px;
  color: #ebfaf7;
  font-family: "Sora", sans-serif;
}

.legal-grid {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.legal-grid article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.legal-grid article strong {
  display: block;
  color: #f4fbfc;
  font-family: "Sora", sans-serif;
}

.legal-grid article p {
  margin: 10px 0 0;
}

@media (min-width: 820px) {
  .legal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
