:root {
  --midnight: #070d16;
  --ink: #101828;
  --navy: #13213d;
  --navy-2: #0b1726;
  --paper: #f7f5ef;
  --white: #ffffff;
  --muted: #aab6c8;
  --muted-dark: #536070;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: #e4e7ec;
  --gold: #d6a84f;
  --gold-light: #f4d88a;
  --cyan: #20c7b5;
  --cyan-soft: #6fe7da;
  --danger: #d92d20;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:focus-visible {
  outline: 3px solid var(--cyan-soft);
  outline-offset: 4px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: clip;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 13, 22, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.nav {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 12px;
  color: var(--white);
  font-weight: 780;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 0 26px rgba(32, 199, 181, 0.22);
}

.brand-word {
  font-size: 1.28rem;
  line-height: 1;
}

.brand-word .gold {
  color: var(--gold);
}

.brand-product {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 760;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  text-decoration: none;
}

.language-link {
  color: var(--cyan-soft);
  font-weight: 780;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(214, 168, 79, 0.82);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  font-weight: 760;
  background: rgba(214, 168, 79, 0.08);
}

.store-button.is-disabled {
  cursor: default;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 168, 79, 0.86);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 48%, #9e6f1e);
  color: #141007;
  font-weight: 820;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(214, 168, 79, 0.28);
}

.button.secondary {
  background: rgba(7, 13, 22, 0.42);
  color: var(--white);
  border-color: rgba(32, 199, 181, 0.78);
  box-shadow: none;
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 704px;
  overflow: clip;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 13, 22, 0.98) 0%, rgba(7, 13, 22, 0.9) 32%, rgba(7, 13, 22, 0.44) 66%, rgba(7, 13, 22, 0.86) 100%),
    linear-gradient(180deg, rgba(7, 13, 22, 0.05) 0%, rgba(7, 13, 22, 0.78) 100%),
    url("/assets/hero/auriscanner_scan_hero_dark.webp") center / cover no-repeat;
}

.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 74px 28px 132px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 48px;
  align-items: center;
}

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

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: 4.4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.hero h1 .gold {
  color: var(--gold);
}

.hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.3rem;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 34px;
  width: fit-content;
  max-width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.platform {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding-right: 20px;
  color: var(--white);
  font-weight: 740;
}

.platform + .platform {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

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

.app-card {
  position: relative;
  justify-self: end;
  width: min(100%, 350px);
  height: 560px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(20, 33, 53, 0.9), rgba(9, 16, 26, 0.88));
  box-shadow: var(--shadow), 0 0 42px rgba(32, 199, 181, 0.16);
  transform: rotate(4deg);
}

.app-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 20px;
}

.app-card::before {
  content: "";
  position: absolute;
  inset: -22px;
  z-index: -1;
  border-radius: 34px;
  background: radial-gradient(circle at 35% 25%, rgba(32, 199, 181, 0.28), transparent 62%);
  filter: blur(10px);
}

