/* OrderZ — Onyx style for industry landing pages.
   Modern minimal luxury: deep ink panels, hairline grids, uppercase micro-labels,
   serif-italic accents. Scoped entirely under .onx so it never leaks into the
   rest of the site (mega-menu nav / footer stay on the standard site styles). */

.onx {
  --onyx:    #0A1E3A;
  --onyx-2:  #102C56;
  --cool:    #F6F5F2;
  --cool-2:  #EEEDE8;
  --line-d:  #DEDCD4;
  --line-l:  #24406B;
  --ink:     #1A1B1F;
  --ink-2:   #56575E;
  --ink-3:   #8A8B91;
  --clay:    #C2693E;
  --orange:  rgb(255, 113, 54);
  --orange-d:rgb(232, 94, 37);
  --navy:    rgb(16, 44, 86);
  --news:    "Newsreader", Georgia, serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  background: var(--cool);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
.onx * { box-sizing: border-box; }
.onx h1, .onx h2, .onx h3, .onx h4, .onx p { margin: 0; }
.onx a { color: inherit; text-decoration: none; }
.onx img { display: block; max-width: 100%; }
.onx ::selection { background: var(--onyx); color: #fff; }
.onx .wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 44px; padding-right: 44px; }
.onx section { padding: 112px 0; }

/* type */
.onx-klabel { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--clay); }
.onx-hd { font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.onx-hd em { font-family: var(--news); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.onx-lead { color: var(--ink-2); line-height: 1.62; }

/* buttons — square, uppercase, no radius */
.onx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 0; font-weight: 600; font-size: 13.5px; letter-spacing: .02em; padding: 17px 30px; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; font-family: var(--sans); }
.onx-btn-primary { background: var(--orange); color: #fff; }
.onx-btn-primary:hover { background: var(--orange-d); }
.onx-btn-line { background: transparent; color: var(--ink); border-color: rgba(26,27,31,.32); }
.onx-btn-line:hover { border-color: var(--ink); }
.onx-btn-linel { background: transparent; color: #fff; border-color: rgba(255,255,255,.34); }
.onx-btn-linel:hover { border-color: #fff; }

/* ---------- Hero (onyx) ---------- */
.onx-hero { background: var(--onyx); color: #fff; position: relative; overflow: hidden; }
.onx-hero .wrap { padding: 92px 44px 0; }
.onx-hero .top { max-width: 1000px; }
.onx-hero .onx-klabel { color: var(--clay); }
.onx-hero h1 { margin-top: 22px; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.5); text-transform: none; }
.onx-hero .hook { margin-top: 18px; font-size: 58px; color: #fff; max-width: 18ch; }
.onx-hero .hook em { color: var(--orange); }
.onx-hero .sub { margin-top: 28px; font-size: 18px; color: rgba(255,255,255,.7); max-width: 56ch; line-height: 1.6; }
.onx-hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.onx-hero .trust { margin-top: 30px; font-size: 12.5px; letter-spacing: .04em; color: rgba(255,255,255,.45); max-width: 62ch; line-height: 1.6; }

.onx-strip { margin-top: 70px; border-top: 1px solid var(--line-l); display: grid; grid-template-columns: repeat(4, 1fr); }
.onx-strip .col { padding: 26px 28px 30px; border-left: 1px solid var(--line-l); }
.onx-strip .col:first-child { border-left: 0; padding-left: 0; }
.onx-strip .t { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.onx-strip .time { margin-top: 12px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.onx-strip .who { margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.62); }
.onx-strip .svc { margin-top: 14px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); }

/* ---------- Image band ---------- */
.onx-band { padding: 0 !important; height: 460px; background: var(--cool-2); overflow: hidden; }
.onx-band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- generic section head ---------- */
.onx .s-head { display: grid; grid-template-columns: 0.42fr 1fr; gap: 40px; align-items: end; }
.onx .s-head .onx-hd { font-size: 38px; max-width: 22ch; }
.onx .s-head .intro { font-size: 16.5px; color: var(--ink-2); line-height: 1.62; max-width: 46ch; }

/* ---------- Pains ---------- */
.onx-pains { background: var(--cool); }
.onx-pain-list { margin-top: 64px; border-top: 1px solid var(--line-d); }
.onx-pain { display: grid; grid-template-columns: 60px 0.7fr 1.3fr; gap: 36px; padding: 34px 0; border-bottom: 1px solid var(--line-d); align-items: baseline; transition: background .2s; }
.onx-pain:hover { background: var(--cool-2); }
.onx-pain .n { font-size: 13px; font-weight: 600; color: var(--clay); letter-spacing: .04em; padding-top: 4px; }
.onx-pain h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.2; }
.onx-pain p { font-size: 15px; color: var(--ink-2); line-height: 1.64; }
.onx-connector { margin-top: 52px; font-size: 22px; font-weight: 500; letter-spacing: -.015em; line-height: 1.4; color: var(--ink); max-width: 60ch; }
.onx-connector em { font-family: var(--news); font-style: italic; color: var(--clay); }

/* ---------- How (onyx) ---------- */
.onx-how { background: var(--onyx); color: #fff; }
.onx-how .s-head .onx-hd { color: #fff; }
.onx-how .s-head .intro { color: rgba(255,255,255,.6); }
.onx-how-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-l); }
.onx-hstep { padding: 36px 28px 40px; border-left: 1px solid var(--line-l); }
.onx-hstep:first-child { border-left: 0; padding-left: 0; }
.onx-hstep .num { font-size: 13px; font-weight: 600; color: var(--clay); letter-spacing: .1em; }
.onx-hstep h3 { margin-top: 22px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; line-height: 1.22; }
.onx-hstep p { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.62; }
.onx-how-foot { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line-l); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.onx-how-foot p { font-size: 16px; color: rgba(255,255,255,.74); line-height: 1.6; max-width: 58ch; }
.onx-how-foot p b { color: #fff; font-weight: 600; }
.onx-how-foot .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Solutions / features (hairline grid) ---------- */
.onx-sol-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-d); }
.onx-sol { padding: 34px 30px 38px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.onx-sol-grid .onx-sol:nth-child(3n) { border-right: 0; }
.onx-sol .ix { font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .08em; }
.onx-sol h3 { margin-top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.24; }
.onx-sol p { margin-top: 11px; font-size: 14px; color: var(--ink-2); line-height: 1.62; }

/* ---------- Business types ---------- */
.onx-types { background: var(--cool-2); }
.onx-tlist { margin-top: 56px; }
.onx-type { display: grid; grid-template-columns: 0.42fr 1fr; gap: 40px; padding: 26px 0; border-top: 1px solid var(--line-d); align-items: baseline; }
.onx-type:last-of-type { border-bottom: 1px solid var(--line-d); }
.onx-type h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.onx-type p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.onx-type .go { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--clay); }
.onx-type .go:hover { color: var(--orange); }
.onx-types-foot { margin-top: 44px; font-size: 16.5px; color: var(--ink-2); line-height: 1.64; max-width: 70ch; }
.onx-types-foot b { color: var(--ink); font-weight: 600; }

/* ---------- Outcomes (onyx) ---------- */
.onx-out { background: var(--onyx); color: #fff; }
.onx-out .s-head .onx-hd { color: #fff; }
.onx-out-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-l); }
.onx-ocard { padding: 38px 40px 40px; border-bottom: 1px solid var(--line-l); }
.onx-ocard:nth-child(odd) { border-right: 1px solid var(--line-l); padding-left: 0; }
.onx-ocard:nth-child(even) { padding-left: 40px; }
.onx-ocard .ix { font-size: 12px; font-weight: 600; color: var(--clay); letter-spacing: .1em; }
.onx-ocard h3 { margin-top: 18px; font-size: 21px; font-weight: 600; letter-spacing: -.02em; line-height: 1.22; color: #fff; }
.onx-ocard p { margin-top: 12px; font-size: 14.5px; color: rgba(255,255,255,.64); line-height: 1.62; }
.onx-out-ctas { margin-top: 52px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Proof ---------- */
.onx-logos { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-d); }
.onx-logo-tile { padding: 34px 24px; display: flex; align-items: center; justify-content: center; text-align: center; min-height: 104px; border-right: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.onx-logos .onx-logo-tile:nth-child(3n) { border-right: 0; }
.onx-logo-tile span { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.onx-logo-tile.anchor span { color: var(--clay); }
.onx-quotes { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-d); border-top: 0; }
.onx-quote { padding: 40px 38px; border-right: 1px solid var(--line-d); }
.onx-quote:last-child { border-right: 0; }
.onx-quote blockquote { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.015em; line-height: 1.46; color: var(--ink); }
.onx-quote blockquote em { font-family: var(--news); font-style: italic; color: var(--clay); }
.onx-quote .by { margin-top: 24px; font-size: 12px; letter-spacing: .04em; color: var(--ink-3); text-transform: uppercase; }
.onx-quote .by b { color: var(--ink); font-weight: 600; }
.onx-disclaimer { margin-top: 18px; font-size: 12px; color: var(--ink-3); }

/* ---------- FAQ (plus-sign accordion) ---------- */
.onx-faq .wrap { max-width: 980px; }
.onx-faq-list { margin-top: 52px; }
.onx-faq-list .faq-item { border-bottom: 1px solid var(--line-d); }
.onx-faq-list .faq-item:first-child { border-top: 1px solid var(--line-d); }
.onx-faq-list .faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 26px 0; font-family: inherit; color: var(--ink); }
.onx-faq-list .faq-q .q { font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.32; }
.onx-faq-list .faq-q .sign { flex: none; width: 24px; height: 24px; position: relative; margin-top: 3px; }
.onx-faq-list .faq-q .sign::before,
.onx-faq-list .faq-q .sign::after { content: ""; position: absolute; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.onx-faq-list .faq-q .sign::before { left: 0; top: 11px; width: 24px; height: 1.5px; }
.onx-faq-list .faq-q .sign::after { left: 11px; top: 0; width: 1.5px; height: 24px; }
.onx-faq-list .faq-item.open .faq-q .sign::after { transform: scaleY(0); opacity: 0; }
.onx-faq-list .faq-a { overflow: hidden; max-height: 0; transition: max-height .4s ease; }
.onx-faq-list .faq-a-inner { padding: 0 0 28px; font-size: 15px; color: var(--ink-2); line-height: 1.7; max-width: 80ch; }

/* ---------- Final CTA (onyx) ---------- */
.onx-final { background: var(--onyx); color: #fff; }
.onx-final .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.onx-final .onx-hd { font-size: 42px; color: #fff; }
.onx-final .onx-hd em { color: var(--orange); }
.onx-final .sub { margin-top: 22px; font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.64; max-width: 52ch; }
.onx-final .panel { border: 1px solid var(--line-l); padding: 40px; }
.onx-final .panel .ctas { display: flex; flex-direction: column; gap: 12px; }
.onx-final .panel .onx-btn { width: 100%; }
.onx-final .reassure { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-l); font-size: 12px; letter-spacing: .03em; color: rgba(255,255,255,.55); line-height: 1.8; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .onx [data-reveal] { opacity: 0; transform: translateY(20px); transition: transform .7s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0ms); will-change: transform; }
  .js .onx [data-reveal].in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .onx-hero .hook { font-size: 44px; }
  .onx-strip { grid-template-columns: 1fr 1fr; }
  .onx-strip .col:nth-child(3) { padding-left: 0; border-left: 0; }
  .onx-strip .col { border-top: 1px solid var(--line-l); }
  .onx .s-head { grid-template-columns: 1fr; gap: 16px; }
  .onx-how-grid, .onx-sol-grid, .onx-logos { grid-template-columns: 1fr 1fr; }
  .onx-out-grid, .onx-quotes, .onx-final .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .onx .wrap { padding-left: 22px; padding-right: 22px; }
  .onx section { padding: 76px 0; }
  .onx-hero .hook { font-size: 34px; }
  .onx .s-head .onx-hd { font-size: 28px; }
  .onx-strip, .onx-how-grid, .onx-sol-grid, .onx-logos { grid-template-columns: 1fr; }
  .onx-pain { grid-template-columns: 1fr; gap: 8px; }
  .onx-type { grid-template-columns: 1fr; gap: 6px; }
  .onx-sol { border-right: 0 !important; }
  .onx-ocard, .onx-ocard:nth-child(even) { padding-left: 0; padding-right: 0; }
  .onx-quote { border-right: 0; border-bottom: 1px solid var(--line-d); }
}
