/* Inner pages: pricing matrix, features deep-dive, industries, contact */

/* ---------- comparison table ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp th:first-child, .cmp td:first-child { text-align: left; width: 40%; position: sticky; left: 0; background: #fff; z-index: 1; }
.cmp thead th { background: #fff; font-family: var(--f-display); font-size: 18px; font-weight: 700; padding: 20px 18px; }
.cmp thead th:first-child { z-index: 3; }
.cmp td small { display: block; color: var(--muted-2); font-size: 12.5px; margin-top: 2px; }
.cmp td:not(:first-child) { color: var(--muted); font-weight: 500; }
.cmp .pop { background: #f6f6ff; }
.cmp thead th.pop { color: var(--brand); background: #f6f6ff; }
.cmp tr.grp td { background: var(--paper-2) !important; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 18px; }
.cmp td.y { color: var(--teal) !important; font-weight: 700; font-size: 17px; }
.cmp td.n { color: #c5c9d6 !important; }

/* ---------- features page ---------- */
.spy { position: sticky; top: 72px; z-index: 50; background: rgba(251,251,248,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.spy-inner { display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.spy-inner::-webkit-scrollbar { display: none; }
.spy a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: .2s; }
.spy a:hover { color: var(--text); }
.spy a.on { background: var(--text); color: #fff; }
.chapter { padding: clamp(70px, 9vw, 120px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.chapter:nth-of-type(even):not(.on-ink) { background: var(--paper-2); }
.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ch-grid.flip > :first-child { order: 2; }
.ch-head .h2 { font-size: clamp(30px, 3.8vw, 46px); margin: 12px 0 16px; }
.ch-visual { position: relative; }
.ch-visual .static-pair { aspect-ratio: 1.1; }
.ch-visual.solo { display: flex; justify-content: center; gap: 18px; }
.ch-visual.solo .mini-phone { position: relative; width: min(46%, 270px); }
.ch-visual.solo .mini-phone:nth-child(2) { margin-top: 60px; }
.ch-visual.browser-only .browser { position: relative; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 26px; }
.fitem { display: flex; gap: 12px; align-items: flex-start; }
.fitem .ic { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.fitem .ic svg { width: 18px; height: 18px; }
.fitem b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.fitem span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.fitem .plan { position: static; display: inline-block; margin-left: 6px; vertical-align: 2px; font-size: 9.5px; padding: 2px 6px; }
@media (max-width: 960px) { .ch-grid, .ch-grid.flip { grid-template-columns: 1fr; gap: 40px; } .ch-grid.flip > :first-child { order: 0; } }
@media (max-width: 560px) { .flist { grid-template-columns: 1fr; } }

.whatsnew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wn { padding: 24px; border-radius: var(--r-lg); background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-line); }
.wn .date { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--mint); text-transform: uppercase; }
.wn h4 { margin: 10px 0 8px; font-family: var(--f-display); font-size: 19px; font-weight: 700; }
.wn p { margin: 0; font-size: 14.5px; color: var(--on-ink-muted); }
@media (max-width: 900px) { .whatsnew { grid-template-columns: 1fr; } }

/* ---------- industries page ---------- */
.ind-hero-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
.ind-jump { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--ink-line); font-weight: 600; transition: .25s; text-align: left; }
.ind-jump:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.ind-jump .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(63,240,200,.12); color: var(--mint); flex: none; }
.ind-jump .ic svg { width: 20px; height: 20px; }
.ind-jump small { display: block; font-weight: 500; color: var(--on-ink-muted); font-size: 13px; }
@media (max-width: 800px) { .ind-hero-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ind-hero-grid { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-card { padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; transition: .3s var(--ease); }
.c-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line), var(--sh-2); }
.c-card .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.c-card .ic svg { width: 22px; height: 22px; }
.c-card h3 { margin: 6px 0 0; font-family: var(--f-display); font-size: 21px; }
.c-card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.c-card a.link { color: var(--brand); font-weight: 600; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- coded mock cards (inspection, booking) ---------- */
.insp-mock, .book-mock { max-width: 440px; margin: 0 auto; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--sh-3); padding: 26px; display: grid; gap: 14px; }
.im-head b { display: block; font-family: var(--f-display); font-size: 20px; }
.im-head span { font-size: 13.5px; color: var(--teal); font-weight: 600; }
.im-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.im-grid div { aspect-ratio: 4/3; border-radius: 14px; background: linear-gradient(145deg, #e9edf7, #dfe5f2); display: grid; place-items: center; align-content: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); position: relative; overflow: hidden; }
.im-grid div::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 11px; display: grid; place-items: center; }
.im-grid svg { width: 26px; height: 26px; color: #9aa3bd; }
.im-dmg { padding: 12px 14px; border-radius: 14px; background: #fff6e6; font-size: 13.5px; color: #8a5a00; }
.im-dmg b { display: block; color: #6b4600; }
.im-sig { padding: 10px 14px 12px; border-radius: 14px; background: var(--paper-2); }
.im-sig svg { width: 100%; height: 54px; }
.im-sig path { fill: none; stroke: #1a2140; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; }
.rv.in .im-sig path { animation: draw 2.4s var(--ease) .4s forwards; }
.im-sig span { display: block; font-size: 12px; color: var(--muted); border-top: 1px solid #d5d9e4; padding-top: 6px; }
.book-mock { background: linear-gradient(170deg, #121a33, #0a0f1f); color: var(--on-ink); box-shadow: 0 40px 80px -30px rgba(13,18,34,.7); }
.bm-head { display: flex; gap: 12px; align-items: center; }
.bm-head b { display: block; font-size: 16px; }
.bm-head span { font-size: 12.5px; color: var(--on-ink-muted); }
.bm-logo { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(145deg, var(--brand), var(--teal)); display: grid; place-items: center; font-weight: 800; }
.bm-title { font-family: var(--f-display); font-size: 26px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.bm-title em { font-style: normal; color: var(--mint); }
.bm-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bm-sizes span { text-align: center; padding: 12px 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); font-size: 14px; font-weight: 600; color: var(--on-ink-muted); }
.bm-sizes span.on { box-shadow: inset 0 0 0 2px var(--brand); color: #fff; background: rgba(91,99,230,.15); }
.bm-pkg { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.bm-pkg.on { box-shadow: inset 0 0 0 2px var(--mint); }
.bm-pkg small { display: block; color: var(--on-ink-muted); font-size: 12.5px; }
.bm-cta { height: 50px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; font-weight: 700; }
.ch-grid > * { min-width: 0; }
@media (max-width: 560px) { .ch-head .btn { white-space: normal; height: auto; min-height: 52px; padding: 13px 22px; text-align: center; line-height: 1.3; } }
.chapter.on-ink { background: var(--ink); border-color: var(--ink-line); }
