/* ==========================================================================
   Daily Management — inner pages & form feedback
   Loaded after style.css and built on its tokens.
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; }
.page-hero--compact { min-height: 64vh; min-height: 64svh; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgba(7, 6, 26, .6) 0%, rgba(7, 6, 26, .25) 30%, rgba(7, 6, 26, 0) 55%);
}
.page-hero__inner {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; align-items: end;
  padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(3rem, 1.5rem + 4vw, 5.25rem);
}
.page-hero__head { grid-column: 1 / span 8; }
.page-hero__title { font: 300 var(--text-2xl)/1.02 var(--font-display); letter-spacing: -.035em; max-width: 12em; }
.page-hero__aside { grid-column: 9 / span 4; padding-bottom: .35em; max-width: 450px; }
.page-hero__text { font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.45; margin-bottom: 32px; color: rgba(255, 255, 255, .92); }
.page-hero__aside .page-hero__text:last-child { margin-bottom: 0; }
.page-hero__meta { margin-bottom: 26px; }

.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px 10px; font: 400 13px/1.2 var(--font-mono); letter-spacing: .02em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a { transition: color .3s var(--ease); }
.breadcrumb a:hover { color: var(--orange-400); }
.breadcrumb [aria-current] { color: var(--white); }

.post__meta--light { margin-bottom: 0; color: rgba(255, 255, 255, .7); }
.post__meta--light time { color: var(--white); }

/* ---------- Sections ---------- */
.page-section { padding: var(--space-3xl) 0 var(--space-4xl); }
.page-section--tight { padding-bottom: var(--space-3xl); }
.page-section[id], .engage[id], .offer, .sector-row, .section-head[id] { scroll-margin-top: calc(var(--header-h) + 32px); }

.section-head { display: grid; justify-items: start; gap: var(--space-md); margin-bottom: var(--space-2xl); }
.section-head--spaced { margin-top: var(--space-4xl); }
.section-head__title { font: 300 var(--text-xl)/1.04 var(--font-display); letter-spacing: -.035em; max-width: 14em; }
.section-head__title--sm { font-size: var(--text-md); }

.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; align-items: start; margin-bottom: var(--space-3xl); }
.intro__kicker { font-size: clamp(1.125rem, 1rem + .5vw, 1.625rem); line-height: 1.3; letter-spacing: -.01em; max-width: 22em; padding-top: .9em; }
.intro__title { font: 300 var(--text-2xl)/1.02 var(--font-display); letter-spacing: -.035em; }

.lead { font: 400 var(--text-xs)/1.3 var(--font-sans); letter-spacing: -.03em; color: var(--navy-900); }

/* ---------- Offers (solution & support pages) ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.offer {
  display: flex; flex-direction: column; padding: clamp(22px, 16px + 1.5vw, 36px);
  border-radius: var(--radius-lg); background: var(--slate-50);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.offer:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(241, 102, 34, .45); }
.offer:target { box-shadow: 0 0 0 2px var(--orange-500); }
.offer__icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 28px;
  border-radius: var(--radius-sm); background: var(--slate-200);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.offer__icon .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.offer:hover .offer__icon { background: var(--orange-500); color: var(--ink); }
.offer__title { margin-bottom: 14px; font: 400 var(--text-xs)/1.2 var(--font-sans); letter-spacing: -.035em; }
.offer__text { margin-bottom: 24px; max-width: 34em; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.5; color: var(--navy-500); }
.offer__list { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--slate-200); }
.offer__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; }
.offer__list .icon { width: 18px; height: 18px; margin-top: 1px; stroke-width: 2; color: var(--orange-500); }

/* Dark sections of inner pages: same look as the home "engagements", less empty space */
.engage--page { padding-bottom: clamp(7rem, 4rem + 9vw, 14rem); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  display: flex; flex-direction: column; padding: 22px 22px 28px;
  border-radius: var(--radius-md); background: var(--white);
}
.panel:not(.panel--slate) .step { background: var(--slate-50); }
.step__num {
  display: flex; align-items: center; gap: 12px; padding-bottom: clamp(48px, 30px + 3vw, 88px);
  font: 400 13px/1 var(--font-mono); color: var(--orange-600);
}
.step__num::after { content: ""; flex: 1; height: 1px; background: repeating-linear-gradient(90deg, var(--slate-300) 0 4px, transparent 4px 8px); }
.step__title { margin-bottom: 10px; font: 400 var(--text-2xs)/1.2 var(--font-sans); letter-spacing: -.035em; }
.step__text { font-size: 15px; line-height: 1.45; color: var(--navy-500); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-top: var(--space-4xl); }
.faq-layout__head { display: grid; justify-items: start; align-content: start; gap: var(--space-md); }
.faq { border-top: 1px solid var(--slate-300); }
.faq__item { border-bottom: 1px solid var(--slate-300); }
.faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  list-style: none; cursor: pointer;
  font: 400 var(--text-2xs)/1.3 var(--font-sans); letter-spacing: -.03em;
  transition: color .3s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--orange-600); }
