/* ==========================================================================
   OpenClicks marketing site — site-level patterns
   Depends on tokens.css and components.css, which are the design system and
   are kept byte-identical to the handoff so they can be re-synced.

   Everything here is either (a) a pattern the prototypes use that the handoff
   did not extract into components.css, or (b) something the site needs that
   the prototypes did not cover at all — most notably a mobile navigation,
   since the prototype header simply clips below ~1020px.
   ========================================================================== */

/* --------------------------------------------------------------------------
   LOGO LOCKUP
   -------------------------------------------------------------------------- */

.oc-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: var(--fw-display);
  font-size: 19px;
  letter-spacing: -.035em;
  color: var(--ink);
}
.oc-logo:hover { color: var(--ink); }
.oc-logo__mark {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--acc);
  flex: none;
}
.oc-logo--footer { color: #fff; font-size: 18px; }
.oc-logo--footer:hover { color: #fff; }
.oc-logo--footer .oc-logo__mark { background: var(--acc); color: var(--ink); }

/* --------------------------------------------------------------------------
   HEADER
   components.css supplies .oc-header and .oc-nav. These are the parts the
   prototypes inlined: the right-hand cluster and the hamburger.
   -------------------------------------------------------------------------- */

.oc-header__ctas {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  flex: none;
}
.oc-header__secondary {
  font-size: 14.5px;
  font-weight: var(--fw-semi);
  color: var(--text-body);
}
.oc-header__secondary:hover { color: var(--ink); }

.oc-hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-3);
  background: var(--surface-card);
  color: var(--ink);
  cursor: pointer;
  place-items: center;
  flex: none;
}
.oc-hamburger:hover { border-color: var(--ink); }

/* The nav collapses in two stages: the secondary link goes first, then the
   whole link list is replaced by the drawer. */
@media (max-width: 900px) {
  .oc-nav { display: none; }
  .oc-hamburger { display: grid; }
  .oc-header__ctas .oc-btn { display: none; }
  .oc-header__secondary { display: none; }
}

/* --------------------------------------------------------------------------
   MOBILE DRAWER
   Not in the handoff. Uses the system's pills, ink surface and motion.
   -------------------------------------------------------------------------- */

.oc-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(12, 16, 14, .62);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) ease;
}
.oc-drawer.is-open { opacity: 1; pointer-events: auto; }

.oc-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: var(--base);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--dur-mid) var(--ease-out);
}
.oc-drawer.is-open .oc-drawer__panel { transform: none; }

.oc-drawer__head {
  height: var(--header-h);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-header);
  flex: none;
}
.oc-drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-3);
  background: var(--surface-card);
  color: var(--text-body);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.oc-drawer__close:hover { border-color: var(--ink); color: var(--ink); }

.oc-drawer__links {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  flex: 1;
}
.oc-drawer__links a {
  padding: 13px 14px;
  border-radius: var(--r-md);
  font-size: 16px;
  font-weight: var(--fw-medium);
  color: var(--text-body);
}
.oc-drawer__links a:hover { background: var(--tint-a); color: var(--ink); }
.oc-drawer__links a.is-active {
  background: var(--soft);
  color: var(--ink);
  font-weight: var(--fw-strong);
}
.oc-drawer__group {
  font-size: var(--fs-mono);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-faint);
  padding: 18px 14px 6px;
}
.oc-drawer__foot {
  padding: 18px 20px;
  border-top: 1px solid var(--border-header);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: none;
}
.oc-drawer__foot .oc-btn { width: 100%; justify-content: center; }

body.oc-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.oc-footer {
  background: var(--ink);
  color: var(--text-on-dark-2);
  padding: 72px var(--gutter) 32px;
}
.oc-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.oc-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
}
.oc-footer__tagline {
  font-size: var(--fs-body-sm);
  line-height: 1.65;
  color: var(--text-on-dark-2);
  margin: 18px 0 0;
  max-width: 330px;
}
.oc-footer__col-title {
  font-size: var(--fs-meta);
  font-weight: var(--fw-strong);
  color: #fff;
  margin-bottom: 14px;
}
.oc-footer__col { display: flex; flex-direction: column; gap: 10px; }
.oc-footer__col a { font-size: var(--fs-body-sm); color: var(--text-on-dark-2); }
.oc-footer__col a:hover { color: #fff; }

.oc-footer__bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
/* The palette tell. A quiet mono line, not a feature announcement. */
.oc-footer__palette {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .04em;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .oc-footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  /* A 19px line box is a poor thumb target. Grow the hit area with padding
     rather than leading, and let the gap shrink to absorb it so the visual
     rhythm of the column barely changes. */
  .oc-footer__col { gap: 0; }
  .oc-footer__col a { padding: 12px 0; }
  .oc-footer__bottom a { padding: 8px 0; }
}
@media (max-width: 560px) {
  .oc-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .oc-footer { padding-top: 56px; }
}

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.oc-hero-center {
  padding: 86px var(--gutter) 0;
  position: relative;
  background: linear-gradient(180deg, var(--hero) 0%, var(--base) 62%);
}
.oc-hero-center__inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.oc-hero-center .oc-h1 { font-size: clamp(44px, 6vw, 92px); line-height: .97; margin: 24px 0 0; }
@media (max-width: 560px) {
  /* 44px leaves room for barely two words per line, so the balancer cannot
     avoid orphans. Scaling with the viewport gives it something to work with. */
  .oc-hero-center .oc-h1 { font-size: clamp(34px, 9.6vw, 44px); }
}
.oc-hero-center__lede { max-width: 700px; margin: 26px auto 0; }
.oc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.oc-hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  font-size: var(--fs-meta);
  color: var(--text-subtle);
}
.oc-hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.oc-hero-proof iconify-icon { color: var(--deep); }

