/* ============ DTNOW site — shared styles + 3 variants ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #e9e8ec; }
body { -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; }

.viewport-desktop { min-height: 100vh; }
.viewport-mobile { min-height: 100vh; display: grid; place-items: center; padding: 32px 0; }
.mframe { width: 390px; height: 844px; border-radius: 44px; border: 10px solid #111; overflow: hidden; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.25); position: relative; }
.mframe-scroll { width: 100%; height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; }
.mframe-scroll::-webkit-scrollbar { display: none; }

.site {
  container-type: inline-size; container-name: site;
  background: var(--bg); color: var(--fg);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  letter-spacing: -0.01em; word-break: keep-all; min-height: 100%;
  position: relative;
}
.site * { text-wrap: pretty; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; }

/* ---------- variant tokens ---------- */
.v-enterprise {
  --bg: #ffffff; --surface: #f4f5f8; --surface-2: #eceef3; --fg: #15171c; --muted: #5d6270; --line: #e1e4ea;
  --header-bg: rgba(255,255,255,.96); --radius: 6px; --ph1: #eef0f4; --ph2: #e6e9ef;
  --footer-bg: #15171c; --footer-fg: #c3c6cf;
}
.v-minimal {
  --bg: #f7f6f3; --surface: #efede8; --surface-2: #e7e4de; --fg: #121212; --muted: #6b6862; --line: #dcd8d0;
  --header-bg: rgba(247,246,243,.94); --radius: 0px; --ph1: #ece9e3; --ph2: #e4e0d9;
  --footer-bg: #f7f6f3; --footer-fg: #6b6862;
}
.v-dark {
  --bg: #09080f; --surface: #12101b; --surface-2: #1a1726; --fg: #f1effa; --muted: #9a95ad; --line: rgba(255,255,255,.09);
  --header-bg: rgba(9,8,15,.72); --radius: 16px; --ph1: #14121e; --ph2: #191626;
  --footer-bg: #09080f; --footer-fg: #8b869d;
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; font-weight: 600; font-size: 16px; border-radius: var(--radius); transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: #fff; color: #111; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.45); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.v-dark .btn { border-radius: 999px; }
.v-dark .btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 30px -8px var(--accent); }
.v-minimal .btn { height: 56px; }
.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow, .link:hover .arrow { transform: translateX(4px); }
.link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--accent); }
.v-dark .link { color: var(--accent-light); }

/* ---------- placeholder ---------- */
.ph { background: repeating-linear-gradient(135deg, var(--ph1) 0 12px, var(--ph2) 12px 24px); display: grid; place-items: center; color: var(--muted); font-size: 12px; position: relative; overflow: hidden; }
.ph span { font-family: 'JetBrains Mono', monospace; background: var(--bg); padding: 4px 10px; border-radius: 4px; opacity: .85; }

