/* Omi marketing site. Dark-first, one type scale, one section rhythm. Colors carry meaning:
   red = Omi / primary action, yellow = small highlight marks only, blue = links/info. Competitors stay neutral. */
:root {
  --bg: #121212;
  --band: #1a1a1a;
  --surface: #1e1e1e;
  --surface-2: #242424;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ffffff;
  --text-2: #c9c9c9;
  --muted: #aaaaaa;
  --red: #e3350d;
  --red-hover: #f04a22;
  --red-tint: rgba(227, 53, 13, 0.08);
  --yellow: #ffde00;
  --blue: #5fd8ff;
  --good: #3ccf7a;
  --bad: #ff6b5a;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-btn: 11px;
  --max: 1200px;
  --max-text: 720px;
  --gutter: 20px;
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Inter, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 650; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
p { margin: 0 0 14px; text-wrap: pretty; }
.accent { color: var(--red); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-text { max-width: var(--max-text); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section.band { background: var(--band); }
@media (min-width: 640px) { .section { padding: 128px 0; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--red); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 620px; margin-top: 20px; }
.intro { margin-bottom: 48px; }
.intro.center { text-align: center; }
.intro.center .lead { margin-left: auto; margin-right: auto; }
.meta { font-size: 13px; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18, 18, 18, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -0.03em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { color: #fff; }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--radius-btn); font: 600 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.badge img { height: 52px; width: auto; }

/* Hero */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 30%, rgba(227, 53, 13, 0.16), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } .hero { padding-top: 96px; } }
.hero-copy .lead { font-size: 19px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; color: var(--text-2); font-size: 16px; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; }
.hero-points li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); transform: translateY(-2px); }
.hero-visual { display: flex; justify-content: center; gap: 18px; margin-bottom: -40px; }
.hero-in > * { animation: rise .72s cubic-bezier(.22,1,.36,1) both; }
.hero-in > *:nth-child(2) { animation-delay: .06s; } .hero-in > *:nth-child(3) { animation-delay: .12s; } .hero-in > *:nth-child(4) { animation-delay: .18s; } .hero-in > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-in > * { animation: none; } html { scroll-behavior: auto; } }

/* Phone frame */
.phone { width: 100%; max-width: 280px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.4); }
.phone img { aspect-ratio: 1284 / 2778; object-fit: cover; width: 100%; }
.phone.sm { max-width: 220px; }
.hero-visual .phone:nth-child(2) { transform: translateY(48px); }
@media (max-width: 899px) { .hero-visual .phone:nth-child(2) { display: none; } }

/* Trust strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--band); }
.strip ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
@media (min-width: 760px) { .strip ul { grid-template-columns: repeat(4, 1fr); } }
.strip strong { display: block; font: 650 22px/1.2 var(--display); letter-spacing: -0.02em; }
.strip span { font-size: 14px; color: var(--muted); }

/* Feature rows: copy paired with a real screenshot */
.feature { display: grid; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 96px; }
@media (min-width: 860px) { .feature { grid-template-columns: 1fr 1fr; gap: 72px; } .feature.flip .feature-media { order: -1; } }
.feature-media { display: flex; justify-content: center; }
.feature h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.feature p { color: var(--text-2); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; color: var(--text-2); font-size: 16px; }
.checks li::before { content: "✓"; color: var(--red); font-weight: 700; }

/* Panels and grids */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.3); }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 16px; margin: 0; }
.card a.more { display: inline-block; margin-top: 14px; font-weight: 600; text-decoration: none; }
.steps { counter-reset: step; }
.steps .card { position: relative; padding-top: 64px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; left: 26px; width: 28px; height: 28px; border-radius: 8px; background: var(--red-tint); color: var(--red); font: 700 15px/28px var(--display); text-align: center; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; font: 600 17px/1.4 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-2); }
.faq-h3 h3 { margin: 28px 0 8px; font-size: 19px; }