@media (max-width: 560px) {
  /* Three claims across two lines lands 2 + 1, which reads as a mistake.
     One per line is calmer and easier to scan with a thumb on the screen. */
  .oc-hero-proof { flex-direction: column; align-items: center; gap: 10px; }
}

/* Page hero for interior pages: same wash, left-aligned, no product mock. */
.oc-page-hero {
  padding: 76px var(--gutter) 64px;
  background: linear-gradient(180deg, var(--hero) 0%, var(--base) 100%);
}
.oc-page-hero__inner { max-width: var(--maxw); margin: 0 auto; }
.oc-page-hero .oc-h1 { margin-top: 20px; max-width: 900px; }
.oc-page-hero__lede { margin-top: 22px; max-width: 680px; }

/* Play button used by the secondary hero CTA. */
.oc-play {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}

/* --------------------------------------------------------------------------
   PRODUCT MOCK
   The browser-framed dashboard that overlaps the following dark section.
   -------------------------------------------------------------------------- */

/* How far the mock hangs over the dark band below it. The band derives its
   headroom from this value, so the two cannot drift apart — overriding the
   overlap at a breakpoint is enough to keep the band clear. */
:root { --mock-overlap: 170px; }

.oc-mock-wrap {
  max-width: 1200px;
  margin: 60px auto calc(var(--mock-overlap) * -1);
  position: relative;
  z-index: 2;
}
.oc-mock {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E6E8E0;
  background: var(--surface-card);
  box-shadow: 0 44px 90px -44px rgba(18, 24, 26, .34);
}
.oc-mock__bar {
  height: 44px;
  background: #F6F7F3;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
}
.oc-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #DEDFD7; flex: none; }
.oc-mock__url {
  margin: 0 auto;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: var(--fs-mono);
  color: #7E877F;
  padding: 4px 44px;
  font-family: var(--font-mono);
}
.oc-mock__body { display: grid; grid-template-columns: 216px 1fr; }

.oc-mock__aside {
  background: var(--ink);
  color: #fff;
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 520px;
}
.oc-mock__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: var(--fw-heavy);
  font-size: 15px;
  letter-spacing: -.025em;
}
.oc-mock__brand span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--acc);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
}
.oc-mock__navgroup { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: #6D786F; padding: 14px 11px 6px; }
.oc-mock__navitem { padding: 8px 11px; font-size: var(--fs-meta); color: #C0C9C2; display: flex; align-items: center; gap: 9px; }
.oc-mock__navitem--active {
  background: rgba(var(--acc-rgb), .14);
  color: var(--acc);
  border-radius: 10px;
  padding: 9px 11px;
  font-weight: var(--fw-semi);
}
.oc-mock__main { padding: 24px; background: var(--surface-inset); display: flex; flex-direction: column; gap: 16px; }
.oc-mock__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.oc-mock__title { font-size: 20px; font-weight: var(--fw-heavy); letter-spacing: -.03em; }
.oc-mock__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: var(--fs-mono); font-weight: 700; flex: none;
}
.oc-mock__metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.oc-mock__split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.oc-mock__panel { background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; }
.oc-mock__panel-title { font-size: 14px; font-weight: 700; }
.oc-mock__kv {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--text-body);
  border-bottom: 1px dashed var(--border); padding-bottom: 7px;
}
.oc-mock__kv:last-child { border-bottom: none; padding-bottom: 0; }
.oc-mock__kv strong { color: var(--ink); }
.oc-mock__chart { width: 100%; height: 130px; margin-top: 10px; display: block; }

/* Below the mock's natural breakpoint the sidebar is noise; drop it and let
   the dashboard body carry the story. */
@media (max-width: 820px) {
  .oc-mock__body { grid-template-columns: 1fr; }
  .oc-mock__aside { display: none; }
  .oc-mock__metrics { grid-template-columns: repeat(2, 1fr); }
  .oc-mock__split { grid-template-columns: 1fr; }
  /* A deep overlap reads as a mistake on a phone, where the frame fills the
     screen and there is no room to see it sit over anything. */
  :root { --mock-overlap: 48px; }
}

