/* Colors follow the app (lane-desk renderer/style.css). */
:root {
  --bg: #f6f4ef;
  --panel: #ffffff;
  --ink: #1d1b18;
  --muted: #6f695f;
  --line: #e6e1d8;
  --ok: #2f7d4f;
  --out: #b3362f;
  --out-soft: #f9e5e3;
  --accent: #3554c8;
  --accent-ink: #ffffff;
  --accent-soft: #e6ebfb;
  --code-bg: #efece5;
  --shadow: 0 1px 2px rgb(29 27 24 / 6%), 0 12px 32px rgb(29 27 24 / 8%);
  --radius: 14px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17161a;
    --panel: #222126;
    --ink: #eeebe5;
    --muted: #a39d94;
    --line: #34323a;
    --ok: #5cbf83;
    --out: #ef7268;
    --out-soft: #3d2221;
    --accent: #8ea3ff;
    --accent-ink: #14172a;
    --accent-soft: #262d4a;
    --code-bg: #1d1c21;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 35%);
  }
}

/* One page, two languages: <html lang> picks which copy shows. */
html[lang="en"] body [lang="ko"],
html[lang="ko"] body [lang="en"] { display: none !important; }

*, *::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;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
  overflow-x: clip;
}
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font: 0.88em var(--mono); background: var(--code-bg); border: 1px solid var(--line); border-radius: 6px; padding: 0.05em 0.35em; }
pre { margin: 0 0 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; font-size: 14px; line-height: 1.6; white-space: pre; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
html[lang="ko"] h1, html[lang="ko"] h2 { letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.brand b { color: var(--accent); font-weight: 700; }
.top-nav { display: flex; gap: 20px; margin-left: auto; font-size: 0.95rem; }
.top-nav a { color: var(--muted); text-decoration: none; }
.top-nav a:hover { color: var(--ink); }
.lang { display: inline-flex; padding: 3px; background: var(--line); border-radius: 10px; flex-shrink: 0; }
.lang button { font: 600 0.85rem var(--sans); color: var(--muted); background: none; border: 0; border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 12%); }
@media (max-width: 600px) {
  .top-nav { display: none; }
  .lang { margin-left: auto; }
}

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.eyebrow { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); letter-spacing: -0.03em; max-width: 18em; margin: 0 auto 20px; text-wrap: balance; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; margin: 0 auto 28px; text-wrap: pretty; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.install { display: flex; align-items: stretch; max-width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.install code { display: flex; align-items: center; border: 0; border-radius: 0; background: none; font-size: 1.05rem; padding: 12px 16px; white-space: pre; }
.install .prompt { color: var(--muted); user-select: none; -webkit-user-select: none; }
.copy { font: 600 0.9rem var(--sans); color: var(--accent); background: var(--accent-soft); border: 0; border-left: 1px solid var(--line); padding: 0 18px; cursor: pointer; min-width: 92px; }
.copy:hover { filter: brightness(0.97); }
.copy .copy-done { display: none; color: var(--ok); }
.copy.is-copied .copy-label { display: none; }
.copy.is-copied .copy-done { display: inline; }
.buttons, .closing { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.98rem; text-decoration: none; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 18px; }
.btn:hover { border-color: var(--muted); }
.btn.primary { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.08); }
.fine { font-size: 0.9rem; color: var(--muted); margin: 0; }

.menubar { display: inline-flex; align-items: center; gap: 12px; margin: 48px auto 8px; padding: 6px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); font: 600 0.95rem var(--sans); }
.menubar-dots { display: inline-flex; gap: 6px; }
.menubar-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.menubar-title { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.menubar-note { font-size: 0.92rem; color: var(--muted); max-width: 36em; margin: 0 auto 28px; }

.shot { margin: 0 auto; max-width: 1000px; }
/* The screenshots are 1960x1376 with empty space at the bottom; the frame crops it. */
.frame { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--panel); }
.frame img { width: 100%; max-width: none; }
.frame-usage { aspect-ratio: 1960 / 1010; }
.frame-sessions { aspect-ratio: 1960 / 640; }
@media (max-width: 600px) {
  /* On a phone, show the left (Claude) column of the Usage tab at a readable size. */
  .frame-usage { aspect-ratio: 990 / 1010; }
  .frame-usage img { width: 198%; }
}
.shot figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* Sections */
.section, .band { padding: 72px 0; }
.band { background: var(--panel); border-block: 1px solid var(--line); }
.section-lead { color: var(--muted); max-width: 44em; }
.note { color: var(--muted); font-size: 0.95rem; }

.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 48px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; min-width: 0; }
.feature h3 code { font-size: 0.95em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 0.82rem; font-weight: 700; border-radius: 6px; padding: 3px 9px; background: var(--line); color: var(--muted); }
.tag.out { background: var(--out); color: #fff; }
@media (max-width: 760px) { .features { grid-template-columns: minmax(0, 1fr); } }

.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: step; margin: 8px 0 24px; }
.steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 6px; min-width: 0; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.9rem; margin-bottom: 12px; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

.start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; margin-bottom: 32px; }
.start-col { min-width: 0; }
.start pre { background: var(--bg); }
.checks { list-style: none; padding: 0; margin-bottom: 1rem; }
.checks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.config-title { margin-top: 8px; }
.band pre { background: var(--bg); }
@media (max-width: 760px) { .start { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.limits { list-style: none; padding: 0; display: grid; gap: 12px; margin-bottom: 40px; max-width: 52em; }
.limits li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 10px; padding: 14px 18px; }
.closing { justify-content: flex-start; }

.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 0.9rem; color: var(--muted); }
.foot p { margin: 0; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 40px; }
  .section, .band { padding: 52px 0; }
  .install { width: 100%; }
  .install code { flex: 1; min-width: 0; font-size: 0.98rem; }
  .btn { flex: 1 1 auto; justify-content: center; }
  .feature, .steps li { padding: 18px 18px 4px; }
}
