/* =========================================================================
   Voiceuno — brand tokens

   앱에서 그대로 가져온 두 색이 전부다: 청록 #25E0C4 와 잉크 #0F172A.

   ★ 청록 위에 흰 글자를 절대 올리지 않는다 (대비 1.6:1, WCAG 실패).
     청록 배경의 글자는 언제나 --ink 다. Snapuno 의 노랑과 같은 규칙이고,
     이유도 같다.

   ★ 글자·밑줄에 쓰는 청록은 --accent-deep 이다
     #25E0C4 를 흰 배경 위 글자색으로 쓰면 읽히지 않는다. 배경·버튼은
     --accent, 글자·링크·밑줄은 --accent-deep 으로 나눈다.

   ★ 잉크가 차갑다
     Snapuno 는 따뜻한 회색(#191919, 종이 #faf8f2)이었다. Voiceuno 는
     앱이 딥네이비라 차가운 계열(#0F172A, 종이 #F5F8FA)로 맞춘다.
     밝은 사이트 위에 어두운 앱 스크린샷을 얹었을 때 대비가 산다.
   ========================================================================= */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --paper: #f5f8fa;
  --paper-2: #ffffff;
  --card: #ffffff;
  --line: rgba(15, 23, 42, 0.12);
  --line-soft: rgba(15, 23, 42, 0.07);

  --accent: #25e0c4;
  --accent-deep: #0d9488;
  --accent-tint: #d5f7f0;

  /* 녹음 모드별 색.
     ★ lib/core/mode_ui.dart 의 tint 와 같은 값이어야 한다.
       사이트에서 본 색과 앱에서 본 색이 다르면 같은 모드로 안 보인다. */
  --k-lecture: #6366f1;
  --k-meeting: #3b82f6;
  --k-study: #22c55e;
  --k-idea: #f59e0b;
  --k-interview: #ec4899;
  --k-memo: #64748b;

  --display: "Bricolage Grotesque", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
  --body: "Instrument Sans", "Noto Sans KR", "Noto Sans JP", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --wrap: 1140px;
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --shadow: 0 24px 60px -30px rgba(15, 23, 42, 0.4);
  --shadow-sm: 0 10px 28px -18px rgba(15, 23, 42, 0.45);
}

/* ------------------------------------------------------------------ base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent-deep);
}

a:hover {
  text-decoration-color: var(--ink);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 1em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 60;
  background: var(--accent);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: var(--r-sm);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.lede {
  font-size: 1.06rem;
  color: var(--ink-2);
  max-width: 56ch;
}

.micro {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.6rem 0 0;
}

.mono {
  font-family: var(--mono);
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 0 -1px var(--ink);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  box-shadow: none;
  background: var(--accent-tint);
}

/* ---------------------------------------------------------------- header */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 242, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.head-nav {
  display: flex;
  gap: 1.35rem;
  margin-inline-start: auto;
  font-size: 0.92rem;
}

.head-nav a {
  color: var(--ink-2);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}

.head-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.head-side {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.lang a {
  color: inherit;
  text-decoration: none;
  padding: 0.2rem 0.28rem;
  border-radius: 5px;
}

.lang a[aria-current] {
  color: var(--ink);
  background: var(--accent);
  font-weight: 600;
}

.lang i {
  opacity: 0.35;
  font-style: normal;
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(1100px 420px at 82% -8%, var(--accent-tint), transparent 62%),
    var(--paper);
}

.hero-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-line {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  margin-bottom: 1rem;
}

.hero-line em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--accent) 62%);
  padding-inline: 0.08em;
}

.hero-shot {
  justify-self: center;
  max-width: 300px;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.05rem;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper-2);
  text-decoration: none;
  transition: transform 0.15s ease;
}

.store:hover {
  transform: translateY(-1px);
}

.store svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.store span {
  display: grid;
  line-height: 1.15;
}

