@font-face { font-family: Deck; src: url(assets/fonts/PretendardVariable.woff2) format("woff2"); font-weight: 45 920; font-display: swap; }
:root {
  color-scheme: light;
  --bg:#f2f0e8; --bg-veil:rgba(242,240,232,.84); --stage:#e8e5da; --text:#243b2d; --muted:#5e6d57; --faint:#7a8670;
  --line:#d6dacb; --line-strong:#adb6a3; --accent:#2e6b3f; --btn:#2e4c36; --btn-text:#f1f3e7; --btn-hover:#466847;
  --card:#f8f6ef; --shot-shadow:0 0 0 1px rgba(36,59,45,.10),0 2px 6px rgba(36,59,45,.05),0 28px 56px -28px rgba(36,59,45,.32);
  --radius:12px; --max:1080px; --gutter:32px; --section:72px;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:#0f1813; --bg-veil:rgba(15,24,19,.82); --stage:#16231b; --text:#ece8da; --muted:#aab4a0; --faint:#86927d;
  --line:#24332a; --line-strong:#3a4b3f; --accent:#98e398; --btn:#e9e5d6; --btn-text:#13201a; --btn-hover:#fff;
  --card:#131f18; --shot-shadow:0 0 0 1px rgba(236,232,218,.09),0 28px 60px -24px rgba(0,0,0,.7);
}
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--text); font-family:Deck,-apple-system,"Apple SD Gothic Neo",sans-serif; font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased; word-break:keep-all; overflow-wrap:break-word; transition:background-color .25s ease,color .25s ease; }
a { color:inherit; } img { display:block; max-width:100%; height:auto; } button { font:inherit; color:inherit; }
:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:4px; }
html[lang="ko"] [data-l="en"], html[lang="en"] [data-l="ko"] { display:none !important; }
.wrap { width:min(var(--max),calc(100% - 2*var(--gutter))); margin:0 auto; }
.top { position:sticky; top:0; z-index:10; background:var(--bg-veil); -webkit-backdrop-filter:saturate(1.4) blur(14px); backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line); }
.top .wrap { display:flex; align-items:center; justify-content:space-between; height:58px; gap:16px; }
.brand { font-size:20px; font-weight:700; letter-spacing:-.6px; text-decoration:none; }
.brand span { color:var(--accent); }
.controls { display:flex; align-items:center; gap:8px; }
.seg { display:inline-flex; border:1px solid var(--line-strong); border-radius:7px; padding:2px; }
.seg button { border:0; background:none; cursor:pointer; font-size:12.5px; font-weight:550; letter-spacing:.4px; padding:4px 9px; border-radius:5px; color:var(--faint); }
.seg button[aria-pressed="true"] { background:var(--text); color:var(--bg); }
.icon-btn { width:32px; height:32px; display:inline-grid; place-items:center; border:1px solid var(--line-strong); border-radius:7px; background:none; cursor:pointer; color:var(--muted); }
.icon-btn:hover { color:var(--text); border-color:var(--muted); } .icon-btn svg { width:16px; height:16px; }
:root[data-theme="dark"] .i-moon, :root:not([data-theme="dark"]) .i-sun { display:none; }
.btn { display:inline-flex; align-items:center; gap:8px; background:var(--btn); color:var(--btn-text); text-decoration:none; font-weight:600; font-size:14px; padding:8px 15px; border-radius:8px; transition:background-color .2s ease; }
.btn:hover { background:var(--btn-hover); }
.btn.ghost { background:none; color:var(--text); border:1px solid var(--line-strong); }
.btn.ghost:hover { border-color:var(--muted); background:none; }
.eyebrow { margin:0 0 14px; font-size:12px; font-weight:600; letter-spacing:1.8px; text-transform:uppercase; color:var(--faint); }
h1,h2,h3 { margin:0; font-weight:650; color:var(--text); }
h1 { font-size:clamp(34px,4.6vw,54px); line-height:1.16; letter-spacing:-.038em; }
h2 { font-size:clamp(26px,2.8vw,33px); line-height:1.26; letter-spacing:-.03em; }
h3 { font-size:18px; line-height:1.45; letter-spacing:-.01em; font-weight:620; }
.lead { margin:16px 0 0; font-size:18px; line-height:1.65; color:var(--muted); max-width:640px; }
code { font:500 .92em "SF Mono",ui-monospace,Menlo,monospace; }
.hero { padding:72px 0 var(--section); }
.sec { padding:var(--section) 0; border-top:1px solid var(--line); }
.cta { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
footer { border-top:1px solid var(--line); padding:26px 0 40px; font-size:13px; color:var(--faint); }
footer .wrap { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; }
@media (max-width:640px) {
  :root { --gutter:16px; --section:56px; }
  .top .wrap { height:54px; } .brand { font-size:19px; } .controls { gap:6px; } .seg button { padding:4px 7px; }
  .hero { padding-top:44px; } .lead { font-size:16.5px; }
}
@media (prefers-reduced-motion:reduce) { * { transition:none !important; scroll-behavior:auto !important; } }

/* ---- b3rys.com page ---- */
.cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-top:8px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:16px; padding:20px; display:flex; flex-direction:column; gap:0; }
.card h3 { font-size:24px; letter-spacing:-.03em; margin-top:20px; }
.card .tag { margin:2px 0 10px; font-size:13px; font-weight:600; color:var(--accent); }
.card p { margin:0; font-size:15px; color:var(--muted); line-height:1.6; }
.card .tag { color:var(--accent); }
.card .cta { margin-top:auto; padding-top:18px; }
.vis { height:168px; border-radius:10px; background:var(--stage); overflow:hidden; display:flex; flex-direction:column; justify-content:center; gap:10px; padding:16px; }
.orig { display:block; font-size:12.5px; color:var(--text); }
.tr { display:block; font-size:12.5px; color:var(--accent); font-weight:560; }
.vis-tolk .tl { background:var(--card); border:1px solid var(--line); border-radius:8px; padding:10px 12px; }
.vis-tolk .sub-bar { background:#0c0f0d; border-radius:8px; padding:10px 12px; text-align:center; }
.vis-tolk .sub-bar .orig { color:#ece8da; } .vis-tolk .sub-bar .tr { color:#98e398; }
.vis-b3os { align-items:stretch; }
.flow { display:flex; align-items:center; gap:6px; flex-wrap:nowrap; }
.flow i { flex:1; height:1.5px; background:var(--line-strong); min-width:8px; }
.chip { font-size:11.5px; font-weight:600; border:1px solid var(--line-strong); border-radius:999px; padding:3px 9px; background:var(--card); color:var(--muted); white-space:nowrap; }
.chip.on { background:var(--text); color:var(--bg); border-color:var(--text); }
.bars { display:grid; gap:8px; margin-top:6px; }
.bars b { display:block; height:8px; border-radius:4px; width:var(--w); background:var(--accent); opacity:.75; }
.bars b:nth-child(2) { opacity:.5; } .bars b:nth-child(3) { opacity:.3; }
.vis-steno { padding:16px 16px 0; align-items:center; justify-content:flex-end; }
.vis-steno img { width:100%; border-radius:8px 8px 0 0; box-shadow:var(--shot-shadow); object-fit:cover; object-position:top; }
@media (max-width:900px) { .cards { grid-template-columns:minmax(0,1fr); max-width:520px; } }
@media (max-width:420px) { .chip { font-size:10.5px; padding:3px 6px; } }

/* 준비 중 제품 — 흐리게 */
.card.soon{opacity:.55;filter:saturate(.4);background:transparent;border-style:dashed;box-shadow:none}
.card.soon h3{color:var(--muted,inherit)}
.pill-soon{display:inline-block;font-size:12px;letter-spacing:.04em;padding:4px 10px;border-radius:999px;border:1px dashed currentColor;opacity:.8}
