:root {
  --bg: #0D0D0F;
  --bg2: #1A1B20;
  --bg3: #25262C;
  --text: #F2F2F4;
  --text2: #D1D1D4;
  --muted: #8E8E93;
  --brand: #CCFF00;
  --on-brand: #0D0D0F;
  --brand-soft: rgba(204, 255, 0, 0.12);
  --border: #2C2C30;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --radius: 20px;
  --max: 1160px;
}
[data-theme="light"] {
  --bg: #F4F4F6;
  --bg2: #FFFFFF;
  --bg3: #E8E8ED;
  --text: #111114;
  --text2: #3A3A3F;
  --muted: #6E6E73;
  --brand: #5C7A00;
  --on-brand: #FFFFFF;
  --brand-soft: rgba(92, 122, 0, 0.1);
  --border: #DCDCE2;
  --shadow: 0 30px 70px rgba(20, 20, 40, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: "Space Grotesk", "Inter", sans-serif; line-height: 1.15; letter-spacing: -0.02em; }

/* Header */
header.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 20px; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.links { display: flex; gap: 28px; font-size: 15px; color: var(--text2); }
.links a:hover { color: var(--brand); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--bg2); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.theme-toggle:hover { border-color: var(--brand); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .sun { display: none; }
[data-theme="light"] .theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px;
  font-weight: 600; font-size: 15px; background: var(--brand); color: var(--on-brand);
}
.btn:hover { filter: brightness(1.08); }

/* Hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px;
  background: radial-gradient(circle, var(--brand-soft), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; position: relative; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 20px; border: 1px solid var(--border);
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); margin-bottom: 20px; }
.hero h1 span { color: var(--brand); }
.hero p.lead { font-size: 19px; color: var(--text2); max-width: 540px; margin-bottom: 32px; }
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 14px;
  background: var(--text); color: var(--bg); min-width: 190px; position: relative; cursor: default;
}
.badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.badge small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; }
.badge strong { display: block; font-size: 18px; line-height: 1.2; }
.badge .soon {
  position: absolute; top: -10px; right: -8px; background: var(--brand); color: var(--on-brand);
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em;
}
.hero-stats { display: flex; gap: 32px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.hero-stats strong { display: block; font-size: 24px; color: var(--text); font-family: "Space Grotesk", sans-serif; }

.phones { display: flex; justify-content: center; align-items: flex-end; gap: 0; position: relative; height: 600px; }
.phone {
  width: 270px; border-radius: 40px; padding: 9px; background: #000;
  box-shadow: var(--shadow), 0 0 0 1px var(--border); flex-shrink: 0;
}
.phone img { border-radius: 32px; width: 100%; aspect-ratio: 1290 / 2796; object-fit: cover; }
.phones .phone.back { transform: translateX(60px) rotate(-6deg) scale(.88); opacity: .95; z-index: 1; }
.phones .phone.front { transform: translateX(-60px) rotate(3deg); z-index: 2; }

/* Sections */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 16px; }
.sec-head p { color: var(--text2); font-size: 18px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand); }
.icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Showcase rows */
.show { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.show:last-child { margin-bottom: 0; }
.show.rev .show-text { order: 2; }
.show-media { display: flex; justify-content: center; }
.show-media .phone { width: 290px; }
.show-text h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.show-text > p { color: var(--text2); font-size: 18px; margin-bottom: 24px; }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; color: var(--text2); }
.ticks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat;
}
[data-theme="light"] .ticks li::before {
  background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat;
}

/* Gallery strip */
.alt { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.strip { display: flex; gap: 24px; overflow-x: auto; padding: 8px 24px 32px; scroll-snap-type: x mandatory; }
.strip .phone { width: 230px; scroll-snap-align: center; }
.strip figure { text-align: center; }
.strip figcaption { margin-top: 14px; color: var(--muted); font-size: 14px; }

/* Personalise */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.swatches span { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bg2); box-shadow: 0 0 0 1px var(--border); }
.duo { display: flex; gap: 20px; justify-content: center; }
.duo .phone { width: 240px; }
.duo .phone:last-child { margin-top: 60px; }

/* FAQ */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 0 24px; }
.faq details[open] { border-color: var(--brand); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text2); padding-bottom: 20px; }

/* Contact */
.contact {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 28px; padding: 64px 32px;
  text-align: center; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, var(--brand-soft), transparent 60%); pointer-events: none;
}
.contact > * { position: relative; }
.contact h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.contact p { color: var(--text2); font-size: 18px; margin-bottom: 28px; }
.contact .badges { justify-content: center; margin-top: 36px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a:hover { color: var(--brand); }
.disclaimer { margin-top: 20px; font-size: 12px; line-height: 1.6; max-width: 900px; }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: 44px; margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal .intro { font-size: 18px; color: var(--text2); margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p { color: var(--text2); margin-bottom: 12px; }
.legal a { color: var(--brand); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .links { display: none; }
  .hero-grid, .show { grid-template-columns: 1fr; gap: 40px; }
  .show.rev .show-text { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .phones { height: 520px; }
  .phone { width: 230px; }
  .show { margin-bottom: 80px; }
}
@media (max-width: 600px) {
  section { padding: 72px 0; }
  .grid { grid-template-columns: 1fr; }
  .nav-right .btn { display: none; }
  .phones { height: 440px; }
  .phone { width: 200px; }
  .phones .phone.back { transform: translateX(40px) rotate(-6deg) scale(.88); }
  .phones .phone.front { transform: translateX(-40px) rotate(3deg); }
  .show-media .phone { width: 240px; }
  .duo .phone { width: 160px; }
  .badge { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
