/* BTC Tyres & Auto Distribution — design system
   Premium automotive: white / charcoal / near-black + a single bold red accent. */

:root {
  --ink: #0b0d10;
  --charcoal: #16191f;
  --graphite: #23272f;
  --slate: #3a4048;
  --muted: #5b626c;
  --paper: #f4f5f7;
  --paper-2: #eceef1;
  --white: #ffffff;
  --line: rgba(11, 13, 16, 0.10);
  --line-strong: rgba(11, 13, 16, 0.18);
  --red: #d80f2a;
  --red-dark: #ab0b21;
  --red-soft: #fdecee;
  --green: #0f7a4d;
  --green-soft: #e8f6ee;
  --amber: #a76a00;
  --amber-soft: #fdf3e2;

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 22px;

  --sh-1: 0 1px 2px rgba(11, 13, 16, .06), 0 1px 1px rgba(11, 13, 16, .04);
  --sh-2: 0 8px 24px rgba(11, 13, 16, .08), 0 2px 6px rgba(11, 13, 16, .05);
  --sh-3: 0 24px 60px rgba(11, 13, 16, .16);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui,
    "Noto Sans", "Noto Sans Devanagari", "Nirmala UI", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(216, 15, 42, .45); outline-offset: 2px; border-radius: var(--r-xs); }

h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.14; letter-spacing: -.02em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.35rem + 3.1vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.3rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; top: 0; left: 12px; z-index: 200;
  transform: translateY(-200%);
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  padding: 10px 18px; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4.5vw, 56px); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--charcoal); color: #e9ecef; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lead, .section--dark .muted { color: #a9b1ba; }

.grid { display: grid; gap: clamp(14px, 2vw, 22px); }
.g-2, .g-3, .g-4, .g-6 { grid-template-columns: 1fr; }
@media (min-width: 600px) {
  .g-2, .g-4, .g-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-4, .g-6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }
.spacer { flex: 1 1 auto; }
.hide { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .9375rem; }
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head { max-width: 68ch; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--charcoal); color: var(--white);
  border-radius: 10px;
  font-weight: 800; font-size: .875rem; letter-spacing: .02em;
  position: relative; overflow: hidden;
}
.brand__mark::after {
  content: ""; position: absolute; right: -8px; bottom: -8px;
  width: 20px; height: 20px; background: var(--red);
  transform: rotate(45deg);
}
.brand__name { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name b { font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.brand__name span { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
/* The header bar is tight on phones; the footer keeps both lines. */
@media (max-width: 480px) { .site-header .brand__name span { display: none; } }

.site-nav { display: none; }
.site-nav.is-open { display: block; }
.nav-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 11px 12px; border-radius: var(--r-sm);
  font-size: .9375rem; font-weight: 600; color: var(--slate);
}
.nav-list a:hover { background: var(--paper); color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--red); }
@media (min-width: 1040px) {
  .site-nav { display: block; }
  .nav-list { display: flex; gap: 2px; }
  .nav-list a { padding: 8px 11px; }
  .nav-toggle { display: none; }
}
.nav-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav-toggle bars, .nav-toggle .bars { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

/* mobile drawer */
@media (max-width: 1039px) {
  .site-nav.is-open {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-2); padding: 8px var(--gutter) 18px;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: .9375rem; font-weight: 700; letter-spacing: .01em;
  cursor: pointer; text-align: center;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgba(216, 15, 42, .22); }
.btn--primary:hover { background: var(--red-dark); }
.btn--dark { background: var(--charcoal); color: var(--white); }
.btn--dark:hover { background: var(--graphite); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--line-strong); }
.btn--light:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--ink); background: var(--paper); }
.btn--onDark { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .32); }
.btn--onDark:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn__spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- cards / surfaces ---------- */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--sh-1);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.card--flat { box-shadow: none; }
.card--pad-sm { padding: 16px; }
a.card:hover, .card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--paper); color: var(--charcoal); border: 1px solid var(--line);
}
.card__icon--red { background: var(--red-soft); color: var(--red); border-color: rgba(216, 15, 42, .18); }
.card h3, .card h4 { margin-bottom: .3em; }
.card p { color: var(--muted); font-size: .9685rem; }
.feature-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }

.tile {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line);
}
.tile__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tile b { font-size: 1.0625rem; }
.tile span { color: var(--muted); font-size: .9375rem; }

.divider { height: 1px; background: var(--line); border: 0; margin: clamp(24px, 3vw, 40px) 0; }

