/* Luki Apps — shared styles */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000;
  --surface: #101012;
  --surface-raised: #1c1c1e;
  --text: #f5f5f7;
  --text-2: #a1a1a6;
  --text-3: #6e6e73;
  --accent: #0a84ff;
  --accent-hover: #409cff;
  --line: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-feature-settings: "cv03", "cv04", "cv09", "cv11";
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.center { text-align: center; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner, .footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-inner { height: 54px; }
.brand { color: var(--text); text-decoration: none; font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.nav nav, .footer nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav nav a, .footer nav a { text-decoration: none; font-size: 14px; color: var(--text-2); transition: color .2s; }
.nav nav a:hover, .footer nav a:hover, .nav nav a[aria-current], .footer nav a[aria-current] { color: var(--text); }

/* ---------- Type ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.2; text-transform: uppercase; color: var(--text-3); }
.lead { font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: var(--text-2); }
.small { font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--text-3); }
h1 { font-size: 68px; line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: 48px; line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; }
.price { color: var(--text); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none;
  transition: background-color .25s, transform .25s;
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn-secondary { background: var(--surface-raised); color: var(--text); border: 1px solid var(--line-strong); }
.btn-secondary:hover { background: #2c2c2e; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero { max-width: 1080px; margin: 0 auto; padding: 120px 24px 96px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero h1 span { color: var(--text-3); }
.hero .lead { max-width: 760px; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
.chip {
  display: flex; align-items: center; gap: 12px; text-align: left; text-decoration: none;
  padding: 10px 20px 10px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-strong);
  transition: background-color .25s;
}
.chip:hover { background: var(--surface-raised); }
.chip img { width: 32px; height: 32px; }
.chip strong { display: block; color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.3; }
.chip small { display: block; color: var(--text-3); font-size: 12px; line-height: 1.3; }

/* ---------- Product cards ---------- */
.product { padding: 0 24px 64px; }
.card {
  max-width: 1080px; margin: 0 auto; padding: 64px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 32px;
  display: flex; flex-direction: column; gap: 48px;
}
.card-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px; }
.title-group { flex: 1 1 480px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.app-icon { width: 88px; height: 88px; }
.purchase { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 300px; }
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 20px; margin-top: -16px; border-radius: 16px;
  background: rgba(10, 132, 255, 0.08); border: 1px solid rgba(10, 132, 255, 0.25);
  color: var(--text-2); font-size: 15px; line-height: 1.5;
}
.note strong { color: var(--text); font-weight: 600; }
.note .icon { color: var(--accent); flex: none; margin-top: 1px; }
.shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.shot img { width: 100%; }
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px; }
.feature { display: flex; flex-direction: column; gap: 10px; }
.icon { width: 24px; height: 24px; color: var(--accent); }

/* ---------- How it works ---------- */
.how { max-width: 1080px; margin: 0 auto; padding: 96px 24px 120px; display: flex; flex-direction: column; gap: 24px; }
.how .eyebrow { margin-bottom: -4px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step .icon { color: var(--text); width: 20px; height: 20px; margin-bottom: 8px; }
.step h3 { font-size: 17px; }
.step p { font-size: 15px; }

/* ---------- Documents (Install / Terms / Privacy) ---------- */
.doc { max-width: 768px; margin: 0 auto; padding: 120px 24px 120px; display: flex; flex-direction: column; gap: 20px; }
.doc .doc-title { font-size: 48px; line-height: 1.08; letter-spacing: -0.02em; }
.doc .lead { margin-bottom: 20px; }
.doc a { color: var(--text); text-decoration-color: var(--text-3); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--text); }
.istep { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.istep .icon { width: 22px; height: 22px; }
.doc-sec { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.footer p { font-size: 13px; color: var(--text-3); }
.footer nav a { font-size: 13px; font-weight: 500; color: var(--text); }
.footer nav a:not([aria-current]) { color: var(--text-2); }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
  h1 { font-size: 54px; }
  h2, .doc .doc-title { font-size: 40px; }
  .lead { font-size: 19px; }
  .price { font-size: 36px; }
  .nav-inner, .footer-inner { padding-left: 40px; padding-right: 40px; }
  .card { padding: 48px; }
}

/* ---------- Phone ---------- */
@media (max-width: 809px) {
  h1 { font-size: 40px; }
  h2, .doc .doc-title { font-size: 30px; }
  .lead { font-size: 18px; }
  .price { font-size: 34px; }
  .nav-inner, .footer-inner { padding-left: 20px; padding-right: 20px; }
  .nav nav { gap: 18px; }
  .hero { padding: 72px 20px 64px; }
  .hero h1 br { display: none; }
  .chips { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .product { padding: 0 16px 40px; }
  .card { padding: 28px 20px; border-radius: 24px; gap: 32px; }
  .card-head { gap: 28px; }
  .title-group { flex-basis: 100%; }
  .note { margin-top: -8px; }
  .shot { border-radius: 14px; }
  .steps { grid-template-columns: 1fr; }
  .how { padding: 64px 16px 80px; }
  .doc { padding: 72px 20px 80px; }
  .istep { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
.purchase .gift { margin-top: -6px; }
