:root {
  --bg: #050607;
  --bg-soft: #0b0f14;
  --surface: #10161d;
  --surface-strong: #141b23;
  --text: #f2f6fb;
  --text-soft: #a4adba;
  --accent: #12f583;
  --accent-soft: #72f3c0;
  --accent-cool: #67cfff;
  --stroke: #1f2630;
  --footer-area: #07090d;
  --footer-panel: #111821;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(18, 245, 131, 0.06), transparent 60%),
    radial-gradient(120% 120% at 10% 10%, rgba(103, 207, 255, 0.06), transparent 58%),
    linear-gradient(160deg, #050607 0%, #06080d 45%, #050607 100%);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.7px, transparent 0.7px);
  background-size: 6px 6px;
  z-index: -1;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

.site-header {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 7, 0.85);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: none;
}

.brand-logo {
  height: 75px;
  width: auto;
  display: block;
}

.main-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.05rem;
  flex-wrap: nowrap;
  white-space: nowrap;
  justify-content: flex-end;
  flex: 1;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #d6dcdf;
}

.menu-toggle {
  display: none;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-family: "Sora", sans-serif;
  padding: 0.25rem 0.1rem;
  cursor: pointer;
}

.menu-icon {
  width: 18px;
  height: 12px;
  position: relative;
  display: inline-block;
}

.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-icon::before {
  top: 0;
}

.menu-icon span {
  top: 5px;
}

.menu-icon::after {
  bottom: 0;
}

main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.2rem 4.5rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: center;
  padding-top: 0.8rem;
}

.chip {
  margin: 0 0 1rem;
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(18, 245, 131, 0.35);
  background: rgba(18, 245, 131, 0.12);
  color: #b5f6db;
  padding: 0.32rem 0.78rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
}

.subtitle {
  max-width: 37ch;
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.6;
}

.hero-copy {
  padding-top: 0.5rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  margin-top: 1.4rem;
}

.app-shot-frame {
  width: clamp(190px, 28vw, 300px);
  padding: 0.8rem;
  border-radius: 1.65rem;
  background: linear-gradient(160deg, #121a23 0%, #0b1016 100%);
  border: 0.6px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.app-shot {
  width: 100%;
  display: block;
  border-radius: 1.15rem;
}

.features {
  padding-top: 1.6rem;
  scroll-margin-top: 70px;
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(160deg, #141b24 0%, #0f141a 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  padding: 1.35rem 1.3rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      120% 120% at 100% 0%,
      rgba(18, 245, 131, 0.16),
      transparent 55%
    ),
    radial-gradient(
      120% 120% at 0% 100%,
      rgba(103, 207, 255, 0.14),
      transparent 60%
    );
  opacity: 0.35;
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(18, 245, 131, 0.4);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
}

.feature-card h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
}

.store-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 0.85rem;
}

.hero-store-links {
  margin-top: 1.5rem;
  width: min(100%, 520px);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    135deg,
    rgba(18, 22, 28, 0.95),
    rgba(8, 10, 14, 0.9)
  );
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 245, 131, 0.4);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
}

.store-badge:focus-visible {
  outline: 2px solid rgba(18, 245, 131, 0.4);
  outline-offset: 2px;
}

.store-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.store-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-copy small {
  letter-spacing: 0.04em;
  font-size: 0.65rem;
  opacity: 0.8;
}

.store-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 1.35rem 1rem 1.35rem;
  background: radial-gradient(
      120% 120% at 100% 0%,
      rgba(18, 245, 131, 0.04),
      transparent 58%
    ),
    radial-gradient(
      120% 120% at 0% 100%,
      rgba(103, 207, 255, 0.05),
      transparent 58%
    ),
    linear-gradient(180deg, #080b10, #05070b 70%);
  border-top: 1px solid #1e252f;
}

.footer-highlight {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  padding: 1.1rem 1.1rem;
  border-radius: 1.6rem;
  background: linear-gradient(135deg, #0f151d 0%, #111a22 50%, #0d141b 100%);
  border: 1px solid #2a3440;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  position: relative;
  overflow: hidden;
}

.footer-highlight::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(
      55% 55% at 20% 20%,
      rgba(18, 245, 131, 0.18),
      transparent 60%
    ),
    radial-gradient(
      55% 55% at 80% 80%,
      rgba(103, 207, 255, 0.18),
      transparent 60%
    );
  opacity: 0.6;
  pointer-events: none;
}