.store i {
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.store b {
  font-size: 0.9rem;
  font-weight: 600;
}

.store.is-soon {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
  border-style: dashed;
}

/* ----------------------------------------------------------------- strip */

.strip {
  padding: 1.4rem 0 2rem;
  border-block: 1px solid var(--line-soft);
  background: var(--paper-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: var(--card);
}

.chip-lecture { color: var(--k-lecture); }
.chip-meeting { color: var(--k-meeting); }
.chip-study { color: var(--k-study); }
.chip-idea { color: var(--k-idea); }
.chip-interview { color: var(--k-interview); }
.chip-memo { color: var(--k-memo); }

.strip-note {
  margin-top: 0.85rem;
}

/* -------------------------------------------------------------- sections */

section {
  scroll-margin-top: 80px;
}

.sec-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 5vw, 3.4rem);
}

.sec-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 0.7rem;
}

.features {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.feat {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line-soft);
}

/* 뒤집힌 행에서는 좁은 칸이 앞으로 온다. 목업이 늘 좁은 쪽이어야 한다. */
.feat.is-flip {
  grid-template-columns: 0.72fr 1fr;
}

.feat.is-flip .feat-copy {
  order: 2;
}

.feat h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin-bottom: 0.6rem;
}

.feat-copy p {
  color: var(--ink-2);
  max-width: 54ch;
  margin: 0;
}

.feat-shot {
  justify-self: center;
  max-width: 260px;
}

/* ---------------------------------------------------------------- travel */

.language {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--ink);
  color: var(--paper-2);
}

.language .eyebrow,
.language .lede,
.language .micro {
  color: rgba(255, 253, 246, 0.72);
}

.language-in,
.privacy-in {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.language h2,
.knowledge h2,
.privacy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.language-shot,
.knowledge-shot {
  justify-self: center;
  max-width: 250px;
}

.script-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.1rem 0 0;
}

.script-chips span {
  font-size: 0.85rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.ticks {
  display: grid;
  gap: 0.5rem;
  margin: 1.2rem 0 0;
}

.ticks li {
  position: relative;
  padding-inline-start: 1.6rem;
  font-size: 0.96rem;
  line-height: 1.55;
}

.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.52em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  border: 1.5px solid currentColor;
}

.language .ticks li::before {
  border-color: transparent;
}

/* --------------------------------------------------------------- history */

.knowledge {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

/* 목업이 먼저 오는 행. 좁은 칸을 왼쪽에 둔다. */
.knowledge-in {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

/* ------------------------------------------------------------------ grid */

.grid {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
}

.grid-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.grid-list li {
  background: var(--card);
  padding: 1.1rem 1.2rem;
  display: grid;
  gap: 0.25rem;
}

.grid-list b {
  font-size: 0.96rem;
}

.grid-list span {
  font-size: 0.86rem;
  color: var(--muted);
}

/* --------------------------------------------------------------- privacy */

.privacy {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.privacy-figure {
  justify-self: center;
  width: min(100%, 420px);
}

.privacy .btn-ghost {
  margin-top: 1.5rem;
}

.lock-svg .ld-zone {
  fill: var(--accent-tint);
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
}

.lock-svg .ld-zone-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  fill: var(--ink-2);
}

.lock-svg .ld-node rect {
  fill: var(--card);
  stroke: var(--ink);
  stroke-width: 2;
}

.lock-svg .ld-screen {
  fill: var(--accent);
  stroke: none;
}

.lock-svg .ld-loop {
  stroke: var(--ink);
}

.lock-svg .ld-lock rect {
  fill: var(--accent);
  stroke: var(--ink);
  stroke-width: 2;
}

.lock-svg .ld-lock path {
  stroke: var(--ink);
}

.lock-svg .ld-cut {
  stroke: var(--muted);
}

.lock-svg .ld-cross {
  stroke: var(--k-meeting);
  fill: none;
}

.lock-svg .ld-label {
  font-family: var(--mono);
  font-size: 12px;
  fill: var(--muted);
}

/* --------------------------------------------------------------- premium */

.premium {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
}

.premium-in {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.premium h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 0.8rem;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1.4rem 0 0;
}

.price b {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(transparent 60%, var(--accent) 60%);
  padding-inline: 0.1em;
}

.price i {
  font-style: normal;
  color: var(--muted);
  font-size: 1rem;
}

.price em {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.price span {
  flex: 1 0 100%;
  font-size: 0.84rem;
  color: var(--muted);
}

.premium-free {
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.6rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.premium-free h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
}

.premium-free ul {
  display: grid;
  gap: 0.55rem;
}

.premium-free li {
  font-size: 0.92rem;
  padding-inline-start: 1.4rem;
  position: relative;
  color: var(--ink-2);
}

.premium-free li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--ink);
}

/* ------------------------------------------------------------------- faq */

.faq {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.faq h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 1.8rem;
}

.qa-list {
  border-top: 1px solid var(--line);
  max-width: 78ch;
}

.qa {
  border-bottom: 1px solid var(--line);
}

.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 2.5rem 1.05rem 0;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "";
  position: absolute;
  inset-inline-end: 0.4rem;
  top: 1.45rem;
  width: 11px;
  height: 11px;
  border-inline-end: 2px solid var(--ink);
  border-block-end: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.qa[open] summary::after {
  transform: rotate(-135deg);
  top: 1.75rem;
}

.qa-a {
  padding: 0 2.5rem 1.2rem 0;
}

.qa-a p {
  margin: 0;
  color: var(--ink-2);
  max-width: 68ch;
}

/* ------------------------------------------------------------------- cta */

.cta {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--accent);
  border-top: 1.5px solid var(--ink);
}