.faq__q .icon { transition: transform .4s var(--ease); }
.faq__item[open] .faq__q .icon { transform: rotate(180deg); }
.faq__a { max-width: 46em; padding-bottom: 24px; line-height: 1.6; color: var(--navy-500); }

/* ---------- Related solutions ---------- */
.related { margin-top: var(--space-4xl); }
.related__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 42px; }
.related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.sol-card--white { background: var(--white); }
.sol-card--white .sol-card__icon { background: var(--slate-50); }

/* ---------- About ---------- */
.text-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; margin-bottom: var(--space-3xl); }
.text-cols .eyebrow { align-self: start; margin-top: 12px; }
.text-cols__body { display: grid; gap: 20px; max-width: 46em; font-size: clamp(1rem, .95rem + .2vw, 1.125rem); line-height: 1.6; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { display: flex; flex-direction: column; gap: 12px; min-height: 320px; padding: 24px; border-radius: var(--radius-md); background: var(--slate-50); }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: auto; border-radius: var(--radius-sm); background: var(--orange-500); color: var(--ink); }
.value__title { margin-top: 40px; font: 400 var(--text-xs)/1.2 var(--font-sans); letter-spacing: -.035em; }
.value__text { font-size: 15px; line-height: 1.5; color: var(--navy-500); }

/* ---------- Solutions index ---------- */
.sol-rows { display: grid; gap: 16px; }
.sol-row { display: grid; grid-template-columns: 7fr 5fr; gap: 16px; padding: 16px; border-radius: var(--radius-lg); background: var(--slate-50); }
.sol-row__main {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr auto; column-gap: 28px; row-gap: 12px;
  padding: 12px; border-radius: var(--radius-md);
}
.sol-row__icon {
  grid-row: 1 / -1; display: grid; place-items: center; align-self: start;
  width: clamp(84px, 60px + 5vw, 135px); aspect-ratio: 1;
  border-radius: var(--radius-sm); background: var(--slate-200);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.sol-row__icon .icon { width: 44px; height: 44px; stroke-width: 1.4; }
.sol-row__main:hover .sol-row__icon { background: var(--orange-500); color: var(--ink); }
.sol-row__name { font: 300 var(--text-md)/1.05 var(--font-display); letter-spacing: -.035em; }
.sol-row__desc { max-width: 36em; line-height: 1.5; color: var(--navy-500); }
.sol-row__link {
  display: inline-flex; align-items: center; gap: 10px;
  font: 400 13px/1 var(--font-mono); letter-spacing: .02em; text-transform: uppercase; color: var(--navy-500);
  transition: color .3s var(--ease);
}
.sol-row__link .icon { width: 20px; height: 20px; transition: transform .5s var(--ease); }
.sol-row__main:hover .sol-row__link { color: var(--orange-600); }
.sol-row__main:hover .sol-row__link .icon { transform: translateX(6px); }
.sol-row__offers { display: grid; align-content: center; padding: 0 8px; }
.sol-row__offers a {
  display: flex; align-items: center; gap: 14px; padding: 16px 4px;
  border-bottom: 1px solid var(--slate-200);
  font-size: clamp(1rem, .95rem + .25vw, 1.1875rem); letter-spacing: -.02em;
  transition: color .35s var(--ease), padding .5s var(--ease);
}
.sol-row__offers li:last-child a { border-bottom: 0; }
.sol-row__offers .icon { width: 22px; height: 22px; color: var(--navy-500); transition: color .35s var(--ease); }
.sol-row__offers a:hover { color: var(--orange-600); padding-left: 12px; }
.sol-row__offers a:hover .icon { color: var(--orange-500); }

/* ---------- Sectors ---------- */
.sector-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-2xl); }
.sector-nav a {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border-radius: var(--radius-sm); background: var(--slate-50);
  font: 400 13px/1 var(--font-mono); letter-spacing: .02em; text-transform: uppercase;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.sector-nav a:hover { background: var(--orange-500); color: var(--ink); }
.sector-nav .icon { width: 18px; height: 18px; }

.sector-rows { display: grid; gap: 16px; }
.sector-row {
  display: grid; grid-template-columns: 4fr 5fr 3fr; gap: clamp(20px, 2vw, 40px);
  padding: clamp(22px, 16px + 1.5vw, 36px); border-radius: var(--radius-lg); background: var(--slate-50);
}
.sector-row:target { box-shadow: 0 0 0 2px var(--orange-500); }
.sector-row__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.sector-row__icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--white); }
.sector-row__icon .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.sector-row:hover .sector-row__icon { color: var(--orange-500); }
.sector-row__name { font: 300 var(--text-md)/1.05 var(--font-display); letter-spacing: -.035em; }
.sector-row__intro { margin-bottom: 26px; font-size: clamp(1rem, .95rem + .25vw, 1.1875rem); line-height: 1.5; }
.sector-row__label { margin-bottom: 14px; font: 400 12px/1 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--navy-500); }
.sector-row .offer__list { border-top: 0; padding-top: 0; }
.sector-row__links { display: flex; flex-direction: column; gap: 8px; }
.sector-row__link {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--white);
  font-size: 15px; line-height: 1.3; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.sector-row__link .icon { width: 20px; height: 20px; }
