/* ============================================================
   3FS Technology / Pospal POS — layout & components
   ============================================================ */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.shell {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: var(--space-4); top: -100px;
  z-index: 100; padding: var(--space-3) var(--space-6);
  background: var(--ink); color: var(--text-invert);
  border-radius: var(--r-sm); font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-block;
  font-size: var(--text-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow--invert { color: var(--brand-400); }

.section-head {
  max-width: 46ch;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head h2 {
  margin-top: var(--space-4);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-head p {
  margin-top: var(--space-4);
  font-size: var(--text-lead);
  color: var(--text-muted);
  max-width: 52ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: 0.875rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font: inherit; font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--brand-500);
  color: var(--n-0);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-600); box-shadow: 0 12px 32px -6px rgb(255 139 0 / 0.45); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--n-100); }

.btn--invert { background: var(--n-0); color: var(--ink); }
.btn--invert:hover { background: var(--brand-50); }

.btn__arrow { transition: transform var(--dur-mid) var(--ease-out-expo); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- Nav (DNA: glass bar, 85px, alpha-white + blur) ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  height: 76px;
  display: flex; align-items: center;
  background: var(--glass-a80);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; gap: var(--space-8); width: 100%; }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 30px; width: auto; }
@media (max-width: 620px) { .nav__logo img { height: 24px; } }
@media (max-width: 380px) {
  .nav__logo img { height: 20px; }
  .nav__inner { gap: var(--space-3); }
  .nav__cta .btn { padding-inline: 0.9rem; font-size: 0.8125rem; }
}

.nav__links { display: flex; gap: var(--space-6); margin-left: auto; font-size: var(--text-sm); font-weight: 600; }
.nav__links a { position: relative; padding-block: var(--space-2); color: var(--n-600); transition: color var(--dur-fast) var(--ease-out); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-mid) var(--ease-out-expo);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: var(--space-3); }

/* Eight anchors plus two buttons only fit on a wide viewport.
   WhatsApp is the action people actually take, so the secondary goes first. */
@media (max-width: 1180px) { .nav__cta .btn--primary { display: none; } }
@media (max-width: 900px)  { .nav__links { display: none; } }
@media (max-width: 400px) {
  .nav__cta .btn { padding-inline: 1.1rem; }
}

/* ---------- Hero (asymmetric, visual overflows the grid) ---------- */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) var(--space-section);
  overflow: hidden;
  background:
    radial-gradient(80ch 50ch at 78% 8%, var(--brand-50), transparent 65%),
    linear-gradient(180deg, var(--n-0) 0%, var(--surface-sunk) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: start;
}
.hero h1 {
  margin-top: var(--space-4);
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--brand-600); }
.hero__lead {
  margin-top: var(--space-6);
  font-size: var(--text-lead);
  color: var(--n-600);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

.hero__trust {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--n-600);
}
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; }
.hero__trust svg { flex: none; color: var(--brand-600); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
}

/* ---------- Device cluster (real product screenshots) ---------- */

.devices { position: relative; margin: 0; }

.device {
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device__shot { display: block; width: 100%; height: auto; }

.device--main { transform: rotate(-0.8deg); }

/* The hero terminal overhangs the grid column slightly — it should feel
   like a device sitting on the page, not a picture boxed inside it. */
@media (min-width: 901px) {
  .devices { margin-right: calc(var(--gutter) * -1); }
}

/* ---------- Proof pair (framed screenshots inside a section) ---------- */

.proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.proof figure { margin: 0; }
.proof img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--n-0);
  box-shadow: var(--shadow-md);
}
.proof figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 44ch;
}
.proof b { color: var(--text); font-weight: 700; }

@media (max-width: 760px) { .proof { grid-template-columns: 1fr; gap: var(--space-8); } }

/* ---------- Section shells ---------- */

.section { padding-block: var(--space-section); }
.section--sunk { background: var(--surface-sunk); border-block: 1px solid var(--border); }

/* ---------- Industry cards (grid-breaking: first card spans wide) ---------- */

.trades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }

.trade {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--dur-mid) var(--ease-out-expo),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.trade::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out-expo);
}
.trade:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.trade:hover::before { transform: scaleX(1); }

