/* Cloud Enterprise Flows — Crest red · Traveia green · 3Leads gold */
:root {
  --ink: #0a1a2c;
  --ink-soft: #1a3038;
  --crest: #ac0203;
  --crest-hover: #8a0102;
  --crest-soft: #d42a2b;
  --traveia: #0f6b4c;
  --traveia-deep: #0a4f39;
  --traveia-glow: #189467;
  --teal: var(--traveia);
  --teal-deep: var(--traveia-deep);
  --teal-glow: var(--traveia-glow);
  --sand: #e8dfd0;
  --sand-bright: #f5f0e8;
  --gold: #e3b56a;
  --brass: #c6843b;
  --brass-soft: var(--gold);
  --mist: #f3f6f5;
  --paper: #fafbfa;
  --muted: #5a6d72;
  --line: rgba(10, 26, 44, 0.12);
  --danger: #ac0203;
  --radius: 2px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-glow);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

.lead {
  font-size: 1.15rem;
  max-width: 38rem;
  color: var(--muted);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  backdrop-filter: blur(14px);
  background: rgba(250, 251, 250, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-nav .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  position: relative;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.03em;
}

.brand-mark span {
  color: var(--crest);
}

.brand-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  justify-content: flex-end;
}

.nav {
  display: flex;
  align-items: stretch;
  gap: 0.15rem;
  margin-right: auto;
  margin-left: 1.5rem;
}

.nav > a,
.nav-top {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0 0.7rem;
  height: 2.6rem;
  white-space: nowrap;
  text-decoration: none;
}

.nav > a:hover,
.nav > a[aria-current="page"],
.nav-top:hover,
.nav-top[aria-current="page"] {
  color: var(--teal);
}

.nav-item {
  position: static;
  display: flex;
  align-items: stretch;
}

.nav-top::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.4rem;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.5;
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 2px);
  background: var(--ink);
  border-top: 2px solid var(--crest);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  z-index: 200;
}

/* Hover bridge so the menu stays open while moving to the panel */
.mega::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.mega-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 1.75rem;
  padding: 1.75rem 0 2rem;
}

.mega-intro .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-soft);
  font-weight: 600;
  margin: 0;
}

.mega-intro h2 {
  margin: 0.4rem 0 0.55rem;
  font-size: 1.45rem;
  color: var(--sand-bright);
}

.mega-intro p {
  color: rgba(245, 240, 232, 0.62);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  align-content: start;
}

.mega-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mega-tile {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.75rem;
  border-radius: 2px;
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(245, 240, 232, 0.1);
  color: rgba(245, 240, 232, 0.9);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mega-tile:hover {
  background: rgba(227, 181, 106, 0.16);
  border-color: rgba(227, 181, 106, 0.45);
  color: #fff;
}

.mega-tile img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

.mega-tile span {
  display: block;
  margin-top: 0.1rem;
  font-weight: 400;
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.55);
}

.mega-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.85rem;
}

.mega-foot a {
  color: var(--brass-soft);
  font-size: 0.82rem;
  font-weight: 650;
  text-decoration: none;
}

.mega-foot a:hover {
  color: var(--sand-bright);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: var(--crest);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.25s var(--ease);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--crest-hover);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .nav-panel.open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    margin: 0;
    gap: 0;
  }

  .nav-item {
    flex-direction: column;
  }

  .nav > a,
  .nav-top {
    height: auto;
    padding: 0.7rem 0;
  }

  .mega {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--ink-soft);
    border: none;
    pointer-events: auto;
  }

  .nav-item.open .mega {
    display: block;
  }

  .nav-item:hover .mega,
  .nav-item:focus-within .mega {
    display: none;
  }

  .nav-item.open:hover .mega,
  .nav-item.open:focus-within .mega,
  .nav-item.open .mega {
    display: block;
  }

  .mega-inner {
    grid-template-columns: 1fr;
    padding: 0.75rem 0 1rem;
    gap: 0.85rem;
  }

  .mega-grid,
  .mega-grid.cols-4,
  .mega-grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }

  .mega-intro .btn {
    display: none;
  }
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--sand-bright);
  background:
    linear-gradient(165deg, rgba(10, 26, 44, 0.72) 0%, rgba(10, 26, 44, 0.9) 50%, rgba(10, 79, 57, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 75% 15%, rgba(172, 2, 3, 0.35), transparent 55%),
    linear-gradient(125deg, #0a1a2c 0%, #0f6b4c 48%, #1a3038 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 48px,
      rgba(232, 223, 208, 0.03) 48px,
      rgba(232, 223, 208, 0.03) 49px
    );
  pointer-events: none;
  animation: drift 28s linear infinite;
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-48px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 0 4.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0 0 0.35em;
  line-height: 0.95;
  animation: rise 0.9s var(--ease) both;
}

