:root {
  color-scheme: dark;
  --ink: #f7fbf5;
  --muted: #b7c4bd;
  --panel: rgba(13, 20, 22, 0.82);
  --panel-strong: #10181a;
  --line: rgba(255, 255, 255, 0.14);
  --green: #00e5a8;
  --green-dark: #052d25;
  --blue: #7eb8ff;
  --amber: #f6bd60;
  --rose: #ef6f7b;
  --violet: #b9a7ff;
  --cyan: #5bdce2;
  --paper: #eef4ef;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #071112;
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(7, 17, 18, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: var(--ink);
}

.brand-wordmark {
  font-weight: 800;
  letter-spacing: 0;
  font-size: 2rem;
  line-height: 1;
}

.brand-wordmark span {
  color: var(--green);
}

.brand-slogan {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: rgba(247, 251, 245, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-slogan::before {
  width: 1px;
  height: 22px;
  content: "";
  background: rgba(255, 255, 255, 0.2);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 92vh;
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 84px) 96px;
  background:
    linear-gradient(90deg, rgba(7, 17, 18, 0.98) 0%, rgba(7, 17, 18, 0.9) 42%, rgba(7, 17, 18, 0.42) 100%),
    linear-gradient(180deg, rgba(4, 10, 11, 0.2), rgba(4, 10, 11, 0.94));
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 68px;
  content: "";
  background: linear-gradient(180deg, rgba(7, 17, 18, 0), #071112);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  opacity: 0.78;
  filter: saturate(1.06) contrast(1.02);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.15rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1vw, 1rem);
  line-height: 1.6;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-button {
  display: grid;
  min-width: 168px;
  min-height: 58px;
  justify-content: start;
  padding: 9px 16px 9px 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #f6fbf8;
  color: #071112;
  line-height: 1.1;
  position: relative;
}

.store-icon,
.play-store::before {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 28px;
  height: 32px;
}

.store-icon {
  fill: currentColor;
}

.chrome-store-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.apple-icon {
  top: 10px;
  width: 36px;
  height: 40px;
}

.play-store::before {
  content: "";
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  border-radius: 2px;
  background: linear-gradient(135deg, var(--green), var(--blue) 52%, var(--amber));
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--green);
}

.store-kicker {
  color: #2f3b3d;
  font-size: 0.7rem;
  font-weight: 700;
}

.store-name {
  font-size: 1.2rem;
  font-weight: 900;
}

.install-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(7, 17, 18, 0.98), rgba(7, 17, 18, 0.72)),
    url("./bg.png") right center / auto 100% no-repeat,
    #071112;
}

.install-main {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 34px;
  padding: 48px clamp(20px, 6vw, 84px);
}

.install-brand {
  width: max-content;
}

.install-panel {
  max-width: 720px;
}

.install-panel h1 {
  max-width: 10ch;
}

.intro-band,
.story-section,
.connect-section,
footer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  padding: 78px clamp(20px, 6vw, 84px);
}

.intro-band {
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 229, 168, 0.24), transparent 34%),
    radial-gradient(circle at 88% 70%, rgba(0, 229, 168, 0.14), transparent 30%),
    var(--paper);
  color: #081414;
  box-shadow: inset 0 28px 90px rgba(0, 229, 168, 0.1);
}

.intro-band .section-kicker,
.security-section .section-kicker,
.connect-section .section-kicker {
  color: #14534a;
}

.intro-band p:last-child,
.section-copy p,
.connect-section p {
  margin: 0;
  color: #435150;
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px clamp(20px, 6vw, 84px);
  background: #071112;
}

.feature-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #0b1516;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-mark {
  display: block;
  width: 34px;
  height: 6px;
  margin-bottom: 28px;
  border-radius: 999px;
}

.green {
  background: var(--green);
}

.blue {
  background: var(--blue);
}

.amber {
  background: var(--amber);
}

.rose {
  background: var(--rose);
}

.violet {
  background: var(--violet);
}

.cyan {
  background: var(--cyan);
}

.security-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 229, 168, 0.2), transparent 32%),
    radial-gradient(circle at 12% 86%, rgba(0, 229, 168, 0.12), transparent 28%),
    linear-gradient(120deg, rgba(126, 184, 255, 0.1), transparent 48%),
    #f8fbf7;
  color: #071112;
  box-shadow: inset 0 28px 90px rgba(0, 229, 168, 0.1);
}

.section-copy {
  display: grid;
  gap: 22px;
}

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

.check-list p {
  min-height: 74px;
  margin: 0;
  padding: 22px 22px 20px 48px;
  border: 1px solid rgba(7, 17, 18, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #10201f;
  font-weight: 800;
  position: relative;
}

.check-list p::before {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 229, 168, 0.16);
}

.recovery-section {
  padding: 84px clamp(20px, 6vw, 84px);
  background: #071112;
}

.section-heading {
  max-width: 820px;
}

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

.recovery-steps article {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.recovery-steps strong {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #061110;
}

.recovery-steps p {
  color: var(--muted);
  line-height: 1.6;
}

.connect-section {
  background:
    radial-gradient(circle at 72% 28%, rgba(0, 229, 168, 0.22), transparent 34%),
    radial-gradient(circle at 18% 80%, rgba(0, 229, 168, 0.13), transparent 30%),
    #dfe8e3;
  color: #071112;
  box-shadow: inset 0 28px 90px rgba(0, 229, 168, 0.12);
}

footer {
  padding-top: 34px;
  padding-bottom: 34px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
    padding-bottom: 74px;
  }

  .hero-bg {
    background-position: right center;
    background-size: auto 100%;
    opacity: 0.42;
  }

  h1 {
    max-width: 11ch;
  }

  .intro-band,
  .story-section,
  .connect-section,
  footer {
    grid-template-columns: 1fr;
  }

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

}

@media (max-width: 620px) {
  .brand {
    gap: 10px;
  }

  .brand-wordmark {
    font-size: 1.65rem;
  }

  .brand-slogan {
    font-size: 0.74rem;
  }

  .brand-slogan::before {
    height: 18px;
  } 

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .feature-grid,
  .recovery-steps,
  .check-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .recovery-steps article {
    min-height: auto;
  }
}