.trade__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: var(--space-6);
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
}
.trade h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.trade p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }
.trade__list { margin-top: var(--space-6); display: grid; gap: 0.45rem; font-size: var(--text-sm); color: var(--n-600); }
.trade__list li { display: flex; gap: 0.5rem; }
.trade__list li::before { content: "—"; color: var(--brand-400); flex: none; }

/* Lead card breaks the grid: full-width editorial banner, split internally. */
.trade--lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
  padding: clamp(2rem, 1.4rem + 2vw, 3rem) clamp(1.5rem, 1rem + 2vw, 3rem);
  background: linear-gradient(120deg, var(--brand-50), var(--n-0) 62%);
  border-color: var(--brand-200);
}
.trade--lead .trade__icon { grid-column: 1; margin-bottom: var(--space-4); }
.trade--lead h3 { grid-column: 1; font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem); }
.trade--lead p  { grid-column: 1; max-width: 40ch; }
.trade--lead .trade__list {
  grid-column: 2; grid-row: 1 / span 4;
  margin-top: 0;
  align-self: center;
  gap: 0.7rem;
  font-size: var(--text-base);
}

@media (max-width: 980px) {
  .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .trade--lead { grid-template-columns: 1fr; }
  .trade--lead .trade__icon,
  .trade--lead h3, .trade--lead p, .trade--lead .trade__list { grid-column: 1; }
  .trade--lead .trade__list { grid-row: auto; margin-top: var(--space-6); }
}
@media (max-width: 560px) { .trades { grid-template-columns: 1fr; } }

/* ---------- Dark compliance band ---------- */

.band {
  position: relative;
  padding-block: var(--space-section);
  background: var(--ink);
  color: var(--text-invert);
  overflow: hidden;
}
.band::after {
  content: ""; position: absolute; inset: auto -20% -60% auto;
  width: 70ch; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--brand-a15), transparent 62%);
  pointer-events: none;
}
.band .section-head h2 { color: var(--text-invert); }
.band .section-head p { color: rgb(255 255 255 / 0.62); }

.band__grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.band__item { padding-top: var(--space-6); border-top: 2px solid rgb(255 255 255 / 0.14); }
.band__item h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.band__item p { margin-top: var(--space-3); font-size: var(--text-sm); color: rgb(255 255 255 / 0.62); }
.band__num { display: block; margin-bottom: var(--space-3); font-size: var(--text-sm); font-weight: 800; color: var(--brand-400); font-variant-numeric: tabular-nums; }

@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; gap: var(--space-6); } }

/* ---------- LHDN e-Invoice (two-column: sticky intro + stacked rows) ---------- */

.einv {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 1rem + 5vw, 5rem);
  align-items: start;
}
.einv__intro h2 {
  margin-top: var(--space-4);
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.einv__intro p {
  margin-top: var(--space-4);
  font-size: var(--text-lead);
  color: var(--text-muted);
  max-width: 44ch;
}
.einv__intro .einv__note {
  margin-top: var(--space-6);
  padding-left: var(--space-4);
  border-left: 3px solid var(--brand-300);
  font-size: var(--text-sm);
  color: var(--n-600);
}

.einv__list { display: grid; gap: var(--space-4); }
.einv__item {
  position: relative;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out-expo),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.einv__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.einv__tag {
  display: inline-block; margin-bottom: var(--space-3);
  padding: 0.25rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.einv__item :is(h2, h3) { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.einv__item p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }

@media (min-width: 1000px) {
  .einv__intro { position: sticky; top: calc(76px + var(--space-8)); }
}
@media (max-width: 900px) {
  .einv { grid-template-columns: 1fr; }
}

.band__figure {
  position: relative;
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
  max-width: 760px;
}
.band__figure img {
  display: block; width: 100%; height: auto;
  border: 1px solid rgb(255 255 255 / 0.10);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -18px rgb(0 0 0 / 0.65);
}
.band__figure figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: rgb(255 255 255 / 0.55);
  max-width: 52ch;
}

/* ---------- Capability bento ---------- */

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space-4); }
.cap {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-8);
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--n-0);
  transition: border-color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}