/* The dark band the mock overlaps needs headroom for it.
   Compound selector on purpose: the mobile `.oc-section` padding shorthand is
   declared later in this file at equal specificity, and would otherwise reset
   this to 72px and pull the band's first rows up under the mock. */
.oc-section.oc-section--under-mock {
  padding-top: calc(var(--mock-overlap) + 66px);
}

/* --------------------------------------------------------------------------
   LOGO MARQUEE
   -------------------------------------------------------------------------- */

.oc-marquee {
  overflow: hidden;
  margin: 26px 0 24px;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
/* Caption belongs to the marquee above it, so the gap is set here rather than
   as a negative margin on the paragraph. */
.oc-marquee__note { margin: 0 0 62px; }
.oc-marquee__track { display: flex; gap: 56px; width: max-content; animation: ocMarquee 28s linear infinite; }
.oc-marquee__set {
  display: flex; gap: 56px; align-items: center;
  font-size: 19px; font-weight: var(--fw-strong);
  letter-spacing: -.02em; color: var(--text-on-dark-2);
}
.oc-marquee__set span { display: inline-flex; align-items: center; gap: 10px; }
.oc-kicker-center {
  text-align: center;
  font-size: var(--fs-eyebrow);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #8B958C;
}

/* --------------------------------------------------------------------------
   LAYOUT HELPERS
   -------------------------------------------------------------------------- */

.oc-grid { display: grid; gap: var(--sp-4); }
.oc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.oc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.oc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.oc-grid--wide-gap { gap: var(--sp-6); }
.oc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.oc-stack { display: flex; flex-direction: column; gap: var(--sp-4); }
.oc-stack--sm { gap: var(--sp-2); }
.oc-stack--lg { gap: var(--sp-6); }
.oc-row-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.oc-center { text-align: center; }
/* An editorial line break tuned for the wide measure. Below it the same break
   orphans a word mid-phrase, so the text is left to reflow on its own. */
@media (max-width: 760px) { br.oc-br-wide { display: none; } }
.oc-mt-head { margin-top: 18px; }
.oc-section__head-block { max-width: 720px; }
.oc-section__head-block .oc-h2 { margin-top: 16px; }
.oc-section__head-block .oc-lead { margin-top: 18px; }
.oc-grid-head { margin-bottom: 44px; }

@media (max-width: 1000px) {
  .oc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .oc-split { grid-template-columns: 1fr; gap: 40px; }
  .oc-section-head { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  .oc-grid--2, .oc-grid--3 { grid-template-columns: 1fr; }
  /* Retuned on the tokens rather than by overriding .oc-section: several
     sections set padding-block inline from --section-y-lg, and an inline
     style outranks any rule here, so they kept their 110px desktop rhythm
     and left ~220px of dead space between bands on a phone. */
  :root { --section-y: 72px; --section-y-lg: 80px; }
}
@media (max-width: 560px) {
  .oc-grid--4 { grid-template-columns: 1fr; }
  :root { --gutter: 20px; }
}

/* --------------------------------------------------------------------------
   FEATURE / STEP PATTERNS
   -------------------------------------------------------------------------- */

.oc-step { display: flex; gap: 20px; align-items: flex-start; }
.oc-step__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .14em;
  color: var(--deep);
  padding-top: 6px;
  flex: none;
  width: 34px;
}
.oc-step__title { font-size: var(--fs-card-title); font-weight: var(--fw-heavy); letter-spacing: var(--ls-card-title); margin: 0 0 8px; }

.oc-checklist { display: flex; flex-direction: column; gap: 15px; margin: 0; padding: 0; list-style: none; }
.oc-checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: var(--fs-body-sm); line-height: 1.5; color: var(--text-muted); }
.oc-checklist iconify-icon { color: var(--deep); flex: none; margin-top: 3px; }
.oc-section--dark .oc-checklist li { color: #D9DFD8; }
.oc-section--dark .oc-checklist iconify-icon { color: var(--acc); }

.oc-statpair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oc-stat__value { font-size: 26px; font-weight: var(--fw-display); letter-spacing: -.04em; }
.oc-stat__value--accent { color: var(--acc); }
.oc-stat__label { font-size: 12.5px; color: var(--text-on-dark-2); line-height: 1.4; margin-top: 4px; }

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */

.oc-price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 0; }
.oc-price__amount { font-size: 46px; font-weight: var(--fw-display); letter-spacing: -.04em; line-height: 1; }
.oc-price__period { font-size: var(--fs-meta); color: var(--text-subtle); }
.oc-card--dark .oc-price__period { color: var(--text-on-dark-2); }
.oc-plan__name { font-size: var(--fs-card-title); font-weight: var(--fw-heavy); letter-spacing: var(--ls-card-title); }
.oc-plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.oc-plan__desc { font-size: var(--fs-body-sm); color: var(--text-muted); margin: 10px 0 0; line-height: 1.55; }
.oc-card--dark .oc-plan__desc { color: var(--text-on-dark); }
.oc-plan__divider { height: 1px; background: var(--border); margin: 24px 0; }
.oc-card--dark .oc-plan__divider { background: var(--border-dark); }
.oc-plan .oc-btn { width: 100%; justify-content: center; margin-top: 24px; }