/* CTA band (inverted on a dark site) */
.cta-band { background: var(--red); color: #fff; border-radius: var(--radius-lg); padding: 56px 28px; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 16px auto 0; }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* Long-form text pages */
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .lead { margin-top: 16px; }
.prose { padding: 48px 0 96px; font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: #fff; }
.answer { background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 14px; padding: 18px 22px; margin: 28px 0; color: var(--text-2); }
.answer strong { color: #fff; }
.toc { font-size: 15px; margin: 24px 0 0; }
.toc a { color: var(--text-2); }

/* Tables: scroll inside their own frame, never the page */
.table-frame { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
thead th { font-size: 14px; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.compare-table { min-width: 640px; }
.compare-table td, .compare-table thead th { min-width: 170px; }
@media (max-width: 640px) { .compare-table th[scope="row"], .compare-table thead th:first-child { min-width: 112px; max-width: 112px; font-size: 14px; } }
.compare-table th[scope="row"] { position: sticky; left: 0; background: var(--surface); color: #fff; font-weight: 600; z-index: 1; box-shadow: 1px 0 0 var(--line); }
.compare-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.compare-table .us { background: var(--red-tint); }
.compare-table thead .us { color: var(--red); background: #2a1a16; }
.compare-table td { color: var(--text-2); }
.compare-table sup a { color: var(--muted); text-decoration: none; font-size: 11px; margin-left: 2px; }
.na { color: var(--muted); font-style: italic; }
.sources { font-size: 14px; color: var(--muted); padding-left: 22px; }
.sources li { margin-bottom: 6px; word-break: break-word; }
.sources a { color: var(--muted); }
.pick { padding: 24px; }
.pick h3 { margin-bottom: 10px; }
.pick.us h3 { color: var(--red); }
.pick p { color: var(--text-2); font-size: 16px; }

/* Status: dot + word, never color alone */
.dot { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.dot.good::before { background: var(--good); } .dot.bad::before { background: var(--bad); } .dot.hi::before { background: var(--yellow); }

/* Free tool */
.field { display: flex; align-items: center; gap: 8px; background: #f5f5f5; border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 12px 32px rgba(0,0,0,.35); border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; max-width: 640px; }
.field:hover { border-color: #d0d0d0; }
.field:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,53,13,.25), 0 12px 32px rgba(0,0,0,.35); }
.field svg { flex: none; color: #555; }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 17px/1 var(--body); color: #121212; height: 44px; }
.field input::placeholder { color: #777; }
.field .btn { height: 44px; }
.hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.hint button { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.result { margin-top: 32px; padding: 24px; }
.result-head { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.result-head img { border-radius: 6px; width: 96px; height: auto; aspect-ratio: 245 / 342; background: var(--surface-2); }
.result-head h3 { font-size: 22px; }
.result-head .meta { margin-top: 4px; }
.headline { margin-top: 10px; color: var(--text-2); font-size: 16px; }
.headline strong { color: #fff; font-size: 22px; font-family: var(--display); letter-spacing: -0.02em; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 20px; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { background: var(--surface); padding: 14px 16px; }
.stats b { display: block; font: 650 20px/1.2 var(--display); letter-spacing: -0.02em; }
.stats span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.matches { list-style: none; padding: 0; margin: 20px 0 0; border-top: 1px solid var(--line); }
.matches li { border-bottom: 1px solid var(--line); }
.matches button { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; background: none; border: 0; color: var(--text-2); font: 15px/1.4 var(--body); text-align: left; cursor: pointer; }
.matches button:hover { color: #fff; }
.grading { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.grading h4 { margin: 0 0 12px; font: 600 17px/1.3 var(--body); }
.grading-inputs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .grading-inputs { grid-template-columns: repeat(4, 1fr); } }
.grading label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.grading input { height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg); color: #fff; padding: 0 12px; font: 16px var(--body); width: 100%; }
.grading-out { margin-top: 16px; font-size: 16px; color: var(--text-2); }
.app-nudge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--red-tint); border: 1px solid rgba(227,53,13,.3); }
.app-nudge p { margin: 0; color: #fff; font-size: 16px; max-width: 460px; }
.sample { opacity: .9; }
.sample-label { display: inline-block; font-size: 12px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
.status { margin-top: 16px; font-size: 15px; color: var(--muted); min-height: 24px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: #0d0d0d; padding: 64px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 280px; font-size: 14px; }
.site-footer h2 { font: 600 14px/1.3 var(--body); letter-spacing: 0; color: #fff; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }

/* Mobile sticky App Store CTA */
.mobile-cta { display: none; }
@media (max-width: 640px) {
  .mobile-cta { display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; }
  .mobile-cta .btn { width: 100%; height: 52px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
  body.has-mobile-cta { padding-bottom: 76px; }
}
.card-link { text-decoration: none; color: inherit; transition: border-color .15s; } .card-link:hover { border-color: var(--line-strong); color: inherit; } .card-link .more { color: var(--blue); }
.phone.framed { padding: 8px; background: #0a0a0a; border: 1px solid var(--line-strong); border-radius: 40px; }
.phone.framed img { border-radius: 32px; aspect-ratio: 599 / 1300; }
.result-head img { overflow: hidden; color: transparent; font-size: 0; }

/* Korean: break lines between words, not inside them */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
