/* MONETREE — 흰색·검정 위주의 넓은 여백, 큰 글자. 금색은 검은 바탕의 엠블럼에만 씁니다. */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --dark: #000000;
  --dark-2: #161617;
  --dark-ink: #f5f5f7;
  --dark-muted: #a1a1a6;
  --gold: #c9a96a;
  --gold-light: #e4d6a7;
  --gold-deep: #9a7432;
  --gold-tint: #f4ecdc;
  --danger: #d70015;
  --ok: #1d7a4c;
  --kakao: #fee500;

  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --wordmark: "Cinzel", "Trajan Pro", "Times New Roman", serif;

  --wrap: 1024px;
  --wrap-wide: 1440px;
  --gutter: 22px;
  --header-h: 48px;

  --fs-sm: 0.875rem;
  --fs-body: 1.0625rem;
  --fs-sub: clamp(1.1875rem, 2.4vw, 1.5rem);
  --fs-tile: clamp(1.875rem, 4.4vw, 2.75rem);
  --fs-section: clamp(2rem, 5.4vw, 3.5rem);
  --fs-hero: clamp(2.5rem, 7.2vw, 4.75rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.5;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid #0071e3; outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--bg); padding: 8px 12px; }

/* 입력이 필요한 자리 표시: 실제 정보로 바꾼 뒤 class를 지우세요 */
.todo { text-decoration: underline dashed var(--gold); text-underline-offset: 4px; }

[hidden] { display: none !important; }

/* 검은 바탕 (예전 이름 그대로 .linen) */
.linen { background: var(--dark); color: var(--dark-ink); }

/* ---------- 버튼: 둥근 알약 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}
.btn:hover { background: #333336; }
.btn:disabled { opacity: 0.5; cursor: progress; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 1.125rem; }
.btn-block { width: 100%; }
.btn-light { background: var(--dark-ink); color: var(--ink); }
.btn-light:hover { background: #ffffff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }
.linen .btn-ghost, .tile.dark .btn-ghost { color: var(--dark-ink); box-shadow: inset 0 0 0 1.5px var(--dark-ink); }
.linen .btn-ghost:hover, .tile.dark .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
/* 카카오톡 버튼: 노란색은 아이콘에만 쓰고, 버튼은 바탕에 맞춰 검정 또는 흰색 */
.btn-kakao, .btn-telegram { background: var(--ink); color: #fff; }
.btn-kakao:hover, .btn-telegram:hover { background: #333336; }
.linen .btn-kakao, .tile.dark .btn-kakao, .linen .btn-telegram { background: var(--dark-ink); color: var(--ink); }
.linen .btn-kakao:hover, .tile.dark .btn-kakao:hover, .linen .btn-telegram:hover { background: #fff; }
.tg-icon { width: 24px; height: 24px; flex: none; }
.kakao-icon { width: 24px; height: 24px; flex: none; padding: 5px 4px 4px; border-radius: 50%; background: var(--kakao); }

/* 글자 링크 (예: 자세히 보기 ›) */
.more { font-size: var(--fs-body); font-weight: 500; color: var(--ink); text-decoration: none; }
.more::after { content: " ›"; }
.more:hover { text-decoration: underline; }
.linen .more, .tile.dark .more { color: var(--dark-ink); }

/* ---------- 전체 메뉴 (반투명 검정) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 22, 23, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--dark-ink); }
.logo img { width: 34px; height: auto; }
.logo span { font-family: var(--wordmark); font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.16em; line-height: 1; white-space: nowrap; }

.nav { display: none; gap: 26px; font-size: 0.8125rem; }
.nav a { text-decoration: none; color: rgba(245, 245, 247, 0.8); }
.nav a:hover { color: #fff; }
.site-header .btn { margin-left: auto; min-height: 30px; padding: 0 14px; font-size: 0.8125rem; font-weight: 600; }

@media (min-width: 860px) {
  .nav { display: flex; margin: 0 auto; }
  .site-header .btn { margin-left: 0; }
}

/* ---------- 첫 화면 ---------- */

.hero { position: relative; padding: 64px 0 72px; text-align: center; overflow: hidden; }
/* 로고 뒤: 가운데에서 녹색 원이 천천히 퍼집니다 (원본 로고의 린넨 녹색) */
.hero { --bloom: 760px; --bloom-y: 146px; }
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--bloom-y) - var(--bloom) / 2);
  width: var(--bloom);
  height: var(--bloom);
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  background: radial-gradient(circle closest-side, #2a5a41 0%, #1f4632 30%, #173727 52%, rgba(20, 48, 34, 0.45) 74%, rgba(20, 48, 34, 0) 100%);
  transform: translateX(-50%);
  animation: bloom 1.8s cubic-bezier(0.16, 0.8, 0.24, 1) both;
}
/* 퍼지면서 한 번 지나가는 얇은 원 */
.hero::after {
  border: 1px solid rgba(201, 169, 106, 0.35);
  transform: translateX(-50%) scale(0.4);
  opacity: 0;
  animation: ring 2.4s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes bloom { from { transform: translateX(-50%) scale(0.12); opacity: 0; } to { transform: translateX(-50%) scale(1); opacity: 1; } }
@keyframes ring { 0% { transform: translateX(-50%) scale(0.4); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(-50%) scale(1.15); opacity: 0; } }
@media (min-width: 860px) { .hero { --bloom: 980px; --bloom-y: 190px; } }
.lecture .hero { --bloom-y: 120px; }
.hero .wrap { position: relative; display: grid; justify-items: center; }
.hero .emblem, .hero h1, .hero-lede, .hero-actions, .hero-art { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero h1 { animation-delay: 0.12s; }
.hero-lede { animation-delay: 0.2s; }
.hero-actions { animation-delay: 0.28s; }
.hero-art { animation-delay: 0.36s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.emblem { width: min(64vw, 300px); }
.emblem img { width: 100%; height: auto; }
.tagline { margin-top: 14px; font-size: var(--fs-sm); color: var(--dark-muted); letter-spacing: 0.02em; }
.hero h1 { margin-top: 28px; font-size: var(--fs-hero); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; color: #fff; }
.hero-lede { margin-top: 16px; max-width: 30em; font-size: var(--fs-sub); line-height: 1.4; color: var(--dark-muted); }
.hero-actions { display: grid; justify-items: center; gap: 16px; margin-top: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.next-up { font-size: var(--fs-sm); color: var(--dark-muted); }
.next-up b { color: var(--dark-ink); font-weight: 600; }

.yt-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 16px 5px 6px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  font-size: var(--fs-sm);
  color: var(--dark-ink);
  text-decoration: none;
}
.yt-pill:hover { background: rgba(255, 255, 255, 0.14); }
.yt-pill-avatars { display: flex; }
.yt-pill-avatars img { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--dark); }
.yt-pill-avatars img + img { margin-left: -8px; }

@media (min-width: 860px) {
  .hero { padding: 88px 0 96px; }
}

/* ---------- 타일 (두 칸씩) ---------- */

.tiles { display: grid; gap: 12px; padding: 12px; max-width: var(--wrap-wide); margin: 0 auto; }
@media (min-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 500px;
  padding: 52px 24px 0;
  overflow: hidden;
  text-align: center;
  background: var(--bg-alt);
  text-decoration: none;
}
.tile.dark { background: var(--dark); color: var(--dark-ink); }
.tile h2 { font-size: var(--fs-tile); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; }
.tile > p { margin-top: 8px; font-size: var(--fs-sub); line-height: 1.35; color: var(--muted); max-width: 22em; }
.tile.dark > p { color: var(--dark-muted); }
.tile-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 22px; margin-top: 20px; }
.tile-art { margin-top: auto; padding-top: 32px; width: 100%; display: flex; justify-content: center; }

/* 매일 코인 정보 그림 */
.brief { width: min(100%, 340px); margin-bottom: -1px; padding: 20px 20px 28px; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 -1px 0 var(--line), 0 10px 40px rgba(0, 0, 0, 0.08); text-align: left; }
.brief-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--bg-alt); }
.brief-head img { width: 36px; height: 36px; border-radius: 10px; background: var(--dark); padding: 4px; }
.brief-head b { display: block; font-size: 0.9375rem; }
.brief-head small { font-size: 0.75rem; color: var(--muted); }
.brief ul { display: grid; gap: 10px; margin-top: 14px; }
.brief li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9375rem; }
.brief li span:last-child { color: var(--muted); }

/* 유튜브 채널 그림 */
.avatars { display: flex; justify-content: center; gap: 18px; padding-bottom: 48px; }
.avatars img { width: 92px; height: 92px; border-radius: 50%; }
@media (min-width: 860px) { .avatars img { width: 112px; height: 112px; } }

/* ---------- 섹션 공통 ---------- */

.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { margin: 0 auto 40px; text-align: center; max-width: 40em; }
.section-head h2 { font-size: var(--fs-section); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.section-head p { margin-top: 12px; font-size: var(--fs-sub); line-height: 1.4; color: var(--muted); }
.section-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; margin-top: 36px; }
.linen .section-head p { color: var(--dark-muted); }

@media (min-width: 860px) {
  .section { padding: 120px 0; }
}

/* ---------- 카드 줄 ---------- */

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 700px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
  .rail-2 { grid-template-columns: repeat(2, 1fr); }
}

