/* Xheki — site styles. Dark wine red and black, the icon's ink, the captions' yellow. */
:root {
  --bg: #0b0203;
  --bg-2: #140405;
  --wine: #96161a;
  --wine-deep: #5a0a0c;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --faint: rgba(255, 255, 255, 0.12);
  --hi: #ffe800;
  --radius: 22px;
  --max: 1160px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.hi { color: var(--hi); }
.small { font-size: 14px; color: var(--muted); }
.center { text-align: center; }

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 900; }
h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 850; }
h3 { font-size: 21px; font-weight: 750; letter-spacing: -0.01em; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 14px 20px;
  background: rgba(11, 2, 3, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 22px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px;
  background: var(--ink); color: #000;
  font-weight: 750; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 40px rgba(150, 22, 26, .45);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 50px rgba(150, 22, 26, .6); }
.btn-small { padding: 9px 16px; font-size: 14px; box-shadow: none; }

section { max-width: var(--max); margin: 0 auto; padding: 96px 20px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding-top: 64px;
  position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: -120px -40vw auto; height: 760px; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 70% 40%, rgba(150, 22, 26, .55), transparent 70%),
    linear-gradient(180deg, var(--wine-deep) 0%, var(--bg) 85%);
}
.eyebrow { color: var(--hi); font-weight: 750; letter-spacing: .02em; margin: 0 0 14px; }
.lede { font-size: 20px; color: var(--muted); max-width: 34em; margin: 22px 0 30px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.note { font-size: 14px; color: var(--muted); }

.hero-phones { position: relative; height: 640px; }
.phone {
  position: absolute; width: 290px; aspect-ratio: 1320 / 2868;
  border-radius: 46px; padding: 10px; background: linear-gradient(135deg, #5c5c62, #1a1a1e 45%, #3a3a40);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.phone.front { right: 8%; top: 20px; transform: rotate(3deg); }
.phone.back { right: 42%; top: 70px; transform: rotate(-6deg); opacity: .9; }
.phone.solo { position: relative; width: 300px; margin: 0 auto; }

/* Features */
.features h2 { max-width: 16em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.grid article {
  background: linear-gradient(180deg, rgba(150, 22, 26, .18), rgba(255, 255, 255, .03));
  border: 1px solid var(--faint); border-radius: var(--radius); padding: 24px;
}
.grid .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--wine); font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.grid p { color: var(--muted); font-size: 15.5px; margin: 10px 0 0; }

/* Screenshots */
.shots { max-width: none; padding: 20px 0 40px; }
.rail {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px max(20px, calc((100vw - var(--max)) / 2 + 20px)) 24px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail img { width: 260px; flex: none; border-radius: 26px; scroll-snap-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }

/* Glasses */
.glasses { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 30px 0 20px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; color: var(--muted); }
.steps li b { color: var(--ink); }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hi); color: #000; font-weight: 850;
}

/* Pricing */
.pricing h2 { max-width: 18em; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 20px; }
.plan { border: 1px solid var(--faint); border-radius: var(--radius); padding: 28px; background: rgba(255, 255, 255, .03); position: relative; }
.plan.best { background: linear-gradient(180deg, rgba(150, 22, 26, .45), rgba(150, 22, 26, .12)); border-color: rgba(255, 232, 0, .45); }
.plan .tag { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--hi); color: #000; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.price { font-size: 40px; font-weight: 850; letter-spacing: -0.03em; margin: 10px 0 14px; }
.price span { font-size: 16px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.plan ul { padding: 0; margin: 0; list-style: none; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--hi); font-weight: 800; }

/* Privacy band */
.privacy-band {
  text-align: center; border-radius: 32px; margin: 20px auto; padding: 72px 28px;
  max-width: calc(var(--max) - 40px);
  background: radial-gradient(ellipse at top, rgba(150, 22, 26, .5), rgba(150, 22, 26, .08) 70%);
  border: 1px solid var(--faint);
}
.privacy-band p { color: var(--muted); max-width: 40em; margin: 18px auto 0; }

/* FAQ */
.faq { max-width: 820px; }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--faint); padding: 18px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.foot {
  max-width: var(--max); margin: 60px auto 0; padding: 30px 20px calc(40px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center;
  border-top: 1px solid var(--faint);
}
.foot nav { display: flex; gap: 22px; }
.foot nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot .small { margin-left: auto; }

/* Document pages (support) */
.doc { max-width: 780px; padding-top: 48px; }
.doc h1 { font-size: clamp(38px, 6vw, 58px); margin-bottom: 18px; }
.doc h2 { font-size: 26px; margin: 42px 0 10px; }
.doc p, .doc li { color: var(--muted); }
.doc a { color: var(--hi); }
.card { border: 1px solid var(--faint); border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, .03); margin: 22px 0; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-phones { height: 520px; }
  .phone { width: 240px; }
  .phone.front { right: 10%; }
  .phone.back { right: 45%; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .glasses { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .nav .btn-small { margin-left: auto; }
  section { padding: 64px 16px; }
  .hero { padding-top: 32px; }
  .lede { font-size: 18px; }
  .hero-phones { height: 440px; }
  .phone { width: 200px; border-radius: 34px; padding: 8px; }
  .phone img { border-radius: 27px; }
  .phone.front { right: 4%; }
  .phone.back { right: 42%; }
  .grid { grid-template-columns: 1fr; }
  .rail img { width: 220px; }
  .foot .small { margin-left: 0; width: 100%; }
}
