/* Lukla Data Studio site — the Lukla Shots design system (shots.luklalogic.ai): same tokens, type and components. */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F7F7F5;
  --surface: #FFFFFF;
  --surface-2: #F3F3F1;
  --line: #E7E6E2;
  --line-2: #D6D5D0;
  --text: #121317;
  --muted: #5C616B;
  --accent: #FF6B2C;
  --accent-ink: #B9420F;
  --accent-soft: rgba(255, 107, 44, .12);
  --on-accent: #1A0B03;
  --link: #1C5ED6;
  --ok: #158A5B;
  --font-display: "Bricolage Grotesque", "Avenir Next", ui-sans-serif, sans-serif;
  --font-body: "Onest", "Avenir Next", ui-sans-serif, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  /* The app's editor (always dark, as in the app icon). */
  --ed-bg: #12161F;
  --ed-bg-2: #181D28;
  --ed-line: #262C3A;
  --ed-text: #DDE3EE;
  --ed-muted: #7E889A;
  --ed-kw: #FF7AA8;
  --ed-str: #9FD67A;
  --ed-num: #F2B36B;
  --ed-fn: #7AB8FF;
  --ed-sel: #2B5BD8;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0C0F;
    --bg-alt: #0F1014;
    --surface: #15171C;
    --surface-2: #1B1E24;
    --line: #262A33;
    --line-2: #343946;
    --text: #F2F3F5;
    --muted: #9BA1AD;
    --accent: #FF8A3D;
    --accent-ink: #FF8A3D;
    --accent-soft: rgba(255, 138, 61, .14);
    --on-accent: #0B0C0F;
    --link: #6EA8FF;
    --ok: #3FCF8E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0C0F; --bg-alt: #0F1014; --surface: #15171C; --surface-2: #1B1E24; --line: #262A33; --line-2: #343946;
  --text: #F2F3F5; --muted: #9BA1AD; --accent: #FF8A3D; --accent-ink: #FF8A3D; --accent-soft: rgba(255, 138, 61, .14);
  --on-accent: #0B0C0F; --link: #6EA8FF; --ok: #3FCF8E; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); text-wrap: balance; }