.hero-brand em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 500;
  max-width: 28ch;
  margin-bottom: 0.75em;
  color: var(--sand);
  animation: rise 0.9s 0.12s var(--ease) both;
}

.hero p {
  color: rgba(245, 240, 232, 0.78);
  max-width: 36rem;
  margin-bottom: 1.75rem;
  animation: rise 0.9s 0.22s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 0.9s 0.32s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--crest);
  color: #fff;
}

.btn-primary:hover {
  background: var(--crest-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--sand-bright);
  border: 1px solid rgba(245, 240, 232, 0.35);
}

.btn-ghost:hover {
  border-color: var(--sand-bright);
  color: var(--sand-bright);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  background: var(--teal-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--sand-bright);
}

/* ——— Sections ——— */
section {
  padding: 4.5rem 0;
}

.section-head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--crest);
  margin-bottom: 0.6rem;
}

.band-mist {
  background:
    linear-gradient(180deg, var(--mist) 0%, var(--sand-bright) 100%);
}

.band-ink {
  background: var(--ink);
  color: var(--sand-bright);
}

.band-ink p,
.band-ink .lead {
  color: rgba(245, 240, 232, 0.72);
}

.band-ink h2,
.band-ink h3 {
  color: var(--sand-bright);
}

.band-teal {
  background:
    linear-gradient(135deg, var(--traveia-deep) 0%, var(--traveia) 55%, #145c42 100%);
  color: #fff;
}

/* ——— Buy / contact form ——— */
.buy-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .buy-layout {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.partner-card {
  padding: 1.5rem 1.35rem;
  background: #fff;
  border-top: 3px solid var(--crest);
  margin-bottom: 1rem;
}

.partner-card.green {
  border-top-color: var(--traveia);
}

.partner-card.gold {
  border-top-color: var(--gold);
}

.partner-card h3 {
  margin-bottom: 0.35rem;
}

.partner-card .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}

.partner-card .badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  background: var(--mist);
  color: var(--ink);
}

.partner-card .badge.mof {
  background: rgba(15, 107, 76, 0.12);
  color: var(--traveia-deep);
}

.partner-card .badge.petronas {
  background: rgba(15, 107, 76, 0.18);
  color: var(--traveia-deep);
}

.partner-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.contact-panel {
  padding: 1.5rem;
  background: var(--ink);
  color: var(--sand-bright);
  position: sticky;
  top: 5.5rem;
}

.contact-panel h3 {
  color: var(--sand-bright);
  margin-bottom: 0.5rem;
}

.contact-panel p {
  color: rgba(245, 240, 232, 0.7);
  font-size: 0.9rem;
}

.contact-panel label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0.75rem 0 0.3rem;
  color: var(--gold);
}