.course { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; border-radius: 18px; background: var(--bg); text-decoration: none; color: inherit; overflow: hidden; }
.section:not(.alt) .course { background: var(--bg-alt); }
.course > :not(.thumb) { margin: 0 22px; }
.course[aria-disabled="true"] { cursor: default; }
.course-title { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em; }
a.course:hover .course-title { text-decoration: underline; text-underline-offset: 3px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: var(--fs-sm); color: var(--muted); }
.course-price { font-weight: 700; color: var(--ink); }
.thumb + .chips { margin-top: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 980px; background: rgba(0, 0, 0, 0.06); color: var(--muted); font-size: 0.75rem; font-weight: 600; line-height: 1.7; }
.chip-open { background: var(--gold-tint); color: var(--gold-deep); }
.chip-soon { background: rgba(0, 0, 0, 0.06); color: var(--ink); }

.thumb { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 16 / 10; padding: 24px; overflow: hidden; background: var(--dark); color: #fff; }
.thumb-text { position: relative; font-size: clamp(1.25rem, 2.2vw, 1.5rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; }
.thumb-tag { position: relative; align-self: flex-start; font-size: 0.75rem; font-weight: 600; color: var(--dark-muted); }
.thumb-mark { position: absolute; right: 18px; bottom: 14px; width: 72px; }
.thumb:has(.thumb-mark) .thumb-text { padding-right: 56px; }
.thumb-light { background: #e8e8ed; color: var(--ink); }
.thumb-light .thumb-tag { color: var(--muted); }

/* ---------- 유튜브 ---------- */

.yt-tabs {
  display: flex;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 28px;
  padding: 4px;
  border-radius: 980px;
  background: #e8e8ed;
  overflow-x: auto;
  scrollbar-width: none;
}
.yt-tab {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px 5px 5px;
  border: 0;
  border-radius: 980px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  line-height: 1.25;
  cursor: pointer;
}
.yt-tab img { width: 32px; height: 32px; border-radius: 50%; }
.yt-tab b { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.yt-tab small { font-size: 0.75rem; }
.yt-tab[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }

.yt-about { margin-bottom: 24px; text-align: center; color: var(--muted); }

.yt-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) 8px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.yt-grid::-webkit-scrollbar { display: none; }
.video { display: flex; flex-direction: column; gap: 10px; scroll-snap-align: start; }
.video-thumb, .video-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #000; }
.video-thumb { cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: filter 0.15s ease; }
.video-thumb:hover img { filter: brightness(0.85); }
.video-thumb .play { position: absolute; left: 50%; top: 50%; width: 52px; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-title { font-size: 0.9375rem; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-title a { text-decoration: none; }
.video-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.video-meta { margin-top: -4px; font-size: 0.8125rem; color: var(--muted); }
.yt-panel { text-align: left; }
.yt-sub { display: flex; width: max-content; margin: 32px auto 0; }
.yt-icon { width: 24px; height: 17px; flex: none; }

@media (min-width: 860px) {
  .yt-grid { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 28px 20px; overflow: visible; margin: 0; padding: 0; }
  .yt-grid .video:first-child { grid-column: span 2; grid-row: span 2; }
  .yt-grid .video:first-child .video-title { font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.02em; }
  .yt-grid .video:first-child .play { width: 76px; }
}

.channels { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.channel { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 980px; background: var(--bg-alt); text-decoration: none; line-height: 1.3; }
.channel:hover { background: #e8e8ed; }
.channel img { width: 36px; height: 36px; border-radius: 50%; }
.channel b { display: block; font-size: 0.875rem; }
.channel small { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--muted); }
.channel .yt-icon { width: 15px; height: 11px; }

/* ---------- 검은 띠 ---------- */

.band { padding: 96px 0; text-align: center; }
.band .wrap { display: grid; justify-items: center; gap: 28px; }
.band h2 { font-size: var(--fs-section); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; color: #fff; }
.band p { margin-top: 14px; max-width: 30em; font-size: var(--fs-sub); line-height: 1.4; color: var(--dark-muted); }

/* ---------- 바닥글 ---------- */

.site-footer { padding: 28px 0 120px; background: var(--bg-alt); font-size: 0.75rem; line-height: 1.6; color: var(--muted); }
.site-footer .wrap > * + * { margin-top: 12px; }
.risk { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.biz { display: flex; flex-wrap: wrap; gap: 0 16px; }
.biz div { display: flex; gap: 6px; }
.biz dt { color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--ink); }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .logo { color: var(--ink); }
.site-footer .logo span { font-size: 0.8125rem; }


/* ================= 무료 1:1 교육 (/free/) ================= */

.localnav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.localnav .wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.localnav-title { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.localnav nav { display: none; gap: 22px; margin-left: auto; font-size: 0.8125rem; }
.localnav nav a { text-decoration: none; color: var(--muted); }
.localnav nav a:hover, .localnav nav a[aria-current="true"] { color: var(--ink); }
.localnav .btn { margin-left: auto; min-height: 30px; padding: 0 14px; font-size: 0.8125rem; }
@media (min-width: 860px) { .localnav nav { display: flex; } .localnav .btn { margin-left: 0; } }

.narrow { max-width: 720px; margin: 0 auto; }

.fit li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); font-size: 1.1875rem; letter-spacing: -0.02em; }
.fit li:first-child { border-top: 1px solid var(--line); }
.fit li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 26px;
  width: 16px;
  height: 9px;
  border-left: 2.5px solid var(--gold-deep);
  border-bottom: 2.5px solid var(--gold-deep);
  transform: rotate(-45deg);
}

.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; padding: 32px 28px; border-radius: 18px; background: var(--bg); }
.section:not(.alt) .step { background: var(--bg-alt); }
.step::before { content: counter(step); display: block; font-size: 3rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--line); }
.step h3 { margin-top: 18px; font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.02em; }
.step p { margin-top: 6px; color: var(--muted); }
.step-time { display: inline-block; margin-top: 14px; font-size: var(--fs-sm); font-weight: 600; }

.teacher { display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
.avatar { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.avatar img { width: 66px; height: auto; }
.teacher h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.teacher ul { margin-top: 8px; color: var(--muted); }
.teacher li::before { content: "– "; }

.gifts { display: grid; gap: 12px; }
@media (min-width: 700px) { .gifts { grid-template-columns: repeat(3, 1fr); } }
.gift { padding: 24px; border-radius: 18px; background: var(--bg-alt); }
.gift h3 { font-size: var(--fs-body); font-weight: 700; }
.gift p { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); }

/* 신청서 */
.apply { padding: 36px 24px; border-radius: 28px; background: var(--bg); }
.section:not(.alt) .apply { background: var(--bg-alt); }
@media (min-width: 700px) { .apply { padding: 48px; } }
.apply h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; }
.apply-sub { margin: 8px 0 28px; color: var(--muted); }

.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field > label, .field legend { font-weight: 600; font-size: 0.9375rem; }
.field input[type="text"], .field input[type="tel"], .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #86868b;
  border-radius: 12px;
  background: #fff;
  font-size: var(--fs-body);
}
.field textarea { min-height: 110px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2); }
.field input[aria-invalid="true"] { border-color: var(--danger); background: #fff2f4; }
.field-error { color: var(--danger); font-size: var(--fs-sm); }
.field-hint { font-size: var(--fs-sm); color: var(--muted); }
.optional { font-weight: 400; color: var(--muted); }

fieldset.field { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { display: grid; place-items: center; min-height: 52px; padding: 0 8px; border: 1px solid #86868b; border-radius: 12px; background: #fff; font-size: 0.9375rem; text-align: center; cursor: pointer; }
.segmented input:checked + label { border-color: #0071e3; box-shadow: inset 0 0 0 1px #0071e3; font-weight: 600; }
.segmented input:focus-visible + label { outline: 3px solid #0071e3; outline-offset: 2px; }

.consent { display: grid; gap: 12px; margin: 6px 0 26px; font-size: 0.9375rem; }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.consent details { margin-left: 30px; font-size: var(--fs-sm); color: var(--muted); }
.consent summary { cursor: pointer; }
.consent dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin-top: 8px; }
.consent dt { font-weight: 600; }

.picks { display: grid; gap: 10px; margin-top: 8px; }
.pick { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border: 1px solid #86868b; border-radius: 12px; background: #fff; cursor: pointer; }
.pick:has(input:checked) { border-color: #0071e3; box-shadow: inset 0 0 0 1px #0071e3; }
.pick input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #0071e3; }
.pick b { display: block; }
.pick small { display: block; margin-top: 2px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; color: var(--danger); }
.form-done { display: grid; justify-items: start; gap: 12px; }
.form-done h2 { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; }
.form-done .apply-sub { margin: 0 0 4px; }

/* 자주 묻는 질문 */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 40em; }

.lecture .risk { margin-top: 32px; padding: 0; border: 0; font-size: 0.75rem; color: var(--muted); }

/* 모바일 하단 신청 바 */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(22, 22, 23, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: transform 0.2s ease;
}
.bottom-bar .when { flex: 1; font-size: 0.8125rem; line-height: 1.4; color: var(--dark-muted); }
.bottom-bar .when b { display: block; font-size: 0.9375rem; color: #fff; }
.bottom-bar.is-away { transform: translateY(110%); }
@media (min-width: 960px) { .bottom-bar { display: none; } }

/* ================= 신청 완료·지표 신청·문서 ================= */

.done { padding: 72px 0 96px; }
.done .wrap { max-width: 680px; }
.done-mark { width: 64px; height: 64px; margin-bottom: 22px; }
.done h1 { font-size: clamp(2.25rem, 6vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.done-sub { margin-top: 12px; font-size: var(--fs-sub); line-height: 1.4; color: var(--muted); }
.done .apply { margin-top: 36px; background: var(--bg-alt); }

.facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; }
.done .facts { margin-top: 28px; padding: 24px; border-radius: 18px; background: var(--bg-alt); }

.after { display: grid; margin-top: 40px; border-top: 1px solid var(--line); }
.after li { display: grid; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.after h2 { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.02em; }
.after p { color: var(--muted); }
.after .btn { justify-self: start; margin-top: 10px; min-height: 40px; padding: 0 18px; font-size: 0.9375rem; }

.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: var(--fs-section); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.doc h2 { margin-top: 40px; font-size: 1.1875rem; font-weight: 700; }
.doc p, .doc li { margin-top: 8px; color: var(--muted); }
.doc ul { padding-left: 1.2em; list-style: disc; }

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

/* ---------- 무료 지표 그림 ---------- */

.thumb-shot { padding: 0; background: #0e0f13; }
.thumb-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-shot { width: min(100%, 560px); border-radius: 18px 18px 0 0; }

.device { margin: 32px 0 0; padding: 10px; border-radius: 26px; background: #1d1d1f; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18); }
.device img { width: 100%; height: auto; border-radius: 17px; }
.perks { margin-top: 28px; }
.perks li { font-size: var(--fs-body); padding-top: 14px; padding-bottom: 14px; }
.perks li::before { top: 21px; }

.pick { align-items: center; }
.pick-shot { flex: none; width: 96px; height: 60px; border-radius: 8px; object-fit: cover; }
@media (max-width: 479px) { .pick-shot { width: 72px; height: 45px; } }

/* 트레이더 이력 */
.teacher-role { margin-top: 4px; color: var(--muted); }
.creds { display: grid; gap: 10px; margin-top: 18px; }
.creds li { position: relative; padding-left: 28px; font-weight: 600; line-height: 1.45; color: var(--ink); }
.teacher ul.creds li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 13px; height: 7px; border-left: 2.5px solid var(--gold-deep); border-bottom: 2.5px solid var(--gold-deep); transform: rotate(-45deg); }
.creds small { display: block; margin-top: 2px; font-weight: 400; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 599px) {
  .teacher { grid-template-columns: 1fr; gap: 18px; }
  .avatar { width: 72px; height: 72px; }
  .avatar img { width: 50px; }
}

/* ---------- 예약 카드 (1:1 교육을 한눈에) ---------- */

.ticket { width: min(100%, 360px); padding: 22px 22px 20px; border-radius: 24px; background: var(--dark); color: var(--dark-ink); text-align: left; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.16); }
.linen .ticket { background: #1d1d1f; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.6); }
.ticket-head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.ticket-head img { width: 46px; height: auto; }
.ticket-head b { display: block; font-size: 1.0625rem; letter-spacing: -0.02em; }
.ticket-head small { font-size: 0.8125rem; color: var(--dark-muted); }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin-top: 16px; font-size: 0.9375rem; }
.ticket dt { color: var(--dark-muted); }
.ticket dd { text-align: right; font-weight: 600; }
.ticket-status { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: var(--dark-muted); }
.ticket-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18); }
.tile .ticket { margin-bottom: 44px; }
.hero-art { margin-top: 44px; width: 100%; display: flex; justify-content: center; }

/* ---------- 트레이더 이력 카드 ---------- */

.cred-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 860px) { .cred-grid { grid-template-columns: repeat(4, 1fr); } }
.cred-grid li { display: flex; flex-direction: column; gap: 6px; min-height: 148px; padding: 22px 20px; border-radius: 20px; background: #161617; }
.cred-grid small { font-size: 0.8125rem; color: var(--gold); }
.cred-grid b { font-size: clamp(1.125rem, 2.2vw, 1.375rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.025em; color: #fff; }
.cred-grid span { margin-top: auto; font-size: 0.8125rem; line-height: 1.45; color: var(--dark-muted); }
.trader .section-head h2 { color: #fff; }

/* ---------- 정규과정 숫자 카드 ---------- */

.thumb-num { justify-content: flex-end; gap: 6px; }
.thumb-num .num { font-size: clamp(4.5rem, 10vw, 6.5rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.06em; }
.thumb-num .num small { font-size: 0.32em; letter-spacing: -0.02em; margin-left: 4px; }
.thumb-num .thumb-tag { font-size: 0.875rem; }
.thumb-num .thumb-mark { top: 18px; bottom: auto; width: 58px; }

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

/* ---------- 회사 소개 ---------- */

.pillars { display: grid; gap: 12px; }
@media (min-width: 700px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillars li { padding: 28px 24px 30px; border-radius: 20px; background: var(--bg-alt); }
.pillars svg { width: 30px; height: 30px; color: var(--ink); }
.pillars h3 { margin-top: 18px; font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.02em; }
.pillars p { margin-top: 6px; color: var(--muted); line-height: 1.55; }


/* ---------- 가운데 쇼케이스: 노트북 화면과 영상 ---------- */

.showcase { overflow: hidden; }
.showcase .section-head h2 { color: #fff; }
.laptop { max-width: 980px; margin: 8px auto 0; }
.laptop-screen {
  overflow: hidden;
  border: clamp(7px, 1.3vw, 13px) solid #2c2c2f;
  border-bottom-width: clamp(12px, 2vw, 20px);
  border-radius: clamp(14px, 2vw, 22px) clamp(14px, 2vw, 22px) 0 0;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 40px 120px rgba(201, 169, 106, 0.12);
}
.laptop-screen img { width: 100%; height: auto; }
.laptop-base {
  position: relative;
  height: clamp(10px, 1.5vw, 16px);
  margin: 0 -5%;
  border-radius: 0 0 16px 16px / 0 0 12px 12px;
  background: linear-gradient(#d4d4d8, #8e8e93);
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 14%; height: 45%; transform: translateX(-50%); border-radius: 0 0 8px 8px; background: #9c9ca1; }
.laptop figcaption { margin-top: 18px; text-align: center; font-size: 0.8125rem; color: var(--dark-muted); }

.reel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; margin: 72px 0 18px; }
.reel-head h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.reel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
@media (min-width: 860px) { .reel { grid-template-columns: repeat(4, 1fr); } }
.reel-item { display: grid; align-content: start; gap: 8px; color: var(--dark-ink); text-decoration: none; }
.reel-item img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #1d1d1f; }
.reel-item span { font-size: 0.875rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.reel-item small { font-size: 0.75rem; color: var(--dark-muted); }
.reel-item:hover span { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 699px) {
  .pillars li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 16px; padding: 22px 20px; }
  .pillars svg { grid-row: span 2; }
  .pillars h3 { margin-top: 0; }
}

/* ---------- 연락 버튼 묶음 (왼쪽 아래 고정) ---------- */

.contact-dock { position: fixed; left: 16px; bottom: 20px; z-index: 30; display: grid; gap: 10px; }
.has-bar .contact-dock { bottom: 92px; }
@media (min-width: 960px) { .has-bar .contact-dock { bottom: 20px; } }
.dock-btn { display: block; width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); transition: transform 0.15s ease; }
.dock-btn:hover { transform: scale(1.06); }
.m-icon { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; }
.m-kakao { background: var(--kakao); }
.m-kakao svg { width: 34px; height: 30px; }
.m-telegram { background: #229ed9; }
.m-telegram svg { width: 30px; height: 30px; }
.btn .m-icon { width: 24px; height: 24px; flex: none; }
.btn .m-kakao svg { width: 16px; height: 14px; }
.btn .m-kakao text { display: none; }
.btn .m-telegram svg { width: 16px; height: 16px; }

/* ---------- 떠나기 전 한 번: 매일 코인 정보 받기 카드 ---------- */

.sheet {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  width: min(420px, calc(100% - 24px));
  padding: 26px 24px 20px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.04);
  text-align: center;
  transform: translate(-50%, 24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.25s ease;
}
.sheet.is-open { transform: translate(-50%, 0); opacity: 1; }
.sheet-mark { width: 52px; height: auto; margin: 0 auto 14px; padding: 8px; border-radius: 14px; background: var(--dark); box-sizing: content-box; }
.sheet h2 { font-size: 1.375rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.03em; }
.sheet p { margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.sheet-actions { display: grid; gap: 8px; margin-top: 20px; }
.sheet-actions .btn { width: 100%; }
.sheet .sheet-note { margin-top: 12px; font-size: 0.75rem; }
.sheet-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--bg-alt); font-size: 1.25rem; line-height: 1; color: var(--muted); cursor: pointer; }
.sheet-close:hover { background: #e8e8ed; color: var(--ink); }

/* ================= 칼럼 (/column/) ================= */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.column-list .section-head h1 { font-size: var(--fs-section); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.column-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 40px; }
.column-chip { padding: 8px 16px; border-radius: 980px; background: var(--bg-alt); font-size: 0.9375rem; text-decoration: none; color: var(--muted); }
.column-chip:hover { color: var(--ink); }
.column-chip[aria-current="page"] { background: var(--ink); color: #fff; }
.column-cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .column-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .column-cards { grid-template-columns: repeat(3, 1fr); } }
.column-card { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 26px 24px 28px; border-radius: 20px; background: var(--bg-alt); text-decoration: none; overflow: hidden; }
.section.alt .column-card { background: var(--bg); }
.column-card img { margin: -26px -24px 6px; width: calc(100% + 48px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; }
.column-card h2 { font-size: 1.3125rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.025em; }
.column-card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.column-card:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
.column-meta { display: flex; gap: 10px; font-size: 0.8125rem; color: var(--muted); }
.column-meta span { font-weight: 600; color: var(--gold-deep); }
.column-empty { text-align: center; color: var(--muted); }

/* 글 한 편 */
.post { padding: 64px 0 72px; }
.post-wrap { max-width: 720px; }
.post-crumb { display: flex; gap: 8px; font-size: 0.875rem; color: var(--muted); }
.post-crumb a { text-decoration: none; }
.post-crumb a:hover { color: var(--ink); }
.post h1 { margin-top: 18px; font-size: clamp(2rem, 5.4vw, 3rem); font-weight: 700; line-height: 1.18; letter-spacing: -0.035em; }
.post-lede { margin-top: 16px; font-size: var(--fs-sub); line-height: 1.5; color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.post-cover { margin-top: 32px; }
.post-cover img { width: 100%; border-radius: 18px; }

.prose { margin-top: 36px; font-size: 1.125rem; line-height: 1.85; letter-spacing: -0.01em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 1.625rem; font-weight: 700; line-height: 1.35; letter-spacing: -0.03em; }
.prose h3 { margin-top: 1.6em; font-size: 1.3125rem; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.4em 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); }
.prose a { color: #0066cc; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--bg-alt); font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose figure img { width: 100%; border-radius: 14px; }
.prose figcaption { margin-top: 8px; font-size: 0.875rem; color: var(--muted); text-align: center; }
.prose .embed { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.prose .embed iframe { width: 100%; height: 100%; border: 0; }

.post-cta { margin-top: 56px; padding: 36px 28px; border-radius: 24px; background: var(--dark); color: var(--dark-ink); text-align: center; }
.post-cta h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: #fff; }
.post-cta p { margin-top: 8px; color: var(--dark-muted); }
.post-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.post-cta .btn-ghost { color: var(--dark-ink); box-shadow: inset 0 0 0 1.5px var(--dark-ink); }
.post-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

/* 홈의 최신 칼럼 */
.home-columns .column-cards { margin-top: 8px; }

/* ================= 칼럼 관리 (/admin/) ================= */

.admin-main { padding: 48px 0 96px; min-height: 70vh; }
.admin-narrow { max-width: 460px; }
.admin-narrow h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.035em; }
.admin-narrow .apply { margin-top: 28px; background: var(--bg-alt); }
.admin-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.admin-bar h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.035em; }
.admin-bar-actions { display: flex; align-items: center; gap: 18px; }
.admin-posts { display: grid; gap: 8px; }
.admin-post { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; width: 100%; padding: 18px 20px; border: 0; border-radius: 16px; background: var(--bg-alt); text-align: left; cursor: pointer; }
.admin-post:hover { background: #e8e8ed; }
.admin-post .chip { grid-row: span 2; }
.admin-post b { font-size: 1.0625rem; }
.admin-post small { color: var(--muted); font-size: 0.8125rem; }
.admin-empty { color: var(--muted); }
.save-state { font-size: var(--fs-sm); color: var(--muted); }

.admin-editor { max-width: 860px; }
.editor-title { width: 100%; padding: 8px 0 14px; border: 0; border-bottom: 1px solid var(--line); background: none; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; letter-spacing: -0.03em; }
.editor-title:focus { outline: none; border-bottom-color: #0071e3; }
.editor-grid { display: grid; gap: 0 24px; margin-top: 24px; }
@media (min-width: 760px) { .editor-grid { grid-template-columns: 1fr 1fr; } }
.slug-row { display: flex; align-items: center; min-height: 52px; border: 1px solid #86868b; border-radius: 12px; background: #fff; overflow: hidden; }
.slug-row span { padding: 0 4px 0 14px; font-size: 0.875rem; color: var(--muted); white-space: nowrap; }
.field .slug-row input { min-height: 50px; border: 0; padding: 0 12px 0 0; border-radius: 0; box-shadow: none; }
.field textarea#description { min-height: 76px; }
.segmented-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 479px) { .segmented-4 { grid-template-columns: repeat(2, 1fr); } }

.serp { display: grid; gap: 2px; margin: 4px 0 28px; padding: 18px 20px; border-radius: 16px; background: var(--bg-alt); font-family: Arial, var(--sans); }
.serp small { margin-bottom: 6px; font-size: 0.75rem; color: var(--muted); }
.serp-url { font-size: 0.8125rem; color: #4d5156; }
.serp-title { font-size: 1.25rem; font-weight: 400; color: #1a0dab; }
.serp-desc { font-size: 0.875rem; color: #4d5156; line-height: 1.5; }

.editor-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 980px; background: #e8e8ed; }
.editor-tabs button { padding: 7px 18px; border: 0; border-radius: 980px; background: transparent; font-size: 0.9375rem; color: var(--muted); cursor: pointer; }
.editor-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.toolbar button { padding: 7px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 0.875rem; cursor: pointer; }
.toolbar button:hover { border-color: var(--ink); }
.editor-body { display: block; width: 100%; min-height: 460px; margin-top: 10px; padding: 18px; border: 1px solid #86868b; border-radius: 14px; background: #fff; font-size: 1.0625rem; line-height: 1.75; resize: vertical; }
.editor-body:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.2); }
.editor-preview { min-height: 460px; margin-top: 14px; padding: 8px 4px; }
.editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; }
.link-danger { margin-left: auto; border: 0; background: none; color: var(--danger); font-size: 0.9375rem; cursor: pointer; }
.link-danger:hover { text-decoration: underline; }
.admin .site-header .btn { margin-left: auto; }