/* ---------- badges / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--paper-2); color: var(--slate); border: 1px solid var(--line);
}
.badge--red { background: var(--red-soft); color: var(--red-dark); border-color: rgba(216, 15, 42, .2); }
.badge--green { background: var(--green-soft); color: var(--green); border-color: rgba(15, 122, 77, .2); }
.badge--amber { background: var(--amber-soft); color: var(--amber); border-color: rgba(167, 106, 0, .22); }
.badge--dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line-strong);
  font-size: .875rem; font-weight: 600; color: var(--slate);
}
.chip--static { border-style: dashed; background: var(--paper); font-weight: 600; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--charcoal); color: var(--white); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: linear-gradient(90deg, var(--red) 0 32%, transparent 32% 100%);
}
.hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(44px, 7vw, 92px); }
@media (min-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }
.hero h1 { color: var(--white); max-width: 20ch; }
.hero .lead { color: #b6bec7; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--sh-3); }
.hero__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__strip { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__strip div { font-size: .875rem; color: #aeb6bf; }
.hero__strip b { display: block; color: var(--white); font-size: 1.0625rem; }

.page-head { background: var(--charcoal); color: var(--white); padding-block: clamp(36px, 5vw, 64px); position: relative; }
.page-head h1 { color: var(--white); max-width: 24ch; }
.page-head .lead { color: #b6bec7; }
.page-head::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--red); width: 96px; }
.crumbs { font-size: .8125rem; color: #98a1aa; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.crumbs a:hover { color: var(--white); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats > div { background: var(--white); padding: 22px 18px; text-align: center; }
.stats b { display: block; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: .8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.stats--dark { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .12); }
.stats--dark > div { background: var(--graphite); }
.stats--dark span { color: #a9b1ba; }

/* ---------- list styles ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9885rem; }
.ticks svg { margin-top: 4px; color: var(--red); }
.ticks--onDark svg { color: #ff5b70; }
.ticks b { font-weight: 700; }
.ticks span { color: var(--muted); }

.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.steps li { counter-increment: s; position: relative; padding: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.steps li::before {
  content: counter(s, decimal-leading-zero);
  display: block; font-size: .8125rem; font-weight: 800; letter-spacing: .1em;
  color: var(--red); margin-bottom: 10px;
}
.steps h3 { font-size: 1.0625rem; }
.steps p { color: var(--muted); font-size: .9375rem; }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.fieldset { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; margin: 0; display: grid; gap: 16px; background: var(--white); }
.fieldset legend { padding: 0 8px; font-weight: 800; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.fields { display: grid; gap: 16px; }
@media (min-width: 680px) { .fields--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fields--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.field { display: grid; gap: 7px; }
.field > label, .field .lbl { font-size: .875rem; font-weight: 700; color: var(--slate); }
.field .req { color: var(--red); }
.field .hint { font-size: .8125rem; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.textarea { min-height: 116px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--slate); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(216, 15, 42, .14); outline: none; }
.input::placeholder { color: #9aa1aa; }
.field[data-invalid="true"] .input, .field[data-invalid="true"] .select, .field[data-invalid="true"] .textarea { border-color: var(--red); background: #fffafb; }
.err { font-size: .8125rem; color: var(--red-dark); font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9375rem; color: var(--slate); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); }

/* enquiry line items */
.lines { display: grid; gap: 12px; }
.line { display: grid; gap: 10px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); background: var(--paper); }
@media (min-width: 760px) { .line { grid-template-columns: 2fr 1.2fr 1fr 1fr auto; align-items: end; } }
.line__rm { min-height: 48px; width: 48px; border: 1px solid var(--line-strong); background: var(--white); border-radius: var(--r-sm); cursor: pointer; color: var(--muted); }
.line__rm:hover { color: var(--red); border-color: var(--red); }

/* form status panels */
.note { padding: 14px 16px; border-radius: var(--r-sm); font-size: .9375rem; border: 1px solid var(--line); background: var(--paper); color: var(--slate); }
.note--red { background: var(--red-soft); border-color: rgba(216, 15, 42, .22); color: var(--red-dark); }
.note--green { background: var(--green-soft); border-color: rgba(15, 122, 77, .2); color: var(--green); }
.note--amber { background: var(--amber-soft); border-color: rgba(167, 106, 0, .22); color: var(--amber); }
.note b { font-weight: 800; }

.success { text-align: center; padding: clamp(24px, 4vw, 44px); }
.success__mark { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); border: 1px solid rgba(15, 122, 77, .2); }
.ref { font-family: var(--font-mono); font-size: 1.125rem; font-weight: 700; letter-spacing: .06em; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); padding: 12px 16px; display: inline-block; }

