
:root {
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "Hiragino Sans", "PingFang SC", "Noto Sans JP", "Noto Sans Thai", Roboto, sans-serif;
  --bg: #ffffff; --bg-2: #fafafa; --surface: #fff; --surface-2: #f4f4f5; --text: #09090b; --text-2: #3f3f46; --muted: #71717a; --line: #ececee;
  --accent: #5b55f0; --accent-2: #9b5cf6; --accent-soft: #efeefe; --red: #e5484d; --amber: #e08a00; --blue: #3b82f6; --green: #18a058;
  --shadow: 0 1px 2px rgba(9,9,11,.04), 0 12px 32px -12px rgba(9,9,11,.14);
  --shadow-xl: 0 30px 80px -20px rgba(52,40,160,.35), 0 0 0 1px rgba(9,9,11,.06);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #09090b; --bg-2: #0e0e11; --surface: #141417; --surface-2: #1c1c20; --text: #f4f4f5; --text-2: #c9c9ce; --muted: #8b8b94; --line: #222227;
    --accent: #8a85ff; --accent-2: #b48cff; --accent-soft: #211f45; --shadow: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px -12px rgba(0,0,0,.7);
    --shadow-xl: 0 30px 80px -20px rgba(110,90,255,.28), 0 0 0 1px rgba(255,255,255,.08); }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.65 var(--font); letter-spacing: -.005em; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
:lang(ko) { word-break: keep-all; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 9; }
.muted { color: var(--muted); }
svg { flex-shrink: 0; }

