/* ==========================================================================
   KUANGSHI PPE — Design System
   B2B industrial PPE supplier site for importers & distributors
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #0E1A2B;
  --ink-2:      #16273C;
  --ink-3:      #24384F;
  --accent:     #E2571E;
  --accent-2:   #F08A3C;
  --steel:      #2E5C8A;
  --steel-soft: #E8F0F7;
  --ok:         #1F7A4D;
  --ok-soft:    #E7F4EE;
  --warn:       #B26A00;
  --warn-soft:  #FDF3E2;

  /* Neutral */
  --bg:         #FFFFFF;
  --bg-soft:    #F7F9FB;
  --bg-tint:    #EFF3F7;
  --line:       #E2E8EF;
  --line-2:     #CBD5E1;
  --text:       #1B2430;
  --text-2:     #4A5A6B;
  --muted:      #6B7A8C;

  /* Type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
          "Liberation Mono", monospace;

  /* Layout */
  --maxw: 1180px;
  --gutter: 24px;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 26, 43, .06);
  --shadow: 0 4px 16px rgba(14, 26, 43, .07);
  --shadow-lg: 0 12px 40px rgba(14, 26, 43, .10);

  --header-h: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(1.95rem, 1.3rem + 2.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); }
h3 { font-size: clamp(1.12rem, 1rem + .5vw, 1.4rem); }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