/* ---------- catalogue ---------- */
.toolbar { display: grid; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: var(--sh-1); }
@media (min-width: 900px) { .toolbar { grid-template-columns: 2fr repeat(3, 1fr) auto; align-items: end; } }
.toolbar .search { position: relative; }
.toolbar .search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar .search .input { padding-left: 42px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cat-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.cat-tabs button {
  flex: none; min-height: 42px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: .875rem; font-weight: 700; color: var(--slate); cursor: pointer;
}
.cat-tabs button[aria-pressed="true"] { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

.p-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.p-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.p-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.p-card__img { aspect-ratio: 4 / 3; border-radius: var(--r-sm); background: var(--paper); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.p-card__img img { width: 100%; height: 100%; object-fit: cover; }
.p-card h3 { font-size: 1rem; margin: 0; letter-spacing: -.01em; }
.p-card .meta { font-size: .8125rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; }
.p-card .price { font-weight: 800; font-size: 1.0625rem; }
.p-card__foot { margin-top: auto; display: flex; gap: 8px; }
.sku { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: .02em; }

.skel { position: relative; overflow: hidden; background: var(--paper-2); border-radius: var(--r-sm); }
.skel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent); transform: translateX(-100%); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.skel--card { height: 280px; }

.empty { text-align: center; padding: clamp(32px, 6vw, 64px) 20px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: var(--paper); }
.empty h3 { margin-bottom: .3em; }
.empty p { color: var(--muted); }

/* ---------- cart ---------- */
.cart-list { display: grid; gap: 12px; }
.cart-row { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
@media (min-width: 720px) { .cart-row { grid-template-columns: 1fr auto auto auto; align-items: center; } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--white); }
.qty button { width: 40px; height: 44px; border: 0; background: var(--paper); cursor: pointer; font-weight: 800; }
.qty button:hover { background: var(--paper-2); color: var(--red); }
.qty input { width: 58px; height: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.summary .row + .row { border-top: 1px solid var(--line); padding-top: 10px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.375rem; font-weight: 400; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { background: var(--paper); }
.faq .faq__body { padding: 4px 20px 20px; color: var(--muted); font-size: .9885rem; }

/* ---------- app / phone mockup ---------- */
.phone { width: min(280px, 72vw); aspect-ratio: 9 / 19; border-radius: 34px; background: #0d1014; padding: 10px; border: 1px solid rgba(255, 255, 255, .16); box-shadow: var(--sh-3); margin-inline: auto; }
.phone__screen { width: 100%; height: 100%; border-radius: 26px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.phone__bar { height: 26px; background: var(--charcoal); display: flex; align-items: center; justify-content: center; }
.phone__bar i { width: 46px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .35); }
.phone__body { flex: 1; padding: 14px; display: grid; gap: 10px; align-content: start; }
.phone__tile { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: .75rem; font-weight: 700; color: var(--slate); display: flex; justify-content: space-between; align-items: center; }
.phone__tile i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.phone__hero { background: var(--charcoal); color: var(--white); border-radius: 10px; padding: 12px; font-size: .75rem; }
.phone__hero b { display: block; font-size: .9375rem; }

/* ---------- tables (admin) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .9375rem; min-width: 680px; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { background: var(--paper); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
table.data tbody tr:hover { background: #fcfcfd; }
table.data tbody tr:last-child td { border-bottom: 0; }
.pager { display: flex; align-items: center; gap: 10px; justify-content: center; margin-top: 18px; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: #a9b1ba; padding-block: clamp(40px, 5vw, 64px) 28px; font-size: .9375rem; overflow-wrap: break-word; }
.site-footer h4 { color: var(--white); font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a:hover { color: var(--white); }
.f-grid { display: grid; gap: 32px; }
@media (min-width: 620px) { .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* minmax(0,…) keeps one long owner-entered value from widening a column and
   sliding it over the neighbour's text. */
@media (min-width: 1040px) { .f-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); } }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-brand { display: flex; align-items: center; gap: 11px; color: var(--white); font-weight: 800; margin-bottom: 14px; }
.f-brand .brand__mark { background: var(--white); color: var(--charcoal); }
.f-brand .brand__name span { color: #a9b1ba; }
.f-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: .8125rem; }
.f-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; }

/* ---------- sticky action bar ---------- */
.dock { position: sticky; bottom: 0; z-index: 90; display: flex; gap: 8px; padding: 10px var(--gutter); background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); overflow-x: auto; }
.dock .btn { flex: none; min-height: 44px; }
@media (min-width: 1040px) { .dock { display: none; } }

/* ---------- toast ---------- */
.toast { position: fixed; right: 16px; bottom: 16px; z-index: 300; max-width: min(360px, calc(100vw - 32px)); padding: 14px 16px; border-radius: var(--r-sm); background: var(--charcoal); color: var(--white); box-shadow: var(--sh-3); font-size: .9375rem; font-weight: 600; transform: translateY(140%); opacity: 0; transition: transform .28s var(--ease), opacity .28s var(--ease); }
.toast.is-on { transform: translateY(0); opacity: 1; }
.toast--err { background: var(--red-dark); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .dock, .site-footer, .hero__media { display: none !important; }
  body { color: #000; }
}

/* honeypot field: invisible to people, filled in by blind bots and then rejected server-side */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp input { font-size: 16px; }