.cap:hover { border-color: var(--brand-300); background: var(--brand-50); }
.cap h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.cap p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }
.cap__tag { font-size: var(--text-eyebrow); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--n-400); }

/* Row 1: 2 + 2 + 2 = 6.  Row 2: 4 + 2 = 6.  The payments card takes the wide slot
   because it carries the e-wallet logos and they have to stay legible. */
.cap--wide  { grid-column: span 2; }
.cap--half  { grid-column: span 2; }
.cap--std   { grid-column: span 2; }
.cap--rails { grid-column: span 4; }

.cap__rails {
  display: block;
  width: 100%; max-width: 440px; height: auto;
  margin-top: var(--space-6);
  mix-blend-mode: multiply;
}

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap--wide, .cap--half, .cap--std, .cap--rails { grid-column: span 1; }
}
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Closing CTA ---------- */

.cta {
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--gutter);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: var(--n-0);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: var(--text-h2); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }
.cta p { margin: var(--space-4) auto 0; max-width: 46ch; color: rgb(255 255 255 / 0.82); font-size: var(--text-lead); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); margin-top: var(--space-8); }

/* ---------- Footer ---------- */

.footer { padding-block: var(--space-12); background: var(--ink-soft); color: rgb(255 255 255 / 0.62); font-size: var(--text-sm); }
.footer__brand { display: grid; gap: var(--space-4); }
.footer__brand img { height: 26px; width: auto; }
.footer a:hover { color: var(--n-0); }

/* ---------- Scroll reveal ---------- */

/* Hidden state only applies when JS is present — no-JS and crawlers see full content. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .btn:hover, .trade:hover { transform: none; }
}

/* ---------- a11y utility ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Payment rail strip ---------- */

.rails {
  padding-block: clamp(2rem, 1.4rem + 2vw, 3.25rem);
  background: var(--surface-sunk);
  border-bottom: 1px solid var(--border);
}
.rails__inner {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-6) clamp(1.5rem, 1rem + 3vw, 4rem);
  justify-content: space-between;
}
.rails p {
  font-size: var(--text-lead); font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--n-600); max-width: 24ch; text-wrap: balance;
}
.rails img {
  display: block; height: auto;
  width: clamp(280px, 46vw, 560px);
  /* the logo sheet is supplied on white; multiply drops the box on tinted surfaces */
  mix-blend-mode: multiply;
}

/* ---------- Wide figure inside a light section ---------- */

.shot {
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
  max-width: 900px;
}
.shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.shot figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm); color: var(--text-muted); max-width: 56ch;
}
.shot b { color: var(--text); font-weight: 700; }

/* ---------- Two framed shots on the dark band ---------- */

.band__pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.band__pair figure { margin: 0; }
.band__pair img {
  display: block; width: 100%; height: auto;
  border: 1px solid rgb(255 255 255 / 0.10);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -18px rgb(0 0 0 / 0.65);
}
.band__pair figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm); color: rgb(255 255 255 / 0.55); max-width: 44ch;
}
.band__pair b { color: var(--text-invert); font-weight: 700; }

@media (max-width: 760px) { .band__pair { grid-template-columns: 1fr; gap: var(--space-8); } }

/* ---------- Phone row (owner app) ---------- */

.phones {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);
  align-items: start;
  margin: 0;
}
.phones figure { margin: 0; }
.phones img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background: var(--n-0);
}
/* stagger the row so it reads as three devices, not three boxes */
.phones figure:nth-child(2) { margin-top: clamp(1rem, 0.5rem + 2vw, 2.5rem); }
.phones figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm); color: var(--text-muted);
}
.phones b { display: block; color: var(--text); font-weight: 700; margin-bottom: 0.25rem; }

@media (max-width: 720px) {
  .phones { grid-template-columns: 1fr; gap: var(--space-8); max-width: 380px; margin-inline: auto; }
  .phones figure:nth-child(2) { margin-top: 0; }
}

