:root {
  color-scheme: dark;
  --bg: #050805;
  --bg-soft: #09120c;
  --panel: rgba(15, 27, 18, 0.76);
  --panel-strong: rgba(20, 37, 25, 0.9);
  --line: rgba(177, 255, 195, 0.16);
  --line-strong: rgba(177, 255, 195, 0.34);
  --text: #f3fff5;
  --muted: #b8cbbd;
  --muted-strong: #d8eadb;
  --accent: #38f27a;
  --accent-strong: #8cffb0;
  --accent-dark: #103d22;
  --danger: #ff6f61;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --radius-small: 8px;
  --header-height: 64px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(56, 242, 122, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 18%, rgba(80, 180, 120, 0.12), transparent 26rem),
    linear-gradient(180deg, #07100a 0%, var(--bg) 42%, #040704 100%);
  font-family: inherit;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 74%);
}

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

a:hover {
  color: var(--accent-strong);
}

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

:focus-visible {
  outline: 3px solid rgba(140, 255, 176, 0.9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  color: #031007;
  background: var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
}

.section {
  position: relative;
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header-height);
  background: rgba(5, 10, 6, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #021006;
  font-size: 0.95rem;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 40%),
    linear-gradient(135deg, var(--accent), #1dbb5b);
  border: 1px solid rgba(215, 255, 224, 0.42);
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(56, 242, 122, 0.34);
}

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

.nav-menu {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  color: var(--muted-strong);
  font-size: 0.94rem;
}

.nav-menu a {
  padding: 8px 0;
}

.nav-cta {
  justify-self: end;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 99px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--text);
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 999px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #021006;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 44%),
    linear-gradient(135deg, var(--accent), #2bd66c);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 12px 36px rgba(56, 242, 122, 0.26);
}

.button-primary:hover {
  color: #021006;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22) inset,
    0 18px 44px rgba(56, 242, 122, 0.34);
}

.button-muted {
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.055);
  border-color: var(--line);
}

.button-small {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
}

.is-disabled {
  cursor: default;
  opacity: 0.72;
}

.is-disabled:hover {
  color: var(--muted-strong);
  transform: none;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding: 84px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 56px;
  align-items: center;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: 6rem;
}

h2 {
  font-size: 3.75rem;
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
  opacity: 0.74;
}

.glow-a {
  top: 120px;
  left: 8%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(56, 242, 122, 0.24), transparent 66%);
}

.glow-b {
  right: 4%;
  bottom: 6%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(117, 255, 160, 0.16), transparent 68%);
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: -22px;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 36% 14%, rgba(140, 255, 176, 0.24), transparent 28%),
    radial-gradient(circle at 78% 90%, rgba(56, 242, 122, 0.2), transparent 32%);
  border-radius: 18px;
  filter: blur(10px);
}

.browser-card,
.feature-card,
.install-card,
.policy-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.015)),
    var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.browser-card {
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
}

.browser-top {
  display: grid;
  grid-template-columns: repeat(3, 10px) 1fr;
  gap: 8px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 10px;
  height: 10px;
  background: rgba(216, 234, 219, 0.48);
  border-radius: 50%;
}

.browser-top span:first-child {
  background: var(--danger);
}

.browser-top span:nth-child(2) {
  background: #f9c74f;
}

.browser-top span:nth-child(3) {
  background: var(--accent);
}

.address {
  min-width: 0;
  margin-left: 8px;
  padding: 7px 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
}

.block-screen {
  display: grid;
  min-height: 420px;
  padding: 34px;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 34px 34px;
}

.shield-orbit {
  display: grid;
  width: 118px;
  height: 118px;
  margin: 8px auto 18px;
  place-items: center;
  background:
    radial-gradient(circle, rgba(56, 242, 122, 0.2), transparent 60%),
    linear-gradient(145deg, rgba(56, 242, 122, 0.2), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  box-shadow: 0 0 80px rgba(56, 242, 122, 0.28);
  transform: rotate(45deg);
}

.shield-core {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: #021006;
  font-size: 1.45rem;
  font-weight: 950;
  background: var(--accent);
  border-radius: 18px;
  transform: rotate(-45deg);
}

.status-pill {
  width: fit-content;
  padding: 8px 12px;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 850;
  background: rgba(56, 242, 122, 0.1);
  border: 1px solid rgba(56, 242, 122, 0.26);
  border-radius: 999px;
}

.block-screen h2 {
  max-width: 420px;
  margin-top: 16px;
  font-size: 2.7rem;
}

.block-screen p:not(.status-pill) {
  max-width: 380px;
  margin-top: 14px;
  color: var(--muted);
}

.delay-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 310px);
  min-height: 58px;
  margin-top: 24px;
  padding: 12px 16px;
  color: var(--muted-strong);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.delay-row strong {
  color: var(--accent-strong);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.feature-card {
  min-height: 248px;
  padding: 22px;
  border-radius: var(--radius);
}

.card-mark {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(56, 242, 122, 0.09);
  border: 1px solid rgba(56, 242, 122, 0.22);
  border-radius: 8px;
}

.feature-card p {
  margin-top: 12px;
  color: var(--muted);
}

.ethos-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(56, 242, 122, 0.13), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0));
  border-block: 1px solid var(--line);
}

.ethos-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.ethos-copy {
  display: grid;
  gap: 18px;
  color: var(--muted-strong);
  font-size: 1.22rem;
}

.install-card {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 1fr);
  gap: 44px;
  padding: 34px;
  border-radius: 8px;
}

.install-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.install-steps {
  display: grid;
  gap: 24px;
  align-content: start;
}

.install-steps ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted-strong);
}

.install-steps li::marker {
  color: var(--accent);
  font-weight: 900;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.footer-links a {
  color: var(--muted-strong);
}

.policy-main {
  min-height: calc(100vh - var(--header-height));
}

.policy-hero {
  padding-bottom: 42px;
  text-align: center;
}

.policy-hero .hero-subtitle {
  margin-inline: auto;
}

.policy-section {
  padding-top: 0;
}

.policy-card {
  padding: 34px;
  border-radius: 8px;
}

.policy-card h2 {
  margin-top: 34px;
  font-size: 1.8rem;
}

.policy-card h2:first-child {
  margin-top: 0;
}

.policy-card p {
  margin-top: 12px;
  color: var(--muted-strong);
}

.policy-card a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-updated {
  padding-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid,
  .ethos-layout,
  .install-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-subtitle {
    margin-inline: auto;
  }

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

@media (max-width: 760px) {
  .shell,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    grid-template-columns: auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .nav-menu {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    padding: 10px 0 18px;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    gap: 38px;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-subtitle,
  .ethos-copy {
    font-size: 1.08rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-subtitle {
    margin-inline: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-actions .button,
  .store-row .button,
  .store-badge {
    width: 100%;
  }

  .browser-card {
    min-height: 410px;
  }

  .block-screen {
    min-height: 360px;
    padding: 28px 20px;
  }

  .block-screen h2 {
    font-size: 2rem;
  }

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

  .feature-card {
    min-height: auto;
  }

  .install-card,
  .policy-card {
    padding: 24px;
  }

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

@media (max-width: 420px) {
  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .block-screen h2 {
    font-size: 1.8rem;
  }

  .section {
    padding: 58px 0;
  }

  .button {
    min-height: 46px;
    padding-inline: 14px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
