/* Inner pages (Solutions, Experts, Careers, Contact, Support, service pages): page headers with depth,
   separated elevated cards in place of packed tile grids, and softer form fields. */
:root { --card: #fdfdf9; --card-line: #e2e0d6; --copper-text: #94602f; --card-shadow: 0 1px 0 rgba(25, 25, 25, 0.02), 0 14px 32px -24px rgba(25, 25, 25, 0.35); }
html[data-theme="dark"] { --card: #1c1c19; --card-line: rgba(255, 255, 255, 0.1); --copper-text: #d39a68; --card-shadow: 0 16px 34px -24px rgba(0, 0, 0, 0.8); }

/* Page header: a large title with the copper orbit used on the homepage and legal pages. */
main:not(.home-v2):not(.legal):not(.products-page) > section:first-child,
.products-page { position: relative; overflow: hidden; }
main:not(.home-v2):not(.legal):not(.products-page) > section:first-child::after,
.products-page::before {
  content: ""; position: absolute; right: -150px; top: -190px; width: 540px; height: 540px; border-radius: 50%;
  border: 1px solid var(--card-line); box-shadow: 0 0 0 70px rgba(167, 109, 59, 0.07), 0 0 0 140px rgba(167, 109, 59, 0.035);
  pointer-events: none; z-index: 0;
}
main:not(.home-v2):not(.legal):not(.products-page) > section:first-child > *,
.products-page > * { position: relative; z-index: 1; }
main:not(.home-v2):not(.legal):not(.products-page) > section:first-child h1 { font-size: clamp(40px, 5.4vw, 68px) !important; line-height: 1.04 !important; letter-spacing: -0.02em !important; }
main:not(.home-v2):not(.legal):not(.products-page) > section:first-child p:not(.font-mono) { font-size: 19px !important; line-height: 1.6 !important; max-width: 640px; }

/* Solutions and service detail pages. */
.page-eyebrow { margin: 0 0 18px; font: 500 12px/1.4 var(--font-geist-mono), monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-text); }
.products-content { padding-top: 76px; }
.products-content h1 { font-size: clamp(44px, 5.6vw, 72px) !important; line-height: 1.02 !important; letter-spacing: -0.02em !important; }
.products-intro p:first-child { font-size: 22px; color: var(--ink); }
.service-detail nav[aria-label="Breadcrumb"] { margin-bottom: 18px; font: 12px var(--font-geist-mono), monospace; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.service-detail nav[aria-label="Breadcrumb"] a { color: var(--copper-text); }
.service-detail > section { padding: 28px 30px; margin-top: 18px; border: 1px solid var(--card-line); border-radius: 14px; background: var(--card); box-shadow: var(--card-shadow); }
.product-list { counter-reset: product; }
.product-row { position: relative; counter-increment: product; margin: 0 -22px; padding: 30px 22px !important; border-radius: 14px; border-top-color: transparent !important; transition: background-color 0.3s, box-shadow 0.3s; }
.product-row::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--rule); transition: opacity 0.3s; }
.product-row::after { content: counter(product, decimal-leading-zero); position: absolute; right: 22px; top: 12px; font: 11px var(--font-geist-mono), monospace; color: var(--muted); opacity: 0; transition: opacity 0.3s; }
.product-row:hover { background: var(--card); box-shadow: var(--card-shadow), 0 0 0 1px var(--card-line); }
.product-row:hover::after { opacity: 1; }
.product-row:hover::before, .product-row:hover + .product-row::before { opacity: 0; }
.product-marker { border-radius: 2px; transition: height 0.3s; }
.product-row:hover .product-marker { height: 28px; }

/* Packed tile grids become separated, rounded, elevated cards. */
main:not(.home-v2):not(.legal) .gap-px.bg-border.border,
main:not(.home-v2):not(.legal) .space-y-px.bg-border.border { gap: 14px !important; background: transparent !important; border: 0 !important; }
main:not(.home-v2):not(.legal) .space-y-px.bg-border.border { display: grid; }
main:not(.home-v2):not(.legal) .space-y-px.bg-border.border > * { margin-top: 0 !important; }
main:not(.home-v2):not(.legal) .gap-px.bg-border.border > *,
main:not(.home-v2):not(.legal) .space-y-px.bg-border.border > *,
main:not(.home-v2):not(.legal) .border.border-border.bg-bg-elevated {
  border: 1px solid var(--card-line) !important; border-radius: 14px; background: var(--card) !important; box-shadow: var(--card-shadow);
}
main:not(.home-v2):not(.legal) .gap-px.bg-border.border > .bg-bg-inset:empty { display: none; }
main:not(.home-v2):not(.legal) .gap-px.bg-border.border > a:hover { border-color: rgba(167, 109, 59, 0.55) !important; }

/* Tags and form fields. */
main:not(.home-v2):not(.legal) .border.border-border.px-2.py-1 { border-radius: 6px; }
main input.border-border, main textarea.border-border, main select.border-border {
  border-radius: 10px; background: var(--card) !important; transition: border-color 0.2s, box-shadow 0.2s;
}
main input.border-border:focus, main textarea.border-border:focus, main select.border-border:focus {
  border-color: #a76d3b !important; box-shadow: 0 0 0 3px rgba(167, 109, 59, 0.3);
}

@media (max-width: 760px) {
  main:not(.home-v2):not(.legal):not(.products-page) > section:first-child::after, .products-page::before { right: -330px; }
  main:not(.home-v2):not(.legal):not(.products-page) > section:first-child p:not(.font-mono) { font-size: 17px !important; }
  .product-row { margin: 0 -12px; padding: 24px 12px !important; }
  .product-row::before { left: 12px; right: 12px; }
  .service-detail > section { padding: 22px 20px; }
}
@media print {
  main > section:first-child::after, .products-page::before { display: none !important; }
  .gap-px.bg-border.border > *, .service-detail > section { box-shadow: none !important; }
}

