/* Drag Pixels — site styles. One file for every page. */

:root {
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --paper: #fbfbfd;
  --paper-2: #f2f2f5;
  --line: #d9d9de;
  --night: #000;
  --night-2: #0d0d10;
  --night-3: #17171c;
  --night-ink: #f5f5f7;
  --night-ink-2: #a1a1a8;
  --night-line: #2a2a31;
  --gold: #ffc93c;
  --gold-hot: #fff3b0;
  --magenta: #ff3db8;
  --cyan: #3fe0ff;
  --blue: #2f6bff;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable Display", "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Global nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.nav.dark { background: rgba(10, 10, 12, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); color: var(--night-ink); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.brand svg { width: 22px; height: 22px; flex: none; }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; font-size: 14px; }
.nav ul a { text-decoration: none; opacity: 0.8; transition: opacity .2s; }
.nav ul a:hover, .nav ul a[aria-current="page"] { opacity: 1; }
@media (max-width: 560px) {
  .nav ul { gap: 16px; font-size: 13px; }
  .brand span { display: none; }
}

/* ---------- Type ---------- */
.eyebrow { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); margin: 0 0 10px; }
.display { font-size: clamp(44px, 8vw, 96px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; margin: 0; }
.h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 700; margin: 0; }
.h2 { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 700; margin: 0; }
.h3 { font-size: 24px; line-height: 1.17; letter-spacing: -0.02em; font-weight: 600; margin: 0; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; letter-spacing: -0.015em; color: var(--ink-2); margin: 18px 0 0; font-weight: 400; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 740px; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.center .actions { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px; border-radius: 980px;
  font: inherit; font-size: 17px; font-weight: 500; text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff; border: 0; transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.1); }
