/* ============================================================
   팀풀 (TEAMPOOL) — B2B 팀빌딩 소셜게임 플랫폼
   Bright, modern, playful-credible B2B marketing site.
   ============================================================ */

/* ===== Fonts (self-hosted, no runtime CDN) ===== */
@font-face {
  font-family: "Pretendard"; font-style: normal; font-weight: 400;
  src: url("../fonts/Pretendard-Regular.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Pretendard"; font-style: normal; font-weight: 500;
  src: url("../fonts/Pretendard-Medium.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Pretendard"; font-style: normal; font-weight: 700;
  src: url("../fonts/Pretendard-Bold.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "Pretendard"; font-style: normal; font-weight: 800;
  src: url("../fonts/Pretendard-Black.woff2") format("woff2"); font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500;
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2"); font-display: swap;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; }

/* ===== Design Tokens ===== */
:root {
  --white: #ffffff;
  --ink: #15171c;
  --ink-soft: #3c4150;
  --muted: #6b7180;
  --cobalt: #2f6bff;
  --cobalt-dark: #1f4fcc;
  --cobalt-tint: #eaf1ff;
  --coral: #ff6b5e;
  --coral-tint: #fff0ee;
  --mint: #2bd4a6;
  --mint-tint: #e4faf3;
  --gold: #ffd23f;
  --gray: #f4f6fa;
  --line: #e6e9f0;

  --font: "Pretendard", system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(21,23,28,.06);
  --shadow: 0 12px 32px rgba(21,23,28,.09);
  --shadow-lg: 0 24px 56px rgba(47,107,255,.16);
  --space: 1rem;
}

/* ===== Base ===== */
body {
  font-family: var(--font); color: var(--ink); background: var(--white);
  line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.18; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 1.5rem; }
.section { padding: 5.5rem 0; }
.section--gray { background: var(--gray); }
.section--ink { background: var(--ink); color: #f1f3f8; }
.section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--cobalt);
  background: var(--cobalt-tint); padding: .35rem .75rem; border-radius: 100px;
}
.eyebrow--coral { color: var(--coral); background: var(--coral-tint); }
.eyebrow--mint { color: #149c77; background: var(--mint-tint); }

.section__head { max-width: 660px; margin-bottom: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.85rem, 4vw, 2.6rem); margin: 1rem 0 .9rem; }
.section__head p { font-size: 1.08rem; color: var(--muted); }

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 100px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--cobalt); color: #fff; box-shadow: 0 8px 20px rgba(47,107,255,.28); }
.btn--primary:hover { background: var(--cobalt-dark); box-shadow: 0 12px 26px rgba(47,107,255,.36); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,94,.28); }
.btn--coral:hover { background: #f0584a; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.22); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); border-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.75rem; }
.nav__list a { font-weight: 500; color: var(--ink-soft); font-size: .98rem; transition: color .15s; position: relative; }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--cobalt); }
.nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--cobalt); border-radius: 2px;
}
.nav__cta { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 1rem 1.5rem 2rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease; gap: .5rem;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a { padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: .75rem; }
  .nav__cta .btn { width: 100%; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 5rem; background: linear-gradient(180deg, #fff 0%, var(--gray) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; margin: 1.25rem 0 1.25rem; }
.hero h1 .hl { color: var(--cobalt); }
.hero h1 .hl-coral { color: var(--coral); }
.hero p { font-size: 1.18rem; color: var(--ink-soft); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.25rem; color: var(--muted); font-size: .92rem; }
.hero__visual { position: relative; }

.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 0; }
.blob--1 { width: 280px; height: 280px; background: var(--cobalt-tint); top: -40px; right: -30px; }
.blob--2 { width: 200px; height: 200px; background: var(--coral-tint); bottom: -20px; left: -40px; }

/* ===== Avatar cluster ===== */
.avatars { display: flex; align-items: center; }
.avatars .ava {
  width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; margin-left: -10px;
  display: grid; place-items: center; font-weight: 700; font-size: .82rem; color: #fff; box-shadow: var(--shadow-sm);
}
.avatars .ava:first-child { margin-left: 0; }
.ava--1 { background: var(--cobalt); } .ava--2 { background: var(--coral); }
.ava--3 { background: var(--mint); } .ava--4 { background: var(--gold); color: var(--ink); }
.ava--5 { background: var(--ink); }

/* ===== Game-session mockup (SVG-based card) ===== */
.mock {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; position: relative; z-index: 1;
}
.mock__bar { display: flex; align-items: center; gap: .5rem; padding: .85rem 1.1rem; background: var(--gray); border-bottom: 1px solid var(--line); }
.mock__dot { width: 11px; height: 11px; border-radius: 50%; }
.mock__title { margin-left: .5rem; font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.mock__body { padding: 1.25rem; }

.session { display: grid; gap: .85rem; }
.session__head { display: flex; align-items: center; justify-content: space-between; }
.session__tag { font-family: var(--mono); font-size: .72rem; color: var(--mint); background: var(--mint-tint); padding: .25rem .6rem; border-radius: 100px; font-weight: 500; }
.session__timer { font-family: var(--mono); font-weight: 500; font-size: .95rem; color: var(--coral); }
.session__q { background: var(--cobalt-tint); border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 700; color: var(--ink); }
.session__opts { display: grid; gap: .55rem; }
.opt { display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; font-size: .92rem; }
.opt.is-picked { border-color: var(--cobalt); background: #fff; box-shadow: 0 0 0 3px var(--cobalt-tint); }
.opt__k { width: 22px; height: 22px; border-radius: 6px; background: var(--gray); display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--muted); }
.opt.is-picked .opt__k { background: var(--cobalt); color: #fff; }
.session__players { display: flex; align-items: center; justify-content: space-between; padding-top: .25rem; }
.session__players span { font-size: .82rem; color: var(--muted); }

/* leaderboard mock */
.lb { display: grid; gap: .55rem; }
.lb__row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: var(--radius-sm); background: var(--gray); }
.lb__row--top { background: linear-gradient(90deg, var(--cobalt-tint), #fff); }
.lb__rank { font-weight: 800; color: var(--cobalt); font-family: var(--mono); }
.lb__name { font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: .55rem; }
.lb__score { font-family: var(--mono); font-weight: 500; color: var(--ink-soft); }
.lb__medal { font-size: 1.05rem; }

/* schedule mock */
.sched { display: grid; gap: .65rem; }
.sched__row { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.sched__time { font-family: var(--mono); font-size: .8rem; color: var(--cobalt); font-weight: 500; width: 58px; flex-shrink: 0; }
.sched__bar { width: 4px; align-self: stretch; border-radius: 4px; }
.sched__label { font-weight: 600; font-size: .92rem; }
.sched__sub { font-size: .8rem; color: var(--muted); }

/* ===== Cards / grids ===== */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card__list { margin-top: 1rem; display: grid; gap: .5rem; }
.card__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.card__list li::before { content: "✓"; color: var(--mint); font-weight: 800; flex-shrink: 0; }

.ic--cobalt { background: var(--cobalt-tint); color: var(--cobalt); }
.ic--coral { background: var(--coral-tint); color: var(--coral); }
.ic--mint { background: var(--mint-tint); color: #149c77; }
.ic--gold { background: #fff6d6; color: #c79400; }

/* ===== Problem / Solution ===== */
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.ps__col { border-radius: var(--radius); padding: 2.25rem 2rem; }
.ps__col--problem { background: var(--coral-tint); border: 1px solid #ffd9d4; }
.ps__col--solution { background: var(--mint-tint); border: 1px solid #c3f0e2; }
.ps__col h3 { font-size: 1.3rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.ps__list { display: grid; gap: 1rem; }
.ps__list li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; color: var(--ink-soft); }
.ps__list li .mk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; }
.ps__col--problem .mk { background: var(--coral); }
.ps__col--solution .mk { background: var(--mint); }

/* ===== Stats / counters ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--cobalt); letter-spacing: -.03em; line-height: 1; }
.section--ink .stat__num { color: var(--gold); }
.stat__suffix { font-size: 1.4rem; font-weight: 700; }
.stat__label { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.section--ink .stat__label { color: #aeb4c4; }

/* ===== Logo grid ===== */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; align-items: center; }
.logos__item {
  display: grid; place-items: center; height: 68px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; font-weight: 700; color: var(--muted);
  font-size: 1rem; letter-spacing: -.01em; transition: color .2s, border-color .2s;
}
.logos__item:hover { color: var(--ink); border-color: var(--cobalt); }
.logos__item span { font-family: var(--mono); font-size: .7rem; color: var(--cobalt); margin-left: .25rem; }

/* ===== Use-case rows ===== */
.usecase { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.usecase + .usecase { margin-top: 4rem; }
.usecase--reverse .usecase__media { order: 2; }
.usecase__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.usecase__media { position: relative; }
.usecase h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1rem 0 1rem; }
.usecase p { color: var(--ink-soft); font-size: 1.05rem; }
.usecase__steps { margin-top: 1.5rem; display: grid; gap: .85rem; }
.usecase__steps li { display: flex; gap: .85rem; align-items: flex-start; }
.usecase__steps .n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 9px; background: var(--cobalt); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

.media-badge {
  position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  padding: .75rem 1rem; display: flex; align-items: center; gap: .65rem; font-weight: 700; font-size: .9rem;
}
.media-badge .mb-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.media-badge--tl { top: -18px; left: -18px; }
.media-badge--br { bottom: -18px; right: -18px; }

/* ===== Testimonials ===== */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.quote p { font-size: 1.05rem; color: var(--ink-soft); line-height: 1.7; }
.quote__stars { color: var(--gold); margin-bottom: 1rem; font-size: 1.05rem; letter-spacing: 2px; }
.quote__by { display: flex; align-items: center; gap: .85rem; margin-top: 1.5rem; }
.quote__by .ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.quote__by b { display: block; font-size: .95rem; }
.quote__by span { font-size: .85rem; color: var(--muted); }

/* ===== Feature detail blocks ===== */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.feat + .feat { margin-top: 5rem; }
.feat--reverse .feat__visual { order: 2; }
.feat h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 1rem 0 1rem; }
.feat p { color: var(--ink-soft); font-size: 1.05rem; }
.feat__list { margin-top: 1.5rem; display: grid; gap: .9rem; }
.feat__list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--ink-soft); }
.feat__list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--mint); margin-top: 2px; }

/* ===== Pricing ===== */
.toggle { display: inline-flex; align-items: center; gap: .85rem; background: var(--gray); border-radius: 100px; padding: .4rem; margin: 1.5rem auto 0; }
.toggle button { border: 0; background: none; padding: .55rem 1.25rem; border-radius: 100px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.toggle button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.toggle .save { font-family: var(--mono); font-size: .68rem; color: var(--mint); background: var(--mint-tint); padding: .15rem .5rem; border-radius: 100px; margin-left: .4rem; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.plan { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem 2rem; display: flex; flex-direction: column; }
.plan--featured { border-color: var(--cobalt); box-shadow: var(--shadow-lg); position: relative; }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--cobalt); color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem 1rem; border-radius: 100px; }
.plan h3 { font-size: 1.4rem; }
.plan__desc { color: var(--muted); font-size: .92rem; margin: .4rem 0 1.5rem; min-height: 2.6em; }
.plan__price { display: flex; align-items: flex-end; gap: .3rem; }
.plan__price .amt { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.plan__price .per { color: var(--muted); font-size: .95rem; margin-bottom: .55rem; }
.plan__note { font-size: .82rem; color: var(--muted); margin-top: .35rem; min-height: 1.2em; }
.plan ul { margin: 1.75rem 0; display: grid; gap: .75rem; }
.plan ul li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.plan ul li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--mint); margin-top: 1px; }
.plan .btn { margin-top: auto; width: 100%; }

/* comparison table */
.compare { width: 100%; border-collapse: collapse; margin-top: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare thead th { background: var(--gray); font-weight: 700; }
.compare tbody th { font-weight: 600; color: var(--ink-soft); }
.compare td { text-align: center; }
.compare td:first-of-type, .compare th:first-of-type { text-align: left; }
.compare .yes { color: var(--mint); font-weight: 800; }
.compare .no { color: var(--line); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }

/* ===== FAQ / Accordion ===== */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: .85rem; }
.acc { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 700; font-size: 1.02rem; color: var(--ink); }
.acc__btn:hover { color: var(--cobalt); }
.acc__icon { flex-shrink: 0; width: 24px; height: 24px; transition: transform .25s; color: var(--cobalt); }
.acc__btn[aria-expanded="true"] .acc__icon { transform: rotate(45deg); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__panel-inner { padding: 0 1.5rem 1.4rem; color: var(--muted); font-size: .98rem; }

/* ===== Tabs ===== */
.tabs__nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; }
.tabs__nav button { border: 1.5px solid var(--line); background: #fff; padding: .65rem 1.25rem; border-radius: 100px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.tabs__nav button.is-active { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.tabs__panel[hidden] { display: none; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--cobalt) 0%, #4d7fff 55%, #6d57ff 100%); border-radius: var(--radius-lg); padding: 3.5rem 3rem; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .9rem; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 540px; margin: 0 auto 2rem; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.confetti { position: absolute; opacity: .9; }

/* ===== Contact form ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; }
.field label .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px var(--cobalt-tint);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.contact__aside { display: grid; gap: 1.5rem; }
.contact__card { background: var(--gray); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.contact__card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.contact__card a, .contact__card p { color: var(--ink-soft); font-size: .95rem; }
.contact__card a:hover { color: var(--cobalt); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c4c9d6; padding: 4rem 0 2rem; }
.site-footer a { color: #c4c9d6; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand img { height: 30px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__brand p { font-size: .92rem; max-width: 280px; line-height: 1.7; color: #9aa1b3; }
.footer__col h4 { color: #fff; font-size: .92rem; margin-bottom: 1.1rem; font-weight: 700; }
.footer__col ul { display: grid; gap: .65rem; }
.footer__col li { font-size: .92rem; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; padding-top: 2rem; font-size: .85rem; color: #8990a3; }
.legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.legal-open { background: none; border: 0; padding: 0; cursor: pointer; color: #c4c9d6; font: inherit; }
.legal-open:hover { color: #fff; text-decoration: underline; }
.footer__biz { font-size: .8rem; color: #767d90; line-height: 1.7; margin-top: 1.5rem; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Modal ===== */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.5rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(21,23,28,.55); backdrop-filter: blur(2px); animation: fade .2s ease; }
.modal__panel {
  position: relative; z-index: 1; width: min(720px, 100%); max-height: 86vh; overflow-y: auto;
  background: #fff; color: var(--ink); padding: 2.5rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: pop .22s ease;
}
.modal__panel h2 { font-size: 1.55rem; margin-bottom: .35rem; }
.modal__panel h3 { font-size: 1.1rem; margin: 1.75rem 0 .6rem; color: var(--ink); }
.modal__panel p, .modal__panel li { color: var(--ink-soft); font-size: .94rem; line-height: 1.7; }
.modal__panel ul { padding-left: 1.1rem; list-style: disc; display: grid; gap: .35rem; margin: .5rem 0; }
.modal__panel .updated { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.modal__close { position: absolute; top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; background: var(--gray); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-soft); transition: background .15s; }
.modal__close:hover { background: var(--line); }
.legal-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .88rem; }
.legal-table th, .legal-table td { border: 1px solid var(--line); padding: .65rem .8rem; text-align: left; vertical-align: top; }
.legal-table thead th { background: var(--gray); font-weight: 700; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* ===== 404 ===== */
.err { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 3rem 1.5rem; }
.err__code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; color: var(--cobalt); letter-spacing: -.04em; line-height: 1; }
.err h1 { font-size: 1.6rem; margin: 1rem 0 .75rem; }
.err p { color: var(--muted); margin-bottom: 2rem; }

/* ===== Page hero (sub pages) ===== */
.page-hero { background: linear-gradient(180deg, var(--cobalt-tint) 0%, #fff 100%); padding: 4rem 0 3.5rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); margin: 1rem 0 1rem; }
.page-hero p { font-size: 1.15rem; color: var(--ink-soft); max-width: 620px; margin: 0 auto; }

/* ===== Utility ===== */
.text-center { text-center: center; text-align: center; }
.mt-3 { margin-top: 2rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--cobalt); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0; z-index: 2000; }
.skip-link:focus { left: 0; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 480px; }
  .feat, .usecase, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .feat--reverse .feat__visual, .usecase--reverse .usecase__media { order: 0; }
  .grid--3, .grid--4, .plans, .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .ps, .grid--2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 3.5rem 0; }
  .grid--3, .grid--4, .plans, .logos { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .field--row { grid-template-columns: 1fr; }
  .cta-band { padding: 2.5rem 1.5rem; }
  .modal__panel { padding: 1.75rem 1.5rem; }
  .compare { font-size: .85rem; }
  .compare th, .compare td { padding: .7rem .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