.sector-row__link:hover { background: var(--orange-500); color: var(--ink); }
.sector-row__links .btn { margin-top: auto; }

/* ---------- Contact & support ---------- */
.contact-layout { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: start; }
.form-card {
  padding: clamp(24px, 18px + 2vw, 44px); border-radius: var(--radius-lg);
  background: var(--white); color: var(--navy-900);
  box-shadow: 0 0 0 1px var(--slate-100), 0 40px 80px -48px rgba(40, 37, 108, .45);
}
.form-card__title { margin: 16px 0 26px; font: 300 var(--text-sm)/1.05 var(--font-display); letter-spacing: -.035em; }
.form-card__title + .modal__intro { margin-top: -12px; }

.contact-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.contact-aside__block { display: grid; gap: 22px; padding: 28px; border-radius: var(--radius-lg); background: var(--slate-50); }
.contact-aside--dark .contact-aside__block { background: rgba(15, 14, 37, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--white); }
.engage__list--compact { gap: 26px; padding-top: 0; }
.engage__list--compact .engage__item-title { font-size: var(--text-2xs); }

.next-steps { display: grid; gap: 22px; }
.next-steps li { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.next-steps span { padding-top: 4px; font: 400 13px/1 var(--font-mono); color: var(--orange-600); }
.next-steps h3 { margin-bottom: 4px; font: 400 1.125rem/1.3 var(--font-sans); letter-spacing: -.02em; }
.next-steps p { font-size: 15px; line-height: 1.45; color: var(--navy-500); }

.contact-list { display: grid; gap: 12px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { width: 20px; height: 20px; color: var(--orange-500); }
.contact-list a { transition: color .3s var(--ease); }
.contact-list a:hover { color: var(--orange-600); }

.contact-aside__support {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--white);
  font-size: 15px; line-height: 1.45; transition: background-color .35s var(--ease);
}
.contact-aside__support strong { display: block; font-weight: 500; }
.contact-aside__support .icon { color: var(--orange-400); transition: transform .5s var(--ease); }
.contact-aside__support:hover { background: var(--navy-800); }
.contact-aside__support:hover .icon:last-child { transform: translateX(6px); }

/* ---------- Article & legal ---------- */
.article { max-width: calc(46rem + var(--gutter) * 2); }
.article__lead {
  margin-bottom: var(--space-xl); padding-bottom: var(--space-lg); border-bottom: 1px solid var(--slate-200);
  font: 400 var(--text-xs)/1.35 var(--font-sans); letter-spacing: -.03em;
}
.legal { max-width: calc(52rem + var(--gutter) * 2); }
.legal__updated { font: 400 12px/1.2 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--navy-500); }