/* ---------- Split: wide shot beside a phone ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: start;
}
/* the phone is ~2:1 tall — cap it so it doesn't stretch the row */
.split figure:last-child { max-width: 300px; justify-self: center; }
.split figure { margin: 0; }
.split img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  background: var(--n-0);
}
.split figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm); color: var(--text-muted);
}
.split b { color: var(--text); font-weight: 700; }

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; align-items: start; }
  .split figure:last-child { max-width: 320px; justify-self: start; }
}

/* ---------- Pricing ---------- */

.price {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.price__card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.price__card--lead {
  background: linear-gradient(150deg, var(--brand-50), var(--n-0) 60%);
  border-color: var(--brand-200);
}

.price__label {
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--n-500);
}
.price__amount {
  display: flex; align-items: baseline; gap: 0.35rem;
  margin-top: var(--space-4);
  font-variant-numeric: tabular-nums;
}
.price__currency {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700; color: var(--n-500);
}
.price__figure {
  font-size: clamp(2.75rem, 1.8rem + 4vw, 4.5rem);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.045em;
}
.price__unit { font-size: var(--text-base); font-weight: 600; color: var(--text-muted); }
.price__card p { margin-top: var(--space-4); color: var(--text-muted); font-size: var(--text-sm); max-width: 38ch; }
.price__card p b { color: var(--text); font-weight: 700; }

.price__terms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4) clamp(1.5rem, 1rem + 3vw, 3rem);
  margin: 0;
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
}
.price__terms li {
  position: relative;
  padding-left: var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.price__terms li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--brand-400);
}
.price__terms a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.price__terms a:hover { color: var(--brand-500); }
.price__terms b { display: block; color: var(--text); font-weight: 700; margin-bottom: 0.15rem; }

@media (max-width: 720px) { .price__terms { grid-template-columns: 1fr; } }

@media (max-width: 720px) { .price { grid-template-columns: 1fr; } }

/* ---------- Contact line inside the closing CTA ---------- */

.cta__contact {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--space-3) var(--space-8);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgb(255 255 255 / 0.22);
  font-size: var(--text-sm);
}
.cta__contact a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.cta__contact a:hover { text-decoration-color: rgb(255 255 255 / 0.5); }
.cta__contact span { color: rgb(255 255 255 / 0.75); }

/* ---------- "++" on a price ---------- */

.price__plus {
  align-self: flex-start;
  margin-top: 0.35em;
  margin-left: -0.05em;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand-600);
}

/* ---------- WhatsApp ---------- */

.btn--whatsapp { background: #25d366; color: #05331a; box-shadow: 0 8px 24px -6px rgb(37 211 102 / 0.45); }
.btn--whatsapp:hover { background: #1fbe5a; box-shadow: 0 12px 32px -6px rgb(37 211 102 / 0.55); }
.btn__wa { flex: none; }

@media (max-width: 1080px) { .nav__links { gap: var(--space-4); } }

/* ---------- Contact ---------- */

.contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.contact__card {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out-expo),
              box-shadow var(--dur-mid) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.contact__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }

.contact__icon {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-600);
}
.contact__card h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.contact__card .contact__value {
  margin: 0;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4375rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  word-break: break-word;
}
.contact__card .contact__value a { transition: color var(--dur-fast) var(--ease-out); }
.contact__card .contact__value a:hover { color: var(--brand-600); }
.contact__card .contact__note {
  font-size: var(--text-sm); color: var(--text-muted);
  margin-top: auto; padding-top: var(--space-4);
}

@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- About / team ---------- */

.about__lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  margin-bottom: clamp(3rem, 2rem + 4vw, 5rem);
  align-items: start;
}
.about__lead p { color: var(--n-600); }
.about__lead p + p { margin-top: var(--space-4); }
.about__lead b { color: var(--text); font-weight: 700; }

@media (max-width: 820px) { .about__lead { grid-template-columns: 1fr; } }

.team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  margin: 0;
}
.team figure { margin: 0; }

.team__frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--n-100);
  box-shadow: var(--shadow-md);
}
.team__frame::after {
  /* warm the greyscale studio backdrop toward the brand without tinting skin */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgb(255 139 0 / 0.10));
  pointer-events: none;
}
.team img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }

/* offset the middle portrait so the row reads as a composition, not a row of boxes.
   Figures are wrapped in <li>, so the offset has to hang off the list item. */
