/* Gridless site - Encrypted Signal identity (BRAND.md tokens), self-contained, theme-fixed dark. */
:root {
  --bg: #0e1116; --surface: #171a20; --surface-hi: #232732; --hairline: #282c34;
  --accent: #6bc6c8; --accent-deep: #3f9698;
  --text-hi: #e7e9ee; --text-mid: #9ca2ad; --text-low: #6b7078;
  --good: #5ccb8e; --danger: #f26d6d;
  --maxw: 720px; --maxw-wide: 980px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text-hi);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 640px; }

/* language toggle (KO/EN) */
html[data-lang="en"] [data-l="ko"] { display: none; }
html[data-lang="ko"] [data-l="en"] { display: none; }
.langtoggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: flex; align-items: center; gap: 5px;
  background: rgba(20,19,23,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--hairline); border-radius: 999px; padding: 5px 9px;
}
.langtoggle button {
  font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .3px;
  color: var(--text-mid); background: transparent; border: 0; cursor: pointer;
  padding: 3px 8px; border-radius: 999px; line-height: 1;
}
.langtoggle button:hover { color: var(--text-hi); }
.langtoggle button[aria-pressed="true"] { color: #120f08; background: var(--accent); }
.langtoggle span { opacity: .4; }
.langtoggle button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #120f08; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* header / footer chrome */
header.site {
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px);
  background: rgba(10,10,12,.72); border-bottom: 1px solid var(--hairline);
}
header.site .wrap { display: flex; align-items: center; gap: 12px; height: 60px; max-width: var(--maxw-wide); }
.mark { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .04em; }
.mark svg { width: 18px; height: 18px; }
header.site nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; }
header.site nav a { color: var(--text-mid); }

/* type */
h1 { font-size: clamp(34px, 6vw, 54px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; margin: 0 0 16px; }
h1 .g { color: var(--accent); }
h2 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.18; letter-spacing: -.01em; text-wrap: balance; margin: 0 0 12px; }
h3 { font-size: 17px; margin: 26px 0 4px; color: var(--text-hi); }
p, li { color: var(--text-mid); }
.lead { font-size: 19px; color: var(--text-mid); margin: 0 0 26px; max-width: 60ch; }
.eyebrow { font: 700 12px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .22em; color: var(--accent); text-transform: uppercase; margin-bottom: 16px; }

/* hero */
.hero { padding: 68px 0 40px; }
.hero-grid { max-width: var(--maxw-wide); display: grid; grid-template-columns: 1fr 300px; gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-shot { display: flex; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #120f08;
  font-weight: 700; padding: 13px 22px; border-radius: 12px; margin-top: 8px;
}
.btn:hover { background: #f0c46a; text-decoration: none; }
.btn.soon { box-shadow: 0 8px 26px rgba(230,180,80,.24); }
.price { color: var(--text-mid); font-size: 14px; margin-top: 14px; }
.muted { color: var(--text-low); font-size: 13px; margin-top: 8px; }

/* screenshot frame */
.shot {
  display: block; width: 100%; max-width: 280px; height: auto;
  border: 1px solid var(--hairline); border-radius: 34px;
  background: var(--surface); box-shadow: 0 28px 70px rgba(0,0,0,.55);
}

/* alternating text + screenshot beats */
.beat { border-top: 1px solid var(--hairline); }
.beat-grid { max-width: var(--maxw-wide); display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; padding: 64px 0; }
.beat-shot { display: flex; justify-content: center; }
.beat-copy { min-width: 0; }
.beat .narrow { padding: 64px 24px; }

/* feature grid */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; margin: 56px auto; max-width: var(--maxw-wide); }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 4px; }
.card p { margin: 0; font-size: 14.5px; }

/* plain sections */
section > .wrap.narrow { padding-top: 56px; padding-bottom: 8px; }
.final { border-top: 1px solid var(--hairline); text-align: center; padding: 12px 0 8px; }
.final .btn { margin-top: 18px; }
main { padding-bottom: 40px; }

/* legal pages */
.legal p, .legal li { color: var(--text-mid); }
.faq h3 { color: var(--text-hi); }
.tick { color: var(--good); } .cross { color: var(--text-mid); }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }

footer.site { border-top: 1px solid var(--hairline); padding: 34px 0 84px; margin-top: 40px; }
footer.site .wrap { max-width: var(--maxw-wide); }
.foot-lead { color: var(--text-mid); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.foot-lead .fine { color: var(--text-low); font-size: 12px; }
.foot-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 13px; color: var(--text-low); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--hairline); }
.foot-bar nav { margin-left: auto; display: flex; gap: 18px; }
.foot-bar nav a { color: var(--text-mid); }

/* responsive */
@media (max-width: 720px) {
  .hero-grid, .beat-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 48px 0 24px; }
  .hero-copy { order: 1; } .hero-shot { order: 2; }
  .beat-copy { order: 1; } .beat-shot { order: 2; }
  .beat-grid { padding: 48px 0; }
  .shot { max-width: 240px; }
}