.cta-in {
  text-align: center;
  display: grid;
  justify-items: center;
}

.cta h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  max-width: 22ch;
}

.cta .lede {
  color: var(--ink-2);
  margin-top: 0.7rem;
}

.cta .store {
  background: var(--ink);
  color: var(--accent);
}

.cta .store.is-soon {
  background: transparent;
  color: rgba(15, 23, 42, 0.55);
  border-color: rgba(15, 23, 42, 0.35);
}

/* ---------------------------------------------------------------- footer */

.site-foot {
  padding: 2.8rem 0 3.4rem;
  background: var(--ink);
  color: rgba(255, 253, 246, 0.78);
}

.foot-in {
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: 1.8rem;
  align-items: start;
}

.site-foot .brand {
  color: var(--paper-2);
}

.foot-tag {
  margin: 0.6rem 0 0;
  font-size: 0.88rem;
  opacity: 0.7;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.9rem;
}

.foot-links a {
  color: inherit;
  text-decoration-color: rgba(255, 232, 18, 0.6);
}

.foot-links a:hover {
  color: var(--accent);
}

.foot-meta {
  display: grid;
  gap: 0.5rem;
  justify-items: end;
  text-align: end;
  font-size: 0.8rem;
}

.foot-meta p {
  margin: 0;
  opacity: 0.62;
}

.foot-addr {
  font-family: var(--mono);
  font-size: 0.72rem;
}

.site-foot .lang a[aria-current] {
  background: var(--accent);
  color: var(--ink);
}

/* ------------------------------------------------------- article (legal) */

.art {
  padding: clamp(2.2rem, 5vw, 4rem) 0 4rem;
}

.art-in {
  width: min(100% - 2.5rem, 820px);
}

.art-head {
  padding-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.art-head h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  margin-bottom: 0.9rem;
}

.art-summary {
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 62ch;
  margin: 0;
  padding: 1rem 1.15rem;
  background: var(--accent-tint);
  border-inline-start: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.art-toc {
  margin-bottom: 2.6rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: var(--paper-2);
}

.art-toc ol {
  counter-reset: toc;
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

.art-toc li {
  counter-increment: toc;
  padding-inline-start: 2rem;
  position: relative;
}

.art-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute;
  inset-inline-start: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  top: 0.15em;
}

.art-toc a {
  color: var(--ink-2);
  text-decoration: none;
}

.art-toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.art-sec {
  margin-bottom: 2.4rem;
}

.art-sec h2 {
  font-size: 1.18rem;
  margin-bottom: 0.8rem;
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.art-sec h2 .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  flex: none;
}

.art-sec p {
  color: var(--ink-2);
  font-size: 0.98rem;
}

.art-sec ul {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1em;
}

.art-sec ul li {
  position: relative;
  padding-inline-start: 1.4rem;
  color: var(--ink-2);
  font-size: 0.98rem;
}

.art-sec ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.15rem;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  border: 1px solid var(--ink);
}

