/* ═══════════════════════════════════════════════════════════
   LumaWall marketing site

   The design language follows xinet.id, the rest of the group: one accent
   colour used sparingly, one restrained reveal, no decorative effects. The
   product's own crimson is the accent, so the site reads as LumaWall while
   still looking like part of the same family.

   What was removed, and why: the earlier version had gradient text, per
   character reveals, counting numbers, a shiny sweep, hover lifts and a
   monospace label font. Each effect is defensible alone; together they read as
   decoration rather than design, which is what made it look cheap.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Surfaces — the same steps xinet.id uses */
  --base:      #080a0c;
  --surface:   #101316;
  --elevated:  #15191d;
  --line:      rgba(255, 255, 255, .08);
  --line-soft: rgba(255, 255, 255, .05);

  /* Semantic. Used for exactly two things: the measured-good figure in the
     performance pair, and the "we have this" column in the comparison table. */
  --good:       #3ecf8e;

  /* Ink */
  --ink:        #f5f7f8;
  --ink-muted:  #929aa3;
  --ink-subtle: #7a838c;

  /* One accent, used for the primary action and a single highlight per
     screen — never as a background wash. */
  --accent:      #ff3b57;
  --accent-soft: rgba(255, 59, 87, .12);
  --accent-line: rgba(255, 59, 87, .32);

  --radius:    12px;
  --radius-lg: 16px;
  --max:       78rem;
  --gutter:    clamp(1.25rem, 5vw, 5rem);
  --nav-h:     4rem;

  /* One family for everything. A monospace label font was a big contributor to
     the "generated" look. */
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system,
          'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
  background: var(--base);
}

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ─────────────── type scale ─────────────── */
.h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); letter-spacing: -.03em; }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.028em; }
.h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); letter-spacing: -.015em; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 42rem;
}

.eyebrow {
  display: inline-block;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

/* ─────────────── the one reveal ─────────────── */
/* Every section uses this and only this: a short rise with a blur that clears,
   which is the animation xinet.id uses. Nothing else moves.

   1.8s was too slow. At that length the reveal is still finishing when the reader
   has already started on the text, so the page feels like it is catching up with
   them - and a slow, staggered arrival is what a slide deck does. 0.75s reads as
   the page being ready rather than as an effect playing. */
@keyframes reveal-in {
  0%   { opacity: 0; filter: blur(12px); transform: translateY(12px) scale(.988); }
  55%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

.reveal { opacity: 0; }
.reveal.in { animation: reveal-in .75s var(--ease) both; }

/* Items that belong together share a delay, so a row arrives as one unit rather
   than a cascade. A cascade is what made the old version feel busy - and it is the
   same gesture as slides advancing one at a time. The delays are short enough that
   a row is fully in within a fifth of a second of its first element. */
.reveal.in[data-delay="1"] { animation-delay: .05s; }
.reveal.in[data-delay="2"] { animation-delay: .1s; }
.reveal.in[data-delay="3"] { animation-delay: .15s; }

/* If scripting is unavailable nothing may stay hidden. */
@media (scripting: none) {
  .reveal { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1; animation: none; }
  html { scroll-behavior: auto; }
}

/* ─────────────── buttons ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  padding: .75rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: background .16s ease, border-color .16s ease, opacity .16s ease;
}

.btn .i {
  width: 1.125rem; height: 1.125rem;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

.btn-primary {
  /* The primary action must win against whatever is behind it. The hero puts it
     over artwork, so it carries a brighter fill, a light edge and a deeper
     shadow than a flat button would need. */
  background: linear-gradient(180deg, #ff5068 0%, #e8283f 100%);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .16) inset,
    0 12px 32px -10px rgba(255, 59, 87, .75),
    0 2px 8px rgba(0, 0, 0, .5);
}
.btn-primary:hover { background: #ff5468; }

.btn-ghost {
  /* Visible as the second choice, not invisible. A 1px border at low alpha
     vanished on dark displays, so the edge and the text are both lifted. */
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .22);
  color: var(--ink);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .34);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .03); }

