/* ==========================================================================
   AILO IT I04 — 코드브루 (개발 에이전시)
   원형: 코드 에디터 테마(줄번호 거터·탭·상태 표시줄) / 타이포: Fira Code(코드·라벨) + Pretendard(한글 제목·본문) / 컬러: 다크 에디터 + 신택스 컬러
   2026-11 고도화: 글자 크기만 조정(본문 16~17px, 코드 15px, 보조 14px) — 한글 코딩 서체를 Pretendard 로
   ========================================================================== */
:root {
  --ailo-bg: #15171d;
  --ailo-fg: #d8dbe2;
  --ailo-muted: #8d95a5;
  --ailo-line: #262a33;
  --ailo-accent: #ffb86b;
  --ailo-accent-ink: #15171d;
  --i04-panel: #1b1e25;
  --i04-panel-2: #20242c;
  --i04-chrome: #0f1115;
  --i04-kw: #ff7ab2;
  --i04-st: #b5e48c;
  --i04-fn: #7cc4ff;
  --i04-nu: #ffb86b;
  --i04-ty: #4fd6be;
  --i04-cm: #6f7a8c;
  --i04-pn: #a4acbb;
  --i04-red: #ff6b6b;
  --i04-mono: "Fira Code", "Pretendard Variable", Pretendard, ui-monospace, monospace;
  --i04-kmono: "Pretendard Variable", Pretendard, sans-serif;
  --i04-lh: 28px;
  --i04-gut: 64px;
  --ailo-header-h: 52px;
  --i04-status: 26px;
}
body { background: var(--ailo-bg); padding-bottom: var(--i04-status); }
::selection { background: rgba(124, 196, 255, .3); }

/* 신택스 토큰 */
.kw { color: var(--i04-kw); }
.st { color: var(--i04-st); }
.fn { color: var(--i04-fn); }
.nu { color: var(--i04-nu); }
.ty { color: var(--i04-ty); }
.pn { color: var(--i04-pn); }
.cm { color: var(--i04-cm); font-style: italic; }
.pr { color: var(--i04-ty); }
.hl { color: var(--i04-kw); }
.caret-blink { display: inline-block; width: .55em; height: 1em; vertical-align: -.12em; background: var(--ailo-accent); animation: i04-blink 1.05s steps(1) infinite; }
@keyframes i04-blink { 50% { opacity: 0; } }

