/* TeamBro 소개 사이트 공통 스타일 (2026-11-15) — 페이지는 build/site/build-site.mjs 가 만든다. 앱 화면(css/styles.css)과는 따로다. */
:root {
  --bg: #fcfcfd; --surface: #f4f4f6; --ink: #0d0d12; --ink-2: #3c3f4a; --muted: #6b6f7b; --line: #e6e7eb;
  --brand: #2f6bea; --accent: #3b5bdb; --dark: #0d0d12;
  /* 로고 글자를 칠하는 바탕 = 앱 아이콘 바탕(build/make-brand-icons.mjs · css/zds.css --z-brand-grad 와 같은 색) */
  --brand-grad: radial-gradient(75% 120% at 6% 0%, #5b7cf7 0%, rgba(91, 124, 247, 0) 100%), radial-gradient(60% 120% at 96% 100%, #22c1ee 0%, rgba(34, 193, 238, 0) 100%), linear-gradient(100deg, #2456d6 0%, #3b82f6 50%, #38a7f5 100%);
  --wrap: 1360px; --gutter: 28px; --radius: 22px; --hd: 64px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; letter-spacing: -0.01em; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .15s; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap; transition: background .15s, border-color .15s, transform .15s; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #2a2b33; }
.btn-line { border: 1px solid #d5d6dc; background: #fff; }
.btn-line:hover { border-color: var(--ink); }
.btn-s { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn .ic { width: 16px; height: 16px; }
.lnk { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.lnk .ic { width: 15px; height: 15px; transition: transform .15s; }
.lnk:hover .ic { transform: translateX(3px); }
.lnk:hover { text-decoration: underline; text-underline-offset: 4px; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* 머리글 */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(252, 252, 253, .88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.hd.is-stuck, .hd.is-open { border-bottom-color: var(--line); }
.hd-in { display: flex; align-items: center; gap: 20px; height: var(--hd); width: min(100% - 40px, 1440px); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; }
/* 로고 글자 — 아이콘 바탕 색으로 글자를 채운다. 글자 채우기를 못 하는 브라우저에서는 보라 한 색 */
/*   글자 사이를 좁힌 만큼 상자가 글자보다 좁아져 마지막 글자 오른쪽이 잘린다 → 오른쪽에 여유를 둔다 */
.brand span { display: inline-block; padding: 0 0.1em 0 0.02em; font-weight: 800; font-size: 21px; letter-spacing: -0.035em; color: #2f6bea; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
}
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav > a, .nav-dd > button { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 13px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
/* 메뉴 글자가 줄바꿈되지 않게 — 영어·일본어는 글자가 길어 'Pricin g'처럼 갈라졌다(2026-11-17 설명서 메뉴 추가 때). 중간 폭에서는 간격을 좁힌다 */
.nav > a, .nav-dd > button, .brand, .hd-act > * { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 1600px) { .nav > a, .nav-dd > button { padding: 0 9px; font-size: 14px; } .hd-in { gap: 14px; } }
html:not([lang="ko"]) .nav > a, html:not([lang="ko"]) .nav-dd > button { padding: 0 9px; font-size: 14px; } html:not([lang="ko"]) .hd-in { gap: 14px; }
@media (max-width: 1320px) { .hd-act .hd-lang { display: none; } }
/* 영어·일본어는 메뉴 글자가 길어 1420px 아래에서 넘친다 → 더 일찍 햄버거 메뉴로 */
@media (max-width: 1420px) { html:not([lang="ko"]) .nav { display: none; } html:not([lang="ko"]) .burger { display: inline-flex; } html:not([lang="ko"]) .hd-act { margin-left: auto; } }
.nav > a:hover, .nav-dd > button:hover, .nav-dd > button[aria-expanded="true"] { background: #eeeef2; color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-dd > button .ic { width: 13px; height: 13px; transition: transform .2s; }
.nav-dd > button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-dd { position: static; }
.dd { position: absolute; left: 0; right: 0; top: var(--hd); background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(15, 15, 40, .18); }
.dd-in { width: min(100% - 48px, 1180px); margin-inline: auto; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px 40px; padding: 30px 0 38px; }
.dd-col h3 { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 10px; padding-left: 12px; }
.dd-col a { display: block; padding: 10px 12px; border-radius: 12px; }
.dd-col a:hover { background: var(--surface); }
.dd-col a b { display: block; font-size: 15.5px; font-weight: 600; }
.dd-col a span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.hd-act { display: flex; align-items: center; gap: 8px; }
.hd-act .login { padding: 0 10px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hd-act .login:hover { color: var(--ink); }
/* 언어 고르기(2026-11-16 3개 국어) — 머리글은 KO/EN/JA 짧게, 휴대폰 메뉴·바닥글은 세 이름을 나란히 */
.hd-lang { position: relative; }
.hd-lang summary { display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; list-style: none; }
.hd-lang summary::-webkit-details-marker { display: none; }
.hd-lang summary:hover, .hd-lang[open] summary { background: #eeeef2; color: var(--ink); }
.hd-lang summary .ic { width: 17px; height: 17px; }
.hd-lang summary .dn { width: 13px; height: 13px; opacity: .6; }
.hd-lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 150px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px -16px rgba(15, 15, 40, .28), 0 0 0 1px rgba(13, 13, 18, .06); }
.hd-lang-list a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.hd-lang-list a:hover { background: var(--surface); color: var(--ink); }
.hd-lang-list a[aria-current="true"], .lang-sw a[aria-current="true"] { color: var(--ink); font-weight: 700; }
.lang-sw { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.lang-sw a { font-size: 14px; color: var(--muted); }
.lang-sw a:hover { color: var(--ink); }
.ft-lang .ic { width: 16px; height: 16px; color: var(--muted); margin-right: -6px; }
.mnav .m-lang { margin-top: 18px; gap: 8px; }
.mnav .m-lang a { display: inline-flex; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.mnav .m-lang a[aria-current="true"] { border-color: var(--ink); }
/* 일본어는 띄어쓰기가 없어 keep-all 이면 줄이 안 끊긴다 — 일본어 줄바꿈 규칙과 글꼴(Pretendard 에 가나가 없다) */
html[lang="ja"] body { word-break: normal; line-break: strict; --font: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif; font-family: var(--font); }
html[lang="ja"] :is(h1, h2, h3, h4, .lead, .eyebrow, .btn, .note, p, li, summary, b) { word-break: auto-phrase; }   /* 구절 단위로 끊기(크롬 119~), 못 하는 브라우저는 normal */
.burger { display: none; width: 40px; height: 40px; border-radius: 999px; align-items: center; justify-content: center; }
.burger .ic { width: 22px; height: 22px; }
.burger .x { display: none; }
.hd.is-open .burger .x { display: block; }
.hd.is-open .burger .m { display: none; }
.mnav { border-top: 1px solid var(--line); background: #fff; max-height: calc(100dvh - var(--hd)); overflow-y: auto; padding: 8px 20px 28px; }
.mnav h3 { margin: 18px 0 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mnav a { display: block; padding: 11px 0; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mnav .btns { margin-top: 20px; }
.mnav .btns a { border: 0; padding: 0 22px; display: inline-flex; font-size: 15px; }
.mnav .btn-line { border: 1px solid #d5d6dc; }

/* 구역 공통 */
.sec { padding: 104px 0; }
.sec-tight { padding: 64px 0; }
.sec-surface { background: var(--surface); }
.sec-dark { background: var(--dark); color: #fff; }
.head { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.head-left { margin-left: 0; text-align: left; }
.eyebrow { display: inline-block; margin-bottom: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.9vw, 48px); line-height: 1.18; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; }
.h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.3; letter-spacing: -0.03em; font-weight: 600; text-wrap: balance; }
html[lang="en"] .h1 { font-size: clamp(34px, 4.3vw, 54px); }
html[lang="en"] .h2 { font-size: clamp(28px, 3.3vw, 42px); }
.lead { margin-top: 20px; font-size: clamp(16px, 1.45vw, 18.5px); line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.head .btns { justify-content: center; margin-top: 30px; }
.head-left .btns { justify-content: flex-start; }
.note { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* 그림 틀 — 실제 화면을 옅은 색 바탕 위 '창' 안에 통째로 보여 준다(2026-11-16: 예전엔 정사각형 틀에 잘려 일부만 보였다) */
.frame { position: relative; border-radius: var(--radius); padding: clamp(12px, 3%, 40px); isolation: isolate; }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; }
.g-violet::before { background: radial-gradient(90% 80% at 15% 10%, #e3ecff 0%, transparent 60%), linear-gradient(135deg, #bcd4ff 0%, #cfe2ff 48%, #d5f0ff 100%); }
.g-sky::before { background: radial-gradient(80% 70% at 85% 10%, #e0f4ff 0%, transparent 60%), linear-gradient(135deg, #b7d8ff 0%, #c6dcff 55%, #d6e8ff 100%); }
.g-peach::before { background: radial-gradient(80% 70% at 10% 90%, #d6e6ff 0%, transparent 60%), linear-gradient(135deg, #cfe9ff 0%, #dcefff 45%, #d3e0ff 100%); }
.g-mint::before { background: radial-gradient(80% 70% at 90% 90%, #d6e2ff 0%, transparent 60%), linear-gradient(135deg, #c2efe6 0%, #c9e8fb 55%, #d3e2ff 100%); }
.g-ink::before { background: radial-gradient(70% 70% at 20% 10%, #24407a 0%, transparent 60%), linear-gradient(135deg, #131a2a 0%, #17253d 60%, #1c3050 100%); }
/* 창 */
.win { position: relative; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 34px 80px -36px rgba(15, 35, 80, .5), 0 0 0 1px rgba(13, 13, 18, .07); }
.win-bar { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; background: #f1f2f6; border-bottom: 1px solid #e3e5ea; }
.win-bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #d3d6de; }
.win-view { position: relative; aspect-ratio: var(--r, 1.6); overflow: hidden; background: #fff; }
.win-view > .shot, .win-view > .clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.win-view > .shot[data-zoom] { cursor: zoom-in; }
/* 넘어가는 그림 — 창 머리의 단추로 고르고, 보이는 동안 저절로 넘어간다 */
.win-tabs { display: flex; gap: 2px; margin: 4px auto 4px 14px; padding: 2px; border-radius: 999px; background: #e3e5ec; }
.win-tabs button { padding: 3px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); line-height: 1.5; white-space: nowrap; }
.win-tabs button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(13, 13, 18, .14); }
.win[data-slides] .shot { opacity: 0; transition: opacity .55s ease; }
.win[data-slides] .shot[data-on] { opacity: 1; }
/* 한 지점으로 천천히 다가갔다 돌아오기 — 화면에 보일 때만(.is-live) */
@keyframes tb-focus { 0%, 26% { transform: scale(1); } 40%, 78% { transform: scale(var(--fs, 1.7)); } 92%, 100% { transform: scale(1); } }
.frame.is-live .shot[data-focus] { transform-origin: var(--fx, 50%) var(--fy, 50%); animation: tb-focus 11s cubic-bezier(.6, 0, .2, 1) infinite; will-change: transform; }
/* 영상 멈춤 단추 */
.clip-ctl { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(13, 13, 18, .62); color: #fff; opacity: 0; transition: opacity .15s; }
.win:hover .clip-ctl, .clip-ctl:focus-visible, .clip-ctl.is-paused { opacity: 1; }
.clip-ctl .ic { width: 16px; height: 16px; stroke-width: 2.4; }
.clip-ctl .play { display: none; fill: currentColor; stroke: none; }
.clip-ctl.is-paused .play { display: block; }
.clip-ctl.is-paused .pause, .clip-ctl.is-paused .s-pause, .clip-ctl:not(.is-paused) .s-play { display: none; }
/* 휴대폰 화면·세로 창 */
.frame.phone { display: grid; place-items: center; padding: 6% 0; }
.frame.phone .shot { width: min(46%, 280px); height: auto; border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(15, 35, 80, .45), 0 0 0 7px #101016; }
.frame.panel .shot { width: min(56%, 400px); border-radius: 16px; box-shadow: 0 30px 60px -26px rgba(15, 35, 80, .4), 0 0 0 1px rgba(13, 13, 18, .06); }
.frame.phones { display: flex; justify-content: center; align-items: center; gap: 4%; padding: 6% 5%; aspect-ratio: var(--ar, auto); }
.frame.phones .shot { width: 27%; max-width: 250px; height: auto; border-radius: 22px; box-shadow: 0 26px 50px -24px rgba(15, 35, 80, .45), 0 0 0 6px #101016; }
.frame.phones .shot:nth-child(2) { transform: translateY(-5%); }
/* 말풍선 — 창 위에 걸쳐 놓는다. 글자가 한 자씩 찍힌다(js/site.js) */
/* 소개 영상 — 누르면 그 자리에서 재생. 재생 단추는 스크립트가 있을 때만 덮는다 */
.film { position: relative; aspect-ratio: var(--r, 16/9); background: #0d1b4d; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0d1b4d; }
.film-print { display: none; }
.film-play { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; width: 100%; padding: 0 0 13%; color: #fff; background: linear-gradient(180deg, rgba(8, 14, 40, .1), rgba(8, 14, 40, .5)); cursor: pointer; }
.js .film-play { display: flex; }
.film-play[hidden] { display: none; }
.film-play .ic { width: clamp(56px, 7vw, 84px); height: clamp(56px, 7vw, 84px); padding: clamp(15px, 1.9vw, 23px); border-radius: 50%; background: #fff; fill: #0d0d12; stroke: none; box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .6); transition: transform .18s; box-sizing: border-box; }
.film-play:hover .ic, .film-play:focus-visible .ic { transform: scale(1.07); }
.film-play b { font-size: clamp(15px, 1.5vw, 19px); font-weight: 700; letter-spacing: -0.02em; }
.film-play small { font-size: 13px; opacity: .82; }
/* 작은 창 여러 개(데스크톱 메신저: 목록 창 + 대화방 창) — 창마다 틀을 두고 나란히 */
.frame.wins { display: flex; justify-content: center; align-items: center; gap: 3.5%; padding: 6% 5%; }
.frame.wins .win { flex: 0 1 calc((100% - 3.5% * (var(--n, 2) - 1)) / var(--n, 2)); max-width: 400px; min-width: 0; }
.frame.wins .win:nth-child(even) { transform: translateY(3%); }
.frame.wins .win .shot { display: block; width: 100%; height: auto; cursor: zoom-in; }
.frame.wins .win.pop { border-radius: 14px; }
.frame.wins .win.float { align-self: flex-end; background: none; box-shadow: none; border-radius: 0; overflow: visible; transform: none; }
.frame.wins .win.float .shot { cursor: default; }
.frame.has-bubble { padding-top: clamp(64px, 9%, 104px); }
.bubble { position: absolute; left: 50%; top: clamp(14px, 2.4%, 30px); z-index: 2; transform: translateX(-50%); width: min(86%, 620px); padding: 14px 22px 16px; border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 40px -18px rgba(15, 35, 80, .4), 0 0 0 1px rgba(13, 13, 18, .05); font-size: clamp(15px, 1.4vw, 18.5px); font-weight: 500; line-height: 1.5; letter-spacing: -0.02em; text-align: left; color: var(--ink); }
.bubble small { display: block; margin-bottom: 3px; font-size: 12.5px; font-weight: 600; color: var(--brand); }
.bubble .caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.16em; background: var(--brand); animation: tb-caret 1s steps(1) infinite; }
@keyframes tb-caret { 50% { opacity: 0; } }
.cap { margin-top: 12px; font-size: 13px; color: var(--muted); }
/* 크게 보기 */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); background: rgba(8, 12, 28, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: zoom-out; overflow: auto; }
.lb img { width: min(100%, 1600px); min-width: min(1100px, 240vw); height: auto; border-radius: 10px; box-shadow: 0 40px 100px -30px #000; }
.lb.lb-win img { width: min(100%, 460px); min-width: 0; }
.lb button { position: fixed; right: 18px; top: 18px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); }
.lb button .ic { width: 20px; height: 20px; }

/* 첫 구역 — 화면 폭을 다 쓴다. 글은 가운데, 아래 넓은 창에 화면이 통째로 */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 7vw, 104px) 0 clamp(56px, 6vw, 88px); text-align: center; }
.hero-in > *, .acc > *, .split > *, .tabs > * { min-width: 0; }
.hero-copy { max-width: 920px; margin-inline: auto; }
.hero .lead { margin-inline: auto; max-width: 38em; }
.hero .btns { justify-content: center; margin-top: 32px; }
.hero .note { margin-top: 18px; }
.hero .frame { width: min(100%, 1240px); margin: clamp(40px, 5vw, 64px) auto 0; padding: clamp(10px, 1.8%, 24px); text-align: left; }
.hero .frame.phones { width: min(100%, 980px); padding: 4% 5%; }
.hero .frame.wins { width: min(100%, 1180px); padding: 3.5% 4%; gap: 2.5%; }
.hero .frame.wins .win { max-width: 360px; }
.hero .frame.has-bubble { padding-top: clamp(70px, 7.5%, 100px); }
.crumb { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: #e8f0fe; color: #1d4ed8; font-size: 13.5px; font-weight: 600; }
/*   바탕: 옅은 빛 세 덩이가 천천히 떠다닌다 */
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(180deg, #eef3ff 0%, #f6f8ff 55%, var(--bg) 100%); }
.hero-bg i { position: absolute; width: 46vw; height: 46vw; min-width: 420px; min-height: 420px; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-bg i:nth-of-type(1) { left: -10vw; top: -18vw; background: #bcd0ff; animation: tb-drift-a 22s ease-in-out infinite alternate; }
.hero-bg i:nth-of-type(2) { right: -12vw; top: -8vw; background: #bfeaff; animation: tb-drift-b 26s ease-in-out infinite alternate; }
.hero-bg i:nth-of-type(3) { left: 30vw; top: 22vw; background: #d9d6ff; opacity: .4; animation: tb-drift-c 30s ease-in-out infinite alternate; }
@keyframes tb-drift-a { to { transform: translate(14vw, 8vw) scale(1.15); } }
@keyframes tb-drift-b { to { transform: translate(-16vw, 10vw) scale(1.1); } }
@keyframes tb-drift-c { to { transform: translate(-10vw, -12vw) scale(1.25); } }
/*   소개 첫 화면: 남색 바탕 + 배경 영상(실제 화면이 흐리게 움직인다) */
.hero-dark { color: #fff; padding-bottom: clamp(36px, 4vw, 64px); }
.hero-dark .hero-bg { background: radial-gradient(70% 60% at 18% 0%, #27459c 0%, transparent 62%), radial-gradient(60% 60% at 88% 12%, #14608f 0%, transparent 60%), linear-gradient(180deg, #0a1230 0%, #0e1a44 62%, #122257 100%); bottom: clamp(130px, 16vw, 250px); }
.hero-dark .hero-bg video { position: absolute; left: -4%; top: -4%; width: 108%; height: 108%; object-fit: cover; filter: blur(7px) saturate(1.25); opacity: 0; transition: opacity 1.2s ease; }
.hero-dark .hero-bg video.is-on { opacity: .34; }
.hero-dark .hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(75% 70% at 50% 34%, rgba(10, 18, 48, .78) 0%, rgba(10, 18, 48, .35) 70%, rgba(10, 18, 48, .1) 100%), linear-gradient(180deg, rgba(10, 18, 48, .25) 0%, rgba(10, 18, 48, 0) 40%, rgba(10, 18, 48, .55) 100%); }
.hero-dark .hero-bg i { opacity: .28; mix-blend-mode: screen; }
.hero-dark .hero-bg i:nth-of-type(1) { background: #4b6cff; }
.hero-dark .hero-bg i:nth-of-type(2) { background: #21b8e8; }
.hero-dark .hero-bg i:nth-of-type(3) { background: #7a5cff; opacity: .2; }
.hero-dark .lead { color: rgba(255, 255, 255, .82); }
.hero-dark .note { color: rgba(255, 255, 255, .62); }
.hero-dark .btn-dark { background: #fff; color: var(--ink); }
.hero-dark .btn-dark:hover { background: #e8eeff; }
.hero-dark .lnk { color: #fff; }
.hero-dark .frame { padding: 0; }
.hero-dark .frame::before { display: none; }
.hero-dark .win { border-radius: 14px; box-shadow: 0 50px 120px -40px rgba(4, 10, 40, .85), 0 0 0 1px rgba(255, 255, 255, .14); }
.hero-dark .win-bar { background: #1a2550; border-bottom-color: rgba(255, 255, 255, .08); }
.hero-dark .win-bar i { background: rgba(255, 255, 255, .22); }
.hero-dark + .sec { padding-top: 72px; }

/* 알림 띠 */
.banner { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding: 22px 28px; border-radius: var(--radius); background: var(--surface); }
.banner p { font-size: 16.5px; font-weight: 500; letter-spacing: -0.02em; }
.banner p b { font-weight: 700; }

/* 펼침 목록 + 그림 */
.acc { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.acc.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr); }
.acc.rev .acc-media { order: 2; }
.acc-media { position: sticky; top: calc(var(--hd) + 24px); }
.acc-media .frame { display: none; }
.acc-media .frame.is-on { display: block; animation: tb-swap .45s ease; }
.acc-media .frame.phone.is-on { display: grid; }
.acc-media .frame.phones.is-on, .acc-media .frame.wins.is-on { display: flex; }
@keyframes tb-swap { from { opacity: 0; transform: translateY(10px); } }
.acc-list details { border-top: 1px solid var(--line); }
.acc-list details:last-child { border-bottom: 1px solid var(--line); }
.acc-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 0; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.acc-list summary::-webkit-details-marker { display: none; }
.acc-list summary .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.acc-list details[open] summary .ic { transform: rotate(45deg); }
.acc-body { padding: 0 34px 24px 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.acc-body ul { margin-top: 12px; display: grid; gap: 7px; }
.acc-body li { position: relative; padding-left: 16px; }
.acc-body li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: #b6b8c2; }
.acc-body .lnk { margin-top: 14px; color: var(--ink); }
.acc-body .frame { display: none; margin-top: 18px; }

/* 카드 묶음 */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 20px; }
.card { padding: 30px 30px 32px; border-radius: 18px; background: var(--surface); }
.sec-surface .card { background: #fff; }
.card .ic-box { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 12px; background: #fff; color: var(--ink); }
.sec-surface .card .ic-box { background: var(--surface); }
.card .ic-box .ic { width: 21px; height: 21px; }
.card h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; }
.card p { margin-top: 10px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.card .lnk { margin-top: 16px; font-size: 14.5px; }
a.card { display: block; transition: background .15s, transform .15s; }
a.card:hover { background: #ececf1; }
.sec-surface a.card:hover { background: #fafafc; }
.after { margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--muted); }
.after a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* 탭 — 왼쪽 목록, 오른쪽 큰 그림 */
.tabs { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
.tab-list { display: flex; flex-direction: column; }
.tab-list button { text-align: left; padding: 18px 0; border-top: 1px solid var(--line); }
.tab-list button:last-child { border-bottom: 1px solid var(--line); }
.tab-list button b { display: block; font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-2); }
.tab-list button span { display: none; margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.tab-list button[aria-selected="true"] b { font-size: 22px; color: var(--ink); }
.tab-list button[aria-selected="true"] span { display: block; }
.tab-panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; }
.tab-panel ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; margin-top: 24px; }
.tab-panel li b { display: block; font-size: 15px; font-weight: 600; }
.tab-panel li span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.tab-panel .lnk { margin-top: 22px; }
.tab-panel h3 { display: none; }

/* 좌우 나눔 */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 56px; align-items: center; }
.split.rev { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.split.rev .split-media { order: -1; }
.split-copy p { margin-top: 16px; color: var(--ink-2); line-height: 1.75; }
.split-copy .checks { margin-top: 22px; display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; color: var(--ink-2); line-height: 1.6; }
.checks .ic { margin-top: .28em; width: 16px; height: 16px; color: var(--ink); stroke-width: 2.2; }
.split-copy .btns { margin-top: 26px; flex-direction: column; align-items: flex-start; gap: 12px; }
.split + .split { margin-top: 112px; }

/* 넓은 한 장 */
.wide .frame { padding: clamp(10px, 2%, 28px); }
.wide-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 40px; margin-top: 34px; }
.wide-points li b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.wide-points li span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* 기능 격자 */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 40px 36px; }
.grid-item .ic { width: 24px; height: 24px; margin-bottom: 14px; }
.grid-item h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.grid-item p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* 줄 목록(자료·안내) */
.rows { max-width: 1180px; border-top: 1px solid var(--line); }
.sec-rows .head-left { max-width: 1180px; }
.rows a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.rows a b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.rows a span { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.rows a em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.rows a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* 더 알아보기 */
.more h2 { font-size: 22px; font-weight: 600; color: var(--muted); margin-bottom: 34px; }
.more-grid { max-width: 1180px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.more-grid a b { display: block; font-size: clamp(22px, 2.3vw, 28px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; }
.more-grid a span { display: block; margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.more-grid a:hover b { text-decoration: underline; text-underline-offset: 5px; }

/* 단계 */
.steps { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.step { padding: 28px; border-radius: 18px; background: var(--surface); counter-increment: s; }
.sec-surface .step { background: #fff; }
.step::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 50%; background: var(--dark); color: #fff; font-size: 14px; font-weight: 700; }
.step h3 { font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }

/* 요금 */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.plan.is-main { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan-tag { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 700; }
.plan.is-main .plan-tag { background: var(--dark); color: #fff; }
.plan h3 { margin-top: 18px; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.plan-desc { margin-top: 6px; font-size: 14.5px; color: var(--muted); min-height: 2.9em; }
.plan-ref { margin-top: 20px; font-size: 13.5px; color: var(--muted); }
.plan-price { margin-top: 2px; font-size: 40px; font-weight: 650; letter-spacing: -0.04em; line-height: 1.2; }
.plan-price small { margin-left: 6px; font-size: 14.5px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.plan-unit { margin-top: 4px; font-size: 13.5px; color: var(--muted); }
.plan-period { margin: 20px 0; padding: 14px 16px; border-radius: 12px; background: var(--surface); font-size: 13.5px; color: var(--ink-2); }
.plan-period b { display: block; font-weight: 600; color: var(--ink); }
.plan .btn { width: 100%; }
.plan ul { margin-top: 24px; display: grid; gap: 10px; }
.plan li { display: flex; gap: 9px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.plan li .ic { margin-top: .3em; width: 15px; height: 15px; stroke-width: 2.2; color: var(--ink); }
.fine { margin-top: 36px; display: grid; gap: 12px; padding: 26px 28px; border-radius: 18px; background: var(--surface); }
.fine p { font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.fine a { text-decoration: underline; text-underline-offset: 3px; }

/* 표 */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.tbl { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14.5px; }
.tbl th, .tbl td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.6; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font-size: 13px; font-weight: 600; color: var(--muted); background: var(--surface); }
.tbl tbody th { width: 28%; font-weight: 600; }
.tbl td { color: var(--ink-2); }

/* 묻고 답하기 */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 17.5px; font-weight: 600; letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.faq details p a { text-decoration: underline; text-underline-offset: 3px; }

/* 앱 받기 */
.dl { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; }
.dl-card { min-width: 0; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 18px; background: var(--surface); }
.dl-card .os { width: 30px; height: 30px; fill: currentColor; stroke: none; margin-bottom: 20px; }
.dl-card h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.dl-card p { margin: 8px 0 22px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); flex: 1; }
.dl-card .btn { align-self: flex-start; }
.dl-card small { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.cmd { min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: var(--dark); color: #e9e9f2; font: 500 12.5px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; }
.cmd button { flex: none; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 12.5px/1 var(--font); }

/* 마지막 권유 */
.cta { text-align: center; }
.cta-box { padding: clamp(56px, 8vw, 96px) 28px; border-radius: 28px; position: relative; overflow: hidden; isolation: isolate; }
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 12% 0%, #e2ebff 0%, transparent 60%), radial-gradient(60% 90% at 90% 100%, #bfe9ff 0%, transparent 60%), linear-gradient(135deg, #c3d7ff, #d6e6ff 50%, #dcf1ff); }
.cta .lead { margin-inline: auto; max-width: 32em; }
.cta .btns { justify-content: center; margin-top: 32px; }
.cta .note { margin-top: 18px; color: #4a4c5a; }

/* 바닥글 */
.ft { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 14.5px; }
.ft-top { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.ft-brand p { margin-top: 14px; color: var(--muted); max-width: 18em; }
.ft-col h3 { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.ft-col a { display: block; padding: 6px 0; color: var(--ink-2); }
.ft-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.ft-biz { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.85; color: var(--muted); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-top: 22px; font-size: 13px; color: var(--muted); }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ft-bottom nav a:hover { color: var(--ink); }
.ft-bottom nav a b { color: var(--ink-2); font-weight: 600; }
.ft-lang { margin-top: 20px; }

/* 도입 문의(contact.html) — 왼쪽 안내, 오른쪽 문의 칸 */
.ct { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; max-width: 1120px; margin-inline: auto; }
.ct-side { display: grid; gap: 26px; padding-top: 8px; }
.ct-item { display: flex; gap: 14px; }
.ct-item > .ic { width: 22px; height: 22px; margin-top: 2px; color: var(--ink-2); }
.ct-item b { display: block; font-size: 16.5px; font-weight: 650; margin-bottom: 4px; }
.ct-item p { color: var(--muted); font-size: 15px; }
.ct-item a, .agree a { text-decoration: underline; text-underline-offset: 3px; }
.ct-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: 0 24px 50px -36px rgba(15, 15, 40, .25); }
.ct-form { display: grid; gap: 20px; }
.ct-form[hidden], .ct-done[hidden] { display: none; }
.ct-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fld { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld > span, .fld > legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 7px; }
.fld > span { margin-bottom: 0; }
.fld em { font-style: normal; color: #d64545; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #d5d6dc; border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.fld textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(13, 13, 18, .08); }
.fld.is-bad input, .fld.is-bad textarea { border-color: #d64545; }
.fld-err { color: #c03030; font-size: 13px; min-height: 0; }
.fld-err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; height: 38px; padding: 0 15px; border: 1px solid #d5d6dc; border-radius: 999px; font-size: 14px; cursor: pointer; background: #fff; }
.chip input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.agree { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; font-size: 14px; color: var(--muted); }
.agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--dark); }
.agree .fld-err { grid-column: 2; }
.ct-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ct-send .btn { min-width: 160px; }
.ct-send .btn[disabled] { opacity: .55; cursor: progress; }
.ct-msg { font-size: 14px; color: #c03030; }
.ct-done { text-align: center; padding: 30px 10px; }
.ct-done > .ic { width: 44px; height: 44px; margin: 0 auto 14px; padding: 10px; border-radius: 50%; background: var(--surface); }
.ct-done h3 { font-size: 22px; font-weight: 650; margin-bottom: 8px; }
.ct-done p { color: var(--muted); margin-bottom: 18px; }

/* 스크롤 등장(작게) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } * { scroll-behavior: auto !important; } .hero-bg i, .frame.is-live .shot[data-focus], .acc-media .frame.is-on, .bubble .caret::after { animation: none !important; } .win[data-slides] .shot { transition: none; } }

@media (max-width: 1080px) {
  .nav { display: none; }
  .hd-act { margin-left: auto; }
  .burger { display: inline-flex; }
  .hd-act .btn-line { display: none; }
  .hd-act .hd-lang { display: none; }
  .acc, .acc.rev, .split, .split.rev, .tabs { grid-template-columns: 1fr; gap: 36px; }
  .acc-media { display: none; }
  .acc-body .frame { display: block; }
  .acc-body .frame.phone { display: grid; }
  .acc-body .frame.phones, .acc-body .frame.wins { display: flex; }
  .wide-points { grid-template-columns: 1fr; }
  .split.rev .split-media, .acc.rev .acc-media { order: 0; }
  .split + .split { margin-top: 72px; }
  .tab-list { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .tab-list::-webkit-scrollbar { display: none; }
  .tab-list button { flex: none; padding: 9px 16px; border: 1px solid var(--line) !important; border-radius: 999px; background: #fff; }
  .tab-list button b, .tab-list button[aria-selected="true"] b { font-size: 14.5px; }
  .tab-list button[aria-selected="true"] { background: var(--dark); border-color: var(--dark) !important; }
  .tab-list button[aria-selected="true"] b { color: #fff; }
  .tab-list button span, .tab-list button[aria-selected="true"] span { display: none; }
  .tab-panel h3 { display: block; margin-bottom: 18px; font-size: 15.5px; font-weight: 500; line-height: 1.65; color: var(--ink-2); }
  .cards, .grid, .steps, .dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .more-grid { grid-template-columns: 1fr; gap: 30px; }
  .ft-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-brand { grid-column: 1 / -1; }
  .ct { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ct-side { grid-template-columns: 1fr 1fr; gap: 22px 28px; order: 2; }
}
@media (max-width: 680px) {
  :root { --gutter: 20px; --radius: 18px; }
  .sec { padding: 72px 0; }
  .sec-tight { padding: 44px 0; }
  .hero { padding: 44px 0 52px; }
  .hero-dark { padding-bottom: 28px; }
  .head { margin-bottom: 38px; }
  .hd-in { width: calc(100% - 28px); gap: 10px; }
  .hd-act .login { display: none; }
  .cards, .grid, .steps, .dl { grid-template-columns: minmax(0, 1fr); }
  .tab-panel { padding: 16px; }
  .tab-panel ul { grid-template-columns: 1fr; }
  .banner { padding: 20px; }
  .card { padding: 24px; }
  .frame { padding: 10px; }
  .frame.has-bubble, .hero .frame.has-bubble { padding-top: 108px; }
  .win { border-radius: 9px; }
  .win-bar { min-height: 22px; padding: 0 9px; gap: 4px; }
  .win-bar i { width: 6px; height: 6px; }
  .win-tabs { margin-left: 8px; }
  .win-tabs button { padding: 2px 9px; font-size: 11.5px; }
  .hero-dark + .sec { padding-top: 56px; }
  .rows a { align-items: flex-start; flex-direction: column; gap: 10px; }
  .faq details p, .acc-body { padding-right: 0; }
  .btn { min-height: 48px; }
  .hero .btns .btn, .cta .btns .btn { width: 100%; }
  .ct-box { padding: 22px 18px; }
  .ct-row, .ct-side { grid-template-columns: minmax(0, 1fr); }
  .ct-send .btn { width: 100%; }
}
