/* sweightlift home. Fonts are self-hosted subsets (scripts/subset-fonts.mjs); no third-party requests. */
@font-face { font-family: 'Space Grotesk'; src: url('/fonts/space-grotesk.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Plex KR'; src: url('/fonts/plex-kr-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex KR'; src: url('/fonts/plex-kr-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex KR'; src: url('/fonts/plex-kr-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ground: #F5F4EF;
  --paper: #FFFFFF;
  --ink: #1B1F24;
  --ink-2: #3F444B;
  --ink-3: #555B63;
  --chip: #EDEBE4;
  --chip-ink: #2E3238;
  --accent: #C2410C;
  --screen-tint: #E6EEFB;
  --lotto-tint: #FBEDE4;
  --display: 'Space Grotesk', 'Plex KR', system-ui, sans-serif;
  --text: 'Plex KR', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: block; width: 44px; height: 44px; flex: none; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.035em; }
.brand em { font-style: normal; color: var(--accent); }
.lang { display: flex; gap: 4px; padding: 4px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper); }
.lang button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; background: transparent; color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.kicker { margin: 0; font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
h1 { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(36px, 6vw, 64px); line-height: 1.12; letter-spacing: -0.02em; word-break: keep-all; }
.lead { margin: 0; font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); word-break: keep-all; }

.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; padding-bottom: clamp(56px, 8vw, 96px); }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1.5px solid var(--ink); border-radius: 20px; overflow: hidden; }
.art { height: 168px; border-bottom: 1.5px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.art-screen { background: var(--screen-tint); flex-direction: column; }
.art-screen > div { width: 240px; display: grid; border: 1.5px solid var(--ink); }
.art-screen > .bars { grid-template-columns: repeat(7, 1fr); height: 72px; border-radius: 6px 6px 0 0; border-bottom: 0; overflow: hidden; }
.steps { grid-template-columns: repeat(6, 1fr); height: 28px; border-radius: 0 0 6px 6px; overflow: hidden; }
.bars i:nth-child(1) { background: #C0C0C0; } .bars i:nth-child(2) { background: #C0C000; }
.bars i:nth-child(3) { background: #00C0C0; } .bars i:nth-child(4) { background: #00C000; }
.bars i:nth-child(5) { background: #C000C0; } .bars i:nth-child(6) { background: #C00000; }
.bars i:nth-child(7) { background: #0000C0; }
.steps i:nth-child(1) { background: #000; } .steps i:nth-child(2) { background: #333; }
.steps i:nth-child(3) { background: #666; } .steps i:nth-child(4) { background: #999; }
.steps i:nth-child(5) { background: #CCC; } .steps i:nth-child(6) { background: #FFF; }
.art-lotto { background: var(--lotto-tint); flex-wrap: wrap; gap: 10px; padding: 0 24px; align-content: center; }
.art-lotto span { width: 44px; height: 44px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 17px; border: 1.5px solid var(--ink); background: var(--paper); }
.art-lotto .hot { background: var(--accent); color: #fff; }

.body { display: flex; flex-direction: column; gap: 12px; padding: 24px 28px 28px; flex-grow: 1; }
.head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
h2 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; }
.host { font-family: var(--display); font-size: 14px; color: var(--ink-3); }
.body p { margin: 0; color: var(--ink-2); word-break: keep-all; flex-grow: 1; }
.tags { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--chip); color: var(--chip-ink); }
.open { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 500; }
.open:hover { color: #fff; background: #000; }

.foot { border-top: 1.5px solid var(--ink); padding: 24px 0 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 480px) {
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand span { font-size: 21px; letter-spacing: -0.025em; }
  .lang button { padding: 0 12px; font-size: 14px; }
}
