/* Pagehouse product page. No external fonts or scripts: the same rule the app follows. */
:root {
  --bg: #ffffff; --bg-soft: #f6f7f9; --card: #ffffff; --text: #1d1d1b; --text-2: #4a4a46; --muted: #6b6b66;
  --line: #e7e7e4; --accent: #2f6feb; --accent-2: #6b5cf0; --accent-soft: #eef3ff; --code: #0f172a; --code-text: #e2e8f0;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(15,23,42,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131312; --bg-soft: #1a1a19; --card: #1d1d1c; --text: #ececea; --text-2: #c4c4bf; --muted: #9a9a94;
    --line: #2c2c2a; --accent: #6b9bff; --accent-2: #9b8cff; --accent-soft: #1c2436; --code: #0b0f19; --code-text: #e2e8f0;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 12px 32px rgba(0,0,0,.35);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
nav.links { display: flex; gap: 18px; margin-left: auto; font-size: 14px; }
nav.links a { color: var(--text-2); }
.lang { font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); }
@media (max-width: 760px) { nav.links .opt { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid var(--line); color: var(--text); background: var(--card); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border: none; }
.btn.primary:hover { filter: brightness(1.07); }

/* Hero */
.hero { padding: 72px 0 40px; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.18; letter-spacing: -0.02em; margin: 0 0 18px; }
.hero h1 .grad { background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(16px, 2.1vw, 19px); color: var(--text-2); max-width: 680px; margin: 0 auto 28px; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badges { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: var(--muted); }
.badges span { padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.shot { width: 100%; height: auto; aspect-ratio: 16 / 10; margin: 44px auto 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Sections */
section.block { padding: 72px 0; scroll-margin-top: 60px; }
section.block.soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.015em; line-height: 1.25; margin: 0 0 12px; }
.sub { color: var(--text-2); max-width: 720px; margin: 0 0 36px; font-size: 17px; }
.center { text-align: center; } .center .sub { margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.card .ico { font-size: 24px; line-height: 1; margin-bottom: 12px; }
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }

.who { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.who .card { border-left: 3px solid var(--accent); }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: none; }
.facts th { width: 26%; font-weight: 600; white-space: nowrap; }
.facts td { color: var(--text-2); }
@media (max-width: 640px) { .facts th { white-space: normal; width: 34%; } .facts th, .facts td { padding: 12px; } }

/* Screens: one screenshot at a time, switched by tabs (CSS only), so the section stays one image tall. */
.screens { position: relative; max-width: 900px; margin: 0 auto; }
.screens input { position: absolute; top: 0; left: 0; opacity: 0; pointer-events: none; }
.screen-tabs { display: flex; justify-content: center; gap: 6px; margin-bottom: 16px; }
.screen-tabs label { cursor: pointer; padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; color: var(--text-2); background: var(--card); }
#shot-dark:checked ~ .screen-tabs label[for="shot-dark"], #shot-search:checked ~ .screen-tabs label[for="shot-search"] { background: var(--accent); border-color: var(--accent); color: #fff; }
#shot-dark:focus-visible ~ .screen-tabs label[for="shot-dark"], #shot-search:focus-visible ~ .screen-tabs label[for="shot-search"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.screen { display: none; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
#shot-dark:checked ~ .screen-dark, #shot-search:checked ~ .screen-search { display: block; }

/* Install */
.tabs { display: grid; gap: 16px; grid-template-columns: 1fr; }
.tabs .card h3 { display: flex; align-items: center; gap: 8px; }
.tabs .tag { font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 6px; }
pre.cmd { position: relative; margin: 14px 0 0; background: var(--code); color: var(--code-text); padding: 14px 72px 14px 16px; border-radius: 10px; font-size: 13px; line-height: 1.55; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }
pre.cmd button { position: absolute; top: 8px; right: 8px; font: 600 12px/1 inherit; font-family: inherit; color: #cbd5e1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 6px; padding: 5px 8px; cursor: pointer; }
pre.cmd button:hover { background: rgba(255,255,255,.16); }
.note { font-size: 14px; color: var(--muted); margin-top: 12px; }

.steps { counter-reset: s; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.steps .card { position: relative; padding-top: 50px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 22px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--text-2); }

/* Final CTA + footer */
.final { text-align: center; padding: 80px 0; }
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
footer .right { margin-left: auto; display: flex; gap: 16px; }
footer .tm { flex-basis: 100%; order: 3; font-size: 12px; }
