/* office-partitions — the commercial landing page.
   Uses the same tokens as the rest of the site; no new colours. */

.op-page * { box-sizing: border-box; }

.op-page {
  font-family: 'Inter', sans-serif;
  color: #232456;
  width: 100%;
}

/* Same container as product pages (.pj-shell in projects.css): 1400px content
   plus a 4vw gutter, so the left edge lines up with the header logo. */
.op-shell {
  width: 100%;
  max-width: calc(var(--shell, 1400px) + 8vw);
  margin: 0 auto;
  padding: 0 4vw;
}

.op-sr {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ------------------------------------------------------------------- hero */

.op-hero {
  background: linear-gradient(160deg, #232456 0%, #16233b 100%);
  color: #ffffff;
  padding: 110px 0 80px;
}

.op-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 22px;
}

.op-crumbs a { color: #94a3b8; text-decoration: none; }
.op-crumbs a:hover { color: #4cc9f0; }
.op-crumbs em { font-style: normal; color: #ffffff; }

.op-badge {
  display: inline-block;
  background: rgba(0, 173, 214, 0.16);
  border: 1px solid rgba(0, 173, 214, 0.4);
  color: #4cc9f0;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 18px;
}

.op-h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -1.6px;
  line-height: 1.12;
  margin: 0 0 18px;
  color: #ffffff;
}

.op-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 0 32px;
}

.op-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.op-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #00add6;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: background-color .3s ease, transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 10px 28px rgba(0, 173, 214, .28);
}

.op-btn:hover { background: #0090c4; transform: translateY(-2px); }
.op-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }

.op-btn.is-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: none;
  color: #ffffff;
}

.op-btn.is-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ----------------------------------------------------------------- blocks */