.footer-highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  height: 112px;
  width: auto;
}

.footer-highlight p {
  margin: 0;
  color: var(--text-soft);
}

.footer-tagline {
  max-width: 520px;
  font-size: 1rem;
}

.footer-links {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  position: relative;
  z-index: 1;
}

.footer-links a {
  color: #e6edf3;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(18, 24, 32, 0.95),
    rgba(15, 20, 28, 0.8)
  );
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  border-color: rgba(18, 245, 131, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.3);
}

.footer-links a:focus-visible {
  outline: 2px solid rgba(18, 245, 131, 0.4);
  outline-offset: 2px;
}

.copyright {
  margin-top: 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.policy-page main {
  padding-bottom: 3rem;
}

.policy-card {
  max-width: 900px;
  margin: 1rem auto 0;
  padding: 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, #141b24 0%, #0f141b 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.policy-card h1 {
  margin: 0;
  font-size: 1.85rem;
}

.policy-card h2 {
  margin: 1.2rem 0 0.35rem;
  font-size: 1.12rem;
}

.policy-card p {
  margin: 0.4rem 0;
  color: var(--text-soft);
}

.policy-card li {
  margin: 0.4rem 0;
  color: var(--text-soft);
}

.policy-card ul {
  margin: 0.4rem 0;
  color: var(--text-soft);
}

.policy-card a {
  color: #9bf5ce;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0.2rem 0.5rem;
  }

  .brand {
    margin-right: auto;
    line-height: 0;
  }

  .brand-icon {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 0;
    height: 45px;
    line-height: 0;
  }

  .main-nav {
    width: 100%;
    margin-top: 0;
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    white-space: normal;
    padding: 0 0.15rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition:
      max-height 0.25s ease,
      opacity 0.25s ease,
      transform 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 260px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding: 0.4rem 0.35rem 0.45rem;
    margin-top: 0.35rem;
    border-radius: 0.8rem;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.8);
  }

  .main-nav a {
    width: 100%;
    padding: 0.38rem 0.7rem;
    border-radius: 0.6rem;
    background: linear-gradient(135deg, rgba(10, 10, 7, 0.92), rgba(8, 9, 12, 0.9));
    color: #e6edf3;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a:hover {
    color: #ffffff;
  }

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

  .hero-copy {
    padding-top: 1rem;
  }

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

  .store-links {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-direction: column;
  }

  .app-shot-frame {
    width: min(100%, 320px);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.4rem 0.6rem 0.01rem 0.6rem;
  }

  .brand {
    line-height: 1;
    gap: 0.4rem;
  }

  .brand-icon {
    display: none;
    width: 30px;
    height: 30px;
  }

  .brand-logo {
    display: block;
    height: 48px;
  }

  .site-header,
  main,
  .site-footer {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8.1vw, 2.3rem);
  }

  .subtitle {
    max-width: none;
  }

  .feature-card {
    padding: 1rem;
  }

  .footer-highlight {
    padding: 0.95rem 0.75rem;
  }

  .footer-brand {
    height: 80px;
  }

  .footer-tagline {
    font-size: 0.95rem;
  }

  .footer-links {
    width: 100%;
    gap: 0.6rem;
  }

  .footer-links a {
    width: 100%;
    text-align: center;
    font-size: 0.92rem;
    padding: 0.5rem 0.85rem;
  }

  .policy-card h1 {
    font-size: 1.6rem;
  }

  .policy-card h2 {
    font-size: 1.05rem;
  }

  .policy-card p,
  .policy-card li {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  .brand-icon {
    width: 28px;
    height: 28px;
    display: none;
  }

  .brand-logo {
    height: 52px;
  }

  .chip {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .store-badge {
    padding: 0.58rem 0.7rem;
    gap: 0.56rem;
  }

  .store-icon {
    width: 30px;
    height: 30px;
  }

  .store-copy strong {
    font-size: 0.94rem;
  }

  .store-copy small {
    font-size: 0.62rem;
  }

  .footer-brand {
    height: 70px;
  }

  .footer-links a {
    font-size: 0.88rem;
    padding: 0.45rem 0.8rem;
  }

  .policy-card h1 {
    font-size: 1.45rem;
  }

  .policy-card h2 {
    font-size: 1rem;
  }

  .policy-card p,
  .policy-card li {
    font-size: 0.9rem;
  }
}