/* nav */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; height: 64px; padding: 0 max(20px, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--text); letter-spacing: -.025em; }
.brand:hover { text-decoration: none; }
.top-links { display: flex; gap: 22px; margin-inline-end: auto; }
.top-links a { color: var(--muted); font-size: 14.5px; font-weight: 550; }
.top-links a:hover { color: var(--text); text-decoration: none; }
.top-nav { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; } /* stays right when .top-links is hidden (mobile) */
.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: 6px; white-space: nowrap; list-style: none; cursor: pointer; height: 36px; padding: 0 10px; border-radius: 9px; color: var(--muted); font-weight: 550; font-size: 14px; }
.lang summary svg { width: 16px; height: 16px; }
.lang summary:hover { background: var(--surface-2); color: var(--text); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 44px; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 220px; columns: 2; column-gap: 0; }
.lang a { display: block; padding: 7px 12px; border-radius: 8px; color: var(--text); font-size: 14px; white-space: nowrap; }
.lang a:hover, .lang a[aria-current] { background: var(--accent-soft); text-decoration: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; font-weight: 650; font-size: 14.5px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .12s, box-shadow .2s, background .15s, filter .15s; white-space: nowrap; font-family: inherit; }
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn-primary { background: var(--accent); color: #fff; border: 0; box-shadow: 0 1px 2px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.2), 0 10px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn-primary:hover { background: var(--accent); filter: brightness(1.08); transform: translateY(-1px); }
.btn-dark { background: var(--text); color: var(--bg); border: 0; }
.btn-dark:hover { background: var(--text); opacity: .88; }
.btn-light { background: #fff; color: #18181b; border: 0; }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-lg { height: 50px; padding: 0 26px; font-size: 16.5px; border-radius: 13px; }

/* hero */
.hero { position: relative; text-align: center; max-width: 1180px; margin: 0 auto; padding: 96px 20px 40px; }
.hero-glow { position: absolute; inset: -80px 0 auto; height: 700px; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 300px at 50% 20%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(500px 260px at 75% 45%, color-mix(in srgb, var(--accent-2) 18%, transparent), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--text-2); font-size: 13.5px; font-weight: 600; margin-bottom: 26px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.eyebrow:hover { text-decoration: none; border-color: var(--accent); }
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: 1.0; letter-spacing: -.05em; margin: 0 auto 24px; font-weight: 820; max-width: 14ch;
  background: linear-gradient(180deg, var(--text) 35%, color-mix(in srgb, var(--text) 55%, var(--accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); margin: 0 auto 34px; max-width: 38em; line-height: 1.6; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.product { position: relative; margin: 64px auto 0; max-width: 1120px; }
.frame { border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-xl); border: 1px solid var(--line); transform: perspective(2400px) rotateX(6deg); transform-origin: 50% 0; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.product:hover .frame { transform: none; }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.frame-bar i:nth-child(1) { background: #ff5f57; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin: 0 auto; font-size: 12px; color: var(--muted); font-weight: 600; padding-right: 50px; }
.frame img { display: block; width: 100%; height: auto; }
.demo { position: absolute; left: -36px; bottom: -40px; width: min(440px, 80vw); text-align: start; background: var(--surface); border-radius: 18px; padding: 16px 18px 12px; box-shadow: var(--shadow-xl); border: 1px solid var(--line); }
.demo-input { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 550; padding-bottom: 10px; border-bottom: 1px solid var(--line); min-height: 38px; }
.plus { color: var(--accent); font-weight: 700; font-size: 22px; }
.caret { width: 2px; height: 20px; background: var(--accent); animation: blink 1s steps(1) infinite; margin-left: -6px; }
.demo:not(.typing) .caret { opacity: 0; }
@keyframes blink { 50% { opacity: 0; } }
.demo-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 0 8px; min-height: 40px; }
.chip { padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 650; background: var(--accent-soft); color: var(--accent); opacity: 0; transform: translateY(4px); transition: all .35s cubic-bezier(.2,.8,.2,1); }
.chip-date { background: color-mix(in srgb, var(--green) 13%, transparent); color: var(--green); }
.chip-prio { background: color-mix(in srgb, var(--amber) 15%, transparent); color: var(--amber); }
.demo.parsed .chip { opacity: 1; transform: none; }
.demo.parsed .chip:nth-child(2) { transition-delay: .08s; } .demo.parsed .chip:nth-child(3) { transition-delay: .16s; }
.demo-result { display: flex; align-items: center; gap: 10px; padding: 8px 2px 4px; border-top: 1px solid var(--line); font-weight: 550; opacity: .78; transition: opacity .3s; }
.demo.parsed .demo-result { opacity: 1; }
.ck { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--amber); background: color-mix(in srgb, var(--amber) 10%, transparent); }

/* logos */
.logos { max-width: 1100px; margin: 110px auto 0; padding: 0 20px; text-align: center; }
.logos p { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0 0 18px; }
.logos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.logos li { font-weight: 700; font-size: 17px; color: color-mix(in srgb, var(--text) 62%, transparent); letter-spacing: -.02em; }

section h2 { font-size: clamp(32px, 4vw, 50px); letter-spacing: -.04em; line-height: 1.08; margin: 0 0 40px; text-align: center; font-weight: 800; }

/* bento */
.bento { max-width: 1180px; margin: 0 auto; padding: 130px 20px 20px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-height: 260px; display: flex; flex-direction: column; }
.tile.t-wide { grid-column: span 2; }
.tile h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.02em; }
.tile p { margin: 0 0 20px; color: var(--muted); font-size: 15.5px; max-width: 34em; }
.nlp-demo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: auto; }
.nlp-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-weight: 550; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.nlp-lang { font: 700 11px/1 var(--font); text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 4px 6px; border-radius: 6px; }
.engines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.engines span { padding: 6px 11px; border-radius: 9px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-2); background: var(--bg-2); }
.engines span.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }
.mini-matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; height: 110px; }
.mini-matrix i { border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); border-top-width: 4px; }
.mini-matrix .q1 { border-top-color: var(--red); } .mini-matrix .q2 { border-top-color: var(--amber); } .mini-matrix .q3 { border-top-color: var(--blue); } .mini-matrix .q4 { border-top-color: var(--muted); }
.streak { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; margin-top: auto; }
.streak i { aspect-ratio: 1; border-radius: 4px; background: var(--surface-2); }
.streak .s1 { background: color-mix(in srgb, var(--accent) 30%, var(--surface-2)); } .streak .s2 { background: color-mix(in srgb, var(--accent) 55%, var(--surface-2)); }
.streak .s3 { background: color-mix(in srgb, var(--accent) 80%, var(--surface-2)); } .streak .s4 { background: var(--accent); }
.offline { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--green) 10%, transparent); color: color-mix(in srgb, var(--green) 65%, var(--text)); align-self: flex-start; }
.sig { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px color-mix(in srgb, var(--green) 20%, transparent); }

