:root {
  --primary: #facc15;
  --primary-strong: #eab308;
  --ink: #f5f5f5;
  --muted: #a1a1aa;
  --muted-2: #d4d4d8;
  --background: #09090b;
  --surface: #14151a;
  --surface-2: #1b1c22;
  --border: #27272a;
  --border-strong: #3f3f46;
  --danger: #f87171;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  --max: 1180px;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-aura {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #000 0%, #070707 52%, #000 100%);
  background-size: 64px 64px, 64px 64px, auto;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 82%);
}

body.nav-open {
  overflow: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--primary);
  color: #111;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  font-weight: 800;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1rem;
  pointer-events: none;
  transition: transform 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: transparent;
}

.nav {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 72px;
  margin: 0 auto;
  padding: 0.8rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 80px rgba(0, 0, 0, 0.58);
  pointer-events: auto;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
}

.brand span {
  color: #ffdc42;
  text-shadow: 0 0 24px rgba(250, 204, 21, 0.24);
}

.brand img,
.footer-brand img {
  border-radius: 22%;
  border: 1px solid var(--border);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-links a {
  color: var(--muted-2);
  text-decoration: none;
  padding: 0.62rem 0.8rem;
  border-radius: 7px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links .nav-contact {
  margin-left: 0.2rem;
  color: var(--primary);
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.22);
}

.nav-links .nav-contact:hover {
  color: #111;
  background: var(--primary);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hero,
.section,
.site-footer,
.legal-page {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding: clamp(8rem, 14vw, 11rem) 0 4rem;
  overflow: hidden;
}

.hero::before {
  content: "LANGKA";
  position: absolute;
  top: 4.5rem;
  left: -0.1em;
  z-index: -1;
  color: rgba(250, 204, 21, 0.07);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(9rem, 27vw, 24rem);
  line-height: 0.8;
  letter-spacing: 0;
  pointer-events: none;
}

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

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 2rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(250, 204, 21, 0.26);
  border-radius: 999px;
  background: rgba(250, 204, 21, 0.08);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
}

.pill-label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--primary);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.02;
  letter-spacing: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-weight: 400;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(4.25rem, 10vw, 9rem);
  max-width: 9ch;
  text-transform: uppercase;
}

h1 span {
  color: var(--primary);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-lede,
.section-heading p,
.tall-copy p,
.privacy-preview p,
.legal-hero p,
.legal-content p,
.legal-content li {
  color: var(--muted-2);
}

.hero-lede {
  max-width: 58ch;
  margin-bottom: 1.6rem;
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  width: fit-content;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.app-store-link img {
  width: 180px;
  height: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button.primary:hover {
  background: #ffe167;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.button.ghost {
  color: var(--primary);
  border: 1px solid rgba(250, 204, 21, 0.24);
  background: rgba(250, 204, 21, 0.07);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 520px;
  margin: 0;
}

.hero-stats div {
  padding: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-stats dt {
  color: var(--ink);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 400;
}

.hero-stats dd {
  margin: 0.12rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
  min-height: min(74vh, 760px);
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 12% 2% 10%;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(250, 204, 21, 0.18), rgba(255, 255, 255, 0.02)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 26px);
  border: 1px solid rgba(250, 204, 21, 0.2);
  border-radius: 28px;
  transform: skewY(-4deg);
}

.phone-stack,
.single-phone,
.screenshot-row figure {
  margin: 0;
}

.phone-stack {
  position: absolute;
  width: min(47%, 285px);
  filter: drop-shadow(var(--shadow));
}

.phone-stack img,
.single-phone img,
.screenshot-row img {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #050505;
}

.phone-stack-primary {
  right: 8%;
  top: 0;
  z-index: 2;
}

.phone-stack-secondary {
  left: 4%;
  bottom: 0;
  transform: rotate(-5deg);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 640px;
}

.feature-band {
  border-top: 1px solid var(--border);
}

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

.feature-card {
  min-height: 250px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1.6rem;
  border-radius: 6px;
  background: rgba(250, 204, 21, 0.14);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 950;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 360px);
  align-items: center;
  gap: clamp(2rem, 8vw, 6rem);
}

.tall-copy {
  max-width: 680px;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--muted-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 3px;
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #111;
}

.single-phone {
  max-width: 330px;
  justify-self: center;
  filter: drop-shadow(var(--shadow));
}

.screens-section {
  overflow: hidden;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 1rem;
}

.screenshot-row figure {
  min-width: 0;
}

.screenshot-row img {
  aspect-ratio: 1260 / 2736;
  object-fit: cover;
  object-position: top;
}

.screenshot-row figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.privacy-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem;
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 24px;
  background: rgba(250, 204, 21, 0.07);
}

.privacy-preview h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.privacy-preview p {
  margin: 0;
}

.text-link {
  color: var(--primary);
  font-weight: 900;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted-2);
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary);
}

.site-footer p {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.92rem;
}

.legal-page {
  max-width: 880px;
  padding: clamp(8rem, 13vw, 10rem) 0 clamp(3rem, 7vw, 5rem);
}

.legal-hero {
  margin-bottom: 2rem;
}

.legal-hero h1 {
  max-width: none;
  margin-bottom: 0.6rem;
  font-size: clamp(2.75rem, 7vw, 5.5rem);
}

.legal-content {
  padding: clamp(1.1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(20, 21, 26, 0.74);
}

.legal-content h2 {
  margin: 2.2rem 0 0.55rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.18;
}

.legal-content h2:first-of-type {
  margin-top: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content a,
.privacy-preview a:not(.text-link) {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  h1 {
    max-width: 12ch;
  }

  .hero-media {
    min-height: clamp(520px, 72vw, 680px);
  }

  .phone-stack {
    width: min(44%, 300px);
  }

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

  .split-section,
  .privacy-preview {
    grid-template-columns: 1fr;
  }

  .text-link {
    white-space: normal;
  }

  .screenshot-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.8rem;
  }

  .screenshot-row figure {
    flex: 0 0 min(68vw, 280px);
    scroll-snap-align: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 0.75rem;
  }

  .nav {
    width: min(100%, var(--max));
    min-height: 64px;
    padding: 0.58rem 0.75rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 82px;
    left: 0.75rem;
    right: 0.75rem;
    display: grid;
    gap: 0.4rem;
    padding: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.75rem) scale(0.98);
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
    pointer-events: none;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.9rem;
  }

  .nav-links .nav-contact {
    margin-left: 0;
  }

  .hero,
  .section,
  .site-footer,
  .legal-page {
    width: min(100% - 1rem, var(--max));
  }

  .hero {
    padding-top: 8rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
    max-width: 10ch;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .hero-actions .app-store-link {
    justify-content: center;
    min-height: 58px;
  }

  .hero-actions .app-store-link img {
    width: 172px;
  }

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

  .hero-media {
    min-height: 520px;
  }

  .phone-stack {
    width: min(58%, 245px);
  }

  .phone-stack-primary {
    right: 1%;
  }

  .phone-stack-secondary {
    left: 0;
  }

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

  .single-phone {
    max-width: min(82vw, 310px);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-media {
    min-height: 430px;
  }

  .phone-stack img,
  .single-phone img,
  .screenshot-row img {
    border-radius: 18px;
  }
}

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