:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #111827;
  --muted: #6b7280;
  --line: rgba(17, 24, 39, 0.1);
  --buy: #22c55e;
  --hold: #facc15;
  --sell: #ef4444;
  --shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090b10;
  --surface: rgba(24, 27, 35, 0.72);
  --text: #f8fafc;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 50% 9%, color-mix(in srgb, var(--buy) 9%, transparent), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s, color .35s;
}
a { color: inherit; }
button { font: inherit; }

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(1200px, calc(100% - 48px));
  height: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-size: 1.3rem; font-weight: 750; letter-spacing: -.06em; text-decoration: none; }
.brand span { color: var(--buy); }
.theme-toggle {
  width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(14px); transition: transform .2s, background .3s;
}
.theme-toggle:hover { transform: rotate(8deg); }
.theme-toggle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moon, html[data-theme="dark"] .sun { display: none; }
html[data-theme="dark"] .moon { display: block; }

.hero {
  min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 130px 24px 80px;
}
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(2rem, 4.5vw, 4rem); letter-spacing: -.065em; line-height: .95; }
.signal-lockup { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); margin: 18px 0 5px; }
.signal { margin: 0; font-size: clamp(6rem, 19vw, 15rem); font-weight: 800; letter-spacing: -.095em; line-height: .9; }
.signal-orb { width: clamp(24px, 4.5vw, 62px); aspect-ratio: 1; border-radius: 50%; background: var(--signal-color, var(--buy)); box-shadow: 0 0 0 12px color-mix(in srgb, var(--signal-color, var(--buy)) 12%, transparent), 0 0 60px color-mix(in srgb, var(--signal-color, var(--buy)) 45%, transparent); animation: breathe 3s ease-in-out infinite; }
.confidence { margin: 24px 0 0; color: var(--muted); font-size: 1rem; }
.confidence strong { color: var(--text); font-size: 1.25rem; }
.updated { margin: 8px 0 0; color: var(--muted); font-size: .78rem; }
.scroll-cue { position: absolute; bottom: 34px; color: var(--muted); font-size: .78rem; font-weight: 600; text-decoration: none; }
.scroll-cue span { display: inline-block; margin-left: 6px; animation: bob 2s infinite; }

.section { width: min(1120px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 64px; }
.section h2, .closing h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 5.75rem); line-height: .98; letter-spacing: -.07em; }
.section-intro { max-width: 380px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.6; }
.legend { flex: 0 0 auto; display: flex; gap: 18px; color: var(--muted); font-size: .72rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; }
.legend .buy { background: var(--buy); } .legend .hold { background: var(--hold); } .legend .sell { background: var(--sell); }
.history-shell { padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.history-grid { display: grid; grid-template-rows: repeat(7, 1fr); grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(2px, .38vw, 5px); overflow: hidden; }
.history-cell { aspect-ratio: 1; min-width: 3px; border: 0; border-radius: 20%; background: color-mix(in srgb, var(--muted) 13%, transparent); padding: 0; }
button.history-cell { cursor: pointer; transition: transform .15s, filter .15s; }
button.history-cell:hover, button.history-cell:focus-visible { transform: scale(1.6); filter: brightness(1.1); outline: 2px solid var(--bg); z-index: 2; }
.history-cell.buy { background: var(--buy); } .history-cell.hold { background: var(--hold); } .history-cell.sell { background: var(--sell); }
.history-caption { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted); font-size: .68rem; }
.tooltip { position: fixed; z-index: 20; width: max-content; max-width: 230px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--bg) 91%, transparent); box-shadow: var(--shadow); color: var(--text); font-size: .75rem; line-height: 1.55; pointer-events: none; backdrop-filter: blur(18px); }
.tooltip strong { display: block; font-size: .85rem; }
.ad-section { width: min(1120px, calc(100% - 48px)); min-height: 120px; margin: -70px auto 70px; padding: 18px 0; overflow: hidden; text-align: center; }
.ad-label { margin: 0 0 12px; color: var(--muted); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }

.reasons { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; min-height: 112px; border-bottom: 1px solid var(--line); }
.reason-index { color: var(--muted); font-size: .72rem; }
.reason-label { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.045em; }
.reason-result { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; font-size: 1rem; font-weight: 700; }
.reason.positive .reason-result { color: var(--buy); background: color-mix(in srgb, var(--buy) 12%, transparent); }
.reason.negative .reason-result { color: var(--sell); background: color-mix(in srgb, var(--sell) 12%, transparent); }

.trust-section > h2, .related-section > h2 { margin-bottom: 70px; }
.accuracy-card { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; padding: 46px; border-radius: 28px; background: var(--text); color: var(--bg); }
.metric-label { margin: 0 0 6px; opacity: .6; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.metric { margin: 0; font-size: clamp(3rem, 7vw, 6rem); font-weight: 750; letter-spacing: -.075em; }
.accuracy-card > p { margin: 0; max-width: 440px; opacity: .67; line-height: 1.7; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset-card { min-height: 230px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); transition: transform .25s, box-shadow .25s; }
.asset-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.asset-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--muted) 11%, transparent); font-weight: 700; }
.asset-card > div:nth-child(2) { margin-top: auto; }
.asset-card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.04em; }
.asset-card p { margin: 6px 0 0; color: var(--muted); font-size: .8rem; }
.asset-card > span { align-self: end; margin-top: -26px; color: var(--muted); }

.closing { min-height: 78svh; padding: 120px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--text); color: var(--bg); }
.closing p { margin: 0 0 10px; opacity: .55; font-size: clamp(1.3rem, 2vw, 2rem); }
.closing h2 { font-size: clamp(4.5rem, 13vw, 11rem); }
.closing a { margin-top: 48px; padding: 14px 20px; border: 1px solid color-mix(in srgb, var(--bg) 20%, transparent); border-radius: 999px; text-decoration: none; font-size: .83rem; }

footer { width: min(1120px, calc(100% - 48px)); min-height: 190px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--muted); font-size: .72rem; }
footer .brand { color: var(--text); font-size: 1.1rem; }
footer p { margin: 0; } .disclaimer { justify-self: end; }
noscript { position: fixed; inset: auto 12px 12px; padding: 12px; background: var(--sell); color: white; text-align: center; }

@keyframes breathe { 50% { transform: scale(.82); opacity: .8; } }
@keyframes bob { 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

@media (max-width: 760px) {
  .site-header, .section, .ad-section, footer { width: min(100% - 32px, 1120px); }
  .site-header { height: 72px; }
  .hero { min-height: 780px; }
  .signal-lockup { margin-top: 24px; }
  .signal { font-size: clamp(5rem, 25vw, 8rem); }
  .signal-orb { width: 24px; }
  .section { padding: 100px 0; }
  .ad-section { min-height: 100px; margin: -40px auto 40px; }
  .section-heading { display: block; margin-bottom: 42px; }
  .section-intro, .legend { margin-top: 28px; }
  .history-shell { padding: 18px; border-radius: 20px; }
  .history-grid { gap: 2px; }
  .reason { grid-template-columns: 38px 1fr auto; min-height: 92px; }
  .accuracy-card { grid-template-columns: 1fr; gap: 40px; padding: 30px; }
  .related-grid { grid-template-columns: 1fr; }
  .asset-card { min-height: 180px; }
  footer { grid-template-columns: 1fr 1fr; padding: 46px 0; }
  footer > p:nth-child(2) { justify-self: end; }
  .disclaimer { grid-column: 1 / -1; justify-self: start; }
}