.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ─────────────── nav ─────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8, 10, 12, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 10, 12, .92);
}
.nav-in { display: flex; align-items: center; gap: 2rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .65rem; flex: none; }
.brand-mark { width: 2rem; height: 2rem; border-radius: 7px; }
.brand-text { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; }

.nav-links { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.nav-links > a,
.nav-drop > button {
  font: inherit;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color .16s ease, background .16s ease;
  padding: .5rem .7rem;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-drop > button:hover,
.nav-drop.open > button { color: var(--ink); background: rgba(255, 255, 255, .05); }
.nav-drop.open > button { background: rgba(255, 255, 255, .07); }

/* The arrow is drawn, not typed: a text character renders differently in every
   font, and the one in the interface font sits too high. */
.nav-drop > button::after {
  content: '';
  width: .42em;
  height: .42em;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-.1em) rotate(45deg);
  transition: transform .2s var(--ease);
  opacity: .75;
}
.nav-drop.open > button::after { transform: translateY(.1em) rotate(-135deg); }

.nav-drop { position: relative; }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + .6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-.35rem);
  min-width: 15.5rem;
  padding: .4rem;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 2px 6px rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s var(--ease), visibility .18s;
  z-index: 60;
}
.nav-drop.open > .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-panel a {
  display: block;
  padding: .6rem .7rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color .14s ease, background .14s ease;
}
.nav-drop-panel a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav-drop-panel a b { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; }
.nav-drop-panel a span { display: block; color: var(--ink-subtle); font-size: .8rem; margin-top: .15rem; }

.nav .btn { margin-left: 1.75rem; }

/* ── mobile menu ──────────────────────────────────────────────────────────
   Below 760px the links used to disappear entirely, which left the phone
   visitor with a logo and a download button and no way to reach any section.
   The panel is opened by the button that is hidden on desktop, and it is a
   plain list rather than a nested menu: on a phone a second level is more
   trouble than it saves. */
