/* =========================================================================
   한이룸의 상세페이지 마법사 3.0 · 설치가이드
   Design: huashu-design pass. Tokens extracted from the live wizard.
   Warm paper base · ink type · single emerald accent · restrained motion.
   ========================================================================= */

:root {
  /* palette (from wizard globals.css) */
  --bg: #f7f8f5;
  --bg-soft: #edf2ec;
  --paper: #fbfaf6;
  --ink: #171a1f;
  --ink-soft: #3f4650;
  --muted: #6b7280;
  --line: #dfe4dc;
  --line-soft: #e6ebe4;
  --card: #ffffff;
  --emerald: #047857;
  --emerald-bright: #34d399;
  --emerald-soft: #ecfdf5;
  --lime: #a3e635;
  --rose: #dc2626;
  --navy-deep: #101318;

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-serif: "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-sm: 0 4px 14px rgba(23, 26, 31, 0.06);
  --shadow: 0 14px 34px rgba(23, 26, 31, 0.08);
  --shadow-lg: 0 40px 80px -24px rgba(23, 26, 31, 0.24);

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 56px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: -0.01em;
  word-break: keep-all;          /* Korean: break at spaces, keep words whole */
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 128px); }
.section--tight { padding-block: clamp(48px, 8vw, 88px); }
.eyebrow {
  font-size: 13px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--emerald);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--emerald); display: inline-block; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-family: var(--font-sans);
  font-size: clamp(29px, 4.2vw, 44px);
  line-height: 1.18; letter-spacing: -0.03em; font-weight: 700;
  margin: 18px 0 0;
}
.section-head p { color: var(--ink-soft); font-size: clamp(16px, 2vw, 18px); margin: 16px 0 0; }

.text-serif { font-family: var(--font-sans); }
.mark { color: var(--emerald); font-weight: 600; }

/* underline-draw accent (shown by default; animated only when JS is present) */
.uline { position: relative; white-space: nowrap; }
.uline::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: 0.06em; height: 0.34em;
  background: linear-gradient(transparent 62%, rgba(52, 211, 153, 0.42) 62%);
  transform: scaleX(1); transform-origin: left; border-radius: 2px;
  transition: transform 0.9s var(--ease) 0.35s;
}
.js .uline::after { transform: scaleX(0); }
.js .hero.is-in .uline::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; font-size: 16px; font-weight: 600;
  border: 1px solid transparent; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(23,26,31,0.42); }