.team > li:nth-child(2) { margin-top: clamp(1rem, 0.5rem + 2vw, 2.75rem); }

.team figcaption { margin-top: var(--space-6); }
.team__name {
  font-size: var(--text-h3); font-weight: 800;
  letter-spacing: -0.025em; color: var(--text);
}
.team__role {
  display: block; margin-top: 0.15rem;
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-600);
}
.team__bio { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }
.team__link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: var(--space-3);
  font-size: var(--text-sm); font-weight: 700; color: var(--text);
  border-bottom: 2px solid var(--brand-300);
  padding-bottom: 1px;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.team__link:hover { color: var(--brand-600); border-color: var(--brand-600); }

@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; gap: var(--space-8); max-width: 420px; margin-inline: auto; }
  .team > li:nth-child(2) { margin-top: 0; }
}

/* ---------- Hardware ---------- */

/* The device renders are only 900px wide at source and the UI inside them is
   small — holding them back keeps the screen legible instead of soft. */
.rigs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 0.75rem + 2vw, 2.5rem);
  max-width: 820px;
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.rigs figure { margin: 0; }
.rigs__frame {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--n-0), var(--surface-tint));
  border: 1px solid var(--border);
  padding: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.rigs img { display: block; width: 100%; height: auto; }
.rigs figcaption { margin-top: var(--space-5, 1.25rem); padding-top: var(--space-4); }
.rigs__trade {
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-600);
}
.rigs figcaption p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-muted); }
.rigs figcaption b { color: var(--text); font-weight: 700; }

@media (max-width: 720px) { .rigs { grid-template-columns: 1fr; } }

.kit {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0;
}
.kit li {
  display: flex; flex-direction: column;
  padding: var(--space-6) var(--space-4) var(--space-4);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  text-align: center;
  transition: transform var(--dur-mid) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.kit li:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.kit__shot {
  display: grid; place-items: center;
  height: 92px; margin-bottom: var(--space-4);
}
.kit__shot img { max-height: 92px; width: auto; max-width: 100%; }
.kit__name { font-size: var(--text-sm); font-weight: 700; color: var(--text); }
.kit__note { margin-top: 0.2rem; font-size: 0.8125rem; color: var(--text-muted); }

@media (max-width: 1080px) { .kit { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .kit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Company facts strip ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem) 0;
  border-block: 1px solid var(--border);
}
.facts div { text-align: left; }
.facts dt {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 800; line-height: 1; letter-spacing: -0.04em;
  color: var(--brand-600);
  font-variant-numeric: tabular-nums;
}
.facts dd {
  margin: var(--space-2) 0 0;
  font-size: var(--text-sm); color: var(--text-muted);
}
@media (max-width: 720px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); } }

/* ---------- Why us ---------- */

.why {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: 0 0 clamp(3rem, 2rem + 4vw, 5rem);
}
.why li {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-mid) var(--ease-out-expo),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.why li:hover { transform: translateY(-3px); border-color: var(--brand-200); box-shadow: var(--shadow-md); }
.why__icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: var(--space-5, 1.25rem);
  border-radius: var(--r-md);
  background: var(--brand-50); color: var(--brand-600);
}
.why h3 { font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.why p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--text-muted); }

@media (max-width: 980px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- Offices ---------- */

.offices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}
.offices li {
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.offices__label {
  display: inline-block;
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-600);
}
.offices h3 { margin-top: var(--space-2); font-size: var(--text-h3); font-weight: 700; letter-spacing: -0.02em; }
.offices address {
  margin-top: var(--space-4);
  font-style: normal; font-size: var(--text-sm); line-height: 1.7; color: var(--text-muted);
}
.offices__pending { margin-top: var(--space-4); font-size: var(--text-sm); color: var(--text-muted); }

@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

/* ---------- Contact: two people, two WhatsApp buttons ---------- */

.contact--people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact--people .contact__card { gap: var(--space-2); }

.contact__who {
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-600);
}
.contact--people h3 {
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
  font-weight: 800; letter-spacing: -0.03em;
}
.contact__btn { align-self: flex-start; margin-top: var(--space-6); }