/* 파일 아이콘 배지 */
.ft { display: inline-grid; place-items: center; min-width: 22px; height: 16px; padding: 0 3px; margin-right: 8px; border-radius: 3px; font-family: var(--i04-mono); font-style: normal; font-size: .58rem; font-weight: 700; color: #111; vertical-align: 1px; }
.ft--md { background: #7cc4ff; } .ft--ts { background: #3b8eea; color: #fff; } .ft--js { background: #f5d76e; } .ft--yml { background: #ff7ab2; } .ft--sh { background: #b5e48c; }

/* ---------- Buttons ---------- */
.cb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border-radius: 6px; font-family: var(--i04-kmono); font-weight: 700; font-size: 1rem; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s, box-shadow .2s; white-space: nowrap; }
.cb-btn i { font-size: .75em; }
.cb-btn--run { background: var(--ailo-accent); color: var(--ailo-accent-ink); box-shadow: 0 0 0 0 rgba(255, 184, 107, .5); }
.cb-btn--run:hover { color: var(--ailo-accent-ink); background: #ffc98b; box-shadow: 0 0 0 4px rgba(255, 184, 107, .2); }
.cb-btn--ghost { border-color: #3a404c; color: var(--ailo-fg); background: var(--i04-panel); }
.cb-btn--ghost:hover { border-color: var(--i04-fn); color: var(--i04-fn); }
.cb-btn--block { width: 100%; }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--ailo-header-h); background: var(--i04-chrome); border-bottom: 1px solid var(--ailo-line); }
.hd.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.hd__bar { height: 100%; display: flex; align-items: stretch; }
.logo { flex: none; display: flex; align-items: center; gap: 2px; padding: 0 20px; min-width: 200px; font-family: var(--i04-mono); font-weight: 700; color: #fff; border-right: 1px solid var(--ailo-line); }
.logo__b { color: var(--ailo-accent); }
.logo__t { margin-left: 10px; font-weight: 500; color: var(--ailo-muted); font-size: 1rem; }
.tabs { display: flex; flex: 1; min-width: 0; overflow: hidden; }
.tab { position: relative; display: flex; align-items: center; padding: 0 18px; font-family: var(--i04-mono); font-size: .9375rem; color: var(--ailo-muted); border-right: 1px solid var(--ailo-line); white-space: nowrap; transition: background .15s, color .15s; }
.tab:hover { background: var(--i04-panel); color: var(--ailo-fg); }
.tab.is-on { background: var(--ailo-bg); color: #fff; }
.tab.is-on::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ailo-accent); }
.tab.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ailo-bg); }
.hd__cta { align-self: center; margin: 0 16px 0 auto; min-height: 36px; padding: 0 16px; font-size: .9375rem; }
.ailo-burger { color: #fff; align-self: center; }

.mnav { background: var(--i04-panel); padding: calc(var(--ailo-header-h) + 12px) 0 40px; font-family: var(--i04-mono); }
.mnav__root { padding: 10px 20px; color: var(--ailo-fg); font-size: 1rem; }
.mnav__root i { color: var(--ailo-muted); font-size: .75rem; margin-right: 4px; }
.mnav__in > a:not(.cb-btn) { display: flex; align-items: center; padding: 13px 20px 13px 48px; font-size: 1.0625rem; color: var(--ailo-fg); border-left: 2px solid transparent; }
.mnav__in > a:not(.cb-btn):hover, .mnav__in > a:not(.cb-btn):focus-visible { background: var(--i04-panel-2); border-left-color: var(--ailo-accent); }
.mnav__in .cb-btn { margin: 24px 20px 0; display: flex; }

@media (max-width: 1199.98px) { .tab:nth-child(n+5) { display: none; } }
@media (max-width: 991.98px) {
  .tabs, .hd__cta { display: none; }
  .logo { border-right: 0; min-width: 0; }
  .ailo-burger { margin-left: auto; margin-right: 6px; }
}

/* ---------- Editor body + gutter ---------- */
.ed { position: relative; padding-top: var(--ailo-header-h); padding-left: var(--i04-gut); }
.gutter { position: absolute; left: 0; top: 0; bottom: 0; width: var(--i04-gut); overflow: hidden; border-right: 1px solid var(--ailo-line); background: #121419; pointer-events: none; }
.gutter pre { margin: 0; padding: 0 14px 0 0; text-align: right; font-family: var(--i04-mono); font-size: .875rem; line-height: var(--i04-lh); color: #474e5c; white-space: pre; overflow: hidden; }
.gutter__cur { position: absolute; left: 0; top: 0; width: 100%; height: var(--i04-lh); background: rgba(255, 184, 107, .12); border-left: 2px solid var(--ailo-accent); transition: transform .12s linear; }
.blk { position: relative; max-width: 1280px; padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 64px); border-bottom: 1px dashed var(--ailo-line); }
.sec-c { font-family: var(--i04-mono); font-size: .9375rem; margin-bottom: 18px; }
.h2 { font-family: var(--i04-kmono); font-size: clamp(1.6rem, 1rem + 2.3vw, 2.7rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.35; color: #f1f3f7; }
.h2--close { margin-top: 28px; }
.txt { margin-top: 20px; color: #a3aab8; line-height: 1.75; font-size: 1.0625rem; max-width: 560px; }
.code { margin: 0; padding: 18px 20px; background: var(--i04-panel); font-family: var(--i04-mono); font-size: .9375rem; line-height: 1.85; color: var(--ailo-fg); overflow-x: auto; tab-size: 2; }
.code .ln { display: inline-block; width: 2ch; margin-right: 18px; color: #474e5c; text-align: right; user-select: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 104px); }
.hero > .cm { font-family: var(--i04-mono); font-size: 1rem; }
.hero__t { margin-top: 18px; font-family: var(--i04-kmono); font-size: clamp(2.4rem, 1rem + 5.6vw, 5.6rem); font-weight: 700; line-height: 1.12; letter-spacing: -.04em; color: #fff; }
.hero__t .fn { font-family: var(--i04-mono); font-weight: 600; letter-spacing: -.05em; }
.hero__t .caret-blink { width: .08em; margin: 0 .04em; }
.hero__lead { margin-top: 24px; max-width: 640px; color: #a3aab8; font-size: 1.125rem; line-height: 1.7; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__btns .cb-btn--ghost { font-family: var(--i04-mono); font-weight: 500; }
.hero__panes { display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.pane { border: 1px solid var(--ailo-line); border-radius: 10px; overflow: hidden; background: var(--i04-panel); min-width: 0; }
.pane__tab { display: flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; background: var(--i04-chrome); border-bottom: 1px solid var(--ailo-line); font-family: var(--i04-mono); font-size: .875rem; color: var(--ailo-muted); }
.pane__tab i.fa-terminal { margin-right: 6px; }
.pane__dot { width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--ailo-fg); opacity: .5; }
.pane--code .code { border-radius: 0; }
.term { padding: 16px 18px; font-family: var(--i04-mono); font-size: .9375rem; line-height: 1.9; color: var(--ailo-fg); background: #111318; height: calc(100% - 38px); }
.term .ok { color: var(--i04-st); margin-right: 6px; }
.term p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term .t1, .term .t2, .term .t3, .term .t4, .term .t5 { opacity: 0; animation: i04-line .01s forwards; }
.term .t1 { animation-delay: 1s; } .term .t2 { animation-delay: 1.7s; } .term .t3 { animation-delay: 2.4s; } .term .t4 { animation-delay: 3.3s; } .term .t5 { animation-delay: 3.9s; }
@keyframes i04-line { to { opacity: 1; } }
@media (max-width: 991.98px) { .hero__panes { grid-template-columns: 1fr; } }

/* ---------- Clients ---------- */
.clients { padding-block: clamp(48px, 6vw, 72px); }
.clients > h2 { font-family: var(--i04-mono); font-size: .9375rem; font-weight: 400; margin-bottom: 16px; }
.clients__imp { font-family: var(--i04-mono); font-size: 1.0625rem; }
.clients__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 12px 0 12px 2ch; background: var(--ailo-line); border: 1px solid var(--ailo-line); }
.clients__list li { display: flex; align-items: center; gap: 10px; padding: 22px 20px; background: var(--ailo-bg); font-family: var(--i04-kmono); font-weight: 700; font-size: 1.0625rem; color: #aab1be; transition: background .2s, color .2s; }
.clients__list li::after { content: ","; color: var(--i04-pn); margin-left: -6px; }
.clients__list li i { color: #59606e; transition: color .2s; }
.clients__list li:hover { background: var(--i04-panel); color: #fff; }
.clients__list li:hover i { color: var(--i04-ty); }
@media (max-width: 767.98px) { .clients__list { grid-template-columns: 1fr 1fr; margin-left: 0; } .clients__list li { padding: 16px 14px; font-size: 1rem; } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.code--doc { border: 1px solid var(--ailo-line); border-radius: 10px; font-size: .9375rem; white-space: pre; }
@media (max-width: 991.98px) { .about__grid { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.svc { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 0 2ch; }
.svc__item { position: relative; padding: 26px 26px 24px; border: 1px solid var(--ailo-line); border-radius: 10px; background: var(--i04-panel); transition: border-color .2s, background .2s, translate .25s var(--ailo-ease); }
.svc__item::after { content: ","; position: absolute; right: -10px; bottom: -4px; font-family: var(--i04-mono); color: var(--i04-pn); }
.svc__item:hover { border-color: #3d4350; background: var(--i04-panel-2); translate: 0 -3px; }
.svc__item:hover .svc__sig { color: #fff; }
.svc__sig { font-family: var(--i04-mono); font-size: 1rem; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--ailo-line); }
.svc__item h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; color: #f1f3f7; margin-bottom: 8px; }
.svc__item > p:not(.svc__sig) { color: var(--ailo-muted); font-size: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-family: var(--i04-mono); font-size: .875rem; padding: 3px 9px; border-radius: 4px; background: rgba(79, 214, 190, .1); color: var(--i04-ty); border: 1px solid rgba(79, 214, 190, .25); }
@media (max-width: 767.98px) { .svc { grid-template-columns: 1fr; margin-left: 0; } }

/* ---------- Process (git log) ---------- */
.glog { position: relative; margin-top: 36px; }
.glog::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--i04-ty), var(--i04-fn), var(--ailo-accent)); }
.glog li { position: relative; display: grid; grid-template-columns: 100px 110px 1fr; gap: 20px; align-items: baseline; padding: 0 0 30px 40px; }
.glog li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ailo-bg); border: 2px solid var(--i04-ty); }
.glog li:last-child::before { background: var(--ailo-accent); border-color: var(--ailo-accent); box-shadow: 0 0 0 5px rgba(255, 184, 107, .2); }
.glog__h { font-family: var(--i04-mono); font-size: .9375rem; color: var(--i04-nu); }
.glog__h--head { color: var(--ailo-accent-ink); background: var(--ailo-accent); padding: 1px 8px; border-radius: 4px; justify-self: start; font-weight: 600; }
.glog__tag { font-family: var(--i04-mono); font-size: .875rem; color: var(--ailo-muted); }
.glog h3 { font-family: var(--i04-kmono); font-size: 1.12rem; font-weight: 700; color: #f1f3f7; }
.glog p { margin-top: 4px; color: var(--ailo-muted); font-size: 1rem; }
@media (max-width: 767.98px) {
  .glog li { grid-template-columns: auto 1fr; gap: 4px 12px; padding-left: 34px; }
  .glog li > div { grid-column: 1 / -1; }
}

/* ---------- Numbers ---------- */
.nums { padding-block: clamp(48px, 6vw, 80px); }
.nums__tbl { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ailo-line); border-radius: 10px; overflow: hidden; background: var(--i04-panel); }
.nums__tbl > div { padding: 24px 22px; border-right: 1px solid var(--ailo-line); }
.nums__tbl > div:last-child { border-right: 0; }
.nums__k { display: block; font-family: var(--i04-mono); font-size: .875rem; color: var(--i04-fn); }
.nums__tbl b { display: block; margin-top: 8px; font-family: var(--i04-mono); font-weight: 600; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); letter-spacing: -.04em; line-height: 1.1; }
@media (max-width: 767.98px) {
  .nums__tbl { grid-template-columns: 1fr 1fr; }
  .nums__tbl > div:nth-child(2) { border-right: 0; }
  .nums__tbl > div:nth-child(-n+2) { border-bottom: 1px solid var(--ailo-line); }
}

/* ---------- Work ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.case { border: 1px solid var(--ailo-line); border-radius: 10px; overflow: hidden; background: var(--i04-panel); transition: border-color .2s, translate .25s var(--ailo-ease); }
.case:hover { border-color: var(--i04-fn); translate: 0 -4px; }
.case__img { position: relative; aspect-ratio: 800 / 520; overflow: hidden; }
.case__img img { filter: grayscale(1) contrast(1.1) brightness(.8); transition: filter .4s, transform .6s var(--ailo-ease); }
.case:hover .case__img img { filter: none; transform: scale(1.04); }
.case__img::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); pointer-events: none; }
.case__k { position: absolute; left: 12px; top: 12px; z-index: 1; font-family: var(--i04-mono); font-size: .875rem; padding: 3px 9px; border-radius: 4px; background: rgba(15, 17, 21, .85); color: var(--i04-st); }
.case__json { margin: 0; padding: 16px 18px; font-family: var(--i04-mono); font-size: .875rem; line-height: 1.75; color: var(--ailo-fg); white-space: pre-wrap; word-break: keep-all; }
@media (max-width: 991.98px) { .cases { grid-template-columns: 1fr; max-width: 560px; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.plan { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--ailo-line); border-radius: 10px; background: var(--i04-panel); }
.plan--hi { border-color: var(--ailo-accent); background: linear-gradient(180deg, rgba(255, 184, 107, .08), transparent 60%), var(--i04-panel); }
.plan__file { font-family: var(--i04-mono); font-size: .875rem; color: var(--ailo-muted); padding-bottom: 14px; border-bottom: 1px solid var(--ailo-line); display: flex; align-items: center; }
.plan__mod { margin-left: auto; color: var(--ailo-accent); }
.plan h3 { margin-top: 18px; font-family: var(--i04-kmono); font-size: 1.2rem; font-weight: 700; color: #fff; }
.plan__price { margin: 12px 0 10px; font-family: var(--i04-kmono); font-weight: 700; font-size: 1.0625rem; color: var(--ailo-fg); }
.plan__price .nu { font-family: var(--i04-mono); font-size: 2.2rem; letter-spacing: -.04em; margin-right: 2px; }
.plan__price small { display: block; font-weight: 400; color: var(--ailo-muted); font-size: .875rem; margin-top: 2px; }
.plan__d { flex: 1; color: var(--ailo-muted); font-size: 1rem; margin-bottom: 22px; }
@media (max-width: 991.98px) { .plans { grid-template-columns: 1fr; } }

.diff { margin-top: 18px; border: 1px solid var(--ailo-line); border-radius: 10px; overflow: hidden; background: var(--i04-panel); }
.diff__head { padding: 12px 16px; background: var(--i04-chrome); border-bottom: 1px solid var(--ailo-line); font-family: var(--i04-mono); font-size: .875rem; color: var(--ailo-muted); }
.diff__head i { margin-right: 6px; }
.diff__scroll { overflow-x: auto; }
.diff table { width: 100%; min-width: 680px; border-collapse: collapse; font-family: var(--i04-kmono); font-size: 1rem; }
.diff th, .diff td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--ailo-line); }
.diff thead th { font-family: var(--i04-mono); font-size: .9375rem; color: #fff; font-weight: 600; }
.diff tbody th { font-weight: 400; color: var(--ailo-fg); }
.diff tbody tr:last-child > * { border-bottom: 0; }
.diff .add { color: var(--i04-st); background: rgba(181, 228, 140, .06); }
.diff .del { color: var(--i04-red); background: rgba(255, 107, 107, .06); }
.diff .neu { color: var(--ailo-muted); }
.diff .hi { box-shadow: inset 2px 0 0 var(--ailo-accent); }

/* ---------- News ---------- */
.news__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.more { font-family: var(--i04-kmono); font-weight: 700; color: var(--i04-fn); }
.more:hover { color: #fff; }
.clog { margin-top: 28px; border-top: 1px solid var(--ailo-line); }
.clog a { display: grid; grid-template-columns: 70px 72px 1fr auto; align-items: center; gap: 18px; padding: 20px 12px; border-bottom: 1px solid var(--ailo-line); transition: background .15s; }
.clog a:hover { background: var(--i04-panel); }
.clog a:hover strong { color: var(--ailo-accent); }
.clog__v { font-family: var(--i04-mono); font-size: .9375rem; color: var(--i04-nu); }
.clog__type { justify-self: start; font-family: var(--i04-kmono); font-size: .875rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.t-news { background: rgba(124, 196, 255, .14); color: var(--i04-fn); } .t-blog { background: rgba(181, 228, 140, .14); color: var(--i04-st); } .t-hire { background: rgba(255, 122, 178, .14); color: var(--i04-kw); } .t-note { background: rgba(164, 172, 187, .14); color: var(--i04-pn); }
.clog strong { font-weight: 600; color: #eef0f4; font-size: 1.0625rem; transition: color .15s; }
.clog time { font-family: var(--i04-mono); font-size: .875rem; color: var(--ailo-muted); }
@media (max-width: 767.98px) {
  .clog a { grid-template-columns: auto auto 1fr; gap: 6px 12px; }
  .clog strong { grid-column: 1 / -1; }
  .clog time { grid-column: 3; grid-row: 1; justify-self: end; }
}

/* ---------- FAQ (fold) ---------- */
.fold { margin-top: 28px; border: 1px solid var(--ailo-line); border-radius: 10px; overflow: hidden; background: var(--i04-panel); }
.fold__item + .fold__item { border-top: 1px solid var(--ailo-line); }
.fold__item h3 { margin: 0; font-size: inherit; }
.fold__q { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 0; background: transparent; text-align: left; font-family: var(--i04-kmono); font-weight: 700; font-size: 1.0625rem; color: #eef0f4; transition: background .15s; }
.fold__q:hover { background: var(--i04-panel-2); }
.fold__q > i { flex: none; font-size: .7rem; color: var(--ailo-muted); transition: rotate .2s; }
.fold__q[aria-expanded="true"] > i { rotate: 90deg; color: var(--ailo-accent); }
.fold__more { margin-left: auto; font-family: var(--i04-mono); font-size: .875rem; padding: 0 6px; border-radius: 4px; background: var(--i04-chrome); color: var(--ailo-muted); }
.fold__q[aria-expanded="true"] .fold__more { display: none; }
.fold__a { padding: 0 20px 20px 46px; color: var(--ailo-muted); border-left: 1px dashed #3a404c; margin-left: 24px; }
.fold__a p::before { content: "// "; color: var(--i04-cm); font-family: var(--i04-mono); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact__info { margin-top: 28px; display: grid; gap: 10px; font-family: var(--i04-mono); font-size: 1rem; }
.contact__info .cm { display: inline-block; min-width: 92px; }
.term-form { border: 1px solid #333945; border-radius: 10px; overflow: hidden; background: #111318; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.term-form__bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--i04-chrome); border-bottom: 1px solid var(--ailo-line); font-family: var(--i04-mono); font-size: .875rem; color: var(--ailo-muted); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; }
.win-dots i:nth-child(2) { background: #f5d76e; } .win-dots i:nth-child(3) { background: #b5e48c; }
.term-form__body { padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.tf { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.tf label, .tf legend { font-family: var(--i04-kmono); font-weight: 700; font-size: 1rem; color: var(--ailo-fg); }
.tf legend { float: none; width: 100%; padding: 0; margin-bottom: 6px; }
.tf input:not([type="checkbox"]), .tf select, .tf textarea { width: 100%; min-height: 44px; padding: 10px 12px 10px 30px; border: 1px solid #2c313b; border-radius: 6px; background: var(--i04-panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M2 1l4 4-4 4' fill='none' stroke='%234fd6be' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat 12px 17px; font-family: var(--i04-kmono); font-size: 1rem; color: #fff; transition: border-color .15s, box-shadow .15s; }
.tf select { appearance: none; }
.tf textarea { resize: vertical; }
.tf input::placeholder, .tf textarea::placeholder { color: #5b6270; }
.tf input:focus, .tf select:focus, .tf textarea:focus { outline: none; border-color: var(--ailo-accent); box-shadow: 0 0 0 3px rgba(255, 184, 107, .15); }
.tf select option { background: var(--i04-panel); }
.tf--check { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tf--check label { display: inline-flex; align-items: center; gap: 0; cursor: pointer; font-family: var(--i04-mono); font-weight: 500; }
.tf--check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tf--check label > span::before { content: "[ ] "; color: var(--ailo-muted); white-space: pre; }
.tf--check label > input:checked + span::before { content: "[x] "; color: var(--i04-st); }
.tf--check input:checked + span { color: #fff; }
.tf--check input:focus-visible + span { outline: 2px solid var(--ailo-accent); outline-offset: 2px; }
.tf-agree { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--ailo-fg); cursor: pointer; }
.tf-agree input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ailo-accent); }
@media (max-width: 991.98px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.foot { padding-left: var(--i04-gut); background: var(--i04-chrome); border-top: 1px solid var(--ailo-line); }
.foot__in { max-width: 1280px; padding: 48px clamp(20px, 4vw, 64px) 32px; }
.foot__eof { font-family: var(--i04-mono); font-size: 1rem; color: var(--ailo-muted); }
.foot__grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ailo-line); font-size: .9375rem; color: var(--ailo-muted); }
.foot__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.foot__links a:hover { color: var(--ailo-accent); }
.foot__links b { color: #fff; }
.foot__copy { margin-top: 18px; font-family: var(--i04-mono); font-size: .875rem; color: #5b6270; }

/* ---------- Status bar ---------- */
.status { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: var(--i04-status); display: flex; align-items: center; gap: 18px; padding: 0 14px; background: #2b2f38; font-family: var(--i04-mono); font-size: .8125rem; color: #c9ced8; white-space: nowrap; overflow: hidden; }
.status__branch { background: var(--ailo-accent); color: var(--ailo-accent-ink); margin-left: -14px; padding: 0 12px; height: 100%; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.status__file { color: #fff; }
.status__pos { margin-left: auto; }
.status__live { display: flex; align-items: center; gap: 6px; color: var(--i04-st); }
.status__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--i04-st); animation: i04-blink 1.6s steps(1) infinite; }
html.nav-open .status { z-index: 0; }

@media (max-width: 767.98px) {
  :root { --i04-gut: 36px; }
  .gutter pre { font-size: .75rem; padding-right: 6px; }
  .blk { padding-inline: 16px; }
  .foot__in { padding-inline: 16px; }
  .status__enc, .status__live, .status > span:nth-child(2) { display: none; }
  .code { font-size: .875rem; padding: 14px; }
  .code .ln { margin-right: 10px; }
}