/* --------------------------------------------------------------------------
   LONG-FORM AND LEGAL
   The legal pages carry reviewed copy; only their presentation changed.
   -------------------------------------------------------------------------- */

.oc-prose { max-width: var(--maxw-narrow); margin: 0 auto; }
.oc-prose h2 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: var(--fw-display);
  margin: 52px 0 14px;
}
.oc-prose h2:first-child { margin-top: 0; }
.oc-prose h3 {
  font-size: 18px;
  font-weight: var(--fw-heavy);
  letter-spacing: -.02em;
  margin: 32px 0 10px;
}
.oc-prose p, .oc-prose li {
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-body);
  text-wrap: pretty;
}
.oc-prose p { margin: 0 0 16px; }
.oc-prose ul, .oc-prose ol { margin: 0 0 18px; padding-left: 22px; }
.oc-prose li { margin-bottom: 8px; }
.oc-prose a { color: var(--deep); text-decoration: underline; text-underline-offset: 2px; }
.oc-prose strong { color: var(--ink); font-weight: var(--fw-strong); }
.oc-prose__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.oc-prose__pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .04em;
  color: var(--text-muted);
}
.oc-prose__pill iconify-icon { color: var(--deep); }
.oc-prose__lede {
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: var(--text-body);
  margin: 24px 0 0;
  text-wrap: pretty;
}
.oc-callout {
  background: var(--tint-a);
  border: 1px solid var(--border-2);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  margin: 0 0 24px;
}
.oc-callout p:last-child { margin-bottom: 0; }
.oc-toc {
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-bottom: 40px;
}
.oc-toc__title {
  font-size: var(--fs-mono);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-faint);
  margin-bottom: 12px;
}
/* The section headings already carry their own numbers, so the list must not
   add a second set. */
.oc-toc ul { margin: 0; padding: 0; list-style: none; }
.oc-toc li { margin-bottom: 6px; font-size: var(--fs-body-sm); }
.oc-toc a { color: var(--text-body); text-decoration: none; }
.oc-toc a:hover { color: var(--deep); }

/* --------------------------------------------------------------------------
   STAT CARDS
   The four dark tiles under the hero mock.
   -------------------------------------------------------------------------- */

