:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-2: #0b0f15;
  --panel: #0f141c;
  --panel-2: #121923;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --muted: #98a4b5;
  --subtle: #5f6b7a;
  --green: #2bff9e;
  --green-soft: rgba(43, 255, 158, 0.12);
  --red: #ff5365;
  --orange: #ff7a45;
  --cyan: #5cc8ff;
  --yellow: #ffd166;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --mono: "IBM Plex Mono", Consolas, monospace;
  --display: "Space Grotesk", "IBM Plex Sans KR", sans-serif;
  --sans: "IBM Plex Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px, 48px 48px, auto;
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(43, 255, 158, 0.28);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes ticker-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker {
  height: 32px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #080c13;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  height: 100%;
  padding-left: 34px;
  animation: ticker-move 44s linear infinite;
  white-space: nowrap;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.ticker__item strong {
  color: #d9e0ea;
  font-weight: 600;
}

.ticker__item span {
  color: var(--subtle);
}

.ticker__item em {
  font-style: normal;
  color: var(--green);
}

.ticker__item.is-down em {
  color: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 17, 0.88);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  display: inline-flex;
  color: var(--green);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__text span {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
}

.brand__text small {
  margin-top: 4px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.57rem;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #c4cdda;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  transition: color 0.16s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}

.header-cta,
.button,
.download-link,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--sans);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.header-cta {
  padding: 0 18px;
  background: #eef1f5;
  color: #07100d;
  font-size: 0.85rem;
  white-space: nowrap;
}

.header-cta:hover,
.button--primary:hover,
.download-link:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.section {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: center;
  gap: 54px;
  padding-top: 44px;
  padding-bottom: 34px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--green);
}

.hero h1,
.section-heading h2,
.detail-copy h2,
.community-copy h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
}

.hero h1 {
  margin-top: 26px;
  font-size: 3.9rem;
}

.hero__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  font-size: 0.96rem;
}

.button--primary,
.download-link {
  background: #eef1f5;
  color: #08100e;
}

.button--secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: #dbe2ec;
}

.button--secondary:hover,
.ghost-button:hover {
  border-color: rgba(43, 255, 158, 0.42);
  color: var(--green);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(88px, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding: 0;
}

.metric-strip div {
  min-width: 0;
}

.metric-strip dt {
  color: var(--text);
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
}

.metric-strip dd {
  margin: 6px 0 0;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.console,
.detail-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 18, 26, 0.94);
  box-shadow: var(--shadow);
}

.console {
  overflow: hidden;
}

.console__bar,
.terminal-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  background: #0c121c;
  padding: 0 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.console__bar strong,
.terminal-preview__head strong {
  color: var(--green);
  font-weight: 600;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) {
  background: var(--red);
}

.window-dots span:nth-child(2) {
  background: var(--yellow);
}

.window-dots span:nth-child(3) {
  background: var(--green);
}

.console__body {
  padding: 14px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.price-line span,
.price-line em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.82rem;
  font-style: normal;
}

.price-line strong {
  color: var(--text);
  font-family: var(--display);
  font-size: 1.65rem;
}

.price-line em {
  color: var(--green);
}

.hero-chart,
.terminal-chart,
.card-chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    #0a0f17;
}

.hero-chart {
  height: 150px;
  background-size: 100% 42px, auto;
}

.terminal-chart {
  height: 320px;
  background-size: 100% 48px, auto;
}

.card-chart {
  height: 104px;
  background-size: 100% 28px, auto;
}

.candle {
  position: relative;
  flex: 1;
  height: 100%;
  min-width: 3px;
}

.candle__wick,
.candle__body {
  position: absolute;
  background: var(--green);
}

.candle__wick {
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  opacity: 0.55;
}

.candle__body {
  left: 18%;
  right: 18%;
  min-height: 3px;
  border-radius: 1px;
}

.candle.is-down .candle__wick,
.candle.is-down .candle__body {
  background: var(--red);
}