/* steps */
.steps { max-width: 1180px; margin: 0 auto; padding: 120px 20px 20px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); margin-bottom: 16px; }
.steps h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.015em; }
.steps p { margin: 0; color: var(--muted); }

/* features */
.features { max-width: 1180px; margin: 0 auto; padding: 120px 20px 20px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.feature { display: flex; gap: 16px; }
.feature-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.feature h3 { margin: 4px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* faq */
.faq { max-width: 780px; margin: 0 auto; padding: 120px 20px 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; padding: 22px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 22px; color: var(--muted); }

/* CTA band */
.cta-band { max-width: 1140px; margin: 120px auto 40px; padding: 80px 32px; text-align: center; border-radius: 32px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(700px 300px at 15% 0%, rgba(255,255,255,.18), transparent 60%), radial-gradient(600px 300px at 90% 100%, rgba(255,255,255,.12), transparent 60%), linear-gradient(135deg, #4f46e5, #7c3aed 55%, #a855f7); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { font-size: 18px; opacity: .85; margin: 0 0 30px; }

.share { max-width: 900px; margin: 40px auto 80px; padding: 0 20px; text-align: center; }
.share h2 { font-size: 20px; margin-bottom: 16px; }
.share-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }

.foot { border-top: 1px solid var(--line); padding: 44px max(20px, calc((100vw - 1180px) / 2)); display: grid; gap: 18px; color: var(--muted); font-size: 14px; background: var(--bg-2); }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--text); }
.foot-brand span { color: var(--muted); }
.foot-langs, .foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-langs a, .foot-links a { color: var(--muted); }
.legal { max-width: 760px; margin: 0 auto; padding: 56px 20px 80px; }
.legal h1 { font-size: 42px; letter-spacing: -.035em; }
.legal h1 small { display: block; font-size: 18px; font-weight: 500; color: var(--muted, #666); letter-spacing: 0; }
.privacy p a, .privacy li a { text-decoration: underline; text-underline-offset: 2px; }
.legal .table-wrap:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.legal .toc ol { columns: 2 220px; padding-inline-start: 20px; }
.legal .table-wrap { overflow-x: auto; margin: 12px 0 20px; -webkit-overflow-scrolling: touch; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.legal caption { text-align: start; font-weight: 600; padding: 4px 0; }
.legal th, .legal td { border: 1px solid color-mix(in srgb, currentColor 18%, transparent); padding: 8px 10px; vertical-align: top; text-align: start; }
.legal th { background: color-mix(in srgb, currentColor 6%, transparent); }
.legal section[lang="en"] { margin-top: 48px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }

@media (max-width: 960px) {
  .top-links { display: none; }
  .top-nav .btn-ghost { display: none; }
  .bento-grid, .grid, .steps ol { grid-template-columns: 1fr; }
  .tile.t-wide { grid-column: auto; }
  .nlp-demo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { gap: 10px; }
  .top-nav .btn-dark { height: 34px; padding: 0 12px; font-size: 13.5px; }
  .brand span { display: none; }
  .lang summary span { display: none; }
  .hero { padding-top: 56px; }
  .product { margin-top: 44px; }
  .frame { transform: none; border-radius: 12px; }
  .demo { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .logos { margin-top: 70px; }
  .cta-band { margin: 80px 12px 30px; padding: 56px 22px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } .frame { transform: none; } }

.foot-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-stats span { display: inline-flex; align-items: baseline; gap: 6px; }
.foot-stats b { color: var(--text); font-size: 17px; font-variant-numeric: tabular-nums; }
.foot-stats .live { width: 7px; height: 7px; border-radius: 50%; background: #18a058; align-self: center; animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(24,160,88,.5); } 70% { box-shadow: 0 0 0 7px rgba(24,160,88,0); } 100% { box-shadow: 0 0 0 0 rgba(24,160,88,0); } }
@media (prefers-reduced-motion: reduce) { .foot-stats .live { animation: none; } }
.foot-biz { margin: 0; font-size: 12.5px; line-height: 1.7; word-break: keep-all; }
.foot-biz a, .foot small a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.universe { max-width: 1180px; margin: 0 auto; padding: 110px 20px 10px; text-align: center; }
.uni-kicker { color: var(--accent); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0; }
.universe h2 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.03em; margin: 8px 0 10px; }
.uni-sub { color: var(--muted); max-width: 680px; margin: 0 auto 36px; font-size: 18px; }
.uni-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: left; }
.uni-card { --rc: #5b55f0; border-radius: 20px; padding: 22px; border: 1px solid var(--line); background: linear-gradient(170deg, color-mix(in srgb, var(--rc) 13%, var(--bg)), var(--bg) 65%); }
.uni-card.r-think { --rc: #f59e0b; } .uni-card.r-live { --rc: #10b981; } .uni-card.r-grow { --rc: #ec4899; }
.uni-ico { font-size: 30px; }
.uni-card h3 { margin: 10px 0 6px; font-size: 20px; color: var(--rc); }
.uni-card p { color: var(--muted); margin: 0 0 12px; }
.uni-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
.uni-card li::before { content: "•"; color: var(--rc); margin-right: 8px; font-weight: 800; }
.uni-orbit { margin-top: 22px; display: flex; gap: 28px; align-items: center; text-align: left; padding: 26px 30px; border-radius: 24px; color: #e2e8f0; background: radial-gradient(120% 160% at 0% 0%, #312e81, #0f172a 55%, #020617); }
.uni-orbit h3 { color: #fff; margin: 0 0 6px; font-size: 22px; } .uni-orbit p { margin: 0; color: #cbd5e1; }
.uni-planet { position: relative; width: 120px; height: 120px; flex-shrink: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fde68a, #f59e0b 60%, transparent 61%); }
.uni-planet i { position: absolute; inset: 6px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); animation: spin 18s linear infinite; }
.uni-planet i::after { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: #5b55f0; }
.uni-planet i:nth-child(2) { inset: -8px; animation-duration: 26s; } .uni-planet i:nth-child(2)::after { background: #f59e0b; }
.uni-planet i:nth-child(3) { inset: -20px; animation-duration: 34s; animation-direction: reverse; } .uni-planet i:nth-child(3)::after { background: #10b981; }
.uni-planet i:nth-child(4) { inset: -32px; animation-duration: 44s; } .uni-planet i:nth-child(4)::after { background: #ec4899; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .uni-planet i { animation: none; } }
@media (max-width: 980px) { .uni-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .uni-grid { grid-template-columns: 1fr; } .uni-orbit { flex-direction: column; text-align: center; } }
.foot-stats[hidden] { display: none; }
.uni-orbit { overflow: hidden; }
.uni-planet { margin: 34px; }

/* ---------- download / install guide */
.dl { max-width: 1040px; margin: 0 auto; padding: 0 20px 80px; }
.dl-hero { position: relative; text-align: center; padding: 88px 0 24px; }
.dl-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.05; letter-spacing: -.045em; margin: 0 auto 18px; font-weight: 820; max-width: 16ch; }
.dl-hero .lead { margin-bottom: 8px; }
.dl-stores h2, .dl-pwa h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.025em; margin: 48px 0 16px; }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dl-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); transition: border-color .15s, transform .15s, box-shadow .2s; }
.dl-card:hover { text-decoration: none; border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.dl-ico { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; color: var(--accent); background: var(--accent-soft); }
.dl-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.dl-txt b { font-size: 17px; letter-spacing: -.01em; }
.dl-txt small { color: var(--muted); font-size: 13.5px; }
.dl-go { color: var(--muted); font-size: 18px; }
.dl-card.soon { border-style: dashed; }
.dl-card.soon .dl-ico { color: var(--muted); background: var(--surface-2); }
.dl-card.soon .dl-go { visibility: hidden; }
.dl-card.focus { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.dl-pwa { padding-top: 8px; }
.dl-pwa > p { color: var(--muted); max-width: 44em; margin: 0 0 20px; font-size: 16px; }
.dl-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dl-steps li { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); }
.dl-steps p { margin: 0; color: var(--text); font-size: 14.5px; }
@media (max-width: 760px) { .dl-grid, .dl-steps { grid-template-columns: 1fr; } .dl-hero { padding-top: 56px; } }
.dl-stores h2, .dl-pwa h2 { text-align: center; }
.dl-win > p, .dl-notes { max-width: 44em; margin-left: auto; margin-right: auto; }
.dl-notes { color: var(--muted); font-size: 14.5px; padding-left: 1.2em; margin-bottom: 16px; }
.dl-notes li { margin: 0 0 8px; }
.dl-pwa { text-align: center; }
.dl-pwa > p { margin-inline: auto; }
.dl-steps li { text-align: start; }
/* Android APK direct download block */
.dl-apk .dl-apk-meta { margin: 12px auto 24px; font-size: 13.5px; }
.dl-apk .dl-steps p { overflow-wrap: anywhere; }
.dl-apk .dl-apk-note { font-size: 14px; margin-top: -8px; }

@media (prefers-color-scheme: dark) { .btn-primary { color: #111; } }
[data-theme="dark"] .btn-primary { color: #111; }
.uni-stats { list-style: none; padding: 0; margin: -18px auto 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.uni-stats li { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 14px; }
/* Line breaking: no lonely last words on wide screens (headings balanced, body text without orphans). */
h1, h2, h3, .lead, .trust, .eyebrow { text-wrap: balance; }
p, li, dd, figcaption, small { text-wrap: pretty; } /* no lone last word; balance stays for headings */
.legal p, .legal li { text-wrap: pretty; }
.dl-notes { text-align: left; }
/* Founding-member promise (hero) + beta notice (footer). */
.promo { display: inline-flex; align-items: center; gap: 8px; margin: -12px auto 26px; padding: 8px 16px; border-radius: 99px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); font-size: clamp(14.5px, 1.3vw, 16px); font-weight: 700; letter-spacing: -.01em; max-width: 100%; }
.foot-beta { margin: 0 0 8px; font-size: 13px; color: var(--text-2); }
.beta-tag { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; vertical-align: 1px; }
.nw { white-space: nowrap; }
.promo.urgent { background: color-mix(in srgb, var(--amber) 16%, var(--surface)); border-color: color-mix(in srgb, var(--amber) 55%, transparent); margin-top: -14px; }
.promo[hidden] { display: none; }
.promo-count { margin: -10px 0 18px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.promo-count[hidden] { display: none; }

/* Guides (/{ko,en}/guide/<slug>/) reuse .legal for width, tables and typography */
.guide .crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.guide .crumbs a { color: var(--muted); }
.guide h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.2; margin-bottom: 8px; text-wrap: balance; }
.guide .lead { font-size: 17.5px; line-height: 1.75; color: var(--text-2); margin: 18px 0 8px; }
.guide h2 { margin-top: 40px; font-size: 24px; letter-spacing: -.02em; text-wrap: balance; }
.guide p, .guide li { line-height: 1.8; font-size: 16.5px; }
.guide li { margin: 6px 0; }
.guide-steps { padding-inline-start: 22px; }
.guide-steps li::marker { font-weight: 700; color: var(--accent); }
.guide th[scope="row"] { background: transparent; font-weight: 650; white-space: nowrap; }
.guide details { border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin: 10px 0; background: var(--surface); }
.guide details summary { cursor: pointer; font-weight: 650; }
.guide details p { margin: 10px 0 0; }
.guide-cta { margin: 48px 0 24px; padding: 28px; border-radius: 18px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.guide-cta h2 { margin-top: 0; }
.guide-cta .cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.guide-related ul { padding-inline-start: 20px; }
.foot-guides b, .foot-family b { color: var(--text); font-weight: 650; }

/* Invite landing (/{locale}/invite/?ref=CODE) — reuses .dl layout */
.inv-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 650; color: var(--accent); background: var(--accent-soft); }
.inv-hero h1 { max-width: 18ch; }
.inv-hero .btn-lg { margin-top: 18px; }
.inv-points { list-style: none; margin: 28px auto 36px; padding: 0; max-width: 640px; display: grid; gap: 10px; }
.inv-points li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); font-size: 15.5px; text-align: start; }
.inv-ck { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.inv-shot { max-width: 920px; margin: 0 auto; overflow: hidden; }
.inv-shot.frame { transform: none; }
.inv-shot img { display: block; width: 100%; height: auto; }

/* Template landing pages (/{ko,en}/templates/…) — reuse .legal/.guide; light + dark via the tokens above */
.tpl-page .tpl-hero { font-size: 44px; line-height: 1; margin: 8px 0 0; }
.tpl-page .tpl-tags { list-style: none; padding: 0; margin: 4px 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tpl-page .tpl-tags li { margin: 0; font-size: 13.5px; line-height: 1.4; font-weight: 600; color: var(--text-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; }
.tpl-page .tpl-open { justify-content: flex-start; align-items: center; margin: 8px 0 12px; }
.tpl-page .tpl-open .muted { font-size: 14px; }
.tpl-page h2 small { font-size: 15px; font-weight: 600; }
.tpl-tasks { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); counter-reset: s; }
.tpl-page .tpl-tasks li { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); counter-increment: s; }
.tpl-tasks li::before { content: counter(s) "."; flex: none; min-width: 1.8em; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.tpl-tasks li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tpl-tasks li b { flex: none; max-width: 45%; text-align: end; font-size: 14px; font-weight: 650; color: var(--text-2); }
.tpl-page .tpl-index { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.tpl-page .tpl-index li { margin: 0; }
.tpl-link { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); }
.tpl-link:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.tpl-link > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tpl-link b { font-size: 16px; }
.tpl-link .muted { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.tpl-link small { font-size: 13px; color: var(--muted); font-weight: 600; }
.tpl-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--surface-2); font-size: 22px; }
@media (prefers-color-scheme: dark) { .tpl-page .btn-primary, .beta-tag { color: #09090b; } }
@media (max-width: 520px) { .tpl-tasks li { flex-wrap: wrap; } .tpl-tasks li b { max-width: none; flex: 1 0 100%; padding-inline-start: calc(1.8em + 12px); text-align: start; } }

/* Support & legal pages (/{l}/help|contact|privacy|terms|delete-account|404/, scripts/support/) */
.support section h2, .support .help-group h2 { font-size: 24px; letter-spacing: -.02em; text-align: start; margin: 40px 0 12px; font-weight: 750; }
.support .guide-cta h2 { margin-top: 0; }
.support .crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.support .crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.support .help-toc ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.support .help-toc a { display: inline-block; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.support .help-toc a:hover { border-color: var(--accent); color: var(--accent); }
.support details:target { scroll-margin-top: 84px; outline: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; }
.support h2[id] { scroll-margin-top: 84px; }
.support .note { padding: 12px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 14.5px; }
.legal-langs ul { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.not-found .nf { text-align: center; padding: 40px 0 24px; }
.not-found .nf-code { font-size: clamp(72px, 16vw, 128px); font-weight: 850; letter-spacing: -.06em; line-height: 1; margin: 0; color: var(--accent); }
.not-found .nf h1 { margin-top: 12px; }
.support .cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.not-found .cta-row { justify-content: center; margin-top: 22px; }
.changelog .release { border-top: 1px solid var(--line); margin-top: 28px; }
.changelog .release h2 { margin-top: 20px; margin-bottom: 4px; }
/* Android "in Google Play review" hero banner */
.promo.play-review { flex-wrap: wrap; justify-content: center; text-align: center; margin-top: 0; }
.promo.play-review a { color: inherit; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
/* Performance (low-end phones). Below-the-fold sections skip layout/paint until scrolled near: the first layout
   of the long landing page was ~1 s of main-thread work at 4x CPU throttling. */
.bento, .universe, .steps, .features, .faq, .cta-band, .share, .foot { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Names/samples in other languages use system fonts, so e.g. the English page does not fetch ~15 Korean/CJK
   Pretendard subsets (~400 KB) for a few words in the language menu, footer and the multilingual demo. */
.lang a[lang], .foot-langs a[lang], .nlp-row span { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; }

/* Hero: "On every device" platform chips */
.hero-platforms { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 18px auto 0; max-width: 760px; }
.hero-platforms .hp-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero-platforms ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-size: 14px; font-weight: 600; }
.hp-chip svg { width: 16px; height: 16px; color: var(--accent); }
.hp-chip:hover { text-decoration: none; border-color: var(--accent); }

/* Download page: platform cards */
.pf { margin: 8px 0 40px; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.pf-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-align: start; scroll-margin-top: 84px; }
.pf-card h3 { margin: 0; font-size: 18px; }
.pf-card .pf-head { display: flex; gap: 12px; align-items: center; }
.pf-card .pf-head p { margin: 2px 0 0; font-size: 14px; }
.pf-steps { margin: 0; padding-inline-start: 20px; font-size: 14.5px; line-height: 1.6; color: var(--text-2); }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; }
.pf-guide { margin: 0; font-size: 14px; }
.pf-card.pf-mine { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.pf-badge { align-self: flex-start; padding: 2px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .pf-badge { color: #09090b; } }

/* iPhone/iPad & Mac install guides: illustrated steps */
.ig-steps { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; counter-reset: ig; }
.ig-steps li { counter-increment: ig; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.ig-steps li b::before { content: counter(ig) ". "; color: var(--accent); }
.ig-steps li span { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.ig-art { width: 100%; height: auto; max-height: 130px; }
.ig-art .ig-dev { fill: var(--surface-2); stroke: var(--muted); stroke-width: 2; }
.ig-art .ig-scr { fill: var(--bg); }
.ig-art .ig-bar, .ig-art .ig-sheet { fill: var(--surface-2); }
.ig-art .ig-line, .ig-art .ig-app { fill: var(--line); }
.ig-art .hl { fill: var(--accent); }
.ig-art .ig-stroke { stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ig-art .ig-floor { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.ig-art .ig-plus, .ig-art .ig-check { stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; }
.ig-art .ig-txt { font: 600 5px/1 var(--font, system-ui); fill: var(--muted); }
/* SEO page system (/{locale}/{templates,use-cases,features,tools,alternatives}/…) — reuses .legal/.guide/.tpl-page */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.top-links a[aria-current] { color: var(--text); }
.foot-explore b { color: var(--text); font-weight: 650; }
.seo-page .small-print { font-size: 13.5px; line-height: 1.6; }
.seo-page .cta-row.tpl-open { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.seo-page .lead a, .seo-page article p a:not(.btn), .seo-page article li a:not(.tpl-link) { text-decoration: underline; text-underline-offset: 2px; }
.seo-page code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); overflow-wrap: anywhere; }
.seo-page .nlp-table th[scope="row"] { white-space: normal; min-width: 12em; }
.seo-page .nlp-table td:last-child { white-space: nowrap; }
@media (max-width: 640px) {
  /* Parser example tables scroll sideways on phones: keep columns readable and the caption pinned in view. */
  .seo-page .nlp-table { min-width: 36rem; }
  .seo-page .nlp-table caption { position: sticky; inset-inline-start: 0; width: calc(100vw - 40px); }
}
.seo-cards { list-style: none; padding: 0 !important; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.seo-cards li { margin: 0 !important; }
.seo-cards a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); }
.seo-cards a:hover { text-decoration: none; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.seo-cards small { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.seo-cards b { font-size: 15px; line-height: 1.4; }
/* free tools */
.tool { margin: 20px 0 8px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px 14px; }
.tool-grid[hidden] { display: none; }
.tool label > span { display: block; font-size: 13.5px; font-weight: 650; color: var(--text-2); margin-bottom: 4px; }
.tool input[type="date"], .tool input[type="time"], .tool input[type="number"], .tool input[type="text"] { width: 100%; height: 44px; padding: 0 12px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; color-scheme: light dark; }
.tool input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.tool .tool-wide { grid-column: 1 / -1; }
.tool .tool-check { display: flex; align-items: center; gap: 8px; align-self: end; min-height: 44px; font-size: 14.5px; }
.tool .tool-check input, .tool-mode input { width: 18px; height: 18px; accent-color: var(--accent); }
.tool .tool-check > span { margin: 0; font-weight: 550; color: var(--text); }
.tool-mode { display: flex; flex-wrap: wrap; gap: 8px 18px; border: 0; padding: 0; margin: 0 0 14px; }
.tool-mode legend { font-size: 13.5px; font-weight: 650; color: var(--text-2); padding: 0; margin-bottom: 6px; }
.tool-mode label { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.tool-out { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 6px; padding: 16px; min-height: 148px; border-radius: 14px; background: var(--accent-soft); }
.tool-big { font-size: clamp(26px, 5vw, 36px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--text); overflow-wrap: anywhere; }
.tool-out [data-o="detail"] { font-size: 14.5px; color: var(--text-2); }
.tool .table-wrap[hidden] { display: none; }
.tool table { min-width: 0 !important; }
/* sr-only header cells must stay inside the scroll box, or they widen the page at 360 px. */
.seo-page .table-wrap { position: relative; }
/* Long translated registration labels (ru, vi…) would overflow a 360 px footer as one unbreakable line. */
@media (max-width: 480px) { .foot-biz .nw { white-space: normal; } }

/* Module showcase (landing, under the hero) + module directory pages (seo/modules.ts). */
.mods { max-width: 1120px; margin: 0 auto; padding: 56px 20px 24px; }
.mods-kicker { margin: 0 0 6px; font-weight: 700; font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.mods h2 { margin: 0; font-size: clamp(26px, 4.6vw, 40px); letter-spacing: -.02em; line-height: 1.15; }
.mods-sub { margin: 10px 0 18px; max-width: 62ch; color: var(--muted); font-size: 16px; line-height: 1.6; }
.mods-cats, .mod-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.mods-cats a, .mod-cats a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface, var(--bg)); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; }
.mods-cats a:hover, .mod-cats a:hover { border-color: var(--accent); }
.mods-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.mods-card { display: flex; gap: 12px; align-items: flex-start; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface, var(--bg)); color: var(--text); text-decoration: none; box-sizing: border-box; }
.mods-card:hover { border-color: var(--accent); }
.mods-card b { display: block; font-size: 15px; }
.mods-card span span { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.mods-ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--accent-soft); }
.mods-packs-h { margin: 28px 0 10px; font-size: 18px; }
.mods-packs, .mod-packs { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.mods-packs li, .mod-packs li { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--line); font-size: 14px; }
.mods-packs li > span { font-size: 17px; letter-spacing: 2px; overflow-wrap: anywhere; }
.mod-packs .muted { font-size: 13px; }
.mod-pack-list { font-size: 13px; overflow-wrap: anywhere; }
.mod-hero { font-size: 44px; }
.mods .cta-row { margin-top: 20px; }