.btn.gold { background: var(--gold); color: #1a1300; }
.btn.ghost { background: transparent; color: var(--blue); padding-inline: 4px; }
.night .btn.ghost { color: #6aa6ff; }
.btn.ghost::after { content: "›"; font-size: 1.25em; line-height: 1; transform: translateY(-1px); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- Sections ---------- */
section { padding: clamp(72px, 11vw, 140px) 0; }
.paper-2 { background: var(--paper-2); }
.night { background: var(--night); color: var(--night-ink); }
.night .eyebrow, .night .lead, .night .muted { color: var(--night-ink-2); }
.night-2 { background: var(--night-2); color: var(--night-ink); }
.night-2 .eyebrow, .night-2 .lead, .night-2 .muted { color: var(--night-ink-2); }

/* ---------- Glow title (the hero is drawn with CSS, like the plugin's Default look) ---------- */
.glow-title {
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; margin: 0;
  font-size: clamp(56px, 12vw, 152px);
  color: var(--gold-hot);
  text-shadow:
    0 0 6px rgba(255, 236, 150, 0.95),
    0 0 18px rgba(255, 210, 80, 0.85),
    0 0 42px rgba(255, 190, 40, 0.65),
    0 0 90px rgba(255, 170, 20, 0.45),
    0 0 180px rgba(255, 150, 0, 0.35);
}
.glow-title.neon {
  color: #ffd6f1;
  text-shadow: 0 0 5px rgba(255, 140, 220, .95), 0 0 16px rgba(255, 61, 184, .85), 0 0 40px rgba(255, 61, 184, .6), 0 0 90px rgba(255, 61, 184, .4);
}
@media (prefers-reduced-motion: no-preference) {
  .glow-title.breathe { animation: breathe 5s ease-in-out infinite; }
  @keyframes breathe { 50% { filter: brightness(1.12) saturate(1.1); } }
}

/* ---------- Home hero ---------- */
.hero-home { padding-top: clamp(64px, 10vw, 120px); padding-bottom: 40px; text-align: center; }
.hero-home .display { max-width: 900px; margin-inline: auto; }
.hero-home .display em { font-style: normal; background: linear-gradient(90deg, #ff9f0a, #ff3db8 55%, #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Feature product tile (home) ---------- */
.tile {
  position: relative; overflow: hidden; border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 0%, #2a1d05 0%, #0b0a08 55%, #000 100%);
  color: var(--night-ink); text-align: center;
  padding: clamp(48px, 8vw, 90px) 24px 0;
}
.tile .eyebrow { color: var(--gold); }
.tile .lead { color: var(--night-ink-2); }
.tile .shot { margin: clamp(36px, 6vw, 60px) auto 0; width: min(900px, 100%); border-radius: 18px 18px 0 0; box-shadow: 0 -20px 120px rgba(255, 180, 40, .18); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: 34px 30px; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05); }
.card p { margin: 10px 0 0; color: var(--ink-2); }
.night .card, .night-2 .card { background: var(--night-3); box-shadow: none; border: 1px solid var(--night-line); }
.night .card p, .night-2 .card p { color: var(--night-ink-2); }
.icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; font-size: 20px; }
.icon svg { width: 22px; height: 22px; }

/* ---------- Product page ---------- */
.subnav { position: sticky; top: 52px; z-index: 40; background: rgba(0,0,0,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08); color: var(--night-ink); }
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; height: 50px; gap: 12px; }
.subnav strong { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.subnav nav { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.subnav nav a { text-decoration: none; opacity: .8; }
.subnav nav a:hover { opacity: 1; }
.subnav .btn { min-height: 30px; padding: 5px 14px; font-size: 13px; }
@media (max-width: 640px) { .subnav nav a:not(.btn) { display: none; } }

.hero-product { background: radial-gradient(90% 70% at 50% 40%, #1d1404 0%, #050403 60%, #000 100%); color: var(--night-ink); text-align: center; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); overflow: hidden; }
.hero-product .tagline { font-size: clamp(22px, 3vw, 32px); font-weight: 600; letter-spacing: -0.02em; margin: 36px 0 0; }
.hero-product .lead { color: var(--night-ink-2); }
.hero-product .price-note { margin-top: 16px; font-size: 15px; color: var(--night-ink-2); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 24px; margin-top: 64px; text-align: center; }
.stat b { display: block; font-size: clamp(40px, 5vw, 56px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--night-ink-2); font-size: 15px; }
.gold-text { color: var(--gold); }
.cyan-text { color: var(--cyan); }
.magenta-text { color: var(--magenta); }

/* Looks explorer */
.looks { margin-top: 56px; }
.looks-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; aspect-ratio: 640 / 260; box-shadow: 0 30px 120px rgba(0,0,0,.6); }
.looks-stage img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.looks-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 18px; }
.looks-caption b { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.looks-caption span { color: var(--night-ink-2); font-size: 15px; text-align: right; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; justify-content: center; }
.chip { font: inherit; font-size: 14px; color: var(--night-ink); background: var(--night-3); border: 1px solid var(--night-line); border-radius: 980px; padding: 8px 16px; cursor: pointer; transition: background .2s, border-color .2s; }
.chip:hover { border-color: #555; }
.chip[aria-pressed="true"] { background: var(--night-ink); color: #000; border-color: var(--night-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); }

.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.feature-list li { padding-left: 28px; position: relative; color: var(--night-ink-2); }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.feature-list li b { color: var(--night-ink); font-weight: 600; }

/* Spec table */
.specs { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 16px; }
.specs th, .specs td { text-align: left; padding: 18px 0; border-top: 1px solid var(--line); vertical-align: top; }
.specs th { width: 34%; font-weight: 600; padding-right: 20px; }
.specs td { color: var(--ink-2); }

/* Pricing */
.price-card { max-width: 520px; margin: 48px auto 0; text-align: center; background: #fff; border-radius: 28px; padding: 48px 36px; box-shadow: 0 10px 50px rgba(0,0,0,.08); }
.price { font-size: 64px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; margin: 18px 0 6px; }
.price s { font-size: 28px; color: var(--ink-2); font-weight: 500; margin-left: 8px; letter-spacing: -0.02em; }
.price-card ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; color: var(--ink-2); font-size: 16px; }
.price-card .actions { justify-content: center; }
.small { font-size: 13px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 40px auto 0; }
.faq details { border-top: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 26px; line-height: 1; color: var(--ink-2); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p, .faq details ol { color: var(--ink-2); margin: 14px 0 0; }

/* Coming soon / tutorials */
.soon { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 980px; background: #e8e8ed; color: var(--ink-2); }
.night .soon, .night-2 .soon { background: #26262c; color: var(--night-ink-2); }

/* Legal pages */
.legal { padding: 72px 0 110px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); letter-spacing: -0.03em; line-height: 1.08; margin: 0 0 8px; }
.legal h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 8px; }
.legal p, .legal li { color: #424245; }
.legal .updated { color: var(--ink-2); font-size: 15px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
footer { background: var(--paper-2); color: var(--ink-2); font-size: 13px; padding: 40px 0 48px; }
footer.dark { background: var(--night-2); color: var(--night-ink-2); border-top: 1px solid var(--night-line); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
footer.dark .foot-grid { border-bottom-color: var(--night-line); }
.foot-grid h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
footer.dark .foot-grid h4 { color: var(--night-ink); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; }

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Fixes: light sections inside a dark page, dark tables/FAQ, soft image edges ---------- */
.paper-2, .paper { color: var(--ink); }
.paper-2 .eyebrow, .paper-2 .lead, .paper-2 .muted { color: var(--ink-2); }
.night .specs th, .night-2 .specs th { color: var(--night-ink); }
.night .specs td, .night-2 .specs td { color: var(--night-ink-2); }
.night .specs th, .night .specs td, .night-2 .specs th, .night-2 .specs td,
.night .faq details, .night-2 .faq details { border-color: var(--night-line); }
.night .faq details p, .night-2 .faq details p { color: var(--night-ink-2); }
.night .faq summary::after, .night-2 .faq summary::after { color: var(--night-ink-2); }
.night main a:not(.btn), .night-2 a:not(.btn) { color: #6aa6ff; }
.paper-2 a:not(.btn) { color: var(--blue); }
.night .paper-2 .btn.ghost { color: var(--blue); }
.tile .shot, .split img { -webkit-mask-image: radial-gradient(75% 80% at 50% 55%, #000 55%, transparent 100%); mask-image: radial-gradient(75% 80% at 50% 55%, #000 55%, transparent 100%); }
.tile .shot { border-radius: 0; box-shadow: none; }
.foot-grid a { overflow-wrap: anywhere; }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