.quick-downloads {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

.quick-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.quick-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quick-item strong {
  display: block;
  color: #eef2f8;
  font-size: 0.88rem;
}

.quick-item span {
  display: block;
  margin-top: 3px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.quick-item a {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.indicators {
  padding-top: 16px;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: 2.45rem;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: #c4cdda;
  padding: 0 14px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: rgba(43, 255, 158, 0.45);
  background: var(--green-soft);
  color: var(--green);
}

.indicator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.indicator-card {
  display: flex;
  min-width: 0;
  min-height: 326px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 20, 28, 0.94);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.indicator-card:hover,
.indicator-card:focus-within {
  border-color: rgba(43, 255, 158, 0.36);
  background: #111821;
  transform: translateY(-2px);
}

.indicator-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag,
.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.tag {
  color: var(--green);
  background: var(--green-soft);
}

.tag--pro {
  color: #d7dde7;
  background: rgba(255, 255, 255, 0.07);
}

.tag--beta {
  color: var(--cyan);
  background: rgba(92, 200, 255, 0.12);
}

.card-meta span:last-child {
  color: var(--subtle);
  background: rgba(255, 255, 255, 0.04);
}

.indicator-card h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.18rem;
  line-height: 1.25;
}

.indicator-card p {
  flex: 1;
  margin: 0;
  color: #7d8aa0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.indicator-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.indicator-card__foot strong {
  color: var(--green);
  font-family: var(--sans);
  font-size: 0.84rem;
}

.detail-section {
  padding-top: 20px;
}

.detail-section.is-hidden {
  display: none;
}

.detail-shell {
  padding: 28px;
}

.ghost-button {
  border-color: var(--line);
  background: transparent;
  color: #c4cdda;
  padding: 0 14px;
  font-size: 0.88rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  gap: 40px;
  align-items: center;
  margin-top: 26px;
}

.detail-copy h2 {
  margin-top: 18px;
  font-size: 2.35rem;
}

.detail-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  color: #dbe2ec;
  font-size: 0.95rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.download-link {
  min-height: 48px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.terminal-preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0f17;
}

.terminal-preview__foot {
  border-top: 1px solid var(--line);
  padding: 14px;
  color: var(--subtle);
  text-align: center;
  font-size: 0.82rem;
}

.os-grid,
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.os-grid article,
.roadmap-grid article {
  min-width: 0;
  background: rgba(11, 15, 21, 0.98);
  padding: 26px;
}

.os-grid span,
.roadmap-grid span {
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.os-grid h3,
.roadmap-grid h3 {
  margin: 24px 0 10px;
  color: #eef2f8;
  font-family: var(--display);
  font-size: 1.14rem;
}

.os-grid p,
.roadmap-grid p {
  margin: 0;
  color: #7d8aa0;
  font-size: 0.9rem;
  line-height: 1.62;
}

.roadmap-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-top: 18px;
  border-radius: 999px;
  padding: 0 9px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.community-copy h2 {
  margin-top: 16px;
  font-size: 2.35rem;
}

.community-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.community-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 52px;
  align-items: center;
}

.membership-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.membership-grid article {
  display: grid;
  gap: 6px;
  background: #0b0f15;
  padding: 18px;
}

.membership-grid strong {
  color: var(--text);
}

.membership-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cafe-panel {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #0a0f17;
  background-size: 38px 38px, 38px 38px, auto;
  box-shadow: var(--shadow);
  padding: 44px;
}

.cafe-panel__meta {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cafe-panel h3 {
  margin: 18px 0 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1.12;
}

.cafe-panel p {
  margin: 18px 0 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.cafe-panel .button {
  width: max-content;
  padding: 0 22px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #080c13;
  padding: 54px max(24px, calc((100% - 1200px) / 2)) 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(160px, 0.6fr));
  gap: 40px;
}

.brand--footer {
  margin-bottom: 14px;
}

.footer p {
  max-width: 520px;
  margin: 0;
  color: #7d8aa0;
  font-size: 0.86rem;
  line-height: 1.7;
}

.footer h3 {
  margin: 0 0 14px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.footer a:not(.brand) {
  display: block;
  width: max-content;
  margin: 10px 0;
  color: #a4afc0;
  font-size: 0.9rem;
}

.footer a:not(.brand):hover {
  color: var(--green);
}

.footer .risk {
  max-width: 1200px;
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 22px;
  color: #566274;
  font-size: 0.72rem;
}

.copyright {
  margin-top: 18px !important;
  color: #3d4759 !important;
  font-family: var(--mono);
  font-size: 0.72rem !important;
}

@media (max-width: 1060px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section-heading,
  .detail-layout,
  .community-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .indicator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .os-grid,
  .roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .section {
    width: min(100% - 32px, 1200px);
  }

  .brand__text small {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .nav {
    gap: 18px;
    font-size: 0.84rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    gap: 32px;
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero__lead,
  .section-heading p,
  .detail-copy p,
  .community-copy p {
    font-size: 0.96rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .button,
  .download-link {
    width: 100%;
  }

  .cafe-panel {
    min-height: 0;
    padding: 28px;
  }

  .cafe-panel .button {
    width: 100%;
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .console__bar {
    font-size: 0.72rem;
  }

  .console {
    display: none;
  }

  .price-line {
    flex-wrap: wrap;
  }

  .price-line strong {
    width: 100%;
  }

  .quick-item {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .detail-copy h2,
  .community-copy h2 {
    font-size: 2rem;
  }

  .indicator-grid,
  .os-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .detail-shell {
    padding: 20px;
  }

  .terminal-chart {
    height: 250px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.28rem;
  }

  .brand__text span {
    font-size: 1.2rem;
  }

  .metric-strip dt {
    font-size: 1.45rem;
  }
}