/* ============ HEADER ============ */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.hdr-in { height: 80px; display: flex; align-items: center; gap: 48px; }
.hdr-logo { height: 26px; cursor: pointer; flex: none; }
.hdr-logo img { height: 100%; width: auto; }
.gnb { display: flex; height: 100%; flex: 1; gap: 4px; }
.gnb > button { height: 100%; padding: 0 22px; font-size: 17px; font-weight: 600; position: relative; color: var(--fg); }
.gnb > button::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.gnb > button.on::after { transform: scaleX(1); }
.v-dark .gnb > button::after { background: var(--accent-light); }
.hdr-right { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; font-size: 13px; font-weight: 600; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { padding: 4px 10px; border-radius: 999px; color: var(--muted); }
.lang button.on { background: var(--fg); color: var(--bg); }
.hdr-cta { height: 42px; padding: 0 18px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; margin-right: -10px; position: relative; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); transition: transform .25s, opacity .25s; }
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 27px; }
.burger.open i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open i:nth-child(2) { opacity: 0; }
.burger.open i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(0,0,0,.18); animation: megaIn .22s ease; }
.v-dark .mega { background: #0e0c16; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-in { padding: 36px 40px 44px; display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.mega-side h4 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 10px; }
.mega-side p { color: var(--muted); font-size: 14px; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.mega-col h5 { font-size: 13px; font-weight: 700; color: var(--accent); padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.v-dark .mega-col h5 { color: var(--accent-light); }
.mega-col a { display: block; padding: 6px 0; font-size: 15px; color: var(--fg); cursor: pointer; }
.mega-col a small { display: block; font-size: 12px; color: var(--muted); margin-top: -2px; }
.mega-col a:hover { color: var(--accent); }
.v-dark .mega-col a:hover { color: var(--accent-light); }
.mega-col a.hl { font-weight: 700; }

.drawer { position: absolute; left: 0; right: 0; top: 100%; height: 760px; background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; padding: 8px 20px 40px; }
.drw-g > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 19px; font-weight: 700; border-bottom: 1px solid var(--line); }
.drw-g > button em { font-style: normal; font-weight: 400; transition: transform .2s; color: var(--muted); }
.drw-g.open > button em { transform: rotate(45deg); }
.drw-sub { padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
.drw-sub h6 { font-size: 12px; color: var(--accent); margin: 10px 0 4px; font-weight: 700; }
.v-dark .drw-sub h6 { color: var(--accent-light); }
.drw-sub a { display: block; padding: 8px 0; font-size: 15px; color: var(--muted); }
.drw-foot { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* ============ SECTIONS (shared) ============ */
.sec { padding: 120px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 14px; letter-spacing: 0.02em; }
.v-dark .eyebrow { color: var(--accent-light); font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.h2 { font-size: 44px; line-height: 1.25; font-weight: 700; letter-spacing: -0.035em; }
.v-minimal .h2 { font-size: 56px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.12; }

/* ============ A · ENTERPRISE HOME ============ */
.a-hero { position: relative; height: 680px; overflow: hidden; color: #fff; background: #0f1220; }
.a-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.a-slide.on { opacity: 1; }
.a-slide .ph { position: absolute; inset: 0; --ph1: #1b1f2e; --ph2: #20253a; color: #7e86a3; }
.a-slide .ph span { background: rgba(0,0,0,.35); position: absolute; right: 40px; bottom: 120px; }
.a-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,22,.92) 0%, rgba(10,12,22,.55) 55%, rgba(10,12,22,.1) 100%); }
.a-hero-txt { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.a-hero-txt .eb { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.a-hero-txt .eb::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-light); }
.a-hero-txt h1 { font-size: 64px; line-height: 1.18; font-weight: 700; letter-spacing: -0.04em; white-space: pre-line; max-width: 760px; }
.a-hero-txt p { margin-top: 24px; font-size: 19px; color: rgba(255,255,255,.75); max-width: 560px; }
.a-hero-txt .btns { display: flex; gap: 12px; margin-top: 40px; }
.a-hero-txt .anim > * { animation: aUp .8s both; }
.a-hero-txt .anim > *:nth-child(2) { animation-delay: .08s; }
.a-hero-txt .anim > *:nth-child(3) { animation-delay: .16s; }
.a-hero-txt .anim > *:nth-child(4) { animation-delay: .24s; }
@keyframes aUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.a-ctrl { position: absolute; z-index: 3; left: 0; right: 0; bottom: 48px; }
.a-ctrl .wrap { display: flex; align-items: center; gap: 20px; }
.a-ctrl .num { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.a-ctrl .num b { color: #fff; } .a-ctrl .num span { color: rgba(255,255,255,.45); }
.a-bars { display: flex; gap: 8px; }
.a-bars button { width: 56px; height: 3px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; padding: 0; }
.a-bars button i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.a-bars button.done i { transform: scaleX(1); }
.a-bars button.on i { animation: aBar 6s linear forwards; }
@keyframes aBar { to { transform: scaleX(1); } }
.a-quick { position: relative; z-index: 4; margin-top: -1px; background: var(--bg); border-bottom: 1px solid var(--line); }
.a-quick .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
.a-quick button { text-align: left; padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); margin-right: 28px; }
.a-quick button:last-child { border-right: 0; margin-right: 0; }
.a-quick small { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.a-quick b { font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.a-quick button:hover b { color: var(--accent); }

.a-prod { background: var(--surface); }
.a-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.a-tabs button { height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-weight: 600; font-size: 15px; color: var(--muted); transition: all .2s; }
.a-tabs button.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.a-prod-panel { display: grid; grid-template-columns: 380px 1fr; gap: 24px; animation: aUp .5s both; }
.a-prod-intro { background: var(--accent); color: #fff; border-radius: var(--radius); padding: 40px; display: flex; flex-direction: column; min-height: 420px; }
.a-prod-intro small { font-size: 13px; opacity: .7; font-weight: 600; }
.a-prod-intro h3 { font-size: 30px; line-height: 1.3; margin: 12px 0 16px; letter-spacing: -0.03em; }
.a-prod-intro p { opacity: .85; font-size: 16px; }
.a-prod-intro .btn { margin-top: auto; align-self: flex-start; }
.a-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-content: start; }
.a-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; cursor: pointer; transition: border-color .2s, box-shadow .2s; display: flex; flex-direction: column; gap: 8px; }
.a-item:hover { border-color: var(--accent); box-shadow: 0 12px 30px -16px rgba(20,20,60,.25); }
.a-item .sub { font-size: 12px; font-weight: 700; color: var(--accent); }
.a-item h4 { font-size: 21px; letter-spacing: -0.02em; }
.a-item p { font-size: 14.5px; color: var(--muted); }
.a-item .more { margin-top: auto; padding-top: 12px; font-size: 13px; font-weight: 600; color: var(--fg); }

.cases-a { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-a { cursor: pointer; }
.case-a .ph { aspect-ratio: 16/10; border-radius: var(--radius); margin-bottom: 22px; transition: transform .4s; }
.case-a:hover .ph { transform: translateY(-4px); }
.case-a .meta { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.case-a .meta b { color: var(--accent); }
.case-a h4 { font-size: 20px; line-height: 1.45; letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--muted); font-weight: 600; }

.clients { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients .ph { height: 96px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); --ph1: var(--bg); --ph2: var(--surface); }
.clients .ph span { background: transparent; font-size: 11px; }

.partners-a { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-a { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 40px; background: var(--bg); }
.partner-a .wm { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.partner-a small { font-size: 13px; color: var(--muted); }

.cta-band { background: var(--accent); color: #fff; }
.cta-band .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h3 { font-size: 34px; letter-spacing: -0.03em; line-height: 1.3; }
.cta-band p { opacity: .8; margin-top: 8px; }
.cta-band .btns { display: flex; gap: 12px; }

/* ============ B · MINIMAL HOME ============ */
.b-hero { padding: 120px 0 0; }
.b-hero .eb { font-size: 14px; color: var(--muted); display: flex; gap: 14px; align-items: center; margin-bottom: 40px; }
.b-hero .eb i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.b-hero h1 { font-size: 132px; line-height: 1.02; font-weight: 600; letter-spacing: -0.06em; }
.b-hero h1 .ln { display: block; overflow: hidden; }
.b-hero h1 .ln > span { display: inline-block; animation: bRise 1s cubic-bezier(.2,.7,.1,1) both; }
.b-hero h1 .ln:nth-child(2) > span { animation-delay: .1s; }
.b-hero h1 .dot { color: var(--accent); }
@keyframes bRise { from { transform: translateY(105%); } to { transform: none; } }
.b-hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 56px; align-items: end; }
.b-hero-row p { font-size: 20px; color: var(--muted); max-width: 520px; line-height: 1.55; }
.b-hero-row .btns { display: flex; gap: 12px; justify-content: flex-end; }
.b-hero-img { margin-top: 80px; aspect-ratio: 1280/520; }
.b-index { border-top: 1px solid var(--fg); margin-top: 0; }
.b-index-row { display: grid; grid-template-columns: 80px 1.1fr 2fr 40px; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; cursor: pointer; transition: padding .3s; }
.b-index-row:hover { padding-left: 12px; }
.b-index-row .n { font-family: 'JetBrains Mono', monospace; font-size: 14px; color: var(--muted); padding-top: 10px; }
.b-index-row h3 { font-size: 36px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.b-index-row h3 small { display: block; font-size: 14px; color: var(--muted); font-weight: 400; letter-spacing: 0; margin-top: 8px; }
.b-index-row ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; padding-top: 8px; }
.b-index-row li { font-size: 16px; display: flex; flex-direction: column; padding: 6px 0; border-bottom: 1px dashed transparent; }
.b-index-row li:hover { color: var(--accent); }
.b-index-row li small { font-size: 13px; color: var(--muted); }
.b-index-row .ar { font-size: 24px; padding-top: 6px; transition: transform .3s, color .3s; }
.b-index-row:hover .ar { transform: rotate(-45deg); color: var(--accent); }

.b-cases { border-top: 1px solid var(--fg); }
.b-case { display: grid; grid-template-columns: 160px 1fr 320px 200px; gap: 32px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; }
.b-case .ind { font-size: 14px; color: var(--muted); }
.b-case h4 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.b-case .pr { font-size: 14px; color: var(--muted); }
.b-case .ph { height: 120px; opacity: 0; transition: opacity .3s; }
.b-case:hover .ph { opacity: 1; }
.b-case:hover h4 { color: var(--accent); }

.b-split { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.b-clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.b-clients .ph { height: 110px; --ph1: var(--bg); --ph2: var(--bg); }
.b-clients .ph span { background: transparent; font-size: 11px; }
.b-partners { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--fg); }
.b-partner { padding: 32px 24px 32px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.b-partner:last-child { border-right: 0; margin-right: 0; }
.b-partner .wm { font-size: 30px; font-weight: 600; letter-spacing: -0.04em; margin-bottom: 64px; }
.b-partner small { font-size: 14px; color: var(--muted); }
.b-cta { padding: 140px 0; text-align: left; border-top: 1px solid var(--line); }
.b-cta h3 { font-size: 88px; line-height: 1.05; font-weight: 600; letter-spacing: -0.055em; }
.b-cta h3 em { font-style: normal; color: var(--accent); }
.b-cta .btns { display: flex; gap: 12px; margin-top: 48px; }

/* ============ C · AI DARK HOME ============ */
.c-hero { position: relative; padding: 140px 0 100px; overflow: hidden; text-align: center; }
.c-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.c-glow { position: absolute; left: 50%; top: 38%; width: 900px; height: 600px; transform: translate(-50%,-50%); background: radial-gradient(closest-side, color-mix(in oklch, var(--accent) 60%, transparent), transparent 70%); filter: blur(40px); opacity: .55; animation: cGlow 10s ease-in-out infinite alternate; }
.c-glow.b { background: radial-gradient(closest-side, color-mix(in oklch, var(--accent-2) 55%, transparent), transparent 70%); width: 600px; height: 420px; left: 62%; top: 30%; animation-duration: 13s; }
@keyframes cGlow { from { transform: translate(-50%,-50%) scale(1); } to { transform: translate(-44%,-56%) scale(1.15); } }
.c-hero .wrap { position: relative; }
.c-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.c-badge b { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.c-hero h1 { font-size: 88px; line-height: 1.08; font-weight: 700; letter-spacing: -0.05em; white-space: pre-line; }
.c-hero h1 .grad { background: linear-gradient(100deg, #fff 0%, var(--accent-light) 45%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-hero p.sub { font-size: 19px; color: var(--muted); max-width: 640px; margin: 28px auto 0; }
.c-ask { margin: 48px auto 0; max-width: 640px; height: 64px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); display: flex; align-items: center; padding: 0 8px 0 26px; gap: 12px; box-shadow: 0 0 0 6px rgba(255,255,255,.02), 0 20px 60px -20px var(--accent); text-align: left; }
.c-ask .q { flex: 1; font-size: 17px; color: var(--fg); white-space: nowrap; overflow: hidden; }
.c-ask .q span { color: var(--muted); }
.c-ask .caret { display: inline-block; width: 2px; height: 20px; background: var(--accent-light); vertical-align: middle; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.c-ask .btn { height: 48px; }
.c-hero .btns { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }
.c-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 28px 0; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.c-track { display: flex; gap: 72px; width: max-content; animation: marq 40s linear infinite; }
.c-track span { font-size: 22px; font-weight: 700; color: rgba(255,255,255,.45); letter-spacing: -0.02em; white-space: nowrap; }
.c-track span.ph-logo { font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 13px; border: 1px dashed rgba(255,255,255,.18); padding: 8px 18px; border-radius: 8px; }
@keyframes marq { to { transform: translateX(-50%); } }

.c-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.c-card { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; overflow: hidden; cursor: pointer; transition: border-color .3s; }
.c-card::before { content: ''; position: absolute; width: 380px; height: 380px; left: var(--mx, 50%); top: var(--my, 0%); transform: translate(-50%,-50%); background: radial-gradient(closest-side, color-mix(in oklch, var(--accent) 35%, transparent), transparent); opacity: 0; transition: opacity .3s; pointer-events: none; }
.c-card:hover { border-color: rgba(255,255,255,.18); }
.c-card:hover::before { opacity: 1; }
.c-card > * { position: relative; }
.c-card.s1 { grid-column: span 4; } .c-card.s2 { grid-column: span 2; } .c-card.s3 { grid-column: span 3; } .c-card.s4 { grid-column: span 3; }
.c-card .vd { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-light); letter-spacing: .06em; text-transform: uppercase; }
.c-card h3 { font-size: 30px; letter-spacing: -0.035em; margin: 12px 0 10px; line-height: 1.25; }
.c-card p { color: var(--muted); font-size: 15px; max-width: 460px; }
.c-card .items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.c-card .items button { font-size: 13.5px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--fg); transition: all .2s; }
.c-card .items button small { color: var(--muted); margin-left: 6px; }
.c-card .items button:hover { border-color: var(--accent-light); background: color-mix(in oklch, var(--accent) 20%, transparent); }
.c-card .vis { margin-top: 28px; height: 160px; border-radius: 10px; }

.c-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-case { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: pointer; transition: transform .3s, border-color .3s; }
.c-case:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.c-case .ph { aspect-ratio: 16/9; }
.c-case .bd { padding: 26px; }
.c-case .meta { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent-light); letter-spacing: .04em; margin-bottom: 10px; }
.c-case h4 { font-size: 19px; line-height: 1.45; letter-spacing: -0.02em; }
.c-case .chip { background: rgba(255,255,255,.06); }
.c-partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-partner { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--surface); text-align: center; }
.c-partner .wm { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 8px; }
.c-partner small { color: var(--muted); font-size: 13px; }
.c-cta { position: relative; margin: 0 40px 120px; border-radius: 28px; overflow: hidden; padding: 96px 40px; text-align: center; background: linear-gradient(135deg, var(--accent-deep), #120c22 60%); border: 1px solid var(--line); }
.c-cta .c-glow { top: 100%; opacity: .7; }
.c-cta > *:not(.c-glow) { position: relative; }
.c-cta h3 { font-size: 52px; letter-spacing: -0.045em; line-height: 1.15; }
.c-cta p { color: rgba(255,255,255,.7); margin-top: 16px; }
.c-cta .btns { display: flex; gap: 12px; justify-content: center; margin-top: 36px; }

/* ============ FOOTER ============ */
.ftr { background: var(--footer-bg); color: var(--footer-fg); padding: 72px 0 40px; font-size: 14px; border-top: 1px solid var(--line); }
.ftr-top { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; }
.ftr-top img { height: 22px; width: auto; margin-bottom: 18px; }
.ftr-top h6 { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--ftr-h, #fff); }
.v-minimal .ftr-top h6 { color: var(--fg); }
.ftr-top a { display: block; padding: 4px 0; cursor: pointer; }
.ftr-top a:hover { color: var(--ftr-h, #fff); }
.v-minimal .ftr-top a:hover { color: var(--fg); }
.ftr-bot { border-top: 1px solid rgba(128,128,128,.25); padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.ftr-bot .lk { display: flex; gap: 20px; }
.ftr-bot .lk a:first-child { font-weight: 700; }

/* ============ PRODUCT DETAIL ============ */
.crumb { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; padding: 24px 0 0; }
.crumb a { cursor: pointer; } .crumb a:hover { color: var(--fg); }
.crumb b { color: var(--fg); font-weight: 600; }
.pd-hero { padding: 56px 0 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pd-hero .vend { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 18px; }
.v-dark .pd-hero .vend { color: var(--accent-light); }
.pd-hero .vend i { font-style: normal; padding: 3px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: 12px; }
.pd-hero h1 { font-size: 64px; letter-spacing: -0.045em; line-height: 1.08; font-weight: 700; }
.pd-hero h1 small { display: block; font-size: 22px; color: var(--muted); font-weight: 500; letter-spacing: -0.02em; margin-top: 12px; }
.pd-hero .tag { font-size: 28px; line-height: 1.4; letter-spacing: -0.03em; font-weight: 600; white-space: pre-line; margin-top: 36px; }
.pd-hero .btns { display: flex; gap: 12px; margin-top: 40px; flex-wrap: wrap; }
.pd-hero .ph { aspect-ratio: 4/3; border-radius: var(--radius); }
.v-minimal .pd-hero h1 { font-weight: 600; font-size: 80px; }
.v-dark .pd-hero .ph { border: 1px solid var(--line); box-shadow: 0 40px 100px -40px var(--accent); }

.pd-tabs { position: sticky; top: 80px; z-index: 20; background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.pd-tabs .wrap { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pd-tabs button { height: 60px; padding: 0 20px; font-weight: 600; font-size: 15px; color: var(--muted); position: relative; white-space: nowrap; }
.pd-tabs button.on { color: var(--fg); }
.pd-tabs button.on::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: -1px; height: 2px; background: var(--accent); }
.v-dark .pd-tabs button.on::after { background: var(--accent-light); }

.pd-sec { padding: 104px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.pd-overview { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.pd-overview p.lead { font-size: 21px; line-height: 1.7; color: var(--fg); }
.pd-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-f { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.v-enterprise .pd-f { background: var(--surface); border-color: transparent; }
.v-dark .pd-f { background: var(--surface); }
.v-minimal .pd-feat { gap: 0; border-top: 1px solid var(--fg); }
.v-minimal .pd-f { border: 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); padding: 36px 32px 36px 0; margin-right: 0; }
.v-minimal .pd-f:nth-child(3n) { border-right: 0; }
.v-minimal .pd-f:not(:nth-child(3n+1)) { padding-left: 32px; }
.pd-f .n { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--accent); }
.v-dark .pd-f .n { color: var(--accent-light); }
.pd-f h4 { font-size: 22px; margin: 18px 0 10px; letter-spacing: -0.02em; }
.pd-f p { color: var(--muted); font-size: 15px; }
.pd-arch { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; }
.pd-node { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 20px; text-align: center; background: var(--bg); }
.v-enterprise .pd-node, .v-dark .pd-node { background: var(--surface); }
.pd-node.main { background: var(--accent) !important; color: #fff; border-color: transparent; }
.pd-node b { display: block; font-size: 18px; }
.pd-node small { font-size: 12px; opacity: .7; }
.pd-link { width: 32px; height: 2px; background: var(--line); position: relative; }
.pd-link::after { content: ''; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: var(--muted); }
.pd-arch-img { margin-top: 32px; height: 280px; border-radius: var(--radius); }
.pd-ben { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd-b { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); }
.v-minimal .pd-b { background: transparent; border-top: 2px solid var(--fg); padding: 24px 0 0; }
.pd-b .ph { height: 64px; width: 64px; border-radius: 50%; margin-bottom: 28px; }
.pd-b .ph span { display: none; }
.pd-b h4 { font-size: 20px; margin-bottom: 8px; }
.pd-b p { color: var(--muted); font-size: 14.5px; }
.pd-proc { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; counter-reset: s; }
.pd-proc div { padding: 24px 24px 0 0; border-top: 2px solid var(--line); position: relative; font-weight: 600; font-size: 17px; }
.pd-proc div::before { counter-increment: s; content: 'STEP 0' counter(s); display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
.v-dark .pd-proc div::before { color: var(--accent-light); }
.pd-proc div::after { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pd-related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pd-rel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s; }
.pd-rel:hover { border-color: var(--accent); }
.pd-rel small { font-size: 12px; color: var(--muted); }
.pd-rel b { display: block; font-size: 17px; margin-top: 4px; }

/* ============ MOBILE (container) ============ */
@container site (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hdr-in { height: 64px; gap: 12px; justify-content: space-between; }
  .hdr-logo { height: 20px; }
  .gnb, .hdr-cta { display: none; }
  .burger { display: block; }
  .lang { font-size: 12px; }
  .mega { display: none; }
  .sec { padding: 72px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .h2, .v-minimal .h2 { font-size: 30px; }
  .btn { height: 48px; padding: 0 20px; font-size: 15px; }

  .a-hero { height: 600px; }
  .a-hero-txt { justify-content: flex-end; padding-bottom: 110px; }
  .a-hero-txt h1 { font-size: 36px; }
  .a-hero-txt p { font-size: 15.5px; margin-top: 16px; }
  .a-hero-txt .btns { margin-top: 28px; flex-wrap: wrap; }
  .a-slide::after { background: linear-gradient(0deg, rgba(10,12,22,.95) 30%, rgba(10,12,22,.3) 100%); }
  .a-slide .ph span { top: 80px; bottom: auto; right: 20px; }
  .a-ctrl { bottom: 36px; }
  .a-bars button { width: 36px; }
  .a-quick .wrap { grid-template-columns: 1fr 1fr; grid-auto-flow: row; padding: 0; }
  .a-quick button { padding: 20px; margin: 0; border-bottom: 1px solid var(--line); }
  .a-quick button:nth-child(2n) { border-right: 0; }
  .a-quick b { font-size: 15px; }
  .a-prod-panel { grid-template-columns: 1fr; }
  .a-prod-intro { min-height: 0; padding: 28px; }
  .a-prod-intro h3 { font-size: 24px; }
  .a-prod-intro .btn { margin-top: 24px; }
  .a-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 24px; padding: 0 20px; scrollbar-width: none; }
  .a-tabs button { flex: none; height: 42px; font-size: 14px; }
  .a-items { grid-template-columns: 1fr; }
  .a-item { padding: 22px; }
  .cases-a, .c-cases { grid-template-columns: 1fr; gap: 28px; }
  .clients { grid-template-columns: repeat(3, 1fr); }
  .clients .ph { height: 72px; }
  .partners-a, .c-partners { grid-template-columns: 1fr 1fr; gap: 10px; }
  .partner-a { padding: 22px; gap: 24px; }
  .partner-a .wm { font-size: 19px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }
  .cta-band h3 { font-size: 26px; }
  .cta-band .btns { flex-wrap: wrap; }

  .b-hero { padding-top: 64px; }
  .b-hero .eb { margin-bottom: 24px; font-size: 13px; }
  .b-hero h1 { font-size: 54px; }
  .b-hero-row { grid-template-columns: 1fr; margin-top: 32px; gap: 28px; }
  .b-hero-row p { font-size: 16.5px; }
  .b-hero-row .btns { justify-content: flex-start; flex-wrap: wrap; }
  .b-hero-img { margin-top: 48px; aspect-ratio: 4/3; }
  .b-index-row { grid-template-columns: 1fr 24px; gap: 12px 16px; padding: 28px 0; }
  .b-index-row .n { grid-column: 1 / -1; padding: 0; }
  .b-index-row h3 { font-size: 26px; }
  .b-index-row ul { grid-column: 1 / -1; grid-row: 3; grid-template-columns: 1fr; }
  .b-index-row .ar { grid-column: 2; grid-row: 2; }
  .b-case { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .b-case .ph { display: none; }
  .b-case h4 { font-size: 19px; }
  .b-split { grid-template-columns: 1fr; gap: 24px; }
  .b-clients { grid-template-columns: repeat(3, 1fr); }
  .b-clients .ph { height: 72px; }
  .b-partners { grid-template-columns: 1fr 1fr; }
  .b-partner { padding: 24px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .b-partner .wm { font-size: 22px; margin-bottom: 28px; }
  .b-cta { padding: 80px 0; }
  .b-cta h3 { font-size: 42px; }
  .b-cta .btns { flex-wrap: wrap; }

  .c-hero { padding: 80px 0 64px; }
  .c-hero h1 { font-size: 42px; }
  .c-hero p.sub { font-size: 15.5px; }
  .c-badge { font-size: 12px; }
  .c-ask { height: 56px; padding-left: 18px; }
  .c-ask .q { font-size: 14px; }
  .c-ask .btn { height: 42px; padding: 0 14px; font-size: 13px; }
  .c-hero .btns { flex-wrap: wrap; }
  .c-glow { width: 500px; height: 400px; }
  .c-bento { grid-template-columns: 1fr; }
  .c-card.s1, .c-card.s2, .c-card.s3, .c-card.s4 { grid-column: auto; }
  .c-card { padding: 26px; }
  .c-card h3 { font-size: 24px; }
  .c-card .vis { display: none; }
  .c-track span { font-size: 17px; }
  .c-cta { margin: 0 16px 72px; padding: 64px 24px; border-radius: 20px; }
  .c-cta h3 { font-size: 30px; }
  .c-cta .btns { flex-direction: column; align-items: stretch; }

  .ftr { padding: 48px 0 32px; }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .ftr-top > div:first-child { grid-column: 1 / -1; }

  .pd-hero { grid-template-columns: 1fr; padding: 32px 0 48px; gap: 36px; }
  .pd-hero h1, .v-minimal .pd-hero h1 { font-size: 40px; }
  .pd-hero h1 small { font-size: 17px; }
  .pd-hero .tag { font-size: 21px; margin-top: 24px; }
  .pd-tabs { top: 64px; }
  .pd-tabs button { height: 52px; padding: 0 14px; font-size: 14px; }
  .pd-tabs button.on::after { left: 14px; right: 14px; }
  .pd-sec { padding: 64px 0; scroll-margin-top: 120px; }
  .pd-overview { grid-template-columns: 1fr; gap: 24px; }
  .pd-overview p.lead { font-size: 17px; }
  .pd-feat { grid-template-columns: 1fr; }
  .v-minimal .pd-f, .v-minimal .pd-f:not(:nth-child(3n+1)) { padding: 28px 0; border-right: 0; }
  .pd-f { padding: 24px; }
  .pd-arch { grid-template-columns: 1fr; }
  .pd-link { width: 2px; height: 20px; margin: 0 auto; }
  .pd-link::after { right: -4px; top: auto; bottom: -6px; border-left-color: transparent; border-top-color: var(--muted); }
  .pd-arch-img { height: 180px; }
  .pd-ben { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pd-b { padding: 20px; }
  .pd-b .ph { width: 44px; height: 44px; margin-bottom: 18px; }
  .pd-b h4 { font-size: 16px; }
  .pd-b p { font-size: 13px; }
  .pd-proc { grid-template-columns: 1fr 1fr; gap: 28px 0; margin-top: 36px; }
  .pd-related { grid-template-columns: 1fr 1fr; gap: 10px; }
}