.nav-burger {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: .5rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .03);
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: none;
}
.nav-burger span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background .18s ease;
}
.nav-burger span::before,
.nav-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 1rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .22s var(--ease), top .22s var(--ease);
}
.nav-burger span::before { top: -.32rem; }
.nav-burger span::after { top: .32rem; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: rgba(8, 10, 12, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding: .75rem var(--gutter) 1.25rem;
  display: none;
  flex-direction: column;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  z-index: 49;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .85rem .25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a:hover { color: var(--ink); }
.nav-mobile .nav-mobile-group {
  padding: .9rem .25rem .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

/* ─────────────── hero ─────────────── */
.hero {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

/* Both the loop and its still fill the band the same way, and the still sits
   underneath: the video paints over it once it has frames, and if the video never
   loads (or the browser refuses to autoplay) the still is already there, so the
   hero is never empty. Without this the video rendered at its intrinsic size,
   1920 wide, and a 2560-wide window showed the artwork in a box with flat black
   to the right of it. */
.hero-bg video,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* The clip is composed for this slot: subject right of centre, and the left is the
     wallpaper's own black. */
  object-position: 62% 46%;
  /* NO opacity. It was .82, which composited the wallpaper over the page background
     at 82% - so a pixel that is (3,1,2) in the artwork arrived on screen as a blend
     of that and the background, and the "full black" the visitor asked for became a
     faint wash instead. They described it as a shadow on the wallpaper, and a
     measured profile of the live page showed the left side reading lighter than the
     source file.

     A hero background is the product. Show it at full strength; if the type needs
     help, that is the scrim's job, not a global dim. */
  opacity: 1;
}
.hero-bg video { z-index: 1; }
.hero-bg img { z-index: 0; }

/* A moving background is exactly what this setting asks not to have. The video is
   removed rather than paused, because a paused video still paints its current
   frame and would sit on top of the still. */
@media (prefers-reduced-motion: reduce) {
  .hero-bg video { display: none; }
}

/* The scrim keeps the headline readable over any wallpaper. A plain vertical
   fade, not a coloured gradient: a coloured one tinted the artwork and fought
   the accent colour.

   The horizontal (90deg) layer is REMOVED. It darkened the left 46% so white type
   would sit on it, which was needed when the hero was Acheron - a wallpaper whose
   left side measured 92/255. "Girl Behind Curtains" is 3/255 across its whole left
   half, so the layer was darkening black. Worse, darkening near-black with a
   gradient is where banding appears: eight-bit colour has only a handful of values
   between 0 and 8, so the ramp shows as visible steps. That is what the visitor
   described as a shadow left on the wallpaper.

   The vertical fade stays, because it does a different job - it runs the section
   into the page background so the hero has no hard bottom edge - and it is applied
   where the frame is bright (the artwork), not where it is already black. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,10,12,0) 0%, rgba(8,10,12,.18) 62%, var(--base) 100%);
}

.hero-in { position: relative; z-index: 1; }

/* The clip is composed at 2:1. On a wider band than that it gets cropped from the
   sides, and on a narrower one from the top and bottom, so the anchor has to move
   with the shape. Ultrawide keeps the character in frame; a phone needs her near
   the top, where the band still has height. */
@media (min-aspect-ratio: 21/9) {
  .hero-bg video,
  .hero-bg img { object-position: 62% 40%; }
}
@media (max-width: 700px) {
  .hero-bg video,
  .hero-bg img {
    object-position: 78% 22%;
    opacity: .46;
  }
  .hero { padding-block: 3.5rem 4rem; }
  .hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
}

.hero h1 {
  max-width: 22ch;
  /* The headline sits over artwork whose brightness varies. Against the
     brightest part of it the accent measures 3.83:1 - enough for large text, but
     only just, so the type carries a shadow to hold it off whatever is behind. */
  text-shadow: 0 2px 18px rgba(6, 6, 9, .65);
}
.hero h1 .accent { color: var(--accent); }

.hero .lead {
  margin-top: 1.5rem;
  line-height: 1.85;
  /* Over the wallpaper rather than flat colour: a busy image reduces apparent
     legibility at the same measured contrast, so this is brighter than the
     shared muted tone and carries a faint shadow for separation. */
  color: #ccd2d8;
  text-shadow: 0 1px 14px rgba(6, 6, 9, .7);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
}
.hero-meta div { display: flex; flex-direction: column; gap: .15rem; }
.hero-meta b { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.hero-meta span { font-size: .875rem; color: var(--ink-subtle); }

/* ─────────────── sections ─────────────── */
.sec { padding-block: clamp(4rem, 9vw, 7rem); }
.sec-alt { background: var(--surface); border-block: 1px solid var(--line-soft); }

.sec-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head .lead { margin-top: 1rem; }

/* ─────────────── cards ─────────────── */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.sec-alt .card { background: var(--elevated); }

.card h3 { margin-bottom: .625rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: .9375rem; line-height: 1.65; }
.card code {
  font-family: var(--font);
  font-size: .875em;
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  padding: .1em .35em;
  border-radius: 4px;
}

.card-ico {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.card-ico svg {
  width: 1.25rem; height: 1.25rem;
  fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* A measured before/after pair. Two figures with their cause under each, which
   is what turns "141 ms" from a number into a claim the reader can judge. */
.perf-pair {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  text-align: right;
}
.perf-pair-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
}
.perf-pair-tag {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-subtle);
}
.perf-pair-tag.now { color: var(--accent); }
.perf-pair-col b {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.perf-pair-col b span {
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-left: .1em;
}
.perf-pair-col b.was { color: var(--ink-subtle); }
.perf-pair-col b.is { color: var(--good); }
.perf-pair-col em {
  font-style: normal;
  font-size: .75rem;
  color: var(--ink-subtle);
}
.perf-pair-arrow {
  font-size: 1.125rem;
  color: var(--line);
  line-height: 1;
}

@media (max-width: 640px) {
  .perf-pair { gap: 1rem; }
  .perf-pair-col b { font-size: 1.375rem; }
}

/* How the numbers were taken. Small and muted: it is there for the reader who
   checks, not for the reader who skims. */
.method {
  margin-top: 1.75rem;
  max-width: 62ch;
  font-size: .8125rem;
  line-height: 1.7;
  color: var(--ink-subtle);
}

/* The cover over the promo video, shown until playback begins. */
.video-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 0;
  cursor: pointer;
  text-align: center;
  font: inherit;
  color: var(--ink);
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(6,7,10,.62) 0%, rgba(6,7,10,.34) 60%, rgba(6,7,10,.18) 100%);
  transition: opacity .5s var(--ease), visibility .5s;
}
.video-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.video-cover-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 18px 48px -12px rgba(255, 59, 87, .7);
  transition: transform .3s var(--ease);
}
.video-cover:hover .video-cover-mark { transform: scale(1.06); }
.video-cover-mark svg {
  width: 1.75rem; height: 1.75rem;
  fill: #fff;
  margin-left: .2rem;
}
.video-cover-title {
  margin-top: .35rem;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-shadow: 0 2px 14px rgba(0,0,0,.6);
}
.video-cover-sub {
  font-size: .875rem;
  color: #b9c0c7;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
@media (max-width: 640px) {
  .video-cover-mark { width: 3.5rem; height: 3.5rem; }
  .video-cover-title { font-size: 1rem; }
  .video-cover-sub { font-size: .8125rem; }
}

/* The next step for a reader whose question is not in the list. */
.faq-more {
  margin-top: 1.5rem;
  font-size: .9375rem;
  color: var(--ink-subtle);
}
.faq-more a {
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.faq-more a:hover { color: var(--accent); }

/* ─────────────── strip ─────────────── */
.strip { border-block: 1px solid var(--line-soft); background: var(--surface); }
.strip-in {
  display: flex; flex-wrap: wrap;
  gap: 1rem 2.5rem;
  padding-block: 1.25rem;
  font-size: .875rem;
  color: var(--ink-subtle);
}
.strip-in span { display: inline-flex; align-items: center; gap: .5rem; }
.strip-in svg {
  width: 1rem; height: 1rem;
  fill: none; stroke: var(--accent);
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ─────────────── performance ─────────────── */
.perf { display: flex; flex-direction: column; gap: 1.5rem; }

.perf-row {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: 2rem;
  align-items: center;
}

.perf-label b { display: block; font-size: 1rem; font-weight: 600; }
.perf-label span { font-size: .875rem; color: var(--ink-subtle); }

.bar {
  height: 2.25rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  width: var(--w, 50%);
  display: flex; align-items: center;
  padding-left: .75rem;
  border-radius: 7px;
  transition: width 1.1s var(--ease);
}
.bar-fill span {
  font-size: .8125rem;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
/* Red marks the "before" state only. It was previously used for the GPU row as
   a neutral value, which read as "the GPU is at 100%". */
.bar-fill.bad   { background: #7a1f28; }
.bar-fill.good  { background: #1f6b45; }
.bar-fill.plain { background: rgba(255, 255, 255, .1); }

.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-height: 2.25rem; }
.chip {
  font-size: .8125rem;
  font-weight: 600;
  padding: .4rem .75rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: var(--ink-muted);
}

.perf-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.note {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.sec-alt .note { background: var(--elevated); }
.note b { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: .4rem; }
.note span { font-size: .875rem; color: var(--ink-subtle); line-height: 1.6; }

/* ─────────────── video ─────────────── */
.video-frame {
  position: relative;
  max-width: 68rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}
.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}
.video-badge {
  position: absolute;
  top: .875rem; left: .875rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(8, 10, 12, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .35rem .6rem;
  pointer-events: none;
}

/* ─────────────── screenshots ─────────────── */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.shot-wide { grid-column: 1 / -1; }

.shot {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.shot img { width: 100%; border-bottom: 1px solid var(--line-soft); }
.shot figcaption { padding: 1rem 1.25rem; }
.shot figcaption b { display: block; font-size: .9375rem; font-weight: 600; }
.shot figcaption span { font-size: .875rem; color: var(--ink-subtle); }

/* ─────────────── table ─────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.cmp { width: 100%; border-collapse: collapse; min-width: 40rem; }
.cmp th, .cmp td {
  padding: .875rem 1.25rem;
  text-align: left;
  font-size: .9375rem;
  border-bottom: 1px solid var(--line-soft);
}
.cmp thead th {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp td { color: var(--ink-muted); }
.cmp td:first-child { color: var(--ink); }
.cmp th.us, .cmp td.us { color: var(--ink); }
.cmp th.us { color: var(--accent); }
.cmp td.yes { color: #4ade80; }
.cmp td.no { color: var(--ink-subtle); }

/* ─────────────── download ─────────────── */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.sec-alt .dl-card { background: var(--elevated); }
.dl-card.featured { border-color: var(--accent-line); }

.dl-tag {
  align-self: flex-start;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 5px;
  padding: .2rem .45rem;
  margin-bottom: .875rem;
}
.dl-card h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.dl-desc { margin: 0 0 1.25rem; font-size: .875rem; color: var(--ink-subtle); line-height: 1.6; flex: 1; }
.dl-meta {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: .8125rem; color: var(--ink-subtle);
}
.dl-meta span {
  padding: .2rem .5rem;
  background: rgba(255, 255, 255, .04);
  border-radius: 5px;
}
.dl-card .btn { margin-top: auto; }

.req {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.sec-alt .req { background: var(--elevated); }
.req b { font-size: 1rem; }
.req ul { margin: .75rem 0 0; padding-left: 1.25rem; color: var(--ink-muted); font-size: .9375rem; }
.req li { margin-bottom: .3rem; }

/* ─────────────── faq ─────────────── */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.sec-alt .faq { background: var(--elevated); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  padding: 1.125rem 1.375rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  width: .5rem; height: .5rem;
  border-right: 2px solid var(--ink-subtle);
  border-bottom: 2px solid var(--ink-subtle);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
  flex: none;
}
.faq[open] summary::after { transform: rotate(-135deg); }
.faq p { margin: 0; padding: 0 1.375rem 1.25rem; color: var(--ink-muted); font-size: .9375rem; }
.faq code {
  font-family: var(--font);
  font-size: .875em;
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  padding: .1em .35em;
  border-radius: 4px;
}

/* ─────────────── final cta ─────────────── */
/* The final call to action, with a wallpaper behind it. The image is dimmed
   enough that the type stays readable but bright enough that the section does
   not read as an empty black band. */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  pointer-events: none;
  user-select: none;
}
.cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(72% 76% at 50% 46%, rgba(8,10,12,.62) 0%, rgba(8,10,12,.86) 70%, rgba(8,10,12,.95) 100%);
}
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final .lead { margin-inline: auto; }
.cta-mark { width: 4rem; height: 4rem; margin: 0 auto 1.5rem; border-radius: 14px; }
.cta-final .btn { margin-top: 2rem; }
.cta-note { display: block; margin-top: 1rem; font-size: .8125rem; color: var(--ink-subtle); }

/* ─────────────── footer ─────────────── */
.foot { background: var(--surface); border-top: 1px solid var(--line); }
.foot-in {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3.5rem;
}

.foot-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.foot-brand img { width: 2rem; height: 2rem; border-radius: 7px; }
.foot-brand span { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.02em; }
.foot p { margin: 0; font-size: .875rem; color: var(--ink-subtle); line-height: 1.65; max-width: 30rem; }

.foot h4 {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-subtle);
  margin-bottom: 1rem;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.foot ul a { font-size: .9375rem; color: var(--ink-muted); transition: color .16s ease; }
.foot ul a:hover { color: var(--ink); }

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
  font-size: .8125rem;
  color: var(--ink-subtle);
}
.foot-group {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  margin-top: 1.35rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .8125rem;
  color: var(--ink-subtle);
  text-decoration: none;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.foot-group b {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -.01em;
}
.foot-group:hover { border-color: rgba(255, 59, 87, .45); color: var(--ink-muted); }

/* ── badge Microsoft Store ─────────────────────────────────────────────────
   Ditempatkan di baris bawah footer, sejajar dengan hak cipta dan keterangan
   harga. Bentuknya meniru badge resmi "Get it from Microsoft" - lambang di
   kiri, dua baris teks di kanan - tetapi digambar sendiri dari SVG supaya
   ikut warna situs dan tetap tajam di layar beresolusi apa pun.

   Lambangnya adalah empat persegi dengan garis bagan, bukan logo Microsoft
   empat warna: yang belakangan itu merek perusahaan, bukan merek toko, dan
   memakainya di sini akan salah tempat. */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--base);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.store-badge:hover { border-color: rgba(255, 255, 255, .2); background: var(--elevated); }

/* Lihat catatan di buy.css: tanpa ini, `hidden` kalah dari display: flex. */
[hidden] { display: none !important; }

/* ── pemilih bahasa ─────────────────────────────────────────────────────────
   Tombol ini sebelumnya TIDAK punya gaya sama sekali - tidak ada aturan `.lang`
   di berkas CSS mana pun. Akibatnya tautan "EN" dan "ID" muncul sebagai teks
   biru bergaris bawah di tengah navigasi: terlihat seperti tautan yang belum
   selesai dikerjakan, bukan seperti pilihan bahasa. Yang paling parah, ia
   terlihat seperti kesalahan halaman - dan itulah yang dilaporkan. */
.nav-cta {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 .55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-muted);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  transition: border-color .18s, color .18s, background .18s;
}

.lang:hover {
  border-color: rgba(255, 255, 255, .22);
  background: var(--elevated);
  color: var(--ink);
}

.lang:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.store-logo { flex: none; width: 1.35rem; height: 1.35rem; fill: var(--ink); opacity: .9; }
.store-text { display: flex; flex-direction: column; line-height: 1.15; }
.store-text small {
  font-size: .58rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}
.store-text b { font-size: .84rem; font-weight: 600; color: var(--ink); }

/* Label "promo" dan harga yang dicoret, dipakai di beberapa tempat. */
.promo-tag {
  display: inline-block;
  padding: .1rem .45rem;
  margin-left: .3rem;
  border-radius: 5px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: .1em;
}

/* The legal line is the quietest thing on the page, which is what it should be. */
.foot-legal { color: var(--ink-subtle); }

/* On a narrow screen the three columns become one, and the group mark reads
   better left-aligned with everything else than centred. */
@media (max-width: 700px) {
  .foot-in { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* ─────────────── responsive ─────────────── */
@media (max-width: 980px) {
  .grid-3, .grid-4, .dl-grid, .perf-notes { grid-template-columns: repeat(2, 1fr); }
  .perf-row { grid-template-columns: 1fr; gap: .75rem; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Between 760 and 1080 the two groups are still usable, but the gaps have to
   close up: the desktop spacing was measured at 1440 and crowds the bar here. */
@media (max-width: 1080px) {
  .nav-in { gap: 1.25rem; }
  .nav-links { gap: .15rem; }
  .nav-links > a,
  .nav-drop > button { padding: .5rem .55rem; font-size: .9rem; }
  .nav .btn { margin-left: 1rem; }
}

@media (max-width: 760px) {
  :root { --nav-h: 3.75rem; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav .btn { margin-left: auto; }
  .nav-cta .lang { padding: .4rem .5rem; }
  .grid-2, .grid-3, .grid-4, .dl-grid, .perf-notes, .shots { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.75rem; }
  .hero-meta b { font-size: 1.25rem; }
  .foot-in { grid-template-columns: 1fr; gap: 2rem; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* The scrollbar.
   The page is dark and the browser's default bar is light: on Windows that is a white
   strip down the right edge of a near-black page. `color-scheme: dark` alone is not
   enough in Chromium, which needs the ::-webkit-scrollbar rules as well, so both are
   here. The thumb is a translucent white so it reads on the dark surface without
   becoming a bright element of its own, and it is the same tone the app uses. */
:root {
  color-scheme: dark;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .22) transparent;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .18);
  border-radius: 8px;
  border: 3px solid transparent;
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .3);
  background-clip: content-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}
