/* Oddfini: content first. Replace the wordmark independently of these tokens. */
:root {
  color-scheme: light;
  --bg: #f7f7f5;
  --panel: #f0f2f5;
  --ink: #16191f;
  --muted: #586171;
  --line: #dce0e5;
  --accent: #005de8;
  --accent-ink: #ffffff;
  --radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 10; padding: 10px 16px; background: var(--accent); color: var(--accent-ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); color: var(--accent-ink); }
.site-header { border-bottom: 0; }
.header-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 27px; font-weight: 500; letter-spacing: -.01em; font-variant-ligatures: none; }
.site-nav { display: flex; gap: 30px; align-items: center; font-size: 14px; }
.site-nav a { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); text-decoration: underline; }
.site-nav .language-link { color: var(--ink); border-left: 1px solid var(--line); padding-left: 28px; }
.preview-strip { font-size: 12px; color: var(--muted); background: #eef1f5; border-bottom: 1px solid var(--line); }
.preview-strip .shell { padding-block: 7px; }
.hero { padding: 32px 0 40px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 11px; font-weight: 650; letter-spacing: .12em; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.hero-copy { max-width: 650px; }
.hero-copy > .eyebrow { color: var(--muted); }
.hero-symbol { width: 100%; height: auto; max-height: 360px; object-fit: contain; }
.hero .prose h1 { margin: 0 0 28px; font-size: clamp(36px, 4.6vw, 58px); letter-spacing: -.055em; line-height: 1.2; text-wrap: balance; }
.hero .prose p { color: var(--muted); max-width: 650px; margin: 0; font-size: 17px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.hero-side { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 22px; border: 1px solid var(--accent); border-radius: 6px; color: var(--accent-ink); background: var(--accent); font-size: 14px; font-weight: 700; white-space: nowrap; transition: background 140ms ease; }
.button:hover { background: #004bbe; color: var(--accent-ink); }
.text-link, .back-link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; font-size: 14px; }
.text-link { color: var(--muted); }
.section { padding-bottom: 32px; }
.section-heading { display: flex; gap: 24px; justify-content: space-between; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.section-heading h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.section-note { color: var(--muted); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
.product-card { min-width: 0; padding-right: 32px; display: flex; flex-direction: column; }
.product-card:nth-child(even) { border-left: 1px solid var(--line); padding-left: 32px; padding-right: 0; }
.product-card:nth-child(n+3) { padding-top: 30px; border-top: 1px solid var(--line); }
.visual-link:focus-visible { outline-offset: -4px; }
.product-visual { margin: 0; }
.product-visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: var(--radius); }
.product-visual figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; text-align: left; line-height: 1.5; }
.card-copy { padding: 22px 0 0; display: flex; flex-direction: column; flex: 1; }
.product-card:not(:has(.product-visual)) .card-copy { padding-top: 0; }
.card-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; }
.card-top .eyebrow { margin: 0; letter-spacing: .06em; }
.availability { font-size: 11px; color: #424c5a; background: #f1f3f5; border: 1px solid var(--line); padding: 3px 8px; border-radius: 4px; }
.product-card h3 { margin: 16px 0 10px; font-size: 32px; font-weight: 650; letter-spacing: -.04em; line-height: 1.2; }
.product-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.card-description { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.card-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 26px; font-size: 12px; color: var(--muted); }
.product-link { display: inline-flex; min-height: 44px; align-items: center; color: var(--accent); text-decoration: underline; font-size: 14px; font-weight: 600; }
.contact-band { display: flex; flex-direction: column; gap: 4px; align-items: start; padding: 32px 0 44px; border-top: 1px solid var(--line); }
.contact-band .eyebrow { margin-bottom: 8px; }
.contact-band h2 { font-size: 19px; font-weight: 500; margin: 0; word-break: keep-all; }
.contact-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent); text-decoration: underline; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 32px; padding-block: 36px; }
.footer-inner .brand { font-size: 22px; }
.footer-inner p { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.footer-links { display: flex; flex-direction: column; align-items: end; font-size: 12px; color: var(--muted); }
.footer-links > div { display: flex; gap: 24px; }
.footer-links a { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.page-heading { padding: 64px 0 44px; }
.page-heading h1, .product-heading h1 { margin: 0 0 18px; font-size: clamp(38px, 5vw, 64px); line-height: 1.15; letter-spacing: -.045em; }
.page-heading > p:last-child { color: var(--muted); max-width: 650px; }
.page-copy { max-width: 740px; padding: 72px 0 100px; min-height: 60vh; }
.prose { color: var(--muted); font-size: 16px; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3 { color: var(--ink); line-height: 1.35; letter-spacing: -.03em; word-break: keep-all; }
.prose h1 { font-size: clamp(34px, 5vw, 50px); margin: 0 0 28px; }
.prose h2 { font-size: 23px; margin: 40px 0 16px; }
.prose h3 { font-size: 19px; }
.prose p { margin: 0 0 22px; line-height: 1.9; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { padding: 4px 0; }
.prose a:not(.button) { color: var(--accent); text-decoration: underline; }
.prose strong { color: var(--ink); }
.product-detail { padding: 34px 0 90px; }
.back-link { color: var(--muted); margin-bottom: 32px; }
.product-summary { color: var(--muted); max-width: 720px; font-size: 19px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: 13px; margin-bottom: 32px; }
.detail-visual { max-width: 960px; }
.product-actions { margin: -8px 0 32px; }
.product-actions .button, .product-aside .button { white-space: normal; text-align: center; }
.product-visual.codex-control img { padding: 32px; background: var(--panel); }
.product-body { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 80px; padding-top: 44px; }
.product-body .prose h2:first-child { margin-top: 0; }
.product-aside { align-self: start; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.product-aside h2 { margin: 0 0 16px; font-size: 17px; }
.product-aside p { font-size: 14px; color: var(--muted); }
.product-aside .button { width: 100%; }
.product-aside .text-link { display: flex; margin-top: 10px; }
@media (max-width: 900px) {
  .hero-layout { gap: 24px; }
  .hero-side { display: flex; gap: 24px; align-items: center; }
  .product-body { gap: 32px; grid-template-columns: minmax(0,1fr) 240px; }
  .contact-band { flex-direction: column; align-items: start; gap: 12px; }
}
@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; gap: 14px; flex-wrap: wrap; padding-block: 12px; }
  .brand { font-size: 24px; }
  .site-nav { gap: 8px; font-size: 13px; }
  .site-nav .language-link { padding-left: 16px; }
  .preview-strip { font-size: 11px; }
  .hero { padding: 44px 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-symbol { width: min(260px, 75%); justify-self: center; }
  .hero .prose h1 { font-size: clamp(36px, 8.2vw, 52px); }
  .hero .prose p { font-size: 15px; }
  .hero-side { flex-wrap: wrap; gap: 8px 22px; }
  .product-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { gap: 8px; flex-direction: column; padding-block: 20px; }
  .section-note { font-size: 12px; }
  .product-card, .product-card:nth-child(even) { padding: 0; border-left: 0; }
  .product-card:nth-child(n+2) { padding-top: 24px; border-top: 1px solid var(--line); }
  .card-copy { padding: 20px 0 0; }
  .section { padding-bottom: 44px; }
  .contact-band h2 { font-size: 18px; }
  .footer-inner { flex-direction: column; gap: 16px; padding-block: 24px; }
  .footer-links { align-items: start; }
  .page-copy { padding: 42px 0 64px; }
  .page-heading { padding: 44px 0 28px; }
  .product-body { grid-template-columns: 1fr; gap: 28px; padding-top: 28px; }
  .product-summary { font-size: 17px; }
}
@media (max-width: 380px) {
  .site-nav { width: 100%; justify-content: space-between; gap: 8px; }
  .site-nav .language-link { padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