.contact__email {
  margin-top: var(--space-6);
  font-size: var(--text-sm); color: var(--text-muted);
}
.contact__email a {
  font-weight: 700; color: var(--text);
  border-bottom: 2px solid var(--brand-300); padding-bottom: 1px;
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.contact__email a:hover { color: var(--brand-600); border-color: var(--brand-600); }

@media (max-width: 760px) { .contact--people { grid-template-columns: 1fr; } }

/* ---------- Company photos ---------- */

.snaps {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
  margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.snaps figure { margin: 0; }
.snaps img {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.snaps__office { grid-row: span 2; }
.snaps__office img { aspect-ratio: 900 / 832; }
.snaps figcaption {
  margin-top: var(--space-3);
  font-size: var(--text-sm); color: var(--text-muted);
}

@media (max-width: 760px) {
  .snaps { grid-template-columns: 1fr; }
  .snaps__office { grid-row: auto; }
}

/* ---------- Partner wall ---------- */

.partners { background: var(--ink); color: var(--text-invert); padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.partners__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-4) var(--space-8); margin-bottom: clamp(2rem, 1.2rem + 2.5vw, 3rem); }
.partners__head h2 {
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800; letter-spacing: -0.03em;
}
.partners__head p { font-size: var(--text-sm); color: rgb(255 255 255 / 0.55); max-width: 46ch; }

.partners__group + .partners__group { margin-top: clamp(2rem, 1.2rem + 2.5vw, 3rem); }
.partners__label {
  display: block; margin-bottom: var(--space-5, 1.25rem);
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-400);
}
.partners__row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
.partners__row img {
  display: block; height: 36px; width: auto;
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.partners__row a:hover img, .partners__row img:hover { opacity: 1; }

@media (max-width: 560px) { .partners__row { gap: var(--space-6); } .partners__row img { height: 26px; } }

/* ---------- Full-width shot on the dark band ---------- */

.band__shot { margin: 0 0 clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.band__shot img {
  display: block; width: 100%; height: auto;
  border: 1px solid rgb(255 255 255 / 0.10);
  border-radius: var(--r-md);
  box-shadow: 0 24px 60px -18px rgb(0 0 0 / 0.65);
}
.band__shot figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm); color: rgb(255 255 255 / 0.55); max-width: 66ch;
}
.band__shot b { color: var(--text-invert); font-weight: 700; }

/* ---------- Team lede ---------- */
.team__lede { margin-top: var(--space-3); font-size: var(--text-base); font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.team__bio  { margin-top: var(--space-2); }

/* ---------- Delivery marks inside a capability card ---------- */
.cap__marks {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-4) var(--space-6);
  margin-top: var(--space-6);
}
.cap__marks img { height: 26px; width: auto; max-width: 100%; mix-blend-mode: multiply; }

/* ---------- Footer ---------- */

.footer { padding-block: clamp(3rem, 2rem + 4vw, 4.5rem) var(--space-8); background: var(--ink-soft); color: rgb(255 255 255 / 0.55); font-size: var(--text-sm); }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 1.2rem + 3vw, 4rem);
  padding-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
.footer__brand { display: grid; gap: var(--space-4); align-content: start; }
.footer__brand img { height: 26px; width: auto; }
.footer__brand p { max-width: 34ch; line-height: 1.7; }

.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
.footer__nav ul { display: grid; gap: 0.55rem; }
.footer__label {
  display: block; margin-bottom: var(--space-4);
  font-size: var(--text-eyebrow); font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-400);
}
.footer a { transition: color var(--dur-fast) var(--ease-out); }
.footer a:hover { color: var(--n-0); }

.footer__offices {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6) var(--space-8);
  padding-block: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  border-top: 1px solid rgb(255 255 255 / 0.10);
}
.footer__offices address { font-style: normal; line-height: 1.7; max-width: 42ch; }

.footer__base {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8);
  justify-content: space-between;
  padding-top: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  border-top: 1px solid rgb(255 255 255 / 0.10);
  font-size: 0.8125rem; color: rgb(255 255 255 / 0.4);
}