.op-block { padding: 80px 0; background: #ffffff; }
.op-block.is-tint { background: #f8fafc; }

.op-block.is-dark {
  background: #232456;
  color: #ffffff;
}

.op-block.is-dark .op-h2 { color: #ffffff; }

.op-h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #232456;
}

.op-intro {
  font-size: 16px;
  line-height: 1.75;
  color: #64748b;
  max-width: 760px;
  margin: 0 0 36px;
}

.op-block.is-dark .op-intro { color: #94a3b8; }

.op-note {
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
  margin: 26px 0 0;
}

.op-note a, .op-compare a { color: #007da8; font-weight: 600; text-underline-offset: 3px; }
.op-note a:hover, .op-compare a:hover { color: #00add6; }

/* ------------------------------------------------------------ comparison */

.op-compare {
  /* A table is the right element here, and on a phone the honest answer is
     to let it scroll rather than to reflow it into something that no longer
     lines the options up against each other. */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.op-compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.op-compare th, .op-compare td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  line-height: 1.6;
}

.op-compare thead th {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #232456;
}

.op-compare tbody th { font-weight: 700; color: #232456; width: 27%; }
.op-compare tbody td { color: #64748b; }
.op-compare tbody tr:last-child th,
.op-compare tbody tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------- system cards */

.op-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.op-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, border-color .35s ease;
}

.op-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 173, 214, .4);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}

.op-card:focus-visible { outline: 3px solid #00add6; outline-offset: 3px; }

.op-card-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 10px;
}

.op-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.3px;
  margin: 0 0 8px;
  color: #232456;
}

.op-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  margin: 0 0 18px;
  flex-grow: 1;
}

.op-card-go {
  font-size: 13px;
  font-weight: 700;
  color: #00add6;
  margin-top: auto;
}

.op-card:hover .op-card-go { text-decoration: underline; text-underline-offset: 3px; }

/* ----------------------------------------------------------------- steps */

.op-steps {
  list-style: none;
  counter-reset: op;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.op-steps li {
  counter-increment: op;
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 24px 22px 74px;
}

.op-steps li::before {
  content: counter(op, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 18px;
  font-weight: 900;
  color: #00add6;
  letter-spacing: -.5px;
}

.op-steps h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #232456;
}

.op-steps p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #64748b;
  margin: 0;
}

/* ------------------------------------------------------------------ flow */

.op-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.op-flow-item {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  padding: 22px;
}

.op-flow-item span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  color: #4cc9f0;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.op-flow-item h3 { font-size: 16px; font-weight: 700; margin: 0 0 6px; color: #ffffff; }
.op-flow-item p  { font-size: 14px; line-height: 1.6; color: #94a3b8; margin: 0; }

.op-flow-note {
  font-size: 14.5px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 26px 0 0;
  max-width: 760px;
}

/* ------------------------------------------------------------------- FAQ */

.op-faq { display: grid; gap: 10px; }

.op-faq details {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 0 20px;
}

.op-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 34px 18px 0;
  font-size: 16px;
  font-weight: 700;
  color: #232456;
  position: relative;
}

.op-faq summary::-webkit-details-marker { display: none; }

.op-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #00add6;
  line-height: 1;
}

.op-faq details[open] summary::after { content: '\2212'; }

.op-faq summary:focus-visible { outline: 3px solid #00add6; outline-offset: 2px; border-radius: 6px; }

.op-faq p {
  margin: 0;
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #64748b;
}

/* ------------------------------------------------------------------- CTA */

.op-cta { background: #f8fafc; padding: 70px 0; border-top: 1px solid #e2e8f0; }

.op-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.op-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.8px;
  margin: 0 0 8px;
  color: #232456;
}

.op-cta p { font-size: 15.5px; line-height: 1.7; color: #64748b; margin: 0; max-width: 520px; }

.op-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.op-cta .op-btn.is-ghost {
  border-color: #cbd5e1;
  color: #232456;
}

.op-cta .op-btn.is-ghost:hover { background: #e2e8f0; }

/* ------------------------------------------- publish plan item 04 blocks */

/* The shared section-title rule in base.css sets .op-h2 to the ink colour with
   !important, which made the dark band's heading invisible. Scoped override. */
.op-block.is-dark .op-h2 { color: #ffffff !important; }

/* Direct answer under the H1: the first thing read, a shade brighter. */
.op-lead.op-answer { color: #e2e8f0; margin-bottom: 16px; }

.op-hero-figure { margin: 44px 0 0; }
.op-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.op-hero-figure figcaption { margin-top: 10px; font-size: 12.5px; color: #94a3b8; }

.op-h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.25;
  margin: 56px 0 18px;
  color: #232456;
}

.op-compare-types { background: #ffffff; }
.op-compare-types table { min-width: 760px; }
.op-compare-types tbody th { width: 16%; }
.op-compare-types thead th { vertical-align: bottom; }

.op-prose p {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  max-width: 820px;
  margin: 0 0 16px;
}
.op-prose p:last-child { margin-bottom: 0; }

.op-faq p a { color: #007da8; font-weight: 600; text-underline-offset: 3px; }
.op-faq p a:hover { color: #00add6; }

.op-cta-inner { align-items: flex-start; }
.op-cta-text { flex: 1 1 520px; }
.op-cta .op-cta-text p { max-width: 720px; }
.op-cta-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.op-cta-list li { font-size: 15px; line-height: 1.6; color: #64748b; }
.op-cta-list strong { color: #232456; }
.op-cta-list a { color: #007da8; font-weight: 600; text-underline-offset: 3px; }
.op-cta-actions { align-self: center; }

/* ------------------------------------------------ wide container layout */

/* Hero: text left, illustrative image right on wide screens. */
.op-hero-text { min-width: 0; }
@media (min-width: 1080px) {
  .op-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
  }
  .op-hero-grid .op-hero-figure { margin: 0; }
  .op-hero-grid .op-h1 { font-size: clamp(34px, 3.3vw, 48px); }
}

/* Six system cards: three per row rather than five plus one. */
@media (min-width: 900px) {
  .op-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Long-reading blocks keep a comfortable measure on the wider shell. */
.op-steps, .op-faq { max-width: 1000px; }
.op-compare:not(.op-compare-types) { max-width: 1100px; }
.op-note { max-width: 900px; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 768px) {
  .op-hero  { padding: 90px 0 60px; }
  .op-block { padding: 60px 0; }
  .op-cta   { padding: 54px 0; }
  .op-steps li { padding: 20px 20px 20px 64px; }
  .op-steps li::before { left: 20px; }
  .op-hero-cta .op-btn, .op-cta-actions .op-btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .op-btn:hover, .op-card:hover { transform: none; }
}