small { font-size: .82rem; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--ink {
  background: var(--ink);
  color: #DCE4EC;
}
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: #A9BACB;
  font-size: .8rem;
  letter-spacing: .01em;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar__std { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar__std span { color: #8FA6BC; }
.topbar__std b { color: #DCE4EC; font-weight: 600; }
.topbar a { color: #F08A3C; font-weight: 600; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  right: -10px; bottom: -10px;
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .9;
}
.brand__name {
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.01em;
}
.brand__sub {
  font-size: .68rem;
  color: var(--muted);
  letter-spacing: .09em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a {
  color: var(--text-2);
  font-size: .92rem;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav > a:hover { color: var(--ink); background: var(--bg-tint); }
.nav > a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.header__cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.navtoggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.navtoggle span,
.navtoggle span::before,
.navtoggle span::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: .2s;
}
.navtoggle span::before { content: ""; position: absolute; top: -6px; }
.navtoggle span::after  { content: ""; position: absolute; top: 6px; }
.navtoggle[aria-expanded="true"] span { background: transparent; }
.navtoggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .93rem;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .16s;
  text-align: center;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #C8480F; color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #EDF1F5; color: var(--ink); }
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(180deg, #0E1A2B 0%, #16273C 100%);
  color: #C8D4E0;
  padding: clamp(44px, 5vw, 72px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #F08A3C;
  margin-bottom: 18px;
}
.hero__eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero__lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
  color: #B7C6D5;
  max-width: 56ch;
  margin-bottom: 28px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.hero__proof b {
  display: block;
  font-size: 1.5rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4px;
}
.hero__proof span { font-size: .8rem; color: #8FA6BC; line-height: 1.45; display: block; }

.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(14,26,43,.88);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.15);
  max-width: 260px;
}
.hero__badge strong { display: block; font-size: .88rem; margin-bottom: 3px; }
.hero__badge span { font-size: .76rem; color: #A9BACB; line-height: 1.4; display: block; }

/* ---------- Section head ---------- */
.head { max-width: 720px; margin-bottom: 40px; }
.head--center { margin-inline: auto; text-align: center; }
.head__eyebrow {
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}
.head p { color: var(--text-2); font-size: 1.02rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px;
  transition: .18s;
}
.card--hover:hover {
  border-color: var(--line-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card h3 { font-size: 1.14rem; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: .93rem; }
.card__icon {
  width: 44px; height: 44px;
  border-radius: 9px;
  background: var(--steel-soft);
  color: var(--steel);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-weight: 800;
  font-size: .8rem;
}
.card__icon--accent { background: #FDEEE5; color: var(--accent); }
.card__icon--ok { background: var(--ok-soft); color: var(--ok); }

.prodcard {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .18s;
}
.prodcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.prodcard__img { aspect-ratio: 4 / 3; background: var(--bg-tint); overflow: hidden; }
.prodcard__img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.prodcard:hover .prodcard__img img { transform: scale(1.04); }
.prodcard__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.prodcard__body h3 { font-size: 1.16rem; }
.prodcard__body p { color: var(--text-2); font-size: .92rem; flex: 1; }
.prodcard__std {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin: 14px 0 18px;
}
.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 4px 9px;
  border-radius: 4px;
  background: var(--bg-tint);
  color: var(--steel);
  border: 1px solid var(--line);
}
.tag--accent { background: #FDEEE5; color: #A8430F; border-color: #F6D3BE; }
.tag--ok { background: var(--ok-soft); color: var(--ok); border-color: #C8E5D6; }

/* ---------- Feature list ---------- */
.flist { list-style: none; padding: 0; margin: 0; }
.flist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: .94rem;
}
.flist li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ok-soft);
  border: 1px solid #B9DFC9;
}
.flist li::after {
  content: "";
  position: absolute;
  left: 5px; top: 12px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}
.flist--accent li::before { background: #FDEEE5; border-color: #F6D3BE; }
.flist--accent li::after { border-color: var(--accent); }
.flist b { color: var(--ink); }

/* ---------- Tables ---------- */
.tablewrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  -webkit-overflow-scrolling: touch;
  /* 移动端提示：表格可横向滚动 */
  background-image:
    linear-gradient(to right, var(--bg) 30%, rgba(255, 255, 255, 0)),
    linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg) 70%),
    linear-gradient(to right, rgba(14, 26, 43, .10), rgba(14, 26, 43, 0)),
    linear-gradient(to left, rgba(14, 26, 43, .10), rgba(14, 26, 43, 0));
  background-position: 0 0, 100% 0, 0 0, 100% 0;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 16px 100%, 16px 100%;
  background-attachment: local, local, scroll, scroll;
}
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  min-width: 520px;
}
table.data caption {
  text-align: left;
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
table.data th,
table.data td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data thead th {
  background: var(--bg-tint);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-2);
  font-weight: 700;
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--bg-soft); }
table.data td.num,
table.data td .mono { font-family: var(--mono); font-size: .84rem; }
table.data .strong { font-weight: 700; color: var(--ink); }
table.data caption .cap-note {
  display: block;
  font-weight: 400;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 4px;
  text-transform: none;
  letter-spacing: 0;
}

/* Colour-code swatch cell for EN 1492 */
.swatch {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.16);
  vertical-align: -2px;
  margin-right: 7px;
}

/* ---------- Callout ---------- */
.callout {
  border-left: 3px solid var(--accent);
  background: #FDF6F2;
  padding: 20px 24px;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: .93rem;
  color: var(--text-2);
}
.callout--ok { border-left-color: var(--ok); background: var(--ok-soft); }
.callout--steel { border-left-color: var(--steel); background: var(--steel-soft); }
.callout strong { color: var(--ink); display: block; margin-bottom: 5px; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { position: relative; padding-left: 58px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: .9rem;
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: .93rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.stat { background: var(--bg); padding: 26px 22px; }
.stat b {
  display: block;
  font-size: 1.85rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.stat span { font-size: .84rem; color: var(--muted); display: block; margin-top: 5px; }

/* ---------- Standards strip ---------- */
.std-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.std-strip span {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #D3DEE9;
}

/* ---------- CTA band ---------- */
.cta {
  background: var(--ink);
  color: #C8D4E0;
  padding: clamp(44px, 5vw, 68px) 0;
  position: relative;
  overflow: hidden;
}
.cta::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,87,30,.28), transparent 68%);
  pointer-events: none;
}
.cta .wrap { position: relative; display: grid; grid-template-columns: 1.25fr auto; gap: 32px; align-items: center; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: #A9BACB; max-width: 58ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 16px 52px 16px 20px;
  font-weight: 600;
  font-size: .97rem;
  color: var(--ink);
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] { border-color: var(--line-2); }
.faq__body { padding: 0 20px 18px; color: var(--text-2); font-size: .93rem; }
.faq__body p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: .01em;
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: .93rem;
  color: var(--text);
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  width: 100%;
  transition: .14s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(46,92,138,.13);
}
.field textarea { min-height: 128px; resize: vertical; }
.field .hint { font-size: .76rem; color: var(--muted); margin-top: 5px; }
.field input::placeholder, .field textarea::placeholder { color: #9AA8B8; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--text-2); }
.checkbox input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }

.formstatus {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  font-size: .89rem;
  font-weight: 500;
  display: none;
  margin-top: 16px;
}
.formstatus.is-ok { display: block; background: var(--ok-soft); color: var(--ok); border: 1px solid #C8E5D6; }
.formstatus.is-err { display: block; background: #FCEBEB; color: #A32D2D; border: 1px solid #F7C1C1; }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Contact list ---------- */
.contactlist { list-style: none; padding: 0; margin: 0; }
.contactlist li {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.contactlist li:last-child { border-bottom: 0; }
.contactlist .k {
  flex-shrink: 0;
  width: 92px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  font-weight: 700;
  padding-top: 2px;
}
.contactlist .v { color: var(--text); font-weight: 500; word-break: break-word; }
.contactlist .v a { font-weight: 600; }

/* ---------- Page head (inner pages) ---------- */
.pagehead {
  background: var(--ink);
  color: #B7C6D5;
  padding: 40px 0 46px;
  position: relative;
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.pagehead .wrap { position: relative; }
.pagehead h1 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.6rem); margin-bottom: 12px; }
.pagehead p { color: #A9BACB; max-width: 66ch; font-size: 1.02rem; }
.crumb {
  font-size: .78rem;
  color: #7E93A8;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.crumb a { color: #A9BACB; }
.crumb a:hover { color: var(--accent-2); }

/* ---------- Article ---------- */
.article { max-width: 860px; }
.article h2 { margin-top: 44px; }
.article h3 { margin-top: 30px; }
.article p, .article li { color: var(--text-2); }
.article strong { color: var(--ink); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article code {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--bg-tint);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--ink);
}
.article figure { margin: 26px 0; }
.article figure img { border-radius: var(--r); border: 1px solid var(--line); }
.article figcaption { font-size: .8rem; color: var(--muted); margin-top: 8px; text-align: center; }

.lead {
  font-size: 1.08rem;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 26px;
}

/* ---------- Guide cards ---------- */
.guidecard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  background: var(--bg);
  transition: .18s;
  height: 100%;
}
.guidecard:hover { border-color: var(--steel); box-shadow: var(--shadow); }
.guidecard .std {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .04em;
  margin-bottom: 10px;
}
.guidecard h3 { font-size: 1.04rem; margin-bottom: 8px; }
.guidecard p { font-size: .9rem; color: var(--text-2); flex: 1; }
.guidecard .more {
  margin-top: 14px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--steel);
}
.guidecard:hover .more { color: var(--accent); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #90A5B8;
  padding: 58px 0 0;
  font-size: .89rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: #90A5B8; }
.footer a:hover { color: var(--accent-2); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #7E93A8; }
.footer__brand p { margin-top: 16px; max-width: 34ch; line-height: 1.6; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: #6F849A;
}
.footer__std { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.footer__std span {
  font-family: var(--mono);
  font-size: .68rem;
  padding: 4px 8px;
  border-radius: 3px;
  background: rgba(255,255,255,.07);
  color: #A9BACB;
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-lg { margin-top: clamp(32px, 4vw, 56px); }
.mt-md { margin-top: 28px; }
.mb-md { margin-bottom: 28px; }
.stack > * + * { margin-top: 16px; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { max-height: 340px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .navtoggle { display: grid; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--gutter) 18px;
    gap: 0;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a { padding: 11px 8px; border-bottom: 1px solid var(--bg-tint); border-radius: 0; }
  .nav > a[aria-current="page"] { background: var(--bg-tint); }
  .header { position: relative; }
  .header__cta .btn { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta .wrap { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__proof { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .contactlist .k { width: 100%; }
  .contactlist li { flex-direction: column; gap: 2px; }
  .brand__sub { display: none; }
  .btn { width: 100%; }
  .hero__actions .btn, .cta__actions .btn { width: auto; flex: 1 1 auto; }
}

@media print {
  .topbar, .header, .cta, .footer, .navtoggle { display: none !important; }
  body { font-size: 11pt; }
  .section { padding: 16px 0; }
  .tablewrap { border: 1px solid #999; }
}