p { margin: 0 0 14px; }
a { color: var(--link); }
img, svg { display: block; max-width: 100%; }
code, kbd { font-family: var(--font-mono); font-size: .88em; }
kbd { padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 700 17px/1 var(--font-display); letter-spacing: -.01em; margin-right: auto; }
.brand img { width: 32px; height: 32px; }
.top nav { display: flex; gap: 2px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 9px; }
.top nav a:hover { color: var(--text); background: var(--surface-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; font: 650 15.5px/1 var(--font-body); padding: 12px 18px; border-radius: 11px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 8px 22px -10px var(--accent); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 30px -12px var(--accent); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); }
.btn-lg { font-size: 16.5px; padding: 14px 22px; border-radius: 13px; }
.btn-sm { font-size: 14px; padding: 8px 14px; border-radius: 9px; }
.btn svg { width: 19px; height: 19px; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.small { color: var(--muted); font-size: 14px; }

/* Hero */
.hero { position: relative; padding: 76px 0 56px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40% 50% at 50% 70%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    radial-gradient(30% 30% at 20% 30%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
}
.hero-copy { text-align: center; }
h1 { font-weight: 800; font-size: clamp(2.9rem, 8.4vw, 6.2rem); line-height: .95; letter-spacing: -.036em; margin: 26px auto 24px; max-width: 13ch; }
h1 .kicker { display: block; margin: 0 auto 18px; font: 600 clamp(12px, 1.4vw, 14px)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
h1 .hl { color: var(--accent); }
.lede { font-size: 1.16rem; color: var(--muted); max-width: 62ch; }
.hero .lede { margin: 0 auto 30px; max-width: 660px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); }
.hero .small { margin-top: 14px; }
.hero-shot { margin-top: 54px; }

/* Sections */
.sec { padding: 104px 0; }
.band { background: var(--bg-alt); border-block: 1px solid var(--line); }
.dark-band { background: radial-gradient(60% 50% at 50% 0%, rgba(255, 138, 61, .1), transparent 70%), #0B0C0F; color: #F2F3F5; --text: #F2F3F5; --muted: #9BA1AD; --line: #262A33; --surface: #15171C; --surface-2: #1B1E24; --line-2: #343946; --accent: #FF8A3D; --accent-ink: #FF8A3D; }
h2 { font-weight: 780; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.02; letter-spacing: -.038em; margin-bottom: 18px; }
.eyebrow { font: 600 13px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 16px; }
.head { max-width: 760px; margin-bottom: 44px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .lede { margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.flip > :first-child { order: 2; }
/* Grid children may shrink below their content (a wide demo table scrolls inside its window, not the page). */
.split > *, .grid > *, .facts > *, .faq-in > *, .win-body > * { min-width: 0; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted); }
.points li b { color: var(--text); font-weight: 650; }
.points li::before { content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23FF6B2C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* "Instead of extensions" grid */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.card h3 { font: 700 17px/1.25 var(--font-body); margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .was { display: inline-block; margin-bottom: 12px; font: 600 11.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 8px; border-radius: 6px; }

/* App window mock-ups (the editor is always dark, as in the app) */
.win { max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--ed-bg); color: var(--ed-text); border: 1px solid #2A3040; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .04); font: 400 13px/1.55 var(--font-mono); text-align: left; }
.win-tb { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #1A1F2B; border-bottom: 1px solid var(--ed-line); font: 500 12.5px/1 var(--font-body); color: var(--ed-muted); }
.dots { display: flex; gap: 7px; margin-right: 6px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.dots i:nth-child(2) { background: #FEBC2E; }
.dots i:nth-child(3) { background: #28C840; }
.win-tb .grow { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; background: #242A38; color: var(--ed-text); }
.pill .bar { width: 3px; height: 12px; border-radius: 1px; background: #E05252; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3FCF8E; }
.win-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 320px; }
.side { border-right: 1px solid var(--ed-line); padding: 12px 10px; font: 500 12.5px/1.9 var(--font-body); color: var(--ed-muted); }
.side .sel { background: var(--ed-sel); color: #fff; border-radius: 6px; padding: 0 6px; margin: 0 -6px; }
.side .t { padding-left: 14px; }
.side .tt { padding-left: 28px; }
.code { padding: 14px 0; position: relative; }
.ln { display: grid; grid-template-columns: 44px 1fr; white-space: pre; }
.ln > span:first-child { color: #4A5366; text-align: right; padding-right: 14px; user-select: none; }
.kw { color: var(--ed-kw); }
.str { color: var(--ed-str); }
.num { color: var(--ed-num); }
.fn { color: var(--ed-fn); }
.cm { color: #6B7588; font-style: italic; }
.sq { text-decoration: underline wavy #FF5F57; text-underline-offset: 4px; }
.caret { display: inline-block; width: 2px; height: 1.15em; vertical-align: -3px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pop { position: absolute; z-index: 2; min-width: 300px; padding: 6px; border-radius: 10px; background: #222838; border: 1px solid #353C4E; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6); font: 500 13px/1.3 var(--font-body); }
.pop div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 10px; border-radius: 6px; color: var(--ed-text); }
.pop div small { color: var(--ed-muted); font-family: var(--font-mono); }
.pop div.on { background: var(--ed-sel); color: #fff; }
.pop div.on small { color: #DCE6FF; }
.pop hr { border: 0; border-top: 1px solid #353C4E; margin: 4px 2px; }
.pop .off { color: #6B7588; }
.results { border-top: 1px solid var(--ed-line); }
.tabs { display: flex; gap: 4px; padding: 6px 10px; font: 500 12px/1 var(--font-body); color: var(--ed-muted); border-bottom: 1px solid var(--ed-line); }
.tabs span { padding: 5px 9px; border-radius: 6px; }
.tabs span.on { background: #242A38; color: var(--ed-text); }
table.grid-t { width: 100%; border-collapse: collapse; font: 400 12.5px/1 var(--font-mono); }
table.grid-t th { text-align: left; font: 600 11.5px/1 var(--font-body); color: var(--ed-muted); padding: 9px 12px; border-bottom: 1px solid var(--ed-line); white-space: nowrap; }
table.grid-t td { padding: 8px 12px; border-bottom: 1px solid #1C2230; white-space: nowrap; }
table.grid-t tr:nth-child(even) td { background: var(--ed-bg-2); }
table.grid-t td.r { text-align: right; }
table.grid-t td.q { max-width: 330px; overflow: hidden; text-overflow: ellipsis; }
table.grid-t td.bad { color: #FF7A6E; font-weight: 700; }
table.grid-t tr.sel td { background: #24345C; }
.hit { background: rgba(255, 196, 0, .32); border-radius: 3px; padding: 0 1px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--ed-line); font: 500 12.5px/1 var(--font-body); color: var(--ed-muted); }
.seg { display: inline-flex; padding: 2px; border-radius: 8px; background: #242A38; }
.seg span { padding: 5px 10px; border-radius: 6px; }
.seg span.on { background: #3A4256; color: #fff; }
.noise { display: inline-flex; align-items: center; gap: 7px; color: var(--ed-text); }
.noise b { color: var(--accent); }
.search { display: flex; align-items: center; gap: 10px; margin: 12px; padding: 10px 12px; border-radius: 9px; background: #1D2331; font: 500 16px/1 var(--font-body); color: var(--ed-text); }
.search svg { width: 18px; height: 18px; color: var(--ed-muted); }
.preview { padding: 12px 16px; border-top: 1px solid var(--ed-line); white-space: pre; overflow: hidden; }
.goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 16px; font-family: var(--font-body); }
.goal { padding: 12px; border-radius: 10px; background: #1B2130; border: 1.5px solid transparent; }
.goal.on { border-color: var(--accent); background: rgba(255, 138, 61, .1); }
.goal b { display: block; font-size: 14px; margin-bottom: 3px; }
.goal span { font-size: 12.5px; color: var(--ed-muted); line-height: 1.4; display: block; }
.diff { padding: 16px 18px; font-family: var(--font-body); }
.diff table { border-collapse: collapse; font: 500 13.5px/1 var(--font-body); margin: 10px 0 14px; }
.diff td { padding: 6px 22px 6px 0; }
.diff td:first-child { color: var(--ed-muted); }
.good { color: #3FCF8E; font-weight: 700; }
.chg { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fact { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.fact h3 { font: 700 17px/1.25 var(--font-body); margin-bottom: 6px; }
.fact p { color: var(--muted); font-size: 15px; margin: 0; }

/* Pricing */
.plans { display: grid; grid-template-columns: minmax(0, 520px); justify-content: center; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px; border-radius: 22px; border: 2px solid var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 55%, transparent); }
.plan h3 { font: 700 17px/1 var(--font-body); color: var(--accent-ink); }
.price { font: 800 3.4rem/1 var(--font-display); letter-spacing: -.04em; margin: 14px 0 10px; }
.price span { font: 500 15px/1.3 var(--font-body); letter-spacing: 0; color: var(--muted); }
.plan-sub { color: var(--muted); font-size: 15px; }
.plan .points { margin: 4px 0 22px; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; }
.faq-in .head { position: sticky; top: 100px; margin-bottom: 0; align-self: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 18px 2px; font-weight: 650; font-size: 1.05rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat; color: var(--muted); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { color: var(--muted); margin: -4px 0 20px; max-width: 68ch; }

/* Final + footer */
.final { position: relative; padding: 120px 0; text-align: center; isolation: isolate; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 20%, transparent), transparent); z-index: -1; }
.final img { margin: 0 auto 28px; width: 112px; height: 112px; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }
.final h2 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 14ch; margin: 0 auto 16px; }
.final p { color: var(--muted); margin-bottom: 28px; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
.foot nav a { color: var(--muted); font-size: 14.5px; text-decoration: none; }
.foot nav a:hover { color: var(--text); text-decoration: underline; }
.foot p { width: 100%; margin: 0; color: var(--muted); font-size: 13.5px; }

/* Reveal on scroll (only when JS runs; everything is visible without it) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .caret, .final img { animation: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .split, .split.flip, .faq-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .grid, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-in .head { position: static; }
  .top nav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .hero { padding-top: 44px; }
  h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .sec { padding: 72px 0; }
  .grid, .facts, .goal-grid { grid-template-columns: minmax(0, 1fr); }
  .win-body { grid-template-columns: minmax(0, 1fr); }
  .side { display: none; }
  .win { font-size: 11.5px; }
  .win-scroll { overflow-x: auto; }
  .pop { min-width: 0; left: 12px !important; right: 12px; }
  .plan { padding: 24px; }
  .foot nav { margin-left: 0; }
}

/* Real screenshots on the product page */
a.card { color: inherit; text-decoration: none; }
a.card:hover h3 { color: var(--accent-ink); }

/* Landing screenshots: real captures (Lukla Shots), already framed on a background */
.shot-landing { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.hero-shot .shot-landing { max-width: none; }
.shot-landing.shot-tall { max-width: 420px; margin-inline: auto; display: block; }
@media (min-width: 720px) { #hero-title { max-width: 16ch; } .nowrap-lg { white-space: nowrap; } }
video.shot-landing { display: block; aspect-ratio: 1440 / 900; background: #1b1530; }