@media (max-width: 860px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__offices { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- LHDN / MyInvois mark ---------- */

.einv__mark {
  display: flex; align-items: center; gap: var(--space-5, 1.25rem);
  margin: var(--space-8) 0 0;
  padding: var(--space-6);
  background: var(--n-0);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.einv__mark img { height: 72px; width: auto; flex: none; }
.einv__mark figcaption {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 34ch;
}

@media (max-width: 480px) {
  .einv__mark { flex-direction: column; align-items: flex-start; }
}

/* ---------- FAQ ----------
   <details>/<summary> so every answer is in the DOM for crawlers and answer
   engines whether or not it is open, and keyboard/AT behaviour comes free.
   Two columns on wide screens: the list is long enough that one column
   reads as a wall. */

/* Intro on the left, the list on the right. A two-column grid OF the questions
   would strand a tall open answer next to a column of dead space; this layout
   has one flow, so opening an item pushes nothing sideways. */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.25fr);
  gap: var(--space-16) clamp(3rem, 1rem + 6vw, 7rem);
  align-items: start;
}

.faq-aside { position: sticky; top: clamp(5rem, 4rem + 3vw, 7.5rem); }
.faq-aside .section-head { margin-bottom: 0; }
.faq-aside__btn { margin-top: var(--space-8); }

.faq {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}

.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}
.faq__item:hover { border-color: var(--border-strong); }
.faq__item[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-md);
}

.faq__item summary {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

.faq__item summary :is(h2, h3) {
  flex: 1;
  font-size: var(--text-h3);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.faq__chevron {
  flex: none;
  margin-top: 0.2em;
  color: var(--brand-500);
  transition: transform var(--dur-mid) var(--ease-out-expo);
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }

.faq__body {
  padding: 0 var(--space-6) var(--space-6);
  border-top: 1px solid var(--border);
  margin-top: calc(-1 * var(--space-2));
  padding-top: var(--space-5, 1.25rem);
}
.faq__body p {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 56ch;
}
.faq__body p + p { margin-top: var(--space-3); }
.faq__body b { color: var(--text); font-weight: 700; }
.faq__body code {
  font-family: inherit;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-tint);
  padding: 0.05em 0.3em;
  border-radius: var(--r-sm);
}

.faq__link {
  display: inline-block;
  font-weight: 700;
  color: var(--brand-600);
  text-decoration: none;
}
.faq__link:hover { text-decoration: underline; }

@media (max-width: 980px) {
  .faq-layout { grid-template-columns: 1fr; gap: var(--space-12); }
  .faq-aside { position: static; }
  .faq-aside__btn { margin-top: var(--space-6); }
}
@media (prefers-reduced-motion: reduce) {
  .faq__chevron { transition: none; }
}

/* ---------- Sub-page chrome ---------- */

/* A sub-page opens straight into content, with no hero above it, so the first
   section needs the breadcrumb's slack rather than a full section's worth. */
.section--first { padding-block-start: var(--space-8); }

.crumb {
  padding-block: var(--space-6) 0;
  font-size: var(--text-sm);
}
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}
.crumb li { color: var(--text-muted); }
.crumb li + li::before {
  content: "/";
  margin-right: var(--space-2);
  color: var(--border-strong);
}
.crumb a { color: var(--text-muted); text-decoration: none; }
.crumb a:hover { color: var(--brand-600); text-decoration: underline; }
.crumb [aria-current="page"] { color: var(--text); font-weight: 600; }

/* ---------- Section teaser (home -> sub-page) ---------- */

.teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
  padding: clamp(2rem, 1.25rem + 3vw, 3.5rem);
  background: var(--surface-tint);
  border: 1px solid var(--brand-200);
  border-radius: var(--r-lg);
}
.teaser__body h2 { margin-block: var(--space-3) var(--space-4); }
.teaser__body p {
  max-width: 54ch;
  margin-bottom: var(--space-8);
  color: var(--text-muted);
}
.teaser__mark {
  margin: 0;
  max-width: 22ch;
  text-align: center;
}
.teaser__mark img { height: 96px; width: auto; }
.teaser__mark figcaption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .teaser { grid-template-columns: 1fr; }
  .teaser__mark { max-width: none; text-align: left; }
}
