:root {
  --bg: #eef3fa;
  --surface: rgba(255,255,255,.72);
  --surface-solid: #ffffff;
  --surface-2: rgba(247,249,253,.88);
  --line: rgba(25,38,61,.10);
  --text: #172033;
  --muted: #657085;
  --accent: #1769e0;
  --accent-2: #4e8ff1;
  --accent-soft: #e8f1ff;
  --shadow: 0 18px 45px rgba(44,59,87,.12), 0 2px 8px rgba(44,59,87,.07);
  --radius-lg: 28px;
  --radius-md: 18px;
  --taskbar: 58px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: "Segoe UI Variable", "Segoe UI", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at 10% 10%, rgba(91,160,255,.18), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(177,126,255,.13), transparent 28%),
    linear-gradient(135deg, #edf3fb 0%, #f7f9fc 55%, #e8eef8 100%);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,.25), transparent 40%, rgba(255,255,255,.12));
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.desktop-shell { min-height: 100vh; padding-bottom: calc(var(--taskbar) + 20px); }
.window-topbar {
  height: 54px; display:flex; align-items:center; gap: 24px; padding: 0 22px;
  border-bottom: 1px solid rgba(20,40,70,.09);
  background: rgba(247,249,253,.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  position: sticky; top:0; z-index:20;
}
.window-brand { display:flex; align-items:center; gap:10px; font-size:14px; font-weight:650; white-space:nowrap; }
.brand-mark { width:25px; height:25px; display:grid; place-items:center; border-radius:7px; color:white; background: linear-gradient(135deg,#3b86ee,#1758c8); font-weight:750; box-shadow: 0 4px 12px rgba(23,88,200,.22); }
.brand-mark.small { width:22px; height:22px; font-size:12px; }
.top-nav { display:flex; gap: 4px; margin-left:8px; }
.top-nav a { padding:7px 11px; border-radius:8px; color:#586479; font-size:13px; }
.top-nav a:hover { background: rgba(255,255,255,.65); color:var(--text); }
.window-controls { margin-left:auto; display:flex; gap: 23px; color:#778196; font-size:14px; }
.main-window { max-width:1180px; margin:0 auto; padding:72px 28px 30px; }
.hero-section { display:grid; grid-template-columns: 1.08fr .92fr; align-items:center; gap:56px; min-height: 540px; }
.eyebrow { margin:0 0 14px; font-size:11px; letter-spacing:.17em; font-weight:750; color:var(--accent); }
h1 { margin:0; font-size: clamp(42px, 6vw, 68px); line-height:1.05; letter-spacing:-.045em; font-weight:760; }
h1 span { color:var(--accent); }
.hero-description { margin:26px 0 0; max-width:620px; color:var(--muted); font-size:17px; line-height:1.72; }
.feature-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.feature-pills span { padding:9px 12px; border:1px solid rgba(38,60,95,.08); background:rgba(255,255,255,.52); border-radius:10px; color:#566176; font-size:12px; }
.hero-visual { display:flex; justify-content:center; }
.glass-card {
  width:min(410px,100%); padding:20px; border:1px solid rgba(255,255,255,.78); background:rgba(255,255,255,.62);
  border-radius:24px; box-shadow: 0 25px 50px rgba(34,58,98,.14); backdrop-filter: blur(26px); transform: rotate(1.4deg);
}
.glass-head { display:flex; align-items:center; gap:6px; margin-bottom:27px; color:#808ba0; font-size:12px; }
.traffic-dot { width:7px; height:7px; border-radius:50%; background:#b3bfd0; }
.glass-title { margin-left:7px; font-weight:650; color:#526078; }
.mini-question { font-size:18px; line-height:1.45; font-weight:700; margin-bottom:16px; }
.mini-option { padding:14px 15px; border-radius:13px; border:1px solid rgba(45,68,101,.08); margin-top:9px; background:rgba(250,252,255,.8); color:#536078; font-size:13px; }
.mini-option.selected { border-color:rgba(23,105,224,.24); background:#eaf3ff; color:#1a62c4; }
.content-section { margin-top:76px; }
.intro-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.info-card { border:1px solid var(--line); background:rgba(255,255,255,.62); border-radius:20px; padding:25px; box-shadow:0 10px 28px rgba(45,58,87,.05); }
.icon-box { width:40px; height:40px; display:grid; place-items:center; border-radius:12px; background:var(--accent-soft); color:var(--accent); font-size:11px; font-weight:800; margin-bottom:18px; }
.info-card h2 { margin:0 0 10px; font-size:17px; letter-spacing:-.02em; }
.info-card p, .long-copy p { margin:0; color:var(--muted); font-size:13px; line-height:1.75; }
.info-card p + p { margin-top:8px; }
.seo-copy { padding:30px; border-radius:22px; background:rgba(255,255,255,.48); border:1px solid var(--line); }
.section-heading h2 { margin:0; font-size:28px; letter-spacing:-.035em; }
.long-copy { margin-top:20px; display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.site-footer { position:fixed; z-index:25; bottom:0; left:0; right:0; min-height:var(--taskbar); display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 22px; background:rgba(246,249,253,.86); backdrop-filter: blur(18px); border-top:1px solid rgba(20,40,70,.09); color:#788398; font-size:11px; }
.footer-links { display:flex; gap:15px; }
.footer-links a:hover { color:var(--accent); }
.start-button { position:fixed; z-index:30; left:50%; bottom:calc(var(--taskbar) + 22px); transform:translateX(-50%); display:flex; align-items:center; gap:13px; border:1px solid rgba(255,255,255,.82); padding:16px 22px; border-radius:15px; color:#fff; background:linear-gradient(135deg,#2678e6,#1358bd); box-shadow: 0 14px 34px rgba(20,84,180,.28), 0 2px 6px rgba(20,84,180,.18); font:700 15px inherit; cursor:pointer; transition: .18s ease; }
.start-button:hover { transform:translateX(-50%) translateY(-2px); box-shadow:0 18px 40px rgba(20,84,180,.33); }
.start-button:active { transform:translateX(-50%) translateY(1px); }
.button-icon { font-size:17px; }
.button-arrow { font-size:17px; opacity:.9; }
.modal-backdrop { position:fixed; inset:0; z-index:100; background:rgba(22,30,43,.34); backdrop-filter: blur(10px); padding:20px; display:grid; place-items:center; }
.modal-backdrop[hidden] { display:none; }
.test-window { width:min(760px,100%); max-height:min(790px,92vh); display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(255,255,255,.88); background:rgba(249,251,255,.92); border-radius:22px; box-shadow:0 28px 90px rgba(22,35,59,.28); }
.test-titlebar { height:57px; padding:0 18px; display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--line); background:rgba(255,255,255,.68); }
.titlebar-left { display:flex; align-items:center; gap:9px; font-size:13px; font-weight:700; }
.icon-button { border:0; width:32px; height:32px; border-radius:8px; background:transparent; color:#738096; font-size:23px; cursor:pointer; }
.icon-button:hover { background:#edf1f7; }
.progress-area { padding:20px 24px 0; }
.progress-meta { display:flex; justify-content:space-between; margin-bottom:9px; font-size:12px; color:#6a7487; }
.progress-track { height:5px; border-radius:10px; overflow:hidden; background:#e1e7f0; }
.progress-bar { height:100%; width:14%; border-radius:10px; background:linear-gradient(90deg,#317fe8,#195ec8); transition:width .25s ease; }
.question-stage { overflow:auto; padding:28px 24px 20px; }
.question-kicker { margin:0 0 8px; color:var(--accent); font-size:11px; letter-spacing:.13em; font-weight:800; }
.question-title { margin:0; font-size:30px; line-height:1.25; letter-spacing:-.035em; }
.question-sub { margin:9px 0 0; color:var(--muted); font-size:13px; line-height:1.6; }
.option-list { display:grid; gap:11px; margin-top:25px; }
.option-card { display:flex; align-items:center; gap:13px; width:100%; padding:15px; text-align:left; border:1px solid rgba(31,49,78,.10); background:#fff; border-radius:15px; color:var(--text); cursor:pointer; transition:.15s ease; }
.option-card:hover { border-color:rgba(23,105,224,.35); transform:translateY(-1px); box-shadow:0 7px 18px rgba(27,54,91,.08); }
.option-card.selected { border-color:rgba(23,105,224,.55); background:#edf5ff; box-shadow:0 0 0 3px rgba(23,105,224,.08); }
.option-emoji { width:39px; height:39px; flex:0 0 39px; display:grid; place-items:center; border-radius:11px; background:#f0f4f9; font-size:20px; }
.option-card.selected .option-emoji { background:#dcecff; }
.option-text strong { display:block; font-size:14px; }
.option-text span { display:block; margin-top:3px; color:#758096; font-size:11px; }
.checkmark { margin-left:auto; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; border:1px solid #d9e0ea; color:transparent; font-size:12px; }
.option-card.selected .checkmark { border-color:var(--accent); background:var(--accent); color:white; }
.test-actions { display:flex; justify-content:space-between; gap:10px; padding:15px 24px 20px; border-top:1px solid var(--line); background:rgba(255,255,255,.45); }
.secondary-button, .primary-button { min-width:108px; padding:11px 15px; border-radius:10px; font:650 13px inherit; cursor:pointer; }
.secondary-button { border:1px solid #dbe2eb; background:#fff; color:#5f6b80; }
.secondary-button:disabled { opacity:.45; cursor:not-allowed; }
.primary-button { border:1px solid transparent; background:var(--accent); color:#fff; box-shadow:0 6px 16px rgba(23,105,224,.19); }
.primary-button:disabled { opacity:.4; cursor:not-allowed; box-shadow:none; }
.result-wrap { padding:18px 24px 4px; }
.result-top { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:start; }
.match-badge { display:inline-flex; padding:6px 9px; border-radius:8px; background:#e7f1ff; color:#175dc2; font-size:11px; font-weight:800; }
.result-name { margin:10px 0 5px; font-size:31px; letter-spacing:-.04em; }
.result-style { margin:0; color:#667186; font-size:13px; }
.result-icon { width:90px; height:90px; display:grid; place-items:center; border-radius:23px; background:linear-gradient(145deg,#fff,#e9eff8); font-size:48px; box-shadow:inset 0 0 0 1px rgba(32,56,90,.06); }
.result-description { margin:20px 0 0; padding:15px; border-radius:13px; background:#f4f7fb; color:#5e6b80; line-height:1.7; font-size:12px; }
.result-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; }
.stat { padding:12px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.stat-label { color:#7b8699; font-size:10px; }
.stat-value { margin-top:3px; font-size:12px; font-weight:750; }
.alternatives { margin-top:18px; }
.alternatives h3 { margin:0 0 9px; font-size:13px; }
.alt-item { display:flex; justify-content:space-between; gap:14px; padding:11px 0; border-top:1px solid #e7ebf1; font-size:12px; }
.alt-item small { color:#7d8798; }
.result-note { margin:14px 0 0; color:#7b8595; font-size:10px; line-height:1.6; }
@media (max-width:850px) {
  .hero-section { grid-template-columns:1fr; gap:32px; min-height:unset; }
  .hero-visual { justify-content:flex-start; }
  .intro-grid { grid-template-columns:1fr; }
  .long-copy { grid-template-columns:1fr; }
  .main-window { padding-top:48px; }
  .top-nav { display:none; }
}
@media (max-width:580px) {
  :root { --taskbar: 68px; }
  .window-topbar { padding:0 15px; }
  .window-controls { display:none; }
  .main-window { padding:36px 16px 120px; }
  h1 { font-size:43px; }
  .hero-description { font-size:15px; }
  .content-section { margin-top:48px; }
  .seo-copy { padding:22px; }
  .start-button { width:calc(100% - 32px); justify-content:center; bottom:calc(var(--taskbar) + 12px); }
  .site-footer { align-items:flex-start; flex-direction:column; justify-content:center; padding:9px 15px; }
  .test-window { max-height:96vh; border-radius:18px; }
  .question-stage { padding:23px 16px 15px; }
  .progress-area { padding:17px 16px 0; }
  .test-actions { padding:13px 16px 16px; }
  .question-title { font-size:26px; }
  .result-stats { grid-template-columns:1fr 1fr 1fr; }
}
.availability-note { margin-top:12px; display:flex; flex-direction:column; gap:4px; padding:13px 15px; border:1px solid #dbe8f9; border-radius:13px; background:#f6faff; color:#5d6c82; font-size:11px; line-height:1.55; }
.availability-note strong { color:#175dc2; font-size:11px; }
.alt-item > span { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.alt-brewery { display:inline-flex !important; margin-top:0 !important; color:#8a94a5 !important; font-size:10px !important; }
.data-note { margin-top:18px; padding:15px 16px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.72); display:flex; flex-direction:column; gap:5px; color:#667186; font-size:11px; line-height:1.65; }
.data-note strong { color:#2d3a50; font-size:11px; }

/* Hero CTA placement: the main action sits where the feature pills used to be. */
.start-button {
  position:relative;
  left:auto;
  bottom:auto;
  transform:none;
  margin-top:24px;
  width:max-content;
}
.start-button:hover { transform:translateY(-2px); }
.start-button:active { transform:translateY(1px); }
.hero-start-button { align-self:flex-start; }

/* Single-screen landing optimization */
html, body { min-height: 100%; }
body { overflow-x: hidden; }
.desktop-shell { min-height: 100dvh; height: 100dvh; padding-bottom: 0; overflow: hidden; }
.main-window { height: calc(100dvh - 54px - var(--taskbar)); padding: 24px 28px 88px; display:flex; flex-direction:column; justify-content:center; }
.hero-section { min-height: 0; height: auto; flex: 1; max-height: 600px; }
.compact-info { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; max-width:820px; margin:12px auto 0; width:100%; }
.compact-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid rgba(38,60,95,.08); background:rgba(255,255,255,.42); border-radius:12px; color:#667186; font-size:11px; }
.compact-item strong { display:grid; place-items:center; width:24px; height:24px; border-radius:7px; background:#edf4ff; color:#1769e0; font-size:10px; }
@media (max-width:850px) {
  .desktop-shell { height:100dvh; }
  .main-window { height:calc(100dvh - 54px - var(--taskbar)); padding:22px 20px 92px; }
  .hero-section { grid-template-columns:1fr; gap:16px; max-height:none; justify-content:center; }
  .hero-visual { display:none; }
  .compact-info { grid-template-columns:1fr; max-width:560px; margin-top:18px; }
}
@media (max-width:580px) {
  :root { --taskbar: 58px; }
  .window-topbar { height:50px; }
  .main-window { height:calc(100dvh - 50px - var(--taskbar)); padding:18px 16px 88px; }
  h1 { font-size:clamp(38px,11vw,50px); }
  .hero-description { margin-top:16px; font-size:14px; line-height:1.55; }
  .compact-info { margin-top:16px; gap:7px; }
  .compact-item { padding:9px 10px; font-size:10.5px; }
  .site-footer { min-height:58px; height:58px; flex-direction:row; align-items:center; padding:8px 14px; }
  .footer-links { gap:10px; }
  .footer-links a { font-size:10px; }
  .start-button { width:100%; justify-content:center; margin-top:20px; }
}