.oc-statcard { background: #1A211D; border-radius: 20px; padding: 28px 24px; }
.oc-statcard__icon { display: inline-flex; color: var(--acc); }
.oc-statcard__value {
  font-size: clamp(42px, 4.4vw, 60px);
  font-weight: var(--fw-display);
  letter-spacing: -.05em;
  line-height: 1;
  margin-top: 16px;
}
.oc-statcard__value--accent { color: var(--acc); }
.oc-statcard__label { font-size: 14.5px; color: #A0AAA1; margin-top: 10px; line-height: 1.45; }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */

.oc-quote { border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.oc-quote--tint { background: var(--tint-a); }
.oc-quote--tint-warm { background: var(--tint-b); }
.oc-quote--dark { background: var(--ink); color: #fff; }
.oc-quote__stars { display: flex; gap: 2px; color: var(--chip-amber-fg); }
.oc-quote--dark .oc-quote__stars { color: var(--acc); }
.oc-quote__text {
  font-size: 17.5px;
  line-height: 1.55;
  letter-spacing: -.015em;
  margin: 18px 0 26px;
  text-wrap: pretty;
}
.oc-quote__by { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.oc-quote__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--acc); color: var(--ink);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700; flex: none;
}
.oc-quote--dark .oc-quote__avatar { background: var(--ink2); color: #fff; }
.oc-quote__name { display: block; font-size: 15px; font-weight: 700; }
.oc-quote__role { display: block; font-size: var(--fs-meta); color: var(--text-subtle); }
.oc-quote--dark .oc-quote__role { color: #98A399; }

/* --------------------------------------------------------------------------
   AUTONOMY CARDS
   -------------------------------------------------------------------------- */

.oc-auto { display: flex; flex-direction: column; position: relative; }
.oc-auto__tile {
  width: 42px; height: 42px; border-radius: 13px;
  background: var(--surface-inset); color: var(--text-body);
  display: grid; place-items: center;
}
.oc-auto--dark .oc-auto__tile { background: var(--acc); color: var(--ink); }
.oc-auto .oc-level { margin: 20px 0 16px; }
.oc-auto__title { font-size: 21px; font-weight: var(--fw-heavy); letter-spacing: -.03em; margin: 0 0 9px; }
.oc-auto__body { font-size: var(--fs-body-sm); line-height: 1.6; color: var(--text-muted); margin: 0 0 20px; }
.oc-auto--dark .oc-auto__body { color: var(--text-on-dark); }
.oc-auto__foot {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  color: var(--text-faint);
}
.oc-auto--dark .oc-auto__foot { color: var(--acc); }
.oc-auto__flag {
  position: absolute; top: -12px; left: 26px;
  background: var(--acc); color: var(--ink);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 12px; border-radius: var(--r-pill);
}
/* Same collision as .oc-plan__flag once these cards stack into one column. */
@media (max-width: 760px) {
  .oc-auto__flag {
    position: static;
    align-self: flex-start;
    margin-bottom: 14px;
  }
}
.oc-auto--dark { box-shadow: 0 28px 56px -30px rgba(18, 24, 26, .42); }

/* --------------------------------------------------------------------------
   CHAT MOCK
   -------------------------------------------------------------------------- */

.oc-chat {
  background: var(--surface-card);
  border: 1px solid var(--border-2);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: 0 34px 70px -38px rgba(18, 24, 26, .3);
}
.oc-chat__head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px; border-bottom: 1px solid #EFF0EA;
}
.oc-chat__live { width: 8px; height: 8px; border-radius: 50%; background: var(--deep); animation: ocPulse 2s ease-in-out infinite; flex: none; }
.oc-chat__title { font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.oc-chat__avatar {
  margin-left: auto; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; flex: none;
}
.oc-chat__body { padding: 20px; display: flex; flex-direction: column; gap: 16px; background: var(--surface-inset); }
.oc-chat__turn { display: flex; gap: 10px; align-items: flex-start; }
.oc-chat__turn--user { justify-content: flex-end; }
.oc-chat__who {
  width: 28px; height: 28px; border-radius: 50%;
  background: #E6EADC; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; flex: none;
}
.oc-chat__who--ai { border-radius: 9px; background: var(--acc); color: var(--ink); }
.oc-chat__foot {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-top: 1px solid #EFF0EA; background: var(--surface-card);
}
.oc-chat__placeholder { font-size: 14px; color: #99A29A; flex: 1; }
.oc-chat__send {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--acc);
  display: grid; place-items: center; flex: none;
}
.oc-chat__confirm { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.oc-pill-accent {
  background: var(--acc); color: var(--ink); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700; padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.oc-pill-quiet {
  border: 1px solid var(--border-2); color: var(--text-muted);
  border-radius: var(--r-pill); font-size: 13px; padding: 8px 14px;
}

/* --------------------------------------------------------------------------
   FEATURE LIST (icon + text rows beside a mock)
   -------------------------------------------------------------------------- */

.oc-featurelist { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.oc-featurelist__row { display: flex; gap: 12px; align-items: flex-start; }
.oc-featurelist__ic {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--ink); color: var(--acc);
  display: grid; place-items: center; flex: none; margin-top: 1px;
}
.oc-featurelist__text { font-size: 16px; line-height: 1.5; color: var(--ink3); }
.oc-featurelist__text strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   STEP CARDS (numbered, on tint)
   -------------------------------------------------------------------------- */

.oc-stepcard { background: var(--tint-a); border-radius: var(--r-xl); padding: 26px; }
.oc-stepcard--dark { background: var(--ink); color: #fff; }
.oc-stepcard__top { display: flex; align-items: center; justify-content: space-between; }
.oc-stepcard__tile {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--surface-card); color: var(--deep);
  display: grid; place-items: center;
}
.oc-stepcard--dark .oc-stepcard__tile { background: var(--acc); color: var(--ink); }
.oc-stepcard__num { font-family: var(--font-mono); font-size: 13px; color: #96A08E; }
.oc-stepcard--dark .oc-stepcard__num { color: var(--acc); }
.oc-stepcard__title { font-size: 20px; font-weight: var(--fw-heavy); letter-spacing: -.03em; margin: 18px 0 9px; }
.oc-stepcard__body { font-size: var(--fs-body-sm); line-height: 1.6; color: var(--text-muted); margin: 0; }
.oc-stepcard--dark .oc-stepcard__body { color: var(--text-on-dark); }

/* --------------------------------------------------------------------------
   CENTRED CLOSING CTA
   -------------------------------------------------------------------------- */

.oc-cta-dark__inner { max-width: 880px; margin: 0 auto; text-align: center; position: relative; }
.oc-cta-dark__mark {
  display: inline-flex; width: 52px; height: 52px; border-radius: 16px;
  background: var(--acc); color: var(--ink);
  align-items: center; justify-content: center;
  animation: ocFloat 3.6s ease-in-out infinite;
}
.oc-cta-dark .oc-h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: .97; letter-spacing: -.048em; margin: 26px 0 0; }
.oc-cta-dark__lede { font-size: 19px; line-height: 1.6; color: var(--text-on-dark); margin: 24px auto 0; max-width: 620px; }
.oc-cta-dark__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* --------------------------------------------------------------------------
   PLAN CARDS
   -------------------------------------------------------------------------- */

.oc-plan {
  background: var(--surface-card);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.oc-plan--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 32px 62px -32px rgba(18, 24, 26, .45);
}
.oc-plan__title { font-size: 22px; font-weight: var(--fw-heavy); letter-spacing: -.03em; margin: 0; }
.oc-plan__pricing {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-subtle);
  margin: 14px 0 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.oc-plan--dark .oc-plan__pricing { color: var(--acc); }
.oc-plan__flag {
  position: absolute; top: -12px; right: 28px;
  background: var(--acc); color: var(--ink);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  padding: 6px 12px; border-radius: var(--r-pill);
}
/* Once the plans stack there is only a grid gap above the flagged card, and the
   flag hangs into it 5px shy of the card above — close enough to read as a
   collision. In a single column it belongs inside the card instead. */
@media (max-width: 760px) {
  .oc-plan__flag {
    position: static;
    align-self: flex-start;
    margin-bottom: 16px;
  }
}
.oc-plan__features {
  display: flex; flex-direction: column; gap: 11px;
  font-size: 15px; color: var(--ink3);
  border-top: 1px solid #EFF0EA; padding-top: 20px;
}
.oc-plan--dark .oc-plan__features { color: #E3E8E3; border-top-color: var(--ink2); }
.oc-plan__features div { display: flex; gap: 10px; align-items: center; }
.oc-plan__features iconify-icon { color: var(--deep); flex: none; }
.oc-plan--dark .oc-plan__features iconify-icon { color: var(--acc); }
.oc-plan .oc-btn { margin-top: 28px; }

/* --------------------------------------------------------------------------
   NUMBERED FLOW
   The How It Works timeline: a numbered rail, the explanation, and a
   supporting panel, repeated down the page.
   -------------------------------------------------------------------------- */

.oc-flow { display: flex; flex-direction: column; gap: 20px; }
.oc-flow__item {
  display: grid;
  grid-template-columns: 88px 1.25fr .95fr;
  gap: 32px;
  align-items: start;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 32px;
}
.oc-flow__rail { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.oc-flow__num {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--acc);
  display: grid; place-items: center;
  font-size: 18px; font-weight: var(--fw-display);
  flex: none;
}
.oc-flow__dur { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-faint); text-align: center; }
.oc-flow__tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--soft); color: var(--deep);
  border-radius: var(--r-pill); padding: 6px 13px;
  font-size: 12.5px; font-weight: var(--fw-strong);
}
.oc-flow__title { font-size: 25px; font-weight: var(--fw-display); letter-spacing: -.032em; line-height: 1.15; margin: 14px 0 12px; }
.oc-flow__body { font-size: var(--fs-body); line-height: 1.65; color: var(--text-body); margin: 0 0 12px; text-wrap: pretty; }
.oc-flow__body:last-child { margin-bottom: 0; }
.oc-flow__panel {
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}
.oc-flow__panel-title {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-faint);
  margin-bottom: 14px;
}

@media (max-width: 1000px) {
  .oc-flow__item { grid-template-columns: 62px 1fr; gap: 22px; padding: 26px; }
  .oc-flow__panel { grid-column: 1 / -1; }
  .oc-flow__num { width: 40px; height: 40px; font-size: 16px; }
}
@media (max-width: 560px) {
  .oc-flow__item { grid-template-columns: 1fr; }
  .oc-flow__rail { flex-direction: row; align-items: center; gap: 12px; }
  .oc-flow__panel { grid-column: auto; }
}

/* Integration rows and small stat rows used inside the flow panels. */
.oc-intlist { display: flex; flex-direction: column; gap: 10px; }
.oc-intlist__row {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: var(--fw-medium);
}
.oc-intlist__row iconify-icon:last-child { margin-left: auto; color: var(--deep); }
.oc-intlist__soon { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--text-faint); }

.oc-ministat { display: flex; flex-direction: column; gap: 14px; }
.oc-ministat__row { display: flex; align-items: baseline; gap: 12px; }
.oc-ministat__value { font-size: 22px; font-weight: var(--fw-display); letter-spacing: -.035em; color: var(--ink); flex: none; min-width: 62px; }
.oc-ministat__label { font-size: var(--fs-meta); color: var(--text-muted); line-height: 1.4; }

/* Autonomy rows inside a flow panel. */
.oc-levellist { display: flex; flex-direction: column; gap: 8px; }
.oc-levellist__row {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 11px 14px;
  background: var(--surface-card);
}
.oc-levellist__row--on { border-color: var(--ink); background: var(--ink); color: #fff; }
.oc-levellist__name { font-size: 14.5px; font-weight: var(--fw-strong); display: flex; align-items: center; gap: 6px; }
.oc-levellist__row--on .oc-levellist__name iconify-icon { color: var(--acc); }
.oc-levellist__desc { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.oc-levellist__row--on .oc-levellist__desc { color: var(--text-on-dark); }

/* The morning-briefing card. */
.oc-brief { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 20px; }
.oc-brief__title {
  display: flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: var(--fw-heavy); color: var(--acc);
}
.oc-brief__body { font-size: var(--fs-meta); line-height: 1.6; color: #D9DFD8; margin: 12px 0 0; }
.oc-brief__body strong { color: #fff; }
.oc-brief__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   FEATURE MODULES
   Alternating split sections on the Features page, each with a supporting
   product panel. Even modules put the panel first.
   -------------------------------------------------------------------------- */

.oc-module { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.oc-module__label { display: flex; align-items: center; gap: 12px; }
.oc-module__tile {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--soft); color: var(--deep);
  display: grid; place-items: center; flex: none;
}
.oc-module__num {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--text-faint);
}
.oc-module__soon {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--deep);
  background: var(--soft);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  white-space: nowrap;
}
.oc-module__soon--live { background: var(--acc); color: var(--ink); }
.oc-mock-note {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-faint);
  margin: 0 0 10px;
}
.oc-plan__soon {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  opacity: .55;
  margin-left: 6px;
}
.oc-module__title { margin: 22px 0 14px; }
.oc-module__checks {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 26px;
}
.oc-module__checks div {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: var(--fs-body-sm); line-height: 1.55; color: var(--text-body);
}
.oc-module__checks iconify-icon { color: var(--deep); flex: none; margin-top: 2px; }
.oc-module--flip .oc-module__media { order: -1; }
@media (max-width: 1000px) {
  .oc-module { grid-template-columns: 1fr; gap: 40px; }
  /* On one column the explanation should always precede its illustration. */
  .oc-module--flip .oc-module__media { order: 0; }
}

/* Panels used inside the modules. */
.oc-panel {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 22px;
  box-shadow: var(--sh-panel);
}
.oc-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.oc-panel__title { font-size: 14.5px; font-weight: 700; letter-spacing: -.02em; }
.oc-panel__cols { display: flex; gap: 22px; }
.oc-panel__rows { display: flex; flex-direction: column; gap: 8px; }
.oc-kwrow {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  align-items: center;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
}
.oc-kwrow__term { font-family: var(--font-mono); font-size: 13px; color: var(--ink3); }
.oc-kwrow__val { font-size: 14px; font-weight: var(--fw-strong); }
.oc-kwrow__delta { font-size: 12.5px; color: var(--pos); min-width: 46px; text-align: right; }
.oc-kwrow__delta--neg { color: var(--neg); }

.oc-scorerow {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: 14px;
}
.oc-scorerow__score {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--deep);
  flex: none;
}

/* Keeps trailing punctuation attached to an inline-block highlight, which
   would otherwise wrap onto its own line as a stray mark. */
.oc-nowrap { white-space: nowrap; }

/* --------------------------------------------------------------------------
   FOCUS
   components.css gives inputs an accent ring; everything else was falling
   back to the browser's blue outline, which is off-brand and the first thing
   a keyboard user sees. Same ring, applied everywhere, and only for
   focus-visible so it does not fire on mouse clicks.
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
/* On dark panels the ink outline disappears, so invert to the accent. */
.oc-section--dark a:focus-visible,
.oc-section--dark button:focus-visible,
.oc-cta-dark a:focus-visible,
.oc-cta-dark button:focus-visible,
.oc-card--dark a:focus-visible,
.oc-card--dark button:focus-visible,
.oc-modal__aside a:focus-visible,
.oc-modal__aside button:focus-visible,
.oc-footer a:focus-visible,
.oc-footer button:focus-visible {
  outline-color: var(--acc);
}

/* --------------------------------------------------------------------------
   FINDINGS
   Scenario cards: the pattern Gnos looks for, what it proposes, and the
   figures it would put in front of you.
   -------------------------------------------------------------------------- */

.oc-finding {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
}
.oc-finding__body { padding: 34px; }
.oc-finding__tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--soft); color: var(--deep);
  border-radius: var(--r-pill); padding: 6px 13px;
  font-size: 12.5px; font-weight: var(--fw-strong);
}
.oc-finding__title { font-size: 25px; font-weight: var(--fw-display); letter-spacing: -.032em; line-height: 1.15; margin: 16px 0 14px; }
.oc-finding__text { font-size: var(--fs-body); line-height: 1.65; color: var(--text-body); margin: 0 0 14px; text-wrap: pretty; }
.oc-finding__text:last-child { margin-bottom: 0; }
.oc-finding__foot {
  border-top: 1px solid var(--border);
  background: var(--surface-inset);
  padding: 24px 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.oc-finding__stat-value { font-size: 26px; font-weight: var(--fw-display); letter-spacing: -.04em; color: var(--deep); }
.oc-finding__stat-label { font-size: 12.5px; color: var(--text-muted); line-height: 1.4; margin-top: 5px; }
@media (max-width: 700px) {
  .oc-finding__body { padding: 26px; }
  .oc-finding__foot { grid-template-columns: 1fr; gap: 18px; padding: 22px 26px; }
}

/* --------------------------------------------------------------------------
   DOC CARDS
   -------------------------------------------------------------------------- */

.oc-doccard { display: flex; flex-direction: column; }
/* The doc card is a flex column, so the roadmap pill would stretch edge to edge. */
.oc-doccard .oc-card__soon { align-self: flex-start; }
.oc-doccard .oc-card__soon + .oc-doccard__title { margin-top: 10px; }
.oc-doccard__title { font-size: var(--fs-card-title); font-weight: var(--fw-heavy); letter-spacing: var(--ls-card-title); margin: 18px 0 8px; }
.oc-doccard__meta {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .06em;
  color: var(--text-faint);
}

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

.oc-faq { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.oc-faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-card);
  padding: 0 22px;
}
.oc-faq details[open] { border-color: var(--ink); }
.oc-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 17px;
  font-weight: var(--fw-strong);
  letter-spacing: -.015em;
  display: flex;
  align-items: center;
  gap: 14px;
}
.oc-faq summary::-webkit-details-marker { display: none; }
/* The chevron is generated rather than marked up, so the copy stays clean. */
.oc-faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-subtle);
  border-bottom: 2px solid var(--text-subtle);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur-fast) ease;
  flex: none;
}
.oc-faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.oc-faq p {
  margin: 0;
  padding: 0 0 22px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 74ch;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   MODAL ADDITIONS
   The handoff defines the modal shell but not its loading, error or honeypot
   states, and the success panel needs to span both columns.
   -------------------------------------------------------------------------- */

.oc-modal__badge {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--acc);
  color: var(--ink);
  align-items: center;
  justify-content: center;
}
.oc-modal__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--deep);
}
.oc-modal__title { font-size: 34px; line-height: 1.02; letter-spacing: -.042em; font-weight: var(--fw-display); margin: 12px 0 0; }
.oc-modal__lede { font-size: 15.5px; line-height: 1.6; color: var(--text-body); margin: 12px 0 26px; }
.oc-modal__fields { display: flex; flex-direction: column; gap: 16px; }
.oc-modal__submit { margin-top: 22px; width: 100%; justify-content: center; }
.oc-modal__fineprint { font-size: 13px; color: var(--text-faint); text-align: center; margin: 14px 0 0; }
.oc-modal__aside-glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 320px;
  background: radial-gradient(50% 60% at 50% 100%, rgba(var(--acc-rgb), .24), transparent 70%);
  pointer-events: none;
}
.oc-modal__aside-inner { position: relative; }
.oc-modal__aside-title { font-size: 21px; font-weight: var(--fw-heavy); letter-spacing: -.03em; line-height: 1.2; margin-top: 20px; }
.oc-modal__aside .oc-statpair { margin-top: 28px; border-top: 1px solid var(--ink2); padding-top: 22px; }