.btn--emerald { background: var(--emerald); color: #fff; box-shadow: 0 10px 22px -10px rgba(4,120,87,0.6); }
.btn--emerald:hover { transform: translateY(-2px); box-shadow: 0 20px 34px -12px rgba(4,120,87,0.55); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(23,26,31,0.03); }
.btn--lg { padding: 17px 30px; font-size: 17px; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: var(--emerald-soft); color: var(--emerald); border: 1px solid rgba(4,120,87,0.16);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald-bright); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(12px);
  background: rgba(247, 248, 245, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand b { font-size: 15.5px; font-weight: 650; letter-spacing: -0.02em; }
.brand span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 500; letter-spacing: 0.01em; margin-top: -2px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .nav-link { font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.header-actions .nav-link:hover { color: var(--ink); }
@media (max-width: 720px) { .header-actions .nav-link { display: none; } }

/* ---------- hero (A · editorial split) ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px); overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; gap: 44px; } }

.hero-copy { max-width: 560px; }
.hero h1 {
  font-family: var(--font-sans); font-weight: 800;
  font-size: clamp(36px, 5.6vw, 60px); line-height: 1.1; letter-spacing: -0.035em;
  margin: 22px 0 0;
}
.hero h1 .sans { font-family: var(--font-sans); font-weight: 700; letter-spacing: -0.03em; }
.hero-sub { color: var(--ink-soft); font-size: clamp(17px, 2.2vw, 19px); margin: 22px 0 0; max-width: 480px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust {
  display: flex; align-items: center; gap: 9px; margin-top: 22px;
  font-size: 13.5px; color: var(--muted);
}
.hero-trust svg { width: 16px; height: 16px; color: var(--emerald); flex: none; }

/* staged reveal (only when JS present) */
.js .hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .hero.is-in .hero-copy > * { opacity: 1; transform: none; }
.hero.is-in .hero-copy > *:nth-child(1) { transition-delay: 0.05s; }
.hero.is-in .hero-copy > *:nth-child(2) { transition-delay: 0.12s; }
.hero.is-in .hero-copy > *:nth-child(3) { transition-delay: 0.19s; }
.hero.is-in .hero-copy > *:nth-child(4) { transition-delay: 0.26s; }
.hero.is-in .hero-copy > *:nth-child(5) { transition-delay: 0.33s; }

.js .hero-shot { opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.9s var(--ease) 0.25s, transform 0.9s var(--ease) 0.25s; }
.js .hero.is-in .hero-shot { opacity: 1; transform: none; }

/* ---------- browser frame (honest chrome) ---------- */
.browser {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser__bar { display: flex; align-items: center; gap: 8px; padding: 12px 15px; background: #f1f3ef; border-bottom: 1px solid var(--line); }
.browser__dots { display: flex; gap: 6px; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfd6cd; display: block; }
.browser__url {
  flex: 1; margin-left: 8px; height: 24px; border-radius: 7px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; gap: 7px; padding: 0 11px; font-family: var(--font-mono); font-size: 11.5px; color: var(--muted);
}
.browser__url svg { width: 11px; height: 11px; color: var(--emerald); }
.browser img { width: 100%; height: auto; display: block; }
.hero-shot .browser img { max-height: 470px; object-fit: cover; object-position: top center; }
.browser--flush img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* ---------- value flow (4 steps) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }
.flow__item { padding: 30px 26px 30px 0; border-right: 1px solid var(--line); }
.flow__item:last-child { border-right: none; }
@media (max-width: 860px) {
  .flow__item { border-right: none; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .flow__item:nth-child(odd) { padding-right: 26px; border-right: 1px solid var(--line); }
}
@media (max-width: 520px) { .flow__item, .flow__item:nth-child(odd) { border-right: none; padding-right: 0; } }
.flow__n { font-family: var(--font-sans); font-size: 14px; color: var(--emerald); font-weight: 700; letter-spacing: 0.1em; }
.flow__t { font-size: 19px; font-weight: 650; margin: 14px 0 8px; letter-spacing: -0.02em; }
.flow__d { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- prep ---------- */
.prep-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 720px) { .prep-grid { grid-template-columns: 1fr; } }
.prep-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 20px; align-items: flex-start; box-shadow: var(--shadow-sm);
}
.prep-card .ic {
  width: 46px; height: 46px; border-radius: 12px; background: var(--emerald-soft); color: var(--emerald);
  display: grid; place-items: center; flex: none;
}
.prep-card .ic svg { width: 23px; height: 23px; }
.prep-card h3 { margin: 2px 0 6px; font-size: 18px; letter-spacing: -0.02em; }
.prep-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.prep-card kbd {
  font-family: var(--font-mono); font-size: 12px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 5px; padding: 1px 6px; color: var(--ink-soft);
}

/* ---------- api keys ---------- */
.keys { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .keys { grid-template-columns: 1fr; } }
.keycard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.keycard--primary { border-color: rgba(4,120,87,0.28); box-shadow: 0 20px 46px -26px rgba(4,120,87,0.4); }
.keycard__top { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.keycard__logo { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); border: 1px solid var(--line); flex: none; }
.keycard__logo img { width: 24px; height: 24px; }
.keycard__eyebrow { font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.keycard__eyebrow.is-main { color: var(--emerald); }
.keycard h3 { margin: 2px 0 0; font-size: clamp(20px, 2.4vw, 25px); letter-spacing: -0.02em; }
.keycard__role { font-size: 14px; color: var(--ink-soft); margin: 12px 0 20px; }
.keycard__role b { color: var(--ink); font-weight: 650; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 18px 42px; counter-increment: s; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -1px;
  width: 27px; height: 27px; border-radius: 50%; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 650; display: grid; place-items: center;
}
.keycard--primary .steps li::before { background: var(--emerald); }
.steps li::after {
  content: ""; position: absolute; left: 13px; top: 28px; bottom: 6px; width: 1.5px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps b { font-weight: 650; }
.steps .lead { display: block; font-size: 15.5px; margin-bottom: 2px; }
.steps small { color: var(--muted); font-size: 13.5px; line-height: 1.55; display: block; }
.steps a { color: var(--emerald); font-weight: 600; border-bottom: 1px solid rgba(4,120,87,0.3); }
.steps code {
  font-family: var(--font-mono); font-size: 12.5px; background: var(--bg-soft); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 5px; color: var(--ink-soft);
}
.note {
  display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; padding: 15px 17px;
  background: var(--emerald-soft); border: 1px solid rgba(4,120,87,0.16); border-radius: var(--radius-sm);
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.6;
}
.note svg { width: 18px; height: 18px; color: var(--emerald); flex: none; margin-top: 2px; }
.note.note--warn { background: #fff6f5; border-color: rgba(220,38,38,0.18); }
.note.note--warn svg { color: var(--rose); }

/* ---------- usage (real screenshot + 3 steps) ---------- */
.usage { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 940px) { .usage { grid-template-columns: 1fr; } }
.usage-steps { list-style: none; margin: 0; padding: 0; }
.usage-steps li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.usage-steps li:last-child { border-bottom: none; }
.usage-steps .num { font-family: var(--font-sans); font-size: 30px; font-weight: 800; color: var(--emerald); line-height: 1; flex: none; width: 44px; letter-spacing: -0.02em; }
.usage-steps h4 { margin: 2px 0 6px; font-size: 19px; letter-spacing: -0.02em; }
.usage-steps p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.usage-steps .tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--emerald); background: var(--emerald-soft); padding: 1px 7px; border-radius: 5px; }

/* ---------- cta band ---------- */
.cta-band { background: var(--navy-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -10%, rgba(52,211,153,0.22), transparent 70%);
  pointer-events: none;
}
.cta-band .eyebrow { color: var(--emerald-bright); }
.cta-band .eyebrow::before { background: var(--emerald-bright); }
.cta-band h2 { font-family: var(--font-sans); font-size: clamp(27px, 4.2vw, 42px); line-height: 1.16; letter-spacing: -0.03em; margin: 16px 0 0; font-weight: 700; position: relative; }
.cta-band p { color: rgba(255,255,255,0.72); margin: 16px auto 0; max-width: 480px; position: relative; }
.cta-band .btn { margin-top: 30px; position: relative; }
.cta-band .fineprint { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.5); position: relative; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-size: 17.5px; font-weight: 600; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq .faq-body { padding: 0 0 20px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; }
.faq .faq-body a { color: var(--emerald); border-bottom: 1px solid rgba(4,120,87,0.3); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 44px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-footer .brand b { font-size: 14.5px; }
.site-footer small { font-size: 13px; }

/* ---------- reveal on scroll (only when JS present; visible by default) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- modal (gate) ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(16,19,24,0.5); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
  position: relative; z-index: 1; width: min(468px, calc(100% - 32px));
  margin: clamp(40px, 9vh, 96px) auto 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: clamp(28px, 4vw, 40px); transform: translateY(18px) scale(0.97); opacity: 0;
  transition: transform 0.36s var(--ease), opacity 0.36s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--muted); display: grid; place-items: center;
}
.modal__close:hover { color: var(--ink); border-color: var(--ink); }
.modal__close svg { width: 16px; height: 16px; }
.modal .pill { margin-bottom: 16px; }
.modal h3 { font-family: var(--font-sans); font-size: 25px; letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 700; }
.modal .sub { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input[type="text"], .field input[type="email"] {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15.5px; background: #fff; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #b3bab0; }
.field input:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-soft); }
.field input.invalid { border-color: var(--rose); box-shadow: 0 0 0 4px #fdeaea; }
.err { color: var(--rose); font-size: 12.5px; margin-top: 6px; display: none; }
.err.show { display: block; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 22px; cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--emerald); flex: none; }
.consent span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.consent a { color: var(--emerald); border-bottom: 1px solid rgba(4,120,87,0.3); }

.modal__foot-note { text-align: center; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.modal__foot-note svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--emerald); }

/* success state */
.modal__success { display: none; text-align: center; padding: 8px 0 4px; }
.modal.is-success .modal__form { display: none; }
.modal.is-success .modal__success { display: block; }
.modal__success .check {
  width: 62px; height: 62px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald);
  display: grid; place-items: center; margin: 0 auto 18px;
}
.modal__success .check svg { width: 30px; height: 30px; }
.modal__success h3 { margin-bottom: 8px; }
.modal__success p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 22px; }
.modal__success .manual { font-size: 13px; margin-top: 14px; color: var(--muted); }
.modal__success .manual a { color: var(--emerald); font-weight: 600; border-bottom: 1px solid rgba(4,120,87,0.3); }

.spin { display: inline-block; width: 17px; height: 17px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn[disabled] { opacity: 0.75; cursor: default; transform: none !important; }

/* ===================== 실행학교 2기 top ribbon ===================== */
.ra-ribbon { background: var(--navy-deep); color: #fff; font-size: 14px; }
.ra-ribbon[hidden] { display: none; }
.ra-ribbon__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.ra-ribbon__tag { flex: none; font-weight: 700; letter-spacing: -0.01em; color: var(--emerald-bright); }
.ra-ribbon__msg { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: rgba(255,255,255,0.9); }
.ra-ribbon__cd { flex: none; font-family: var(--font-mono); font-size: 12.5px; color: var(--emerald-bright); }
.ra-ribbon__cta { flex: none; font-weight: 700; color: #fff; border-bottom: 1.5px solid var(--emerald-bright); padding-bottom: 1px; transition: color 0.2s; }
.ra-ribbon__cta:hover { color: var(--emerald-bright); }
.ra-ribbon__x { flex: none; background: transparent; border: none; color: rgba(255,255,255,0.55); width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; transition: color 0.2s, background 0.2s; }
.ra-ribbon__x:hover { color: #fff; background: rgba(255,255,255,0.12); }
.ra-ribbon__x svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .ra-ribbon__cd { display: none; }
  .ra-ribbon__msg { font-size: 13px; }
  .ra-ribbon__tag { font-size: 12.5px; }
  .ra-ribbon__inner { gap: 9px; }
}

/* ===================== 실행학교 2기 cross-promo section ===================== */
.ra-promo { padding-block: clamp(44px, 7vw, 92px); }
.ra-promo[hidden] { display: none; }
.ra-card {
  display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(28px, 4vw, 52px); align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.ra-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 260px at 88% -20%, rgba(52, 211, 153, 0.14), transparent 70%);
}
@media (max-width: 820px) { .ra-card { grid-template-columns: 1fr; } }
.ra-card__body { position: relative; }
.ra-card__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.16; letter-spacing: -0.03em; margin: 16px 0 0; }
.ra-card__lead { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin: 16px 0 0; max-width: 520px; }
.ra-points { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 9px; }
.ra-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink); }
.ra-points li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--emerald); font-weight: 800; font-size: 13px; }
.ra-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.ra-offer { position: relative; background: var(--navy-deep); color: #fff; border-radius: var(--radius); padding: 32px 26px; text-align: center; overflow: hidden; }
.ra-offer::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px 200px at 50% -12%, rgba(52,211,153,0.30), transparent 70%); }
.ra-offer > * { position: relative; }
.ra-offer__badge { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.02em; color: var(--navy-deep); background: var(--emerald-bright); padding: 5px 13px; border-radius: 999px; }
.ra-offer__hook { margin-top: 16px; font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.35; }
.ra-offer__cd-label { margin-top: 20px; font-size: 11.5px; letter-spacing: 0.08em; color: rgba(255,255,255,0.55); }
.ra-offer__cd { margin-top: 5px; font-family: var(--font-mono); font-size: 27px; font-weight: 600; color: var(--emerald-bright); letter-spacing: 0.01em; }
.ra-offer__deadline { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: #fff; }
.ra-offer__note { margin: 20px 0 0; font-size: 12px; color: rgba(255,255,255,0.5); }
