:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --line: #2a2a2a;
  --white: #ffffff;
  /* Match .hero-brand (Anton) for all display headings */
  --display-tracking: 0.05em;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  background-color: #000;
  background: radial-gradient(circle at 20% 20%, #121212 0%, var(--bg) 45%, #000 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  overscroll-behavior-x: none;
}

body {
  min-height: 100dvh;
  min-height: 100svh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.intro-splash-active {
  overflow: hidden;
}

/* —— First-visit intro (sessionStorage: kd_splash_seen) —— */
.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #141414 0%, #000 62%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-splash.intro-splash--out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-splash-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 22px);
  padding: 24px;
  animation: introSplashIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.intro-splash-logo {
  width: clamp(56px, 14vw, 100px);
  height: clamp(56px, 14vw, 100px);
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.45));
}

.intro-splash-title {
  font-family: "Anton", sans-serif;
  font-size: clamp(2rem, 10vw, 4.25rem);
  letter-spacing: var(--display-tracking);
  color: #ffffff;
  line-height: 1.02;
  text-transform: uppercase;
}

@keyframes introSplashIn {
  0% {
    opacity: 0;
    transform: scale(0.88) translateY(12px);
    filter: blur(8px);
  }
  70% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-splash-inner {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(#fff 0.4px, transparent 0.4px);
  background-size: 3px 3px;
  z-index: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.65);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px;
  padding-top: max(14px, env(safe-area-inset-top, 0px));
  padding-left: max(22px, env(safe-area-inset-left, 0px));
  padding-right: max(22px, env(safe-area-inset-right, 0px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: var(--display-tracking);
  margin-left: 42px;
}

.brand span {
  font-family: "Anton", sans-serif;
  font-size: 1.15rem;
  letter-spacing: var(--display-tracking);
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-right .socials {
  order: 1;
}

.topbar-right nav {
  order: 2;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #2f2f2f;
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 9px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  position: sticky;
  top: calc(56px + env(safe-area-inset-top, 0px));
  z-index: 19;
  margin: 8px max(12px, env(safe-area-inset-left, 0px)) 0 max(12px, env(safe-area-inset-right, 0px));
  padding: 14px;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  background: rgba(7, 7, 7, 0.95);
  max-height: min(70vh, calc(100dvh - 120px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: #f0f0f0;
  text-decoration: none;
  padding: 12px 10px;
  font-size: 1.05rem;
  line-height: 1.35;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu .socials {
  margin-top: 8px;
}

.mobile-menu.is-open {
  display: block;
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  color: #e3e3e3;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--white);
}

main {
  position: relative;
  z-index: 1;
  width: min(
    1100px,
    calc(100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px))
  );
  margin: 0 auto;
}

section {
  margin: 70px 0;
  scroll-margin-top: calc(86px + env(safe-area-inset-top, 0px));
}

.hero h1,
h2,
h3 {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: var(--display-tracking);
}

.hero {
  padding-top: 40px;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 4.5vw, 32px);
}

.hero-brand-logo {
  width: clamp(36px, 8vw, 44px);
  height: clamp(36px, 8vw, 44px);
  object-fit: contain;
  flex-shrink: 0;
}

.hero-brand {
  color: #ffffff;
  font-family: "Anton", sans-serif;
  font-size: clamp(1.25rem, 3.2vw, 2.1rem);
  letter-spacing: var(--display-tracking);
  margin: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4.3vw, 2.85rem);
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.lead {
  margin-top: 18px;
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.55vw, 1.06rem);
  line-height: 1.65;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.socials {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #3a3a3a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f4f4f4;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
  -webkit-tap-highlight-color: transparent;
}

.social-link svg {
  width: 17px;
  height: 17px;
}

.social-link:hover {
  transform: translateY(-1px);
  border-color: #7a7a7a;
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: #111;
}

.btn-ghost {
  border: 1px solid #404040;
  color: var(--white);
}

.btn-ghost:hover {
  border-color: #737373;
}

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

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

.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid #252525;
  border-radius: 20px;
  padding: 22px;
  min-height: 220px;
  transition: border-color 260ms ease, transform 260ms ease;
}

.card:hover {
  border-color: #676767;
  transform: translateY(-4px);
}

.card h3 {
  margin: 0 0 10px 0;
  font-size: 1.08rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: var(--display-tracking);
  line-height: 1.2;
}

.card p {
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.95rem;
}

.card-highlight {
  color: #fff;
  font-weight: 700;
  margin-top: 10px;
}

.steps h2,
.download h2 {
  margin: 0 0 14px 0;
  font-size: clamp(1.45rem, 3.4vw, 2.45rem);
  text-transform: uppercase;
  line-height: 1.1;
}

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

.step {
  padding: 18px;
  border: 1px solid #232323;
  border-radius: 18px;
  background: var(--bg-soft);
}

.step span {
  display: inline-block;
  font-family: "Anton", sans-serif;
  font-size: 1.45rem;
  color: #dedede;
  line-height: 1;
  letter-spacing: var(--display-tracking);
}

.step h4 {
  margin: 10px 0 6px;
  font-size: 1.05rem;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  letter-spacing: var(--display-tracking);
  line-height: 1.15;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: 0.95rem;
}

.download {
  border: 1px solid #232323;
  border-radius: 28px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}

.download img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.download p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.62;
}

.store-cta {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 220ms ease, opacity 220ms ease;
}

.store-link:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.store-link img {
  display: block;
  height: 52px;
  width: auto;
}

.trust {
  border: 1px solid #232323;
  border-radius: 22px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.trust h2 {
  margin: 0 0 8px;
  line-height: 1.1;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.trust p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
  font-size: clamp(0.95rem, 2.5vw, 1.02rem);
}

/* —— Contact form —— */
.contact {
  scroll-margin-top: calc(86px + env(safe-area-inset-top, 0px));
}

.contact-inner {
  border: 1px solid #232323;
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
}

.contact h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3.4vw, 2.45rem);
  text-transform: uppercase;
  line-height: 1.1;
}

.contact-lead {
  margin: 0 0 26px;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.02rem);
  line-height: 1.65;
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-inner > .contact-feedback {
  max-width: 560px;
  margin-top: 16px;
}

.contact-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label,
.form-field legend {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c8c8c8;
}

.form-field--category {
  border: none;
  margin: 0;
  padding: 0;
}

.form-field--category legend {
  padding: 0;
  margin-bottom: 10px;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #333;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6a6a6a;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: #8a8a8a;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

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

.category-option {
  position: relative;
  cursor: pointer;
  margin: 0;
}

.category-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.category-option-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #333;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.category-option:hover .category-option-inner {
  border-color: #5a5a5a;
}

.category-option input:focus-visible + .category-option-inner {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.category-option input:checked + .category-option-inner {
  border-color: #e8e8e8;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-submit {
  margin-top: 4px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  align-self: flex-start;
}

.contact-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.contact-feedback {
  margin: 4px 0 0;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-feedback--error {
  background: rgba(180, 60, 60, 0.18);
  border: 1px solid rgba(220, 100, 100, 0.45);
  color: #f5c4c4;
}

.contact-feedback--success {
  background: rgba(80, 160, 100, 0.16);
  border: 1px solid rgba(120, 200, 140, 0.45);
  color: #c8efd4;
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .contact-inner {
    border-radius: 16px;
    padding: 20px 16px;
  }

  .contact-submit {
    width: 100%;
    align-self: stretch;
  }
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 70px;
  padding: 18px 20px 30px;
  padding-bottom: max(30px, calc(18px + env(safe-area-inset-bottom, 0px)));
  text-align: center;
  color: #b0b0b0;
  font-size: 0.92rem;
}

.footer-socials {
  margin-bottom: 10px;
  justify-content: center;
}

.footer-contact {
  margin: 0 0 8px;
  color: #d0d0d0;
}

.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  overflow-wrap: anywhere;
}

.footer-contact a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .btn:hover,
  .social-link:hover,
  .store-link:hover {
    transform: none;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .topbar {
    padding: 12px 14px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand span {
    font-size: 1rem;
  }

  .topbar-right {
    gap: 10px;
  }

  .brand {
    margin-left: 20px;
  }

  .topbar .socials {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  main {
    width: calc(
      100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)
    );
  }

  .grid,
  .steps-row,
  .audience {
    grid-template-columns: 1fr;
  }

  section {
    margin: 42px 0;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-brand-row {
    gap: 10px;
    margin-bottom: clamp(14px, 4vw, 22px);
  }

  .hero-brand-logo {
    width: clamp(32px, 9vw, 40px);
    height: clamp(32px, 9vw, 40px);
  }

  .hero-brand {
    font-size: clamp(1.1rem, 5.5vw, 1.65rem);
  }

  .hero h1 {
    font-size: clamp(1.22rem, 5.8vw, 1.95rem);
    line-height: 1.12;
    text-transform: uppercase;
  }

  .lead {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.65;
    font-weight: 500;
  }

  .hero-cta {
    margin-top: 18px;
  }

  .steps h2,
  .download h2 {
    line-height: 1.2;
  }

  .card h3 {
    font-size: 1.08rem;
    line-height: 1.28;
  }

  .card p,
  .step p,
  .download p,
  .trust p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .btn {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    font-size: 1rem;
  }

  .card,
  .step,
  .download,
  .trust {
    border-radius: 16px;
  }

  .card {
    min-height: 0;
    padding: 16px;
  }

  .step {
    padding: 16px;
  }

  .download {
    padding: 20px 16px;
  }

  .store-cta {
    margin-top: 18px;
    gap: 10px;
  }

  .store-link img {
    height: 46px;
  }

  .trust {
    padding: 16px;
  }

  .social-link {
    width: 32px;
    height: 32px;
    font-size: 0.92rem;
  }

  footer {
    margin-top: 42px;
    padding: 14px 14px 24px;
    padding-bottom: max(24px, calc(14px + env(safe-area-inset-bottom, 0px)));
  }
}

@media (max-width: 480px) {
  .noise {
    opacity: 0.05;
  }

  .topbar {
    padding: 10px 10px;
    justify-content: flex-start;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .brand {
    margin-left: 18px;
    gap: 9px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .topbar-right {
    margin-left: auto;
  }

  .mobile-menu {
    top: calc(52px + env(safe-area-inset-top, 0px));
  }

  .hero-brand-row {
    flex-wrap: wrap;
  }

  .hero-brand {
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .trust h2 {
    font-size: clamp(1.15rem, 6.5vw, 1.55rem);
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(1.18rem, 6.5vw, 1.68rem);
    line-height: 1.14;
    text-transform: uppercase;
  }

  .intro-splash-inner {
    padding: max(16px, env(safe-area-inset-top, 0px)) 16px 24px;
  }

  .intro-splash-title {
    letter-spacing: var(--display-tracking);
    font-size: clamp(1.65rem, 9vw, 2.5rem);
  }

  .steps h2,
  .download h2 {
    font-size: clamp(1.2rem, 7vw, 1.7rem);
    margin-bottom: 10px;
    line-height: 1.22;
  }

  .store-link img {
    height: 43px;
  }
}