/* Honeypot. Must stay in the DOM and out of reach: the API rejects any
   submission that fills it. Never display:none — some bots skip hidden fields. */
.oc-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.oc-modal__error {
  display: none; /* switched to flex when a message is set */
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FDECE6;
  border: 1px solid #F6C9B8;
  color: #8F3A14;
  font-size: var(--fs-meta);
  line-height: 1.5;
}
.oc-modal__error iconify-icon { flex: none; margin-top: 2px; }

/* Dependency-free spinner, so the submit state never waits on the icon CDN. */
.oc-spinner {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35);
  border-top-color: var(--acc);
  animation: ocSpin .7s linear infinite;
  flex: none;
}
@keyframes ocSpin { to { transform: rotate(360deg); } }

/* Success replaces the whole panel, aside included. */
.oc-modal__success {
  display: none; /* switched to block on success */
  grid-column: 1 / -1;
  padding: 76px 48px;
  text-align: center;
}
.oc-modal__success-icon {
  display: inline-flex;
  width: 66px;
  height: 66px;
  border-radius: 22px;
  background: var(--acc);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  animation: ocPop .5s var(--ease-pop);
}
.oc-modal__success-title { font-size: 38px; line-height: 1.02; letter-spacing: -.04em; font-weight: var(--fw-display); margin: 22px 0 0; }
.oc-modal__success-body { font-size: 17px; line-height: 1.6; color: var(--text-body); margin: 14px auto 0; max-width: 420px; }

.oc-modal.is-success .oc-modal__form,
.oc-modal.is-success .oc-modal__aside { display: none; }

/* One column below the split's minimum, and the aside moves under the form. */
@media (max-width: 780px) {
  .oc-modal { grid-template-columns: 1fr; max-width: 460px; }
  .oc-modal__form { padding: 40px 26px 32px; }
  .oc-modal__aside { padding: 32px 26px; }
  .oc-modal__title { font-size: 28px; }
  .oc-modal__success { padding: 56px 26px; }
  .oc-modal__success-title { font-size: 30px; }
}

/* --------------------------------------------------------------------------
   MOTION PREFERENCES
   components.css handles reveals; these are the site's own loops.
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .oc-marquee__track,
  .oc-spinner,
  .oc-modal__success-icon,
  .oc-badge-hero__icon { animation: none !important; }
  .oc-drawer__panel { transition: none; }
  html { scroll-behavior: auto; }
}