.trust-strip {
  position: absolute;
  left: 50%;
  bottom: 36px;
  width: min(calc(100% - 56px), var(--max));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.trust-item {
  padding: 26px 28px;
  color: rgba(255, 255, 255, 0.78);
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.trust-item strong {
  display: block;
  color: var(--white);
  font-size: 1.06rem;
  margin-bottom: 6px;
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px 28px 88px;
}

.section.compact {
  padding-top: 78px;
}

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

.section-kicker {
  margin: 0 0 12px;
  color: #0e8f84;
  font-size: 0.85rem;
  font-weight: 840;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2,
.legal h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-lead {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted-dark);
  font-size: 1.12rem;
}

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

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.step-number {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--cyan);
  background: linear-gradient(145deg, var(--navy), var(--midnight));
  box-shadow: 0 18px 42px rgba(16, 24, 40, 0.18);
  font-weight: 840;
  font-size: 1.25rem;
}

.step h3 {
  margin: 2px 0 8px;
  font-size: 1.35rem;
}

.step p {
  margin: 0;
  color: var(--muted-dark);
}

.feature-band {
  background: var(--white);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.feature-row h3 {
  margin: 0 0 6px;
  font-size: 1.18rem;
}

.feature-row p {
  margin: 0;
  color: var(--muted-dark);
}

.screenshot-frame {
  border-radius: 26px;
  padding: 16px;
  background: linear-gradient(145deg, #111d2d, #070d16);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.28);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.screenshot-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding: 8px 2px 22px;
}

.screenshot-rail img {
  width: 100%;
  min-width: 150px;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.18);
  background: #101828;
}

.language-note {
  margin-top: 18px;
  color: var(--muted-dark);
  font-size: 0.94rem;
}

.legal-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% -10%, rgba(32, 199, 181, 0.16), transparent 34%),
    linear-gradient(180deg, #07101b 0%, #101828 320px, var(--paper) 320px);
}

.legal {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 74px 28px 96px;
}

.legal-hero {
  color: var(--white);
  margin-bottom: 34px;
}

.legal-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.legal-card h2 {
  margin-top: 36px;
  font-size: 1.38rem;
}

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

.legal-card h3 {
  margin: 28px 0 8px;
}

.legal-card p,
.legal-card li {
  color: var(--muted-dark);
}

.support-contact {
  margin-top: 36px;
  padding: 28px;
  border: 1px solid rgba(32, 199, 181, 0.34);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(7, 13, 22, 0.98), rgba(19, 33, 61, 0.96));
  color: var(--white);
}

.support-contact h2 {
  margin: 4px 0 10px;
}

.support-contact p {
  color: rgba(255, 255, 255, 0.8);
}

.support-contact strong {
  color: var(--gold-light);
}

.support-kicker {
  margin: 0;
  color: var(--cyan-soft) !important;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.support-email {
  margin-top: 8px;
  min-height: 50px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer {
  border-top: 1px solid var(--line-dark);
  background: #eef2f6;
}

.footer.dark {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #07101b;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 30px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted-dark);
  font-size: 0.94rem;
}

.footer.dark .footer-inner {
  color: rgba(255, 255, 255, 0.62);
}

.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .store-button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 64px;
  }

  .hero h1 {
    font-size: 3.4rem;
  }

  .app-card {
    justify-self: start;
    max-width: 330px;
    height: 520px;
    transform: rotate(0deg);
  }

  .trust-strip,
  .steps,
  .feature-split {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    position: static;
    transform: none;
    margin-top: 18px;
    margin-left: auto;
    margin-right: auto;
  }

  .trust-item + .trust-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section {
    padding-top: 72px;
  }
}

@media (max-width: 560px) {
  .legal-shell {
    background:
      radial-gradient(circle at 82% -10%, rgba(32, 199, 181, 0.16), transparent 34%),
      linear-gradient(180deg, #07101b 0%, #101828 430px, var(--paper) 430px);
  }

  .nav,
  .hero-inner,
  .section,
  .legal,
  .footer-inner {
    padding-left: 22px;
    padding-right: 22px;
  }

  .brand-word {
    font-size: 1.08rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .nav-links {
    font-size: 0.9rem;
  }

  .language-link {
    position: absolute;
    top: 15px;
    right: 22px;
    border: 1px solid rgba(32, 199, 181, 0.48);
    border-radius: var(--radius);
    background: rgba(7, 13, 22, 0.96);
  }

  .hero {
    background-position: 58% center;
  }

  .hero-inner {
    padding-top: 44px;
    gap: 34px;
  }

  .hero h1 {
    font-size: 2.72rem;
  }

  .hero p {
    font-size: 1.05rem;
  }

  .platform + .platform {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .platforms {
    display: grid;
    width: 100%;
  }

  .platform {
    width: 100%;
    padding-right: 0;
  }

  .button {
    width: 100%;
  }

  .app-card {
    width: min(100%, 300px);
    height: 470px;
  }

  .trust-item {
    padding: 20px;
  }

  .section h2,
  .legal h1 {
    font-size: 2.2rem;
  }

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

  .legal-card {
    padding: 24px;
  }
}
