/* vimoksa studio site. Same tokens and font as the Chageun landing (design/tokens.json v0.4),
   kept as a separate file so the two static sites can be reviewed and deployed apart. */
@font-face {
  font-family: "Pretendard";
  src: url("/assets/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --canvas: #FFFFFF;
  --canvas-alt: #F2F4F6;
  --raised: #FFFFFF;
  --subtle: #F2F4F6;
  --text-1: #191F28;
  --text-2: #4E5968;
  --text-3: #646F7E;
  --border: #E5E8EB;
  --blue-tint: #E8F3FF;
  --action-text: #1B64DA;
  --action-fill: #1B64DA;
  --action-fill-pressed: #1957C2;
  --on-action: #FFFFFF;
  --warning-text: #A65300;
  --warning-fill: #FFF3E0;
  --shadow: 0 24px 48px -24px rgba(25, 31, 40, .18);
  --radius-small: 12px;
  --radius-control: 16px;
  --radius-surface: 20px;
  --radius-sheet: 24px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #17171C;
    --canvas-alt: #101013;
    --raised: #202027;
    --subtle: #2C2C35;
    --text-1: #F2F4F6;
    --text-2: #B0B8C1;
    --text-3: #8B95A1;
    --border: #3A3A45;
    --blue-tint: #1B2B45;
    --action-text: #64A8FF;
    --warning-text: #FFB155;
    --warning-fill: #3A2C17;
    --shadow: 0 24px 48px -24px rgba(0, 0, 0, .6);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--canvas); color: var(--text-1);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px; line-height: 1.5; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
h1, h2, h3 { letter-spacing: -.03em; font-weight: 700; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--action-text); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: 20px; top: -100px; z-index: 20; background: var(--raised); color: var(--text-1); padding: 12px 20px; border: 2px solid var(--action-text); border-radius: var(--radius-small); }
.skip:focus { top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--canvas); border-bottom: 1px solid var(--border); }
.header-row { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.site-header nav { display: flex; gap: 4px; font-size: 15px; font-weight: 500; color: var(--text-2); }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 12px; border-radius: var(--radius-small); }
.site-header nav a:hover { background: var(--subtle); color: var(--text-1); }

/* Shared type and controls */
.eyebrow { color: var(--action-text); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.lead { color: var(--text-2); font-size: 18px; line-height: 1.7; }
.accent { color: var(--action-text); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 24px; border-radius: var(--radius-control); background: var(--action-fill); color: var(--on-action); font-size: 16px; font-weight: 600; transition: background-color 120ms, transform 120ms; }
.button:hover { background: var(--action-fill-pressed); }
.button:active { transform: scale(.98); }
.button-weak { background: var(--blue-tint); color: var(--action-text); }
.button-weak:hover { background: var(--subtle); }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } .button:active { transform: none; } }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.tag-soon { background: var(--warning-fill); color: var(--warning-text); }

/* Hero */
.hero { padding-block: 112px 120px; }
.hero-copy { display: grid; justify-items: center; text-align: center; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.16; margin-block: 12px 24px; text-wrap: balance; }
.hero .lead { max-width: 34em; }

/* Sections */
.section { padding-block: 112px; }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; }

/* Product card */
.products { background: var(--canvas-alt); }
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 48px; border-radius: var(--radius-sheet); border: 1px solid var(--border); background: var(--raised); box-shadow: var(--shadow); }
.product-copy { display: grid; justify-items: start; gap: 16px; }
.product-copy > p { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.product-copy .button { margin-top: 12px; }
.product-name { display: flex; align-items: center; gap: 12px; }
.product-name h3 { font-size: 32px; line-height: 1.2; }
.product-mark { width: 36px; height: 38px; color: var(--action-text); }
.product-copy > .product-line { color: var(--text-1); font-size: 20px; font-weight: 600; line-height: 1.5; }
.product-visual { display: grid; place-items: center; gap: 16px; min-height: 320px; margin: 0; padding: 32px; border-radius: var(--radius-surface); background: var(--canvas-alt); }
.product-visual figcaption { color: var(--text-3); font-size: 14px; text-align: center; }
.mini-card { width: min(100%, 380px); display: grid; gap: 16px; padding: 20px; border-radius: var(--radius-surface); background: var(--raised); border: 1px solid var(--border); }
.outline-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.outline-head strong { font-size: 16px; }
.outline-head span { color: var(--action-text); font-size: 13px; font-weight: 600; }
.outline { display: grid; gap: 4px; }
.outline li { display: flex; gap: 12px; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--radius-small); background: var(--subtle); font-size: 15px; }
.outline b { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }

/* Ways of working */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.points > div { padding: 28px 24px; border-radius: var(--radius-surface); background: var(--canvas-alt); }
.points dt { font-size: 19px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.points dd { color: var(--text-2); font-size: 15px; line-height: 1.7; }

/* Contact */
.closing { padding-block: 112px; border-top: 1px solid var(--border); }
.closing-center { display: grid; justify-items: center; text-align: center; }
.closing-center h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.25; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding-block: 32px; font-size: 14px; color: var(--text-2); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.footer-row .wordmark { font-size: 17px; color: var(--text-1); }
.footer-row nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.footer-row nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-row nav a:hover { color: var(--text-1); text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin-left: auto; color: var(--text-3); }

/* 404 */
.not-found { min-height: 100vh; display: grid; align-content: center; justify-items: start; gap: 16px; }
.not-found h1 { font-size: clamp(32px, 4vw, 44px); }

/* Responsive */
@media (max-width: 960px) {
  .product { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }
  .product-visual { min-height: 0; }
  .points { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .site-header nav a { padding-inline: 8px; font-size: 14px; }
  .hero { padding-block: 64px 80px; }
  .lead { font-size: 17px; }
  .section, .closing { padding-block: 80px; }
  .section-head { margin-bottom: 32px; }
  .product { padding: 24px 20px; border-radius: var(--radius-surface); }
  .product-visual { padding: 20px 16px; }
  .copyright { margin-left: 0; width: 100%; }
}
@media (max-width: 520px) {
  .site-header nav { display: none; }
}
@media (max-width: 380px) {
  .actions { width: 100%; }
  .actions .button, .product-copy .button { width: 100%; }
  .product { padding-inline: 16px; }
  .product-visual { padding: 12px; }
  .mini-card { padding: 16px; }
}