.contact-panel input,
.contact-panel select,
.contact-panel textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(245, 240, 232, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.contact-panel input:focus,
.contact-panel select:focus,
.contact-panel textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.contact-panel button[type="submit"] {
  margin-top: 1rem;
  width: 100%;
  border: none;
}

.band-teal p {
  color: rgba(255, 255, 255, 0.85);
}

/* ——— Product grid ——— */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-tile {
  padding: 1.5rem 1.35rem 1.6rem;
  border-top: 2px solid var(--crest);
  background: rgba(255, 255, 255, 0.65);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-tile:hover {
  background: #fff;
  transform: translateY(-3px);
}

.product-tile .cat {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-tile h3 {
  margin-bottom: 0.4rem;
  font-size: 1.2rem;
}

.product-tile p {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.product-tile .meta {
  font-size: 0.78rem;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--ink);
  color: var(--sand-bright);
  border-color: var(--ink);
}

.product-tile[hidden] {
  display: none;
}

/* ——— Use cases ——— */
.usecase-list {
  display: grid;
  gap: 0;
}

.usecase-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.3s var(--ease);
}

.usecase-row:hover {
  padding-left: 0.5rem;
}

.usecase-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--teal);
  font-style: italic;
}

.usecase-row h3 {
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.usecase-row p {
  margin: 0;
  font-size: 0.95rem;
}

.usecase-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.5rem;
  background: var(--mist);
  color: var(--muted);
}

/* ——— Guide / article ——— */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .article-layout {
    grid-template-columns: 200px 1fr;
  }
}

.toc {
  font-size: 0.85rem;
  position: sticky;
  top: 5rem;
  align-self: start;
}

.toc ol {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.toc a {
  text-decoration: none;
  color: var(--muted);
}

.toc a:hover {
  color: var(--teal);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.25rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brass);
  background: var(--sand-bright);
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ink);
}

.flow-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.flow-steps li {
  counter-increment: step;
  position: relative;
  padding: 1rem 0 1rem 3.5rem;
  border-left: 1px solid var(--line);
  margin-left: 0.85rem;
}

.flow-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -0.85rem;
  top: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-body);
}

/* ——— Stats / trust ——— */
.split-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .split-2 {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  border-top: 1px solid rgba(245, 240, 232, 0.25);
  padding-top: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brass-soft);
}

.stat span {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.65);
}

/* ——— FAQ ——— */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--teal);
  font-weight: 400;
  font-size: 1.25rem;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  font-size: 0.95rem;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  background:
    linear-gradient(160deg, var(--ink) 0%, #12263a 45%, var(--traveia-deep) 100%);
  color: var(--sand-bright);
}

.page-hero h1 {
  color: var(--sand-bright);
  margin-bottom: 0.5em;
}

.page-hero p {
  color: rgba(245, 240, 232, 0.75);
  max-width: 36rem;
  margin: 0;
}

/* ——— CTA band ——— */
.cta-band {
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--ink);
  color: rgba(245, 240, 232, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h4 {
  color: var(--sand-bright);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.site-footer a {
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--brass-soft);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 232, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
}

.disclaimer {
  font-size: 0.75rem;
  opacity: 0.65;
  max-width: 40rem;
}

/* ——— Search ——— */
.search-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-box input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.search-box input:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

/* ——— Reveal motion ——— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Industry chips ——— */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.chip {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(245, 240, 232, 0.25);
  color: rgba(245, 240, 232, 0.85);
}

/* ——— Malaysia callout ——— */
.my-callout {
  display: grid;
  gap: 1.5rem;
  padding: 2rem;
  background: #fff;
  border-left: 3px solid var(--brass);
}

@media (min-width: 700px) {
  .my-callout {
    grid-template-columns: 1fr 1fr;
  }
}

.my-callout h3 {
  grid-column: 1 / -1;
}

/* ——— Lang switcher ——— */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.25rem 0.4rem;
}

.lang-switch a[aria-current="true"],
.lang-switch a:hover {
  color: var(--teal);
}

.lang-switch .sep {
  color: var(--line);
  opacity: 0.9;
}

/* ——— Industry hub ——— */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.insight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1.25rem 0 1.75rem;
}

.insight-table th,
.insight-table td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.insight-table th {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.insight-table td strong {
  color: var(--teal-deep);
}

.quote-types {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .quote-types {
    grid-template-columns: 1fr 1fr;
  }
}

.quote-type {
  padding: 1.25rem 1.35rem;
  background: #fff;
  border-top: 2px solid var(--brass);
}

.quote-type h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.quote-type p {
  font-size: 0.92rem;
  margin-bottom: 0;
}