.art-foot {
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.art-crosslinks {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin: 0.7rem 0 0;
}

/* ================================================================ mockups
   SVG 로 그린 앱 화면. 이미지가 아니라서 테마·언어를 그대로 따라간다.
   ======================================================================= */

.mk {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(15, 23, 42, 0.22));

  /* 기본 채움색. SVG 의 fill 은 상속되므로 여기 한 번만 두면 된다.
     ★ .mk text { fill } 로 두면 안 된다 — 그건 (클래스+요소) 라
     .mk-glass-tx 같은 (클래스) 하나짜리 선택자를 전부 이겨서,
     어두운 칩 위의 흰 글자가 잉크색으로 덮여 안 보이게 된다.
     상속값은 직접 매칭된 선언에 지므로 이 방식이 안전하다. */
  fill: var(--ink);
}

.mk text {
  font-family: var(--body);
}

.mk .mk-mono {
  font-family: var(--mono);
}

.mk-t9 { font-size: 9px; }
.mk-t10 { font-size: 10px; }
.mk-t11 { font-size: 11px; }
.mk-t12 { font-size: 12px; }
.mk-t13 { font-size: 13px; }
.mk-t14 { font-size: 14px; }
.mk-t17 { font-size: 17px; }
.mk-t18 { font-size: 18px; }
.mk-bold { font-weight: 700; }

.mk-body {
  fill: var(--ink);
}

.mk-notch {
  fill: rgba(255, 253, 246, 0.35);
}

.mk-glassline {
  stroke: rgba(255, 253, 246, 0.16);
  stroke-width: 1;
}

.mk-surface {
  fill: var(--card);
}

.mk-view {
  fill: #2b2722;
}

.mk-viewfx rect {
  fill: rgba(255, 253, 246, 0.22);
}

.mk-reticle path {
  stroke: var(--accent);
}

.mk-accent {
  fill: var(--accent);
}

.mk-ring {
  stroke: rgba(255, 253, 246, 0.8);
}

.mk-on-accent {
  stroke: var(--ink);
}

.mk-on-accent-fill {
  fill: var(--ink);
}

.mk-glass {
  fill: rgba(15, 23, 42, 0.55);
}

.mk-glass-tx {
  fill: #fffdf6;
}

.mk-panel {
  fill: var(--paper-2);
  stroke: var(--line-soft);
  stroke-width: 1;
}

.mk-inset {
  fill: rgba(15, 23, 42, 0.055);
}

