/* lsuite — one stylesheet for the suite page and every app page.
   Each page sets its accent with a class on <body>: .app-ryolune, .app-kimchi, .app-zenith. */

@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url("/assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url("/assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url("/assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url("/assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 600; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #0c0c0b;
  --bg-2: #111110;
  --surface: #161615;
  --surface-2: #1c1c1a;
  --surface-3: #242422;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #edece8;
  --text-2: #b3b1ab;
  --text-3: #85837d;

  --ryolune: #82d6d1;
  --kimchi: #ff6a45;
  --kimchi-leaf: #a6cf5e;
  --zenith: #84a2ff;

  --accent: var(--text);
  --accent-ink: #0c0c0b;

  --sans: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.app-ryolune { --accent: var(--ryolune); }
.app-kimchi { --accent: var(--kimchi); }
.app-zenith { --accent: var(--zenith); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
code, kbd, pre { font-family: var(--mono); font-size: 0.9em; }
:not(pre) > code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 0.08em 0.36em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.nav__apps { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav__apps a {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px;
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav__apps a:hover { color: var(--text); background: var(--surface-2); }
.nav__apps a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav__apps .dot { width: 7px; height: 7px; border-radius: 50%; }
.nav__end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav__gh { color: var(--text-2); display: inline-flex; padding: 8px; border-radius: 8px; }
.nav__gh:hover { color: var(--text); background: var(--surface-2); }
.nav__gh svg { width: 18px; height: 18px; }

@media (max-width: 720px) {
  .nav__in { gap: 12px; }
  .nav__apps a { padding: 6px 8px; font-size: 13px; }
  .nav__apps .dot { display: none; }
  .brand span { display: none; }
  .nav__get { display: none; }
  .btn--sponsor { padding: 0 11px; }
}

/* ---------- Buttons ---------- */
.btn {
  --b: var(--surface-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 44px; padding: 0 18px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  color: var(--text); background: var(--b); border: 1px solid var(--line-2);
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--surface-3); border-color: rgba(255, 255, 255, 0.2); }
.btn:active { transform: translateY(1px); }
.btn--primary { color: var(--accent-ink); background: var(--accent); border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 8px 30px -10px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, white); border-color: transparent; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow, .link:hover .arrow, .card:hover .arrow { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; }
.link .arrow { transition: transform 0.25s var(--ease); }

.btn--sponsor svg, .btn--heart svg { color: #ff6b9a; width: 15px; height: 15px; }
.btn--heart svg { color: currentColor; }
.btn--sponsor:hover svg { transform: scale(1.15); }
.btn--sponsor svg { transition: transform 0.25s var(--ease); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.eyebrow--plain::before { display: none; }
.display { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -0.035em; line-height: 1.04; }
.h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.muted { color: var(--text-2); }
.fine { font-size: 13.5px; color: var(--text-3); }
.fine a { color: var(--text-2); }
.accent { color: var(--accent); }
.c-ryolune { color: var(--ryolune); }
.c-kimchi { color: var(--kimchi); }
.c-zenith { color: var(--zenith); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 780px; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 10vw, 128px) 0 clamp(56px, 8vw, 96px); overflow: clip; }
.hero__glow {
  position: absolute; inset: -30% -10% auto; height: 900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(40% 50% at 22% 30%, color-mix(in srgb, var(--ryolune) 15%, transparent), transparent 70%),
    radial-gradient(36% 46% at 54% 18%, color-mix(in srgb, var(--kimchi) 13%, transparent), transparent 70%),
    radial-gradient(40% 50% at 84% 32%, color-mix(in srgb, var(--zenith) 15%, transparent), transparent 70%);
  filter: blur(10px);
}
.app-ryolune .hero__glow, .app-kimchi .hero__glow, .app-zenith .hero__glow {
  background: radial-gradient(50% 55% at 50% 22%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
}
.app-kimchi .hero__glow {
  background:
    radial-gradient(42% 50% at 40% 20%, color-mix(in srgb, var(--kimchi) 16%, transparent), transparent 70%),
    radial-gradient(36% 44% at 66% 30%, color-mix(in srgb, var(--kimchi-leaf) 10%, transparent), transparent 70%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.hero__in { display: grid; gap: 26px; justify-items: start; }
.hero--center .hero__in { justify-items: center; text-align: center; }
.hero--center .lede { margin-inline: auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero--center .hero__actions { justify-content: center; }
.hero__fine { margin-top: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hero--center .pills { justify-content: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 70%, transparent);
  font: 500 12.5px/1 var(--mono); color: var(--text-2); letter-spacing: 0.01em;
}
.pill svg { width: 14px; height: 14px; }

/* App identity in a hero */
.appid { display: flex; align-items: center; gap: 14px; }
.appid__mark { width: 60px; height: 60px; flex: none; filter: drop-shadow(0 10px 26px color-mix(in srgb, var(--accent) 35%, transparent)); }
.appid__name { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.appid__kind { font: 500 12px/1.3 var(--mono); color: var(--text-3); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Terminal / code ---------- */
.term {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #151514, #10100f);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.6);
  text-align: left;
}
.term__bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--surface-3); }
.term__title { margin-left: 8px; font: 500 12px/1 var(--mono); color: var(--text-3); }
.term__body { padding: 18px 20px 22px; font: 400 13.5px/1.75 var(--mono); color: var(--text-2); overflow-x: auto; }
.term__body p { white-space: pre; margin: 0; }
.term .you { color: var(--text); }
.term .you::before { content: "› "; color: var(--text-3); }
.term .say { color: var(--text-2); font-family: var(--sans); font-size: 14.5px; line-height: 1.6; white-space: normal; padding: 6px 0 10px; }
.term .tag { display: inline-block; min-width: 9ch; }
.term .ok { color: #9fd6a3; }
.term .dim { color: var(--text-3); }
.term .gap { height: 10px; }
.term .cursor { display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.2em; background: var(--text-2); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.code {
  position: relative; border-radius: var(--radius-sm); background: #10100f; border: 1px solid var(--line-2);
  font: 400 13.5px/1.75 var(--mono); color: var(--text-2);
}
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; }
.code .c { color: var(--text-3); }
.code .k { color: var(--accent); }
.code__copy {
  position: absolute; top: 8px; right: 8px; height: 28px; padding: 0 10px; border-radius: 7px;
  font: 500 12px/1 var(--mono); color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line-2); cursor: pointer;
  opacity: 0; transition: opacity 0.2s, color 0.2s;
}
.code:hover .code__copy, .code__copy:focus-visible { opacity: 1; }
.code__copy.done { color: var(--accent); }
@media (hover: none) { .code__copy { opacity: 1; } }

/* ---------- App cards (suite page) ---------- */
.apps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .apps { grid-template-columns: 1fr; } }
.card {
  --accent: var(--text);
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 26px; border-radius: 18px; text-decoration: none;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s;
  overflow: hidden; isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(70% 60% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); box-shadow: 0 30px 80px -40px color-mix(in srgb, var(--accent) 50%, transparent); }
.card:hover::before { opacity: 1; }
.card.app-ryolune { --accent: var(--ryolune); }
.card.app-kimchi { --accent: var(--kimchi); }
.card.app-zenith { --accent: var(--zenith); }
.card__top { display: flex; align-items: center; gap: 12px; }
.card__top img { width: 44px; height: 44px; }
.card__name { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.card__kind { margin-left: auto; font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding: 6px 9px; border-radius: 999px; }
.card__say { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.card__text { color: var(--text-2); font-size: 15px; }
.card__shot { margin-top: auto; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16 / 10; background: var(--surface-2); }
.card__shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 12.5px/1.4 var(--mono); color: var(--text-3); }
.card__foot .link { font-family: var(--sans); font-size: 14.5px; }

/* ---------- Principles ---------- */
.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.cell { background: var(--bg-2); padding: 28px 26px 30px; display: grid; gap: 12px; align-content: start; }
.cell__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--accent); }
.cell__icon svg { width: 18px; height: 18px; }
.cell h3 { font-size: 17px; letter-spacing: -0.015em; }
.cell p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.cell__k { font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }

/* ---------- Matrix table ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: var(--bg-2); }
table.matrix { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.matrix th, .matrix td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.matrix tr:last-child th, .matrix tr:last-child td { border-bottom: 0; }
.matrix thead th { font: 500 12px/1.2 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--surface); }
.matrix thead th .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.matrix tbody th { font-weight: 600; color: var(--text); width: 22%; }
.matrix td { color: var(--text-2); }
.matrix td code { font-size: 13px; }
.yes, .soon, .no { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--text); }
.yes::before, .soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #7fd18a; box-shadow: 0 0 10px rgba(127, 209, 138, 0.5); }
.soon { color: var(--text-2); }
.soon::before { background: transparent; border: 1.5px solid var(--text-3); box-shadow: none; }
.matrix small { display: block; margin-top: 3px; color: var(--text-3); font-size: 13px; }

/* ---------- Versus ---------- */
.versus { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.versus > div { padding: 30px 28px; display: grid; gap: 0; align-content: start; }
.versus__them { background: var(--bg-2); }
.versus__us { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border-left: 1px solid var(--line); position: relative; }
.versus h3 { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.versus__us h3 { color: var(--text); }
.versus ul { list-style: none; margin: 0; padding: 0; }
.versus li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.versus li b { font: 500 12.5px/1.5 var(--mono); color: var(--text-3); font-weight: 500; }
.versus__them li span { color: var(--text-3); }
.versus__us li span { color: var(--text); }
@media (max-width: 760px) {
  .versus { grid-template-columns: 1fr; }
  .versus__us { border-left: 0; border-top: 1px solid var(--line); }
  .versus li { grid-template-columns: 96px 1fr; }
}

/* ---------- Shots ---------- */
.shot {
  position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: 0 50px 140px -50px rgba(0, 0, 0, 0.95), 0 30px 90px -60px color-mix(in srgb, var(--accent) 60%, transparent);
}
.shot img, .shot video { width: 100%; }
.shot--hero { margin-top: clamp(40px, 6vw, 72px); }
figure { margin: 0; }
figcaption { margin-top: 14px; font-size: 14px; color: var(--text-3); }
figcaption b { color: var(--text-2); font-weight: 600; }
.shots-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 820px) { .shots-2 { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); gap: 1px; }
.stats > div { background: var(--bg-2); padding: 22px 22px 20px; display: grid; gap: 6px; }
.stats b { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.stats span { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.stack { display: grid; gap: 20px; align-content: start; }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bullets li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); font-size: 15.5px; }
.bullets li::before { content: ""; width: 7px; height: 7px; margin: 9px 0 0 4px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.bullets b { color: var(--text); font-weight: 600; }

/* ---------- Downloads ---------- */
.dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.dl a {
  display: grid; gap: 4px; padding: 18px 18px 16px; border-radius: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s;
}
.dl a:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--surface-2); }
.dl b { font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.dl b svg { width: 16px; height: 16px; color: var(--text-2); }
.dl span { font: 400 12.5px/1.5 var(--mono); color: var(--text-3); }
.dl a.is-you { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.dl a.is-you span::before { content: "your system · "; color: var(--accent); }

/* ---------- Theme gallery ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.tabs button {
  height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; cursor: pointer;
  font: 500 13.5px/1 var(--sans); color: var(--text-2); transition: background 0.2s, color 0.2s;
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset; }
.gallery__bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-bottom: 18px; }
.gallery__shot img { transition: opacity 0.25s; }
.gallery__shot.is-loading img { opacity: 0.4; }
.gallery__desc { margin-top: 14px; color: var(--text-2); font-size: 15px; min-height: 3em; }
.gallery__desc b { color: var(--text); }

/* ---------- FAQ ---------- */
.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 22px/1 var(--mono); color: var(--text-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 70ch; }

/* ---------- Other apps ---------- */
.others { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .others { grid-template-columns: 1fr; } }
.others .card { flex-direction: row; align-items: center; padding: 20px 22px; gap: 16px; }
.others .card img { width: 44px; height: 44px; flex: none; }
.others .card div { display: grid; gap: 2px; }
.others .card .arrow { margin-left: auto; color: var(--text-3); }

/* ---------- CTA band ---------- */
.band {
  position: relative; border-radius: 22px; padding: clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); background: var(--surface); text-align: center; display: grid; gap: 20px; justify-items: center;
}
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 15% 100%, color-mix(in srgb, var(--ryolune) 16%, transparent), transparent 70%),
    radial-gradient(50% 80% at 50% 110%, color-mix(in srgb, var(--kimchi) 14%, transparent), transparent 70%),
    radial-gradient(50% 80% at 85% 100%, color-mix(in srgb, var(--zenith) 16%, transparent), transparent 70%);
}
.app-ryolune .band::before, .app-kimchi .band::before, .app-zenith .band::before {
  background: radial-gradient(60% 90% at 50% 110%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%);
}

/* ---------- zenith illustration ---------- */
.zmock {
  display: grid; grid-template-columns: 190px 1fr; min-height: 460px; font-size: 13px; color: var(--text-2);
  background: #0f1012;
}
.zmock__side { border-right: 1px solid var(--line); padding: 16px 12px; display: grid; gap: 4px; align-content: start; background: #121316; }
.zmock__side b { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; margin-bottom: 12px; padding: 0 8px; }
.zmock__side b svg { width: 18px; height: 18px; color: var(--zenith); }
.zmock__side span { padding: 7px 10px; border-radius: 7px; display: flex; gap: 8px; align-items: center; }
.zmock__side span.on { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.zmock__side i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); }
.zmock__side small { font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); padding: 14px 10px 6px; }
.zmock__main { padding: 22px 24px; display: grid; gap: 18px; align-content: start; min-width: 0; }
.zmock__ask { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: #17181c; border: 1px solid var(--line-2); color: var(--text-3); }
.zmock__ask kbd { margin-left: auto; font-size: 11px; padding: 2px 6px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--text-3); }
.zmock__ask svg { width: 16px; height: 16px; color: var(--zenith); }
.zmock__row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.zmock__panel { border: 1px solid var(--line); border-radius: 12px; background: #131417; padding: 14px 16px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.zmock__panel h4 { font: 500 10.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.zmock__item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.zmock__item:first-of-type { border-top: 0; }
.zmock__item em { font-style: normal; color: var(--text); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zmock__item u { text-decoration: none; font: 500 11px/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: color-mix(in srgb, var(--zenith) 18%, transparent); color: var(--zenith); white-space: nowrap; }
.zmock__dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.zmock table { width: 100%; border-collapse: collapse; }
.zmock td { padding: 7px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.zmock tr:first-child td { border-top: 0; }
.zmock td:last-child { text-align: right; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.zmock td b { color: var(--text); font-weight: 600; }
.zmock__bars { display: flex; align-items: flex-end; gap: 3px; height: 64px; }
.zmock__bars i { flex: 1; background: color-mix(in srgb, var(--zenith) 55%, transparent); border-radius: 2px 2px 0 0; }
@media (max-width: 820px) {
  .zmock { grid-template-columns: 1fr; }
  .zmock__side { display: none; }
  .zmock__row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 44px; color: var(--text-3); font-size: 14px; }
.foot__in { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 500 11.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot__brand { display: grid; gap: 14px; align-content: start; }
.foot__brand p { max-width: 34ch; }
.foot__base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
@media (max-width: 820px) { .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } }

/* Grid tracks never grow past their container (long code lines scroll inside their block). */
.hero__in, .stack, .section__head, .cell, .band, .versus > div { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .apps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.8s var(--ease), filter 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