.prose { font-size: clamp(1rem, .96rem + .18vw, 1.125rem); line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font: 400 var(--text-xs)/1.2 var(--font-sans); letter-spacing: -.035em; }
.prose h3 { margin-top: 1.8em; font: 500 1.1875rem/1.3 var(--font-sans); letter-spacing: -.02em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul { display: grid; gap: .5em; }
.prose ul li { position: relative; padding-left: 1.4em; }
.prose ul li::before { content: ""; position: absolute; left: .2em; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }
.prose a { color: var(--orange-600); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose code { padding: 2px 6px; border-radius: 4px; background: var(--slate-50); font: 400 .85em var(--font-mono); }
.table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--slate-200); text-align: left; vertical-align: top; }
.prose th { font: 400 12px/1.2 var(--font-mono); letter-spacing: .03em; text-transform: uppercase; color: var(--navy-500); }

.cta-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: var(--space-2xl); padding: clamp(24px, 18px + 2vw, 40px);
  border-radius: var(--radius-lg); background: var(--slate-50);
}
.cta-box__title { margin-top: 12px; font: 400 var(--text-xs)/1.2 var(--font-sans); letter-spacing: -.035em; }

.blog--page { padding-top: 0; padding-bottom: 0; }

/* ---------- Footer additions ---------- */
.footer__contact { display: grid; gap: 10px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; transition: color .3s var(--ease); }
.footer__contact .icon { width: 18px; height: 18px; color: var(--orange-400); }
.footer__contact a:hover { color: var(--orange-400); }

/* ---------- Form feedback ---------- */
.field { align-content: start; } /* an error message must not stretch the neighbouring field */
.field.is-invalid select { border-color: #d9342b; background-color: #fff5f4; }
.field__error { font-size: 13px; line-height: 1.35; color: #c62f26; }
.field__error:empty { display: none; }
.field__error--check { margin-top: -14px; padding-left: 34px; }
.form__alert { padding: 14px 16px; border: 1px solid #f6c9c4; border-radius: var(--radius-sm); background: #fff1ef; font-size: 14px; line-height: 1.45; color: #b3261e; }
.check__text a { color: var(--navy-900); text-decoration: underline; text-underline-offset: 2px; }
.btn.is-busy { pointer-events: none; opacity: .7; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
html:not(.js) [data-form-mode] { display: none; }
.form-success { display: grid; justify-items: start; gap: 4px; padding: 8px 0 4px; }
.form-success .btn { margin-top: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .page-hero__inner { grid-template-columns: 1fr; row-gap: 32px; }
  .page-hero__head, .page-hero__aside { grid-column: 1 / -1; }
  .page-hero__aside { max-width: 520px; }

  .intro, .text-cols, .faq-layout, .contact-layout, .sol-row { grid-template-columns: 1fr; }
  .intro { gap: 24px; }
  .steps, .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .sector-row { grid-template-columns: 1fr 1fr; }
  .sector-row__head { grid-column: 1 / -1; }
  .contact-aside { position: static; }
}

@media (max-width: 760px) {
  .page-hero::before { background: linear-gradient(0deg, rgba(7, 6, 26, .92) 0%, rgba(7, 6, 26, .7) 45%, rgba(7, 6, 26, 0) 80%); }
  .page-hero { min-height: 78svh; }
  .page-hero--compact { min-height: 58svh; }

  .offers, .related__grid, .values, .steps, .steps--4, .sector-row { grid-template-columns: 1fr; }
  .step, .value { min-height: 0; }
  .step__num { padding-bottom: 28px; }
  .value__title { margin-top: 24px; }
  .sol-row { padding: 8px; }
  .sol-row__main { grid-template-columns: 1fr; padding: 12px; }
  .sol-row__icon { grid-row: auto; width: 72px; }
  .sol-row__icon .icon { width: 32px; height: 32px; }
  .contact-aside__block { padding: 22px; }
  .cta-box .btn-row { width: 100%; }
}
