/* AIandPlagReports.com — highlighter on paper */
:root {
  --paper: #F6F8FC;
  --sheet: #FFFFFF;
  --ink: #152238;
  --ink-2: #3A4A66;
  --muted: #66748C;
  --rule: #D9E1EE;
  --rule-2: #E9EEF6;
  --yellow: #FFE14D;
  --yellow-soft: #FFF4B8;
  --cyan: #59D8E6;
  --cyan-soft: #D3F5F9;
  --pink: #FF6B8B;
  --pink-soft: #FFE0E7;
  --green: #12805C;
  --green-soft: #DDF5EB;
  --red: #C8293F;
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Public Sans", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.mark { background: linear-gradient(transparent 12%, var(--yellow) 12%, var(--yellow) 88%, transparent 88%); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 15px/1.2 var(--body); padding: 13px 22px; border-radius: 999px; border: 1.5px solid var(--ink); text-decoration: none; cursor: pointer; background: var(--sheet); color: var(--ink); transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:hover { background: var(--yellow-soft); }
.btn-ink { background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--yellow); }
.btn-ink:hover { background: var(--ink); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--yellow); }
.btn-ink:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--yellow); }
.btn-yellow { background: var(--yellow); }
.btn-yellow:hover { background: #FFD91A; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--rule-2); }
.btn-danger { color: var(--red); border-color: #F3B8C2; }
.btn-danger:hover { background: var(--pink-soft); }
.btn-danger-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.icon { width: 20px; height: 20px; flex: none; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--sheet); color: var(--ink); cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn.del:hover { border-color: var(--red); color: var(--red); background: var(--pink-soft); }

/* ---------- flashes ---------- */
.flashes { display: grid; gap: 10px; margin-bottom: 22px; }
.flash { padding: 12px 16px; border-radius: var(--r-md); border: 1.5px solid; font-weight: 600; font-size: 15px; }
.flash.success { background: var(--green-soft); border-color: #9ED9C1; color: #0B5E43; }
.flash.error { background: var(--pink-soft); border-color: #F3B8C2; color: #8E1C2F; }
.flash.warning { background: var(--yellow-soft); border-color: #F0D664; color: #6B5300; }
.flash.info { background: var(--cyan-soft); border-color: #9FE3EB; color: #0D5C66; }

/* ---------- public header/footer ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 248, 252, .92); backdrop-filter: blur(8px); border-bottom: 1.5px solid var(--rule); }
.top-in { height: 68px; display: flex; align-items: center; gap: 6px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 19px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); margin-right: auto; white-space: nowrap; min-width: 0; }
.logo-chip { background: var(--yellow); padding: 3px 2px 3px 6px; border-radius: 4px 0 0 4px; }
.logo-tld { color: var(--muted); font-weight: 600; }
.nav-link { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.nav-link:hover { background: var(--rule-2); }
.foot { border-top: 1.5px solid var(--rule); margin-top: 40px; padding: 44px 0 30px; font-size: 14px; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 28px; }
.foot h4 { font-size: 17px; margin-bottom: 10px; }
.foot a { display: block; text-decoration: none; padding: 3px 0; color: var(--ink-2); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 12.5px; line-height: 1.6; color: var(--muted); max-width: 900px; }
.legal a { display: inline; text-decoration: underline; color: inherit; }

/* ---------- home ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(36px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 .line { display: inline; background-image: linear-gradient(var(--hl, var(--yellow)), var(--hl, var(--yellow))); background-repeat: no-repeat; background-size: 100% 72%; background-position: 0 70%; padding: 0 .06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero h1 .l2 { --hl: var(--cyan); }
.hero h1 .l3 { --hl: var(--pink-soft); }
.hero-sub { font-size: 19px; color: var(--ink-2); max-width: 540px; margin: 26px 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-price { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; color: var(--ink-2); }
.hero-price b { color: var(--ink); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 18px; height: 10px; border-radius: 2px; display: inline-block; }

.sheet { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 26px 26px 22px; position: relative; box-shadow: 10px 10px 0 var(--rule); }
.sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--rule); margin-bottom: 16px; }
.sheet-head b { font: 700 15px/1.3 var(--display); display: block; }
.sheet-head small { color: var(--muted); font-size: 12.5px; }
.scores { display: flex; gap: 8px; }
.score { border: 1.5px solid var(--ink); border-radius: 10px; padding: 6px 10px; text-align: center; min-width: 74px; }
.score b { display: block; font: 800 22px/1 var(--display); }
.score small { font-size: 11px; color: var(--ink-2); }
.score.ai { background: var(--cyan-soft); }
.score.sim { background: var(--pink-soft); }
.sheet p.txt { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin-bottom: 10px; }
.hl-ai { background: var(--cyan-soft); border-bottom: 2px solid var(--cyan); }
.hl-sim { background: var(--pink-soft); border-bottom: 2px solid var(--pink); }
.sheet-note { position: absolute; right: -14px; bottom: -18px; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 700; transform: rotate(-3deg); }
.illus { font-size: 12px; color: var(--muted); margin-top: 26px; text-align: right; }

.offer-strip { background: var(--ink); color: #fff; }
.offer-in { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; padding: 18px 24px; }
.offer-in strong { font: 800 22px/1.1 var(--display); color: var(--yellow); }
.offer-in p { color: #D6DEEC; flex: 1 1 320px; }
.offer-in .btn { border-color: var(--yellow); }

.sec { padding: 84px 0; }
.sec-head { max-width: 640px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 12px; }
.sec-head p { font-size: 18px; color: var(--ink-2); }
.sec-alt { background: var(--sheet); border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule); }

.reports { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.report-card { border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 28px; background: var(--sheet); }
.report-card h3 { font-size: 26px; margin: 14px 0 8px; }
.report-card > p { color: var(--ink-2); margin-bottom: 14px; }
.swatch { display: inline-block; height: 14px; width: 64px; border-radius: 3px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--green); margin-top: 3px; width: 18px; height: 18px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; background: var(--sheet); counter-reset: step; }
.steps li { padding: 26px 24px; border-right: 1.5px solid var(--rule); counter-increment: step; }
.steps li:last-child { border-right: none; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: var(--yellow); border: 1.5px solid var(--ink); font: 800 16px/1 var(--display); margin-bottom: 16px; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 15px; }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { border: 1.5px solid var(--rule); border-radius: var(--r-lg); padding: 28px; background: var(--sheet); display: flex; flex-direction: column; }
.price-card.main { border-color: var(--ink); box-shadow: 8px 8px 0 var(--yellow); }
.price-card h3 { font-size: 22px; }
.price-card .sub { color: var(--muted); font-size: 15px; margin: 4px 0 18px; }
.price-card .big { font: 800 46px/1 var(--display); letter-spacing: -0.03em; }
.price-card .big small { font: 500 15px var(--body); color: var(--muted); letter-spacing: 0; }
.price-card .note { color: var(--ink-2); font-size: 14px; margin: 8px 0 18px; }
.price-card .ticks { margin-bottom: 24px; }
.price-card .btn { margin-top: auto; }
.pay-line { margin-top: 22px; color: var(--muted); font-size: 14px; }

.hz-home { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hz-home h2 { font-size: clamp(32px, 4.4vw, 48px); margin-bottom: 14px; }
.hz-home > div > p { font-size: 18px; color: var(--ink-2); margin-bottom: 20px; }
.hz-card { border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--sheet); padding: 26px; }
.hz-card .big { font: 800 44px/1 var(--display); }
.hz-card .big small { font: 500 15px var(--body); color: var(--muted); }
.rows { margin: 16px 0 20px; }
.rows div { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 15px; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1.5px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 18px/1.35 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; width: 30px; height: 30px; border-radius: 999px; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 600 18px/1 var(--body); }
.faq details[open] summary::after { content: "–"; background: var(--yellow); }
.faq details > p { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

.final { border: 1.5px solid var(--ink); border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; background: var(--yellow); }
.final h2 { font-size: clamp(30px, 4vw, 44px); max-width: 620px; }

/* ---------- auth ---------- */
.auth-wrap { min-height: calc(100vh - 69px); display: grid; place-items: center; padding: 40px 16px 60px; }
.auth-card { width: 100%; max-width: 440px; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 34px 30px; box-shadow: 10px 10px 0 var(--rule); }
.auth-card h1 { font-size: 34px; margin-bottom: 6px; }
.auth-card .lead { color: var(--ink-2); margin-bottom: 24px; }
.auth-alt { margin-top: 18px; font-size: 15px; color: var(--ink-2); text-align: center; }
.auth-alt a { font-weight: 700; }

/* ---------- forms ---------- */
.field { margin-bottom: 16px; }
.field label, .label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.input { width: 100%; padding: 12px 14px; font: 500 16px var(--body); color: var(--ink); background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--r-md); outline: none; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px var(--yellow-soft); }
.input[disabled] { background: var(--paper); color: var(--muted); }
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--r-md); cursor: pointer; font-size: 15px; margin-bottom: 12px; background: var(--sheet); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }

/* ---------- app shell ---------- */
.app-top { background: var(--sheet); border-bottom: 1.5px solid var(--ink); position: sticky; top: 0; z-index: 60; }
.app-top-in { display: flex; align-items: center; gap: 10px; height: 64px; }
.tabs { display: flex; gap: 4px; margin-left: 18px; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.tabs a:hover { background: var(--rule-2); color: var(--ink); }
.tabs a.on { background: var(--yellow); color: var(--ink); }
.tabs .count { background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 1px 7px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.slot-pill { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--ink); font-weight: 800; font-size: 14px; white-space: nowrap; }
.slot-pill:hover { background: var(--yellow-soft); }
.avatar { width: 36px; height: 36px; border-radius: 999px; background: var(--cyan-soft); border: 1.5px solid var(--ink); display: grid; place-items: center; font: 800 15px/1 var(--display); text-decoration: none; flex: none; }
.app-main { padding: 34px 0 110px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head > div:first-child { min-width: 0; }
.page-head h1 { font-size: clamp(30px, 4vw, 42px); overflow-wrap: anywhere; }
.page-head p { color: var(--ink-2); margin-top: 6px; }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bottom-tabs { display: none; }
.app-legal { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.app-legal a { color: inherit; }
.app-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }

.card { background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--r-lg); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px 22px; border-bottom: 1.5px solid var(--rule); }
.card-head h2 { font-size: 22px; }
.card-body { padding: 22px; }
.stack { display: grid; gap: 22px; }

.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.tile { background: var(--sheet); border: 1.5px solid var(--rule); border-radius: var(--r-lg); padding: 16px 18px; }
.tile span { display: block; font-size: 14px; color: var(--ink-2); font-weight: 600; }
.tile b { display: block; font: 800 34px/1.1 var(--display); margin-top: 4px; }
.tile a { font-size: 14px; font-weight: 700; }
.tile.ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile.ink span { color: #B9C5DA; }
.tile.ink a { color: var(--yellow); }

.notice { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-radius: var(--r-lg); border: 1.5px solid; margin-bottom: 22px; }
.notice > div { flex: 1 1 260px; }
.notice b { display: block; }
.notice.warn { background: var(--yellow-soft); border-color: #F0D664; }
.notice.good { background: var(--green-soft); border-color: #9ED9C1; }
.notice.offer { background: var(--ink); color: #fff; border-color: var(--ink); }
.notice.offer b { color: var(--yellow); }

.seg { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border: 1.5px solid var(--rule); border-radius: 999px; flex-wrap: wrap; }
.seg button { border: none; background: none; padding: 7px 13px; border-radius: 999px; font: 600 14px var(--body); color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--ink); color: #fff; }
.toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 14px 22px; border-bottom: 1.5px solid var(--rule); }
.search { position: relative; flex: 1 1 220px; max-width: 320px; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.search input { padding-left: 38px; border-radius: 999px; }

.list { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, .7fr) minmax(0, .7fr) minmax(0, 1.6fr); gap: 14px; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--rule-2); }
.row:last-child { border-bottom: none; }
.row-head { font-size: 13px; color: var(--muted); font-weight: 700; background: var(--paper); padding-top: 10px; padding-bottom: 10px; }
.cols-admin .row { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); }
.file { display: flex; gap: 12px; align-items: center; min-width: 0; }
.file-ic { width: 40px; height: 48px; border: 1.5px solid var(--ink); border-radius: 6px 12px 6px 6px; background: var(--sheet); display: grid; place-items: center; flex: none; font: 800 10px/1 var(--body); color: var(--ink-2); }
.file b { display: block; overflow-wrap: anywhere; line-height: 1.3; }
.file small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.cell-label { display: none; }
.empty { text-align: center; padding: 48px 22px; }
.empty h3 { font-size: 24px; margin-bottom: 6px; }
.empty p { color: var(--ink-2); margin-bottom: 18px; }
.no-match { display: none; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1.5px solid; white-space: nowrap; }
.badge.ready { background: var(--green-soft); border-color: #9ED9C1; color: #0B5E43; }
.badge.wait { background: var(--yellow-soft); border-color: #F0D664; color: #6B5300; }
.badge.unpaid { background: var(--pink-soft); border-color: #F3B8C2; color: #8E1C2F; }
.badge.edit { background: var(--cyan-soft); border-color: #9FE3EB; color: #0D5C66; }
.badge.off { background: var(--paper); border-color: var(--rule); color: var(--muted); }
.chip-score { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; padding: 2px 8px; border-radius: 6px; font-size: 14px; }
.chip-score.ai { background: var(--cyan-soft); }
.chip-score.sim { background: var(--pink-soft); }

.split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.sticky { position: sticky; top: 88px; }

.drop { display: block; border: 2px dashed #B9C5DA; border-radius: var(--r-lg); padding: 38px 18px; text-align: center; background: var(--paper); cursor: pointer; transition: background .12s, border-color .12s; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--yellow-soft); }
.drop b { display: block; font: 700 20px/1.3 var(--display); margin: 10px 0 4px; }
.drop span { color: var(--ink-2); font-size: 14px; }
.drop u { font-weight: 700; }
.drop input { display: none; }
.drop .icon { width: 34px; height: 34px; margin: 0 auto; }
.picked { display: grid; gap: 8px; margin-top: 14px; }
.picked-row { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: var(--r-md); background: var(--sheet); }
.picked-row.skip { opacity: .5; }
.picked-row .nm { flex: 1; min-width: 0; }
.picked-row .nm b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.picked-row .nm small { color: var(--muted); font-size: 13px; }

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); gap: 10px; margin-bottom: 20px; }
.pack { position: relative; border: 1.5px solid var(--rule); border-radius: var(--r-md); background: var(--sheet); padding: 16px 6px 12px; text-align: center; cursor: pointer; font-family: var(--body); color: var(--ink); text-decoration: none; display: block; }
.pack:hover { border-color: var(--ink); }
.pack.on { border-color: var(--ink); background: var(--yellow-soft); box-shadow: 3px 3px 0 var(--ink); }
.pack b { display: block; font: 800 24px/1.1 var(--display); }
.pack span { font-size: 13px; color: var(--ink-2); }
.pack i { display: block; font-style: normal; font-size: 12px; font-weight: 800; color: var(--green); }
.pack em { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; background: var(--yellow); border: 1.5px solid var(--ink); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; background: var(--sheet); }
.stepper button { width: 46px; height: 48px; border: none; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.stepper button:hover { background: var(--yellow-soft); }
.stepper input { width: 74px; height: 48px; border: none; border-left: 1.5px solid var(--rule); border-right: 1.5px solid var(--rule); text-align: center; font: 800 20px var(--display); color: var(--ink); outline: none; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.nudge { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border: 1.5px dashed var(--ink); border-radius: var(--r-md); background: var(--yellow-soft); margin: 18px 0; font-size: 15px; }
.nudge span { flex: 1 1 220px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; color: var(--ink-2); font-size: 15px; gap: 12px; }
.sum-row b { color: var(--ink); }
.sum-get { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; margin: 6px 0; background: var(--green-soft); border: 1.5px solid #9ED9C1; border-radius: var(--r-md); color: #0B5E43; font-weight: 700; }
.sum-get b { font: 800 26px/1 var(--display); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1.5px solid var(--ink); margin-top: 10px; padding-top: 14px; }
.sum-total b { font: 800 38px/1 var(--display); letter-spacing: -0.02em; }
.kes { text-align: right; font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.cards { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.cards span { font-size: 11px; font-weight: 800; padding: 4px 8px; border: 1.5px solid var(--rule); border-radius: 6px; }
.secure { text-align: center; font-size: 13px; color: var(--muted); margin-top: 8px; }
.coupon-box summary { cursor: pointer; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.coupon-box summary::-webkit-details-marker { display: none; }
.coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.coupon-row .input { text-transform: uppercase; }
.msg { font-size: 14px; margin-top: 8px; }
.msg.ok { color: var(--green); }
.msg.err { color: var(--red); }

.step-label { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-weight: 700; }
.step-label i { font-style: normal; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--yellow); border: 1.5px solid var(--ink); font: 800 14px/1 var(--display); flex: none; }
.step-block { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1.5px dashed var(--rule); }
.step-block:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.use-all { display: none; margin-top: 10px; border: 1.5px dashed var(--ink); background: var(--cyan-soft); border-radius: 999px; padding: 7px 14px; font: 700 14px var(--body); cursor: pointer; color: var(--ink); }
.use-all.show { display: inline-block; }

.modal { position: fixed; inset: 0; z-index: 200; background: rgba(21, 34, 56, .55); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: var(--sheet); border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 28px; width: 100%; max-width: 440px; box-shadow: 10px 10px 0 var(--yellow); max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-box h3 { font-size: 26px; margin-bottom: 8px; }
.modal-box p { color: var(--ink-2); margin-bottom: 18px; }
.modal-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; }
.kv span { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.kv b { overflow-wrap: anywhere; }
.box { background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--r-md); padding: 14px 16px; white-space: pre-wrap; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { text-align: left; font-size: 13px; color: var(--muted); padding: 10px 22px; background: var(--paper); border-bottom: 1.5px solid var(--rule); }
.tbl td { padding: 13px 22px; border-bottom: 1px solid var(--rule-2); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.code { font-family: ui-monospace, Consolas, monospace; font-weight: 700; background: var(--yellow-soft); padding: 2px 6px; border-radius: 4px; }
.err-page { text-align: center; padding: 90px 16px; }
.err-page h1 { font-size: 90px; }

/* legal */
.doc { max-width: 760px; margin: 0 auto; padding: 50px 24px 30px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 8px; }
.doc h2 { font-size: 24px; margin: 30px 0 8px; }
.doc p, .doc li { color: var(--ink-2); line-height: 1.75; }
.doc .key { background: var(--yellow-soft); border: 1.5px solid var(--ink); border-radius: var(--r-md); padding: 16px 18px; margin: 20px 0; color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .hz-home, .split-even { grid-template-columns: minmax(0, 1fr); }
  .hero-grid .sheet { max-width: 560px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: none; }
  .steps li:nth-child(-n+2) { border-bottom: 1.5px solid var(--rule); }
  .prices { grid-template-columns: 1fr; max-width: 520px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .sticky { position: static; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs { display: none; }
  .bottom-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--sheet); border-top: 1.5px solid var(--ink); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .bottom-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-decoration: none; font-size: 11.5px; font-weight: 700; color: var(--ink-2); padding: 6px 2px; border-radius: 12px; position: relative; min-width: 0; }
  .bottom-tabs a.on { background: var(--yellow); color: var(--ink); }
  .bottom-tabs .count { position: absolute; top: 2px; right: calc(50% - 22px); background: var(--ink); color: #fff; font-size: 10px; border-radius: 999px; padding: 0 5px; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 56px; }
  .hero-sub { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .sheet { padding: 20px 18px 18px; box-shadow: 6px 6px 0 var(--rule); }
  .sheet-note { right: 8px; }
  .sec { padding: 60px 0; }
  .reports { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: none !important; border-bottom: 1.5px solid var(--rule); }
  .steps li:last-child { border-bottom: none; }
  .final { padding: 30px 22px; }
  .final .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
  .nav-link.hide-sm { display: none; }
  .grid-2, .grid-3, .kv { grid-template-columns: 1fr; }
  .row, .cols-admin .row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 16px; }
  .row-head { display: none; }
  .cell-label { display: inline; font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 6px; }
  .acts { justify-content: flex-start; }
  .toolbar { padding: 12px 16px; }
  .search { max-width: none; }
  .card-head, .card-body { padding: 16px; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1 1 auto; }
  .tbl th, .tbl td { padding: 10px 14px; }
  .auth-card { padding: 26px 20px; box-shadow: 6px 6px 0 var(--rule); }
  .tile b { font-size: 28px; }
  .slot-pill .lbl { display: none; }
}
@media (max-width: 420px) {
  .logo { font-size: 16.5px; }
  .logo-tld { display: none; }
  .top-in .btn { padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 340px) { .tiles { grid-template-columns: 1fr; } }
