/* Portfolio multi-page layer on live afriloop.ai styles.css · v1.1 density */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  background: var(--accent, #c9a84c);
  color: #fff;
  font-weight: 700;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.nav-link.is-active {
  color: var(--accent, #c9a84c) !important;
}

.nav-drawer-rule {
  border: 0;
  border-top: 1px solid var(--gray-200, #e5e7eb);
  margin: 0.5rem 0;
}

/*
 * Fixed nav is 4rem tall (.nav { position: fixed; height: 4rem }).
 * Density pass must NOT let body .section padding-top (3.25rem) win over
 * .page-hero — that pulled H1s under the sticky header.
 */
:root {
  --site-nav-h: 4rem;
  --page-top-clear: calc(var(--site-nav-h) + 1.75rem); /* ~5.75rem */
}

/* Density: less bulk on multi-page surfaces, but clear fixed nav */
.page-hero {
  padding: var(--page-top-clear) 0 1.75rem;
}
.page-hero.density {
  padding-bottom: 1.25rem;
}

/* Tighten default section rhythm when website-pages is loaded */
body .section {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}
/* Higher specificity than body .section so top headings stay below nav */
body .section.page-hero,
body section.page-hero,
body .page-hero {
  padding-top: var(--page-top-clear);
  padding-bottom: 1.75rem;
}
body .section.page-hero.density,
body .page-hero.density {
  padding-bottom: 1.25rem;
}

/* Home + product heroes */
body .hero.page-hero,
body .hero {
  padding-top: calc(var(--site-nav-h) + 2.25rem);
  padding-bottom: 2.75rem;
  min-height: auto;
}
@media (min-width: 769px) {
  body .hero:not(.page-hero) {
    min-height: min(88vh, 48rem);
    padding-top: calc(var(--site-nav-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }
}

.page-hero h1,
.page-hero h2,
.page-hero .section-head h1 {
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-size: clamp(1.75rem, 3.8vw, 2.45rem);
  color: var(--gray-900, #111827);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin-top: 0.35rem;
  line-height: 1.15;
}
.page-hero .section-head {
  margin-bottom: 1.15rem;
}
.page-hero .eyebrow {
  margin-bottom: 0.35rem;
}

.page-hero .hero-lead,
.section-lead {
  max-width: 40rem;
  color: var(--gray-600, #4b5563);
  font-size: 1rem;
  line-height: 1.5;
}

.section-head {
  margin-bottom: 1.15rem;
}
.section-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0.25rem 0 0.4rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

/* Home portfolio strip */
.portfolio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}
.product-card:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 10px 28px rgba(201, 168, 76, 0.08);
}
.product-card.flagship {
  border-color: rgba(201, 168, 76, 0.28);
  background: linear-gradient(165deg, rgba(201, 168, 76, 0.05), #fff 48%);
  box-shadow: 0 1px 0 rgba(201, 168, 76, 0.06) inset;
}
.product-card.mark-drill.flagship {
  border-color: rgba(201, 168, 76, 0.45);
  background: linear-gradient(165deg, rgba(201, 168, 76, 0.1), #fff 52%);
}
.product-card.mark-diamond.flagship {
  border-color: rgba(201, 168, 76, 0.4);
  background: linear-gradient(165deg, rgba(201, 168, 76, 0.08), #fff 52%);
}
.pc-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pc-mark {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  border-radius: 6px;
  position: relative;
  background: rgba(201, 168, 76, 0.1);
}
/* Golden drill (Field) */
.pc-mark.mark-drill {
  background: linear-gradient(145deg, #e8d48b, #c9a84c);
  border-radius: 5px;
  clip-path: polygon(50% 4%, 78% 28%, 68% 28%, 68% 96%, 32% 96%, 32% 28%, 22% 28%);
}
/* AI diamond (Intelligence) */
.pc-mark.mark-diamond {
  background: linear-gradient(145deg, #8b6fd4, #c9a84c);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  border-radius: 0;
}
.pc-mark.mark-pack {
  background: linear-gradient(145deg, rgba(201, 168, 76, 0.35), rgba(201, 168, 76, 0.25));
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px rgba(201, 168, 76, 0.35);
}
.pc-mark.mark-sbi {
  background: radial-gradient(circle at 40% 35%, #fbbf24, #b45309 70%);
  border-radius: 999px;
}
.pc-meta {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
}
.pc-blurb {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--gray-600, #4b5563);
}
.pc-proof {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500, #6b7280);
}
.pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

/* Products page stacked rows */
.product-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.product-card.product-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  min-height: 0;
}
@media (min-width: 900px) {
  .product-card.product-row {
    grid-template-columns: 1.1fr 1.2fr;
    align-items: start;
  }
}
.pr-main {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.pr-answers {
  margin: 0;
}
.portfolio-grid.two-col {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .portfolio-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }
}
.portfolio-grid.apps-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .portfolio-grid.apps-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .portfolio-grid.apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Live tiles on home */
.live-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 900px) {
  .live-tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}
.live-tile {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--gray-200, #e5e7eb);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
  min-height: 6.5rem;
}
.live-tile:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 12px 28px rgba(201, 168, 76, 0.1);
  transform: translateY(-1px);
  text-decoration: none;
}
.lt-k {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
}
.live-tile strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--gray-900, #111827);
}
.lt-s {
  font-size: 0.8rem;
  color: var(--gray-500, #6b7280);
  line-height: 1.35;
}

/* Loop */
.loop-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .loop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .loop-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.loop-card {
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 14px;
  padding: 1.1rem 1.15rem;
  background: #fff;
}
.loop-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(201, 168, 76, 0.1);
  color: var(--accent, #c9a84c);
  margin-bottom: 0.45rem;
}
.loop-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}
.loop-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--gray-600, #4b5563);
}

/* Signals */
.signal-grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 900px) {
  .signal-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.signal-card {
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}
.signal-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent, #c9a84c);
  opacity: 0.55;
}
.signal-card.kind-gold::before {
  background: #c9a84c;
}
.signal-card.kind-diesel::before {
  background: #0f766e;
}
.signal-card.kind-petrol::before {
  background: #b45309;
}
.signal-card.kind-forex::before {
  background: #c9a84c;
}
.signal-card.tone-ok {
  border-color: rgba(21, 128, 61, 0.3);
  background: linear-gradient(180deg, rgba(21, 128, 61, 0.05), #fff);
}
.signal-card.tone-warn {
  border-color: rgba(161, 98, 7, 0.35);
  background: linear-gradient(180deg, rgba(250, 204, 21, 0.1), #fff);
}
.signal-card.tone-danger {
  border-color: rgba(185, 28, 28, 0.35);
  background: linear-gradient(180deg, rgba(185, 28, 28, 0.06), #fff);
}
.sc-label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
}
.sc-value {
  margin: 0.3rem 0 0;
  font-size: 1.3rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--gray-900, #111827);
}
.sc-why {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--gray-600, #4b5563);
}
.sc-value.muted {
  font-size: 1rem;
  font-weight: 650;
  color: var(--gray-500, #6b7280);
}
.sc-status {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  font-weight: 650;
}
.disclaimer {
  margin-top: 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--gray-500, #6b7280);
}

/* Nav polish — compact primary row */
.nav-actions-desktop .nav-link {
  font-size: 0.88rem;
  padding: 0.35rem 0.45rem;
}
@media (max-width: 960px) {
  .nav-actions-desktop .nav-link {
    display: none;
  }
  .nav-actions-desktop .btn-outline {
    display: none;
  }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-actions-desktop .nav-link:nth-child(n + 5) {
    display: none;
  }
}

.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.track-table th,
.track-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
}
.track-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500, #6b7280);
}
.product-card.flagship {
  border-color: rgba(201, 168, 76, 0.45);
  background: linear-gradient(165deg, rgba(201, 168, 76, 0.08), #fff 55%);
}
.product-card h3 {
  margin: 0;
  font-size: 1.15rem;
}
.product-card .pc-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
  margin: 0;
}
.product-card .pc-blurb {
  flex: 1;
  font-size: 0.92rem;
  margin: 0;
  color: var(--gray-600, #4b5563);
}
.product-card .pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

/* Loop ribbon */
.loop-ribbon {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .loop-ribbon {
    grid-template-columns: repeat(4, 1fr);
  }
}
.loop-step {
  border-radius: 14px;
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 1rem 1.1rem;
  background: #fff;
}
.loop-step .ls-num {
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--gold, #c9a84c);
}
.loop-step h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.05rem;
}
.loop-step p {
  margin: 0;
  font-size: 0.9rem;
}

/* Proof / live strip */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  background: linear-gradient(90deg, rgba(201, 168, 76, 0.1), rgba(201, 168, 76, 0.04));
}
.proof-strip strong {
  color: var(--gray-900, #111827);
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
}
.proof-strip ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.88rem;
  color: var(--gray-600, #4b5563);
}
.proof-strip li::before {
  content: "✓ ";
  color: var(--accent, #c9a84c);
  font-weight: 700;
}

/* Signals (page-level overrides) */
.signal-card.hot {
  border-color: rgba(201, 168, 76, 0.55);
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.12), #fff);
}
.signal-card .sc-status {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.15rem 0 0;
}
.signal-card .sc-status.ok {
  color: #059669;
}
.signal-card .sc-status.warn {
  color: #b45309;
}
.signal-card .sc-status.danger {
  color: #dc2626;
}
.signal-card .sc-status.muted {
  color: var(--gray-500, #6b7280);
}
@media (max-width: 559px) {
  .signal-grid {
    grid-template-columns: 1fr;
  }
}

.answer-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .answer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.answer-cell {
  border-radius: 12px;
  border: 1px solid var(--gray-200, #e5e7eb);
  padding: 0.85rem 1rem;
  background: #fafafa;
}
.answer-cell h4 {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
}
.answer-cell p {
  margin: 0;
  font-size: 0.92rem;
}

/* Footer grid */
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.25rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.footer-brand .footer-tag {
  font-size: 0.88rem;
  color: var(--gray-500, #6b7280);
  margin: 0.65rem 0 0.35rem;
  max-width: 28ch;
}
.footer-langs {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent, #c9a84c);
  margin: 0;
}
.footer-heading {
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-500, #6b7280);
  margin: 0 0 0.5rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.footer-nav a {
  color: var(--gray-700, #374151);
  text-decoration: none;
}
.footer-nav a:hover {
  color: var(--accent, #c9a84c);
}
.footer-bottom {
  border-top: 1px solid var(--gray-200, #e5e7eb);
  padding: 1rem 0 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-500, #6b7280);
}
.footer-bottom p {
  margin: 0;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 45;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff !important;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.4);
}
.wa-float:hover {
  filter: brightness(1.05);
  color: #fff !important;
}
@media (min-width: 900px) {
  .wa-float {
    bottom: 1.5rem;
  }
}

/* Diagnostic */
.diag-wrap {
  max-width: 34rem;
  margin: 0 auto;
}
.diag-wrap .field {
  width: 100%;
  min-height: 2.75rem;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  margin-bottom: 0.85rem;
  background: #fff;
  color: var(--gray-900, #111827);
}
.diag-wrap label {
  display: block;
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gray-700, #374151);
  margin-bottom: 0.35rem;
}
.diag-wrap .chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.diag-wrap .chip {
  min-height: 2.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200, #e5e7eb);
  background: var(--gray-100, #f3f4f6);
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--gray-700, #374151);
  cursor: pointer;
}
.diag-wrap .chip.selected {
  border-color: var(--accent, #c9a84c);
  color: var(--accent, #c9a84c);
  background: rgba(201, 168, 76, 0.06);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--gray-500, #6b7280);
  border-left: 3px solid var(--gold, #c9a84c);
  padding: 0.5rem 0 0.5rem 0.85rem;
  margin: 1rem 0 0;
}

.track-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.track-table th,
.track-table td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--gray-200, #e5e7eb);
  vertical-align: top;
}
.track-table th {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500, #6b7280);
}
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200, #e5e7eb);
}
.badge.live {
  color: #059669;
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(5, 150, 105, 0.08);
}
.badge.demo {
  color: #b45309;
  border-color: rgba(180, 83, 9, 0.3);
  background: rgba(180, 83, 9, 0.08);
}
.badge.track {
  color: var(--accent, #c9a84c);
  border-color: rgba(201, 168, 76, 0.3);
  background: rgba(201, 168, 76, 0.06);
}

/* ── Contact page ── */
.contact-page {
  padding-bottom: 0;
}

.contact-hero {
  padding: var(--page-top-clear, 5.75rem) 0 2.5rem;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(201, 168, 76, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 20%, rgba(201, 168, 76, 0.07), transparent 50%),
    #fff;
  border-bottom: 1px solid var(--gray-100, #f3f4f6);
}

.contact-hero-inner {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}
@media (min-width: 860px) {
  .contact-hero-inner {
    grid-template-columns: 1.15fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.contact-hero-copy h1 {
  max-width: 16ch;
  margin-bottom: 0.75rem;
}

.contact-langs {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent, #c9a84c);
}

.contact-primary-card {
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 18px;
  padding: 1.35rem 1.3rem 1.4rem;
  background: linear-gradient(165deg, #faf8ff 0%, #fff 55%);
  box-shadow: 0 12px 36px rgba(201, 168, 76, 0.1);
}

.contact-primary-card .cpc-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
}

.contact-primary-card .cpc-title {
  margin: 0.35rem 0 0.15rem;
  font-size: 1.35rem;
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
}

.contact-primary-card .cpc-number {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.contact-primary-card .cpc-number a {
  color: var(--gray-900, #111827);
  text-decoration: none;
}

.contact-primary-card .cpc-number a:hover {
  color: var(--accent, #c9a84c);
}

.contact-primary-card .cpc-note {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--gray-600, #4b5563);
  line-height: 1.45;
}

.btn-block {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

.contact-paths {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .contact-paths {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-path {
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 16px;
  padding: 1.2rem 1.15rem 1.25rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 100%;
}

.contact-path.featured {
  border-color: rgba(201, 168, 76, 0.28);
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.05), #fff 45%);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.08);
}

.contact-path .cp-num {
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold, #c9a84c);
}

.contact-path h3 {
  margin: 0;
  font-size: 1.1rem;
}

.contact-path p {
  margin: 0;
  flex: 1;
  font-size: 0.92rem;
  color: var(--gray-600, #4b5563);
  line-height: 1.45;
}

.contact-path .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.contact-split {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 800px) {
  .contact-split {
    grid-template-columns: 1fr 1.05fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}

.contact-details li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--gray-100, #f3f4f6);
  font-size: 0.95rem;
  align-items: baseline;
}

.contact-details li:last-child {
  border-bottom: 0;
}

.contact-details .cd-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500, #6b7280);
}

.contact-details a {
  font-weight: 700;
  text-decoration: none;
  color: var(--accent, #c9a84c);
  word-break: break-word;
}

.contact-details a:hover {
  text-decoration: underline;
}

.card-surface {
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.35rem;
  background: linear-gradient(160deg, rgba(201, 168, 76, 0.1), #fff 50%);
}

.contact-checklist h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.contact-checklist ol {
  margin: 0 0 1.15rem;
  padding-left: 1.2rem;
  color: var(--gray-600, #4b5563);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-checklist ol li {
  margin-bottom: 0.35rem;
}

.contact-tools {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 720px) {
  .contact-tools {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-tool {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid var(--gray-200, #e5e7eb);
  background: #fff;
  text-decoration: none;
  color: inherit;
  min-height: 4.5rem;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.contact-tool:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.08);
  color: inherit;
  text-decoration: none;
}

.contact-tool strong {
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-size: 0.98rem;
  color: var(--gray-900, #111827);
}

.contact-tool span {
  font-size: 0.8rem;
  color: var(--gray-500, #6b7280);
}

.contact-footer-cta {
  background: linear-gradient(180deg, #faf8ff, #f3f4f6);
  border-top: 1px solid var(--gray-100, #f3f4f6);
}

.contact-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .contact-footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.contact-footer-inner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.contact-footer-inner p {
  margin: 0;
  max-width: 36rem;
  color: var(--gray-600, #4b5563);
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  .contact-details li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .contact-hero {
    padding-top: var(--page-top-clear, 5.75rem);
  }
}

/* Clean marketing home (2026-08-28) */
html,
body {
  overflow-x: clip;
}
.home-fresh .hero {
  min-height: auto;
}
.home-fresh .hero-content {
  max-width: 38rem;
  width: 100%;
  min-width: 0;
}
.home-fresh .h1-bold,
.home-fresh .h1-light,
.home-fresh .hero-lead,
.proof-strip,
.proof-strip strong {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}
.proof-strip strong {
  flex: 1 1 12rem;
}
@media (max-width: 480px) {
  .home-fresh .h1-bold {
    font-size: clamp(1.65rem, 8.4vw, 2.15rem);
  }
  .home-fresh .h1-light {
    font-size: clamp(1.15rem, 5.6vw, 1.45rem);
  }
}
.hero-langs {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.85rem;
  color: var(--gray-500, #6b7280);
}
.home-beats {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .home-beats {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home-beat {
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 14px;
  background: var(--surface, #fff);
}
.home-beat .n {
  display: block;
  font-family: var(--font-heading, "DM Sans", system-ui, sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #c9a84c);
  margin-bottom: 0.55rem;
}
.home-beat h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}
.home-beat p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--gray-600, #4b5563);
}
.home-product .section-head,
.home-close {
  max-width: 38rem;
}
.home-close {
  text-align: center;
  margin-inline: auto;
}
.home-close .section-lead,
.home-close .page-actions {
  justify-content: center;
  margin-inline: auto;
}
html[data-theme="night"] .home-beat {
  background: var(--surface, #121110);
  border-color: var(--gray-200, #2a2824);
}

html[data-theme="night"] .contact-hero {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(201, 168, 76, 0.08), transparent 55%),
    var(--blank, #0a0a0a);
  border-bottom-color: var(--gray-200, #2a2824);
}
html[data-theme="night"] .contact-primary-card,
html[data-theme="night"] .contact-path {
  background: var(--surface, #121110);
  border-color: var(--gray-200, #2a2824);
}
html[data-theme="night"] .contact-path.featured {
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.1), var(--surface, #121110) 50%);
}
html[data-theme="night"] .contact-primary-card .cpc-number a {
  color: var(--gray-900, #f5f0e6);
}
html[data-theme="night"] .contact-footer-cta {
  background: var(--surface-2, #1a1816);
  border-top-color: var(--gray-200, #2a2824);
}