.mk-outline {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.mk-highlight {
  fill: var(--accent);
}

.mk-hair {
  stroke: var(--line-soft);
  stroke-width: 1;
}

.mk-line rect {
  fill: rgba(15, 23, 42, 0.14);
}

.mk-dim {
  stroke: var(--muted);
}

.mk-dim-fill {
  fill: var(--muted);
}

.mk-dim-fill2 {
  fill: rgba(15, 23, 42, 0.16);
}

.mk-strong {
  fill: var(--ink);
}

.mk-badge-tx {
  fill: var(--ink);
  font-weight: 600;
}

.mk-badge-wifi { fill: #dbeafe; }
.mk-badge-card { fill: #fdeacd; }
.mk-badge-doc { fill: #e8e7fb; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 940px) {
  .head-nav {
    display: none;
  }

  .head-side {
    margin-inline-start: auto;
  }

  .hero-in,
  .feat,
  .feat.is-flip,
  .language-in,
  .knowledge-in,
  .privacy-in,
  .premium-in {
    grid-template-columns: 1fr;
  }

  /* 모바일에서는 언제나 글이 먼저, 그림이 나중. */
  .feat.is-flip .feat-copy,
  .knowledge-copy {
    order: 0;
  }

  .knowledge-shot {
    order: 1;
  }

  .hero-shot,
  .feat-shot,
  .language-shot,
  .knowledge-shot {
    max-width: 240px;
  }

  .foot-in {
    grid-template-columns: 1fr;
  }

  .foot-meta {
    justify-items: start;
    text-align: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .stores {
    flex-direction: column;
    align-items: stretch;
  }

  .store {
    justify-content: center;
  }

  .grid-list {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------- 앱 안에서 열었을 때 (embed)
   헤더·푸터 없이 본문만. 테마는 앱이 ?theme= 로 알려 준다.
   ------------------------------------------------------------------------ */

body.is-embed {
  background: var(--card);
}

body.is-embed .art {
  padding-top: 1.4rem;
}

body.is-dark {
  --ink: #f3f1ea;
  --ink-2: #cdc9be;
  --muted: #96918a;
  --paper: #141312;
  --paper-2: #1c1a18;
  --card: #141312;
  --line: rgba(243, 241, 234, 0.16);
  --line-soft: rgba(243, 241, 234, 0.09);
  --accent-tint: rgba(255, 232, 18, 0.14);
}

body.is-dark .art-summary {
  border-inline-start-color: var(--accent);
}

@media (prefers-color-scheme: dark) {
  body.is-embed:not(.is-light) {
    --ink: #f3f1ea;
    --ink-2: #cdc9be;
    --muted: #96918a;
    --paper: #141312;
    --paper-2: #1c1a18;
    --card: #141312;
    --line: rgba(243, 241, 234, 0.16);
    --line-soft: rgba(243, 241, 234, 0.09);
    --accent-tint: rgba(255, 232, 18, 0.14);
  }
}

/* ------------------------------------------------------------------ misc */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-head,
  .site-foot,
  .art-toc {
    display: none;
  }

  body {
    background: #fff;
  }
}
/* =========================================================================
   기기 목업 — 스크린샷 방식

   ★ Snapuno 는 SVG 를 그렸고 Voiceuno 는 사진을 넣는다
     실시간 파형과 타임스탬프 요약은 그려서 흉내 내면 가짜로 읽힌다.
     대신 액자(테두리·노치)만 CSS 로 만들어 기기처럼 보이게 한다.

   ★ aspect-ratio 로 자리를 미리 잡는다
     이미지가 늦게 와도 레이아웃이 튀지 않는다. 스크린샷이 크고
     lazy 로딩이라 이게 없으면 스크롤 중에 화면이 밀린다.
   ========================================================================= */

.device {
  display: flex;
  justify-content: center;
}

.device-frame {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 540 / 1200;
  padding: 10px;
  border-radius: 40px;
  background: #0b1533;
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  z-index: 2;
}

.shot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  display: block;
}

/* 아직 스크린샷이 없는 슬롯. 빈 액자로 둔다. */
.shot-img.is-empty {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04) 0 12px,
      transparent 12px 24px
    ),
    #0f1b3d;
}

@media (prefers-reduced-motion: no-preference) {
  .device-frame {
    transition: transform 0.4s ease;
  }
  .feat:hover .device-frame,
  .hero-shot:hover .device-frame {
    transform: translateY(-6px);
  }
}

/* -------------------------------------------------------------- pc page */

/* ★ 다운로드가 이 페이지의 유일한 목적이다
     본문보다 먼저 눈에 들어와야 한다. 그래서 제목 바로 아래,
     가운데에 둔다. */
.pc-cta {
  text-align: center;
  margin: 2rem 0 2.5rem;
}

/* 버전·용량·날짜. 버튼을 누르기 전에 확인하는 값이다. */
.pc-meta {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ⚠ SHA-256 은 64자다
     줄바꿈을 허용하지 않으면 좁은 화면에서 가로 스크롤이 생긴다.
     읽으라고 두는 값이 아니라 복사해서 대조하는 값이므로 작게. */
.pc-sha {
  margin-top: 0.35rem;
  font-size: 0.68rem;
  color: var(--muted);
  word-break: break-all;
  max-width: 30rem;
  margin-inline: auto;
  opacity: 0.7;
}

/* ★ 준비 중일 때는 버튼을 그리지 않는다
     눌러서 404 로 가는 것보다 아직 없다고 말하는 편이 낫다. */
.pc-soon {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1.5px dashed var(--line);
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
}

.pc-soon-body {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--muted);
}
