@font-face {
  font-family: "Lilita One";
  src: url("/assets/fonts/lilita_one_regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito_semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito_extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #131a13;
  --night: #1b1b14;
  --panel: #1f2a1e;
  --panel-2: #2b3829;
  --line: #3a4d36;
  --sand: #eadfc4;
  --muted: #c9c3a8;
  --faint: #7d8a6e;
  --amber: #f2b134;
  --amber-deep: #b87f12;
  --coin: #ffe27a;
  --go: #5dbb2e;
  --go-deep: #3f8a1c;
  --red: #b83a27;
  --blue: #1f63c2;
  --canyon: #f2b134;
  --frost: #3f8fd2;
  --jungle: #3e8a3a;
  --city: #4a5f9a;
  --fortress: #c0602a;
  --radius: 20px;
  --wrap: 1160px;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--sand);
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; }
h3 { font-size: 1.45rem; color: #fff; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--night); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--coin); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 32px, 820px); }
.eyebrow { font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--amber); margin-bottom: 12px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(19, 26, 19, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(234, 223, 196, 0.08); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.25rem; }
.brand img { border-radius: 10px; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a { color: var(--muted); text-decoration: none; font-weight: 800; font-size: 0.95rem; }
.nav__links a:hover { color: #fff; }
.nav__toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 3px; background: var(--sand); border-radius: 2px; margin: 4px 0; transition: transform 0.2s, opacity 0.2s; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--display); font-size: 1.1rem; color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 16px; background: var(--blue); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.25); transition: transform 0.12s, box-shadow 0.12s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.25); }
.btn--go { background: var(--go); }
.nav__links .btn--small { color: #fff; padding: 8px 16px; font-size: 1rem; border-radius: 13px; }

.store { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 12px 20px; border-radius: 16px; background: var(--night); color: #fff; text-decoration: none; border: 2px solid rgba(234, 223, 196, 0.18); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4); transition: transform 0.12s, border-color 0.12s; }
.store:hover { transform: translateY(-2px); border-color: var(--amber); }
.store--soon { opacity: 0.6; cursor: default; box-shadow: none; }
.store--soon:hover { transform: none; border-color: rgba(234, 223, 196, 0.18); }
.store svg { width: 28px; height: 28px; fill: #fff; flex: none; }
.store span { display: flex; flex-direction: column; font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.store small { font-family: var(--body); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: radial-gradient(120% 90% at 80% 10%, #3a2a16 0%, transparent 55%), linear-gradient(180deg, #1c2a19 0%, var(--ink) 100%); }
.hero__glow { position: absolute; inset: auto -20% -40% auto; width: 70vw; height: 70vw; background: radial-gradient(circle, rgba(242, 177, 52, 0.18), transparent 60%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.title { display: flex; flex-direction: column; font-size: clamp(3.2rem, 8.5vw, 6.4rem); line-height: 0.95; }
.title span { color: var(--coin); -webkit-text-stroke: 0.08em var(--night); paint-order: stroke fill; text-shadow: 0 0.07em 0 var(--night); }
.title span + span { color: var(--amber); }
.tagline { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: 18px 0 14px; }
.lead { color: var(--muted); max-width: 34em; font-size: 1.08rem; }
.lead strong { color: var(--coin); font-weight: 800; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta--center { justify-content: center; }
.badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 26px 0 0; color: var(--muted); font-weight: 800; font-size: 0.92rem; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Phones */
.phone { position: relative; border-radius: 34px; padding: 9px; background: linear-gradient(160deg, #3a3a32, #141410); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.06); }
.phone img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 720 / 1440; object-fit: cover; object-position: top; }
.hero__phones { position: relative; height: 720px; pointer-events: none; }
.hero__copy { position: relative; z-index: 4; }
.hero__phones .phone { position: absolute; width: 310px; top: 50%; left: 50%; }
.phone--front { transform: translate(-50%, -50%); z-index: 3; }
.phone--left { transform: translate(-100%, -44%) rotate(-8deg) scale(0.82); z-index: 1; opacity: 0.92; }
.phone--right { transform: translate(0%, -44%) rotate(8deg) scale(0.82); z-index: 2; opacity: 0.92; }

/* Sections */
.section { padding: 104px 0; }
.section--alt { background: linear-gradient(180deg, var(--panel) 0%, #19231a 100%); border-block: 1px solid rgba(234, 223, 196, 0.06); }
.pitch { position: relative; overflow: hidden; padding: 64px 0 60px; text-align: center; background: linear-gradient(90deg, rgba(242, 177, 52, 0.0), rgba(242, 177, 52, 0.14) 50%, rgba(242, 177, 52, 0.0)), var(--night); border-block: 1px solid rgba(242, 177, 52, 0.22); }
.pitch__big { margin: 0; font-family: var(--display); font-size: clamp(3rem, 9.5vw, 8.5rem); line-height: 0.95; text-transform: uppercase; color: var(--coin); -webkit-text-stroke: 0.06em var(--ink); paint-order: stroke fill; text-shadow: 0 0.06em 0 var(--ink), 0 0 60px rgba(242, 177, 52, 0.35); }
.pitch__sub { margin: 18px auto 0; max-width: 40em; color: #fff; font-weight: 800; font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.section__head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section__head p:last-child { color: var(--muted); margin-top: 16px; font-size: 1.08rem; }

.cards { display: grid; gap: 22px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: var(--panel-2); border-radius: var(--radius); padding: 30px; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.35); border: 1px solid rgba(234, 223, 196, 0.07); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card__icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35), inset 0 2px 0 rgba(255, 255, 255, 0.25); }
.card__icon svg { width: 44px; height: 44px; }
.card--wedge .card__icon { background: var(--amber); color: var(--night); }
.card--line .card__icon { background: var(--blue); }
.card--shield .card__icon { background: var(--red); }

/* Operations */
.ops { display: grid; gap: 30px; }
.ops__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.op { --c: var(--canyon); display: inline-flex; align-items: center; gap: 10px; font: 800 0.98rem var(--body); color: var(--muted); background: var(--night); border: 2px solid transparent; padding: 10px 16px; border-radius: 14px; cursor: pointer; transition: border-color 0.15s, color 0.15s, transform 0.12s; }
.op b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--display); font-weight: 400; }
.op:hover { color: #fff; }
.op[aria-selected="true"] { color: #fff; border-color: var(--c); transform: translateY(-1px); }
.op--frost { --c: var(--frost); }
.op--jungle { --c: var(--jungle); }
.op--city { --c: var(--city); }
.op--fortress { --c: var(--fortress); }
.ops__panel { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; max-width: 940px; margin: 0 auto; }
.war-shots { display: flex; justify-content: center; gap: 28px; margin: 0 auto 40px; }
.war-shots .phone { width: 300px; }
.war-shots .phone:first-child { transform: rotate(-4deg) translateY(18px); }
.war-shots .phone:last-child { transform: rotate(4deg) translateY(18px); }
.live { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: var(--go, #3f9a33); color: #fff; letter-spacing: 0.06em; }
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(16px, calc((100vw - 1120px) / 2)) 36px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent; }
.gallery:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.5); outline-offset: -3px; }
.shot { flex: 0 0 300px; margin: 0; scroll-snap-align: center; }
.tablet { position: relative; border-radius: 30px; padding: 14px; background: linear-gradient(160deg, #3a3a32, #141410); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 2px rgba(255, 255, 255, 0.06); }
.tablet img { display: block; border-radius: 18px; width: 100%; height: auto; aspect-ratio: 960 / 1280; object-fit: cover; }
.tabshot { flex: 0 0 540px; margin: 0; scroll-snap-align: center; }
.tabshot figcaption { margin-top: 16px; text-align: center; color: var(--faint); font-weight: 800; font-size: 0.95rem; }
.ipad-head { margin-top: 56px; }
.shot figcaption { margin-top: 14px; text-align: center; color: var(--faint); font-weight: 800; font-size: 0.92rem; }
.phone--panel img { transition: opacity 0.25s; }
.phone--panel img.is-fading { opacity: 0; }
.ops__text h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 14px; }
.ops__text p { color: var(--muted); font-size: 1.08rem; }
.ops__facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ops__facts li { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.ops__facts li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--amber); transform: rotate(45deg); }

/* The enemy */
.cast { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.foe { --c: var(--canyon); position: relative; background: var(--panel-2); border-radius: 16px; padding: 18px 16px 16px; border-top: 4px solid var(--c); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35); }
.foe h3 { font-size: 1.12rem; margin: 6px 0 4px; }
.foe p { color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.foe__lv { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); }
.foe--boss { background: linear-gradient(180deg, #33402f 0%, var(--panel-2) 100%); }
.foe--frost { --c: var(--frost); }
.foe--jungle { --c: #6cb85a; }
.foe--city { --c: #8aa0e0; }
.foe--fortress { --c: var(--fortress); }
.foe--final { background: linear-gradient(180deg, #4a2418 0%, #2b1a14 100%); box-shadow: 0 5px 0 rgba(0, 0, 0, 0.4), 0 0 0 2px var(--red); }
.showcase { display: grid; grid-template-columns: repeat(2, 330px); justify-content: center; gap: 36px; margin: 64px 0 0; }
.showcase figcaption { grid-column: 1 / -1; text-align: center; color: var(--faint); font-weight: 800; font-size: 0.92rem; }

/* Promise */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; background: linear-gradient(135deg, #24321f, #1a2418); border-radius: 26px; padding: 40px; border: 1px solid rgba(93, 187, 46, 0.25); }
.promise h3 { color: var(--coin); margin-bottom: 8px; font-size: 1.3rem; }
.promise p { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--panel-2); border-radius: 16px; padding: 4px 22px; border: 1px solid rgba(234, 223, 196, 0.07); }
.faq summary { cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.2rem; color: #fff; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--amber); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 18px; }

/* Download */
.download { text-align: center; background: radial-gradient(70% 90% at 50% 0%, #2e3d26 0%, var(--ink) 70%); }
.download__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.download__inner img { border-radius: 30px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5); }
.download__inner p { color: var(--muted); font-size: 1.08rem; }

/* Footer */
.footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(234, 223, 196, 0.08); color: var(--faint); font-size: 0.92rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer nav a { color: var(--muted); text-decoration: none; font-weight: 800; }
.footer nav a:hover { color: #fff; }

/* Legal pages */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); color: #fff; margin-bottom: 8px; }
.legal .updated { color: var(--faint); margin-bottom: 36px; }
.legal h2 { font-size: 1.6rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 64px 0; }
.notfound h1 { font-size: clamp(3rem, 10vw, 6rem); color: var(--coin); -webkit-text-stroke: 0.06em var(--night); paint-order: stroke fill; }
.notfound p { color: var(--muted); margin: 12px 0 28px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero__phones { height: 640px; }
  .hero__phones .phone { width: 270px; }
}

@media (max-width: 1000px) {
  .cast { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .cta, .badges { justify-content: center; }
  .hero__phones { height: 660px; }
  .hero__phones .phone { width: 290px; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; background: rgba(19, 26, 19, 0.97); border-bottom: 1px solid rgba(234, 223, 196, 0.1); display: none; }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid rgba(234, 223, 196, 0.06); }
  .nav__links .btn--small { margin-top: 12px; border: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 76px 0; }
  .cards--3, .cards--2, .promise { grid-template-columns: 1fr; }
  .ops__panel { grid-template-columns: 1fr; gap: 28px; justify-items: center; text-align: center; }
  .ops__panel .phone { width: min(320px, 78vw); }
  .war-shots { gap: 10px; }
  .war-shots .phone { width: min(180px, 29vw); padding: 5px; border-radius: 20px; }
  .war-shots .phone img { border-radius: 16px; }
  .gallery { gap: 18px; }
  .shot { flex-basis: 260px; }
  .tabshot { flex-basis: min(460px, 82vw); }
  .ops__facts { justify-items: center; }
  .showcase { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 16px; }
  .promise { padding: 28px; }
}

@media (max-width: 480px) {
  .hero { padding: 44px 0 64px; }
  .hero__phones { height: 500px; }
  .hero__phones .phone { width: 220px; }
  .store { width: 100%; justify-content: center; }
  .cast { grid-template-columns: 1fr 1fr; gap: 10px; }
  .foe { padding: 14px 12px; }
  .shot { flex-basis: 76vw; }
  .tabshot { flex-basis: 86vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .store, .op, .phone--panel img { transition: none; }
}
