/* TEZ ERP — Cooperative Housing Societies (redesign)
   Idea: a society's record outlives its committee. Three pillars, one connected record.
   Scroll depth: sticky pillar nav with progress line, topic rail (tabs), accordions, short sections.
   --soc-top is the height of the site header the section nav sits under. */
:root {
  --soc-navy: #071b3d;
  --soc-blue: #135bd8;
  --soc-sky: #38a9df;
  --soc-ice: #eef6ff;
  --soc-line: #d9e4f1;
  --soc-text: #122033;
  --soc-muted: #58677a;
  --soc-amber: #c8730a;
  --soc-amber-bg: #fdf1de;
}

.soc-page {
  --soc-top: 76px;
  --fd:  var(--font-display, sans-serif);
  overflow-x: clip;
  color: var(--soc-text);
  background: #fff;
  font: 400 16.5px/1.6  var(--font-body, Inter, sans-serif);
}
.soc-page *, .soc-page *::before, .soc-page *::after { box-sizing: border-box; }
.soc-page h1, .soc-page h2, .soc-page h3, .soc-page h4 { font-family: var(--fd); margin: 0; letter-spacing: -.03em; line-height: 1.06; color: var(--soc-navy); }
.soc-page p { margin: 0 0 14px; max-width: 64ch; color: var(--soc-muted); }
.soc-page ul, .soc-page ol { margin: 0; padding: 0; list-style: none; }
.soc-page a:focus-visible, .soc-page button:focus-visible, .soc-page summary:focus-visible { outline: 3px solid var(--soc-amber); outline-offset: 3px; }

.soc-wrap { max-width: 1680px; margin: 0 auto; padding: 0 7vw; }
.soc-sec { padding: clamp(44px, 5.5vw, 84px) 0; scroll-margin-top: calc(var(--soc-top) + 56px); }
.soc-band { background: var(--soc-ice); }

/* small running text */
.soc-k { margin: 0 0 12px !important; color: var(--soc-blue) !important; font: 600 14.5px/1.3  sans-serif; letter-spacing: 0; max-width: none !important; }
.soc-page .soc-h2 { font-size: clamp(28px, 3.4vw, 48px); font-weight: 600; max-width: 22ch; margin: 0 0 18px; }
.soc-lead { font: 500 clamp(18px, 1.7vw, 22px)/1.4 var(--fd) !important; letter-spacing: -.015em; color: var(--soc-text) !important; max-width: 46ch !important; }
.soc-cap { margin: 22px 0 10px !important; font-weight: 600; color: var(--soc-navy) !important; }
.soc-pull { font: 600 clamp(19px, 2vw, 25px)/1.25 var(--fd) !important; letter-spacing: -.02em; color: var(--soc-navy) !important; border-left: 3px solid var(--soc-blue); padding-left: 16px; margin: 24px 0 8px !important; }
.soc-pull span { display: block; }

/* chips */
.soc-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 6px !important; }
.soc-chips li { background: #fff; border: 1px solid var(--soc-line); border-radius: 5px; padding: 5px 11px; font-size: 14px; line-height: 1.35; color: var(--soc-text); }
.soc-band .soc-chips li { border-color: #c3d4e8; }
.soc-chips--tint li { background: var(--soc-ice); border-color: #c3d4e8; color: var(--soc-navy); }
.soc-chips--amber li { border-left: 3px solid var(--soc-amber); }
.soc-chips--blue li { border-left: 3px solid var(--soc-blue); }

/* chains (true sequences) */
.soc-chain { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 0 0 14px !important; }
.soc-chain li { background: var(--soc-navy); color: #fff; border-radius: 5px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.soc-chain li:not(:last-child)::after { content: "\2192"; margin-left: 10px; color: #7fb0ff; }

/* buttons */
.soc-actions { display: flex; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-top: 28px; }
.soc-button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 6px; font: 600 15px  sans-serif; text-decoration: none; cursor: pointer; transition: background .2s; }
.soc-button-primary { color: #fff !important; background: var(--soc-blue); }
.soc-button-primary:hover { background: var(--soc-navy); }
.soc-button-ghost { color: var(--soc-navy) !important; background: transparent; box-shadow: inset 0 0 0 1.5px var(--soc-navy); }
.soc-button-ghost:hover { background: var(--soc-navy); color: #fff !important; }
.soc-button-light { color: var(--soc-navy) !important; background: #fff; }
.soc-button-light:hover { background: var(--soc-ice); }
.soc-button-outline-light { color: #fff !important; background: transparent; box-shadow: inset 0 0 0 1.5px #fff; }
.soc-button-outline-light:hover { background: rgba(255,255,255,.14); }
.soc-text-link { display: inline-block; margin-top: 8px; color: var(--soc-blue); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.soc-text-link:hover { color: var(--soc-navy); }

/* ---------- hero ---------- */
.soc-hero { padding: clamp(36px, 5vw, 80px) 0 clamp(44px, 5vw, 72px); background: linear-gradient(180deg, var(--soc-ice), #fff 82%); }
.soc-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.soc-hero h1 { font-size: clamp(34px, 3.9vw, 62px); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.soc-hero h1 span { display: block; }
.soc-hero h1 span:last-child { color: var(--soc-blue); }
.soc-hero-copy > p.soc-intro { margin: 24px 0 0; font-size: 1.08rem; color: var(--soc-text); max-width: 58ch; }
.soc-built { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-top: 22px; }
.soc-built b { font: 600 14.5px  sans-serif; color: var(--soc-navy); }
.soc-keys { margin: 18px 0 0 !important; font-size: 13px; color: #6b7a8c !important; max-width: 60ch; }

/* committee dashboard */
.soc-board { border: 1.5px solid var(--soc-navy); border-radius: 12px; background: #fff; box-shadow: 8px 8px 0 var(--soc-navy); overflow: hidden; }
.soc-board-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--soc-navy); color: #fff; }
.soc-board-top b { font: 600 17px var(--fd); letter-spacing: -.02em; }
.soc-board-top span { font-size: 12.5px; color: #b8c8dd; }
.soc-tiles { display: grid; grid-template-columns: 1fr 1fr; }
.soc-tile { padding: 18px 18px 20px; border-top: 1px solid var(--soc-line); border-left: 4px solid var(--soc-blue); border-right: 1px solid var(--soc-line); }
.soc-tile:nth-child(-n+2) { border-top: 0; }
.soc-tile:nth-child(even) { border-right: 0; }
.soc-tile b { display: block; font: 600 19px var(--fd); letter-spacing: -.02em; color: var(--soc-navy); }
.soc-tile small { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--soc-muted); }
.soc-tile.attn { border-left-color: var(--soc-amber); background: var(--soc-amber-bg); }
.soc-board-foot { padding: 14px 18px; border-top: 1.5px dashed var(--soc-navy); background: var(--soc-ice); font-size: 14px; font-weight: 600; color: var(--soc-navy); }

/* pillar strip */
.soc-pillars { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soc-navy); }
.soc-pillars a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 22px 7vw 22px 28px; color: #fff; text-decoration: none; border-right: 1px solid rgba(255,255,255,.22); font: 600 clamp(17px, 1.7vw, 22px) var(--fd); letter-spacing: -.02em; transition: background .2s; }
.soc-pillars a:first-child { padding-left: 7vw; }
.soc-pillars a:last-child { border-right: 0; }
.soc-pillars a::after { content: "\2193"; color: var(--soc-sky); font-family:  sans-serif; }
.soc-pillars a:hover { background: var(--soc-blue); }

/* ---------- sticky section nav ---------- */
.soc-nav { position: sticky; top: var(--soc-top); z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--soc-line); backdrop-filter: blur(6px); }
.soc-nav-in { display: flex; justify-content: center; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 2.5vw, 36px); }
.soc-nav-links { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.soc-nav-links::-webkit-scrollbar { display: none; }
.soc-nav-links a { flex: 0 0 auto; padding: 14px 13px; font-size: 14px; font-weight: 500; color: var(--soc-muted); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.soc-nav-links a:hover { color: var(--soc-navy); }
.soc-nav-links a.on { color: var(--soc-navy); font-weight: 600; border-color: var(--soc-blue); }
.soc-nav-links a.pillar { font-weight: 600; color: var(--soc-navy); }
.soc-bar { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--soc-amber); transform: scaleX(0); transform-origin: 0 50%; }
@media(min-width: 1050px) {
  .soc-nav-links { justify-content: center; width: 100%; }
}

/* ---------- preserved photo section (unchanged from the current page) ---------- */
.soc-people {
  padding: clamp(88px, 9vw, 140px) 7vw;
  background: #fff;
}
.soc-people-heading {
  display: grid;
  grid-template-columns: .7fr 1.55fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 48px;
}
.soc-people-heading > span {
  color: var(--soc-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.soc-people-heading h2 {
  margin: 0;
  color: var(--soc-navy);
  font: 500 clamp(2.2rem, 3.7vw, 4rem)/1.04 var(--font-display, Outfit, sans-serif);
  letter-spacing: -.045em;
}
.soc-people-heading p {
  align-self: end;
  margin: 0;
  color: var(--soc-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.soc-people-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 18px;
}
.soc-people-card {
  position: relative;
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  background: var(--soc-navy);
}
.soc-people-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform .5s ease;
}
.soc-people-card:hover img { transform: scale(1.02); }
.soc-people-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4,17,39,.86));
}
.soc-people-card figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 32px;
  color: #fff;
}
.soc-people-card figcaption b,
.soc-people-card figcaption span { display: block; }
.soc-people-card figcaption b { font-size: 1.2rem; }
.soc-people-card figcaption span { margin-top: 8px; color: #dceaff; font-size: .96rem; line-height: 1.55; }
/* the page-level type rules above must not reach into the preserved section */
.soc-page .soc-people-heading p { max-width: none; color: var(--soc-muted); }
.soc-page .soc-people-heading h2 { font: 500 clamp(2.2rem, 3.7vw, 4rem)/1.04 var(--font-display, Outfit, sans-serif); letter-spacing: -.045em; color: var(--soc-navy); }
@media (max-width: 1050px) {
  .soc-people-heading { grid-template-columns: 1fr 2fr; }
  .soc-people-heading p { grid-column: 2; align-self: auto; margin-top: 14px; }
  .soc-people-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .soc-people { padding-left: 22px; padding-right: 22px; }
  .soc-people-heading, .soc-people-grid { grid-template-columns: 1fr; }
  .soc-people-heading p { grid-column: auto; }
  .soc-people-card { min-height: 390px; }
}

/* ---------- trust ---------- */
.soc-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.soc-scatter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px !important; }
.soc-scatter li { padding: 7px 13px; border: 1.5px dashed #9fb3cc; border-radius: 6px; background: #fff; font-size: 14.5px; color: var(--soc-text); }
.soc-scatter li:nth-child(3n+1) { transform: rotate(-1deg); }
.soc-scatter li:nth-child(3n+2) { transform: rotate(.8deg); }
.soc-qs { columns: 1; margin: 0 !important; }
.soc-qs li { padding: 11px 0 11px 32px; border-bottom: 1px solid var(--soc-line); font: 500 clamp(17px, 1.5vw, 19px)/1.3 var(--fd); letter-spacing: -.015em; position: relative; color: var(--soc-navy); }
.soc-qs li:first-child { border-top: 1.5px solid var(--soc-navy); }
.soc-qs li::before { content: "?"; position: absolute; left: 0; top: 12px; width: 21px; height: 21px; border-radius: 50%; background: var(--soc-blue); color: #fff; font: 700 12px/21px var(--fd); text-align: center; }
.soc-qs--wide { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.soc-qs--wide li:nth-child(2) { border-top: 1.5px solid var(--soc-navy); }

/* ---------- handover ---------- */
.soc-handover { background: var(--soc-navy); color: #fff; }
.soc-handover .soc-k { color: #80c9ef !important; }
.soc-handover h2 { color: #fff; }
.soc-handover p { color: #b8c8dd; }
.soc-fade { margin: 6px 0 22px !important; }
.soc-fade li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.2); font: 600 clamp(22px, 2.6vw, 34px)/1.1 var(--fd); letter-spacing: -.03em; color: #fff; }
.soc-fade li:nth-child(1) { opacity: 1; }
.soc-fade li:nth-child(2) { opacity: .78; }
.soc-fade li:nth-child(3) { opacity: .58; }
.soc-fade li:nth-child(4) { opacity: .4; }
.soc-handover .soc-cap { color: #fff !important; }
.soc-handover .soc-chips li { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.soc-handover .soc-pull { color: #fff !important; border-color: var(--soc-sky); }

/* ---------- monthly cycle (snake / serpentine cards) ---------- */
.socHd--inline {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 38px;
}
.socHd--inline .soc-k {
  color: var(--soc-blue, #0066ff) !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 6px !important;
}
.socHd--inline h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: var(--soc-navy, #041127);
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 0;
}
.socHdDivider {
  width: 1.5px;
  height: 48px;
  background: var(--soc-blue, #0066ff);
  flex-shrink: 0;
  opacity: .5;
}
.socHd--inline p {
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--soc-muted, #555268);
  max-width: 48ch;
  margin: 0;
}

.socSnakeContainer {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 24px;
  scrollbar-width: thin;
}
.socSnakeWrap {
  position: relative;
  min-width: 1120px;
  padding-right: 58px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.socSnakeRow {
  display: flex;
  align-items: center;
  width: 100%;
}
.socRowTop {
  flex-direction: row;
}
.socRowBottom {
  flex-direction: row-reverse;
  justify-content: center;
}

.socCard {
  flex: 0 0 calc((100% - 160px) / 6);
  min-width: 140px;
  min-height: 168px;
  background: #ffffff;
  border: 1.5px solid #dce5f2;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(18, 32, 42, .04);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  box-sizing: border-box;
}

.socCardBadge {
  display: none;
}

.socCardIcon {
  margin: 0 0 14px;
  color: var(--soc-blue, #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.socCardIcon svg {
  width: 44px;
  height: 44px;
  stroke-width: 1.35px;
  display: block;
}

.socCardTitle {
  font-family:  var(--font-body, sans-serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--soc-navy, #041127);
  margin: 0;
  letter-spacing: -.01em;
  text-align: center;
}

.socArrow {
  flex: 0 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--soc-blue, #0066ff);
}

.socSnakeTurn {
  position: absolute;
  right: 14px;
  top: 70px;
  height: 216px;
  width: 140px;
  pointer-events: none;
}
.socSnakeTurn svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Bottom summary strip */
.socCycleFooter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  gap: 24px;
}
.socFooterItem {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.socFooterIcon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--soc-ice, #eef5fc);
  color: var(--soc-blue, #0066ff);
  display: flex;
  align-items: center;
  justify-content: center;
}
.socFooterItem span {
  font-family:  var(--font-body, sans-serif);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--soc-navy, #041127);
}
.socFooterDivider {
  width: 1px;
  height: 38px;
  background: #dce5f2;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .socHd--inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .socHdDivider {
    display: none;
  }
  .socCycleFooter {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .socFooterDivider {
    display: none;
  }
}

/* ---------- views (stakeholder tabs) ---------- */
.soc-viewtabs { margin-top: 26px; border: 1.5px solid var(--soc-navy); border-radius: 12px; background: #fff; overflow: hidden; }
.soc-vt-list { display: flex; overflow-x: auto; border-bottom: 1.5px solid var(--soc-navy); scrollbar-width: none; }
.soc-vt-list::-webkit-scrollbar { display: none; }
.soc-vt-list button { flex: 1 0 auto; padding: 15px 20px; border: 0; border-right: 1px solid var(--soc-line); background: transparent; color: var(--soc-muted); font: 600 15px  sans-serif; white-space: nowrap; cursor: pointer; }
.soc-vt-list button:last-child { border-right: 0; }
.soc-vt-list button:hover { background: var(--soc-ice); }
.soc-vt-list button[aria-selected="true"] { background: var(--soc-navy); color: #fff; }
.soc-vt-panel { padding: clamp(20px, 3vw, 38px); }
.soc-vt-panel .soc-two { gap: clamp(24px, 4vw, 64px); }
.soc-vt-panel h3 { font-size: clamp(22px, 2.3vw, 31px); margin-bottom: 12px; }
.soc-vt-panel .soc-vt-desc { font-size: 1.05rem; color: var(--soc-text); }
.soc-vt-note { margin: 22px 0 0 !important; font: 600 clamp(17px, 1.6vw, 21px)/1.3 var(--fd) !important; letter-spacing: -.015em; color: var(--soc-navy) !important; max-width: 60ch !important; }
.soc-page.js .soc-pn { display: none; }
.soc-page.js .soc-pn.on { display: block; }

/* ---------- pillars (rail tabs) ---------- */
.soc-pillar-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1.5px solid var(--soc-navy); }
.soc-pillar-head h2 { font-size: clamp(34px, 4.6vw, 66px); font-weight: 700; letter-spacing: -.045em; line-height: .98; }
.soc-pillar-head span { font-size: 14px; font-weight: 600; color: var(--soc-blue); white-space: nowrap; }
.soc-rail { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.soc-rail-list { position: sticky; top: calc(var(--soc-top) + 62px); display: flex; flex-direction: column; border-left: 1.5px solid var(--soc-line); }
.soc-rail-list button { position: relative; text-align: left; padding: 12px 14px 12px 18px; border: 0; background: transparent; color: var(--soc-muted); font: 600 15px/1.25  sans-serif; cursor: pointer; }
.soc-rail-list button::before { content: ""; position: absolute; left: -1.5px; top: 0; bottom: 0; width: 3px; background: transparent; }
.soc-rail-list button:hover { color: var(--soc-navy); background: rgba(19,91,216,.06); }
.soc-rail-list button[aria-selected="true"] { color: var(--soc-navy); background: #fff; box-shadow: 0 0 0 1px var(--soc-line) inset; }
.soc-rail-list button[aria-selected="true"]::before { background: var(--soc-blue); }
.soc-band .soc-rail-list button[aria-selected="true"] { box-shadow: 0 0 0 1px #c3d4e8 inset; }
.soc-rail-body { min-width: 0; scroll-margin-top: calc(var(--soc-top) + 62px); }
.soc-topic h3 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 600; max-width: 24ch; margin-bottom: 14px; }
.soc-topic h4, .soc-acc-in h4 { font-size: clamp(21px, 2.2vw, 30px); font-weight: 600; max-width: 26ch; margin: 4px 0 14px; }
.soc-topic + .soc-topic { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--soc-line); }
.soc-band .soc-topic + .soc-topic { border-color: #c3d4e8; }
.soc-pn .soc-acc + .soc-acc { margin-top: 0; }
.soc-acc { border-top: 1.5px solid var(--soc-navy); }
.soc-acc:last-child { border-bottom: 1.5px solid var(--soc-navy); }
.soc-acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font: 600 clamp(18px, 1.9vw, 23px)/1.2 var(--fd); letter-spacing: -.02em; color: var(--soc-navy); }
.soc-acc summary::-webkit-details-marker { display: none; }
.soc-acc summary::after { content: "+"; color: var(--soc-blue); font-size: 26px; line-height: 1; transition: transform .2s; }
.soc-acc[open] summary::after { transform: rotate(45deg); }
.soc-acc-in { padding: 4px 0 24px; }

/* ---------- compare ---------- */
.soc-scroll { overflow-x: auto; border: 1.5px solid var(--soc-navy); border-radius: 10px; background: #fff; margin: 10px 0 14px; }
.soc-page table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.soc-page th { text-align: left; padding: 13px 18px; background: var(--soc-navy); color: #fff; font-weight: 600; }
.soc-page th:last-child { background: var(--soc-blue); }
.soc-page td { padding: 12px 18px; border-top: 1px solid var(--soc-line); color: var(--soc-muted); vertical-align: top; }
.soc-page td:last-child { color: var(--soc-navy); font-weight: 600; border-left: 3px solid var(--soc-blue); background: #f7fbff; }
.soc-page.js .soc-compare-wrap:not(.open) tr.x { display: none; }
.soc-more { padding: 10px 18px; border-radius: 6px; border: 1.5px solid var(--soc-navy); background: transparent; color: var(--soc-navy); font: 600 14.5px  sans-serif; cursor: pointer; }
.soc-more:hover { background: var(--soc-navy); color: #fff; }
.soc-page:not(.js) .soc-more { display: none; }

/* ---------- related + final ---------- */
.soc-rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 10px; }
.soc-rc { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1.5px solid var(--soc-line); border-radius: 10px; text-decoration: none; color: var(--soc-navy); transition: box-shadow .2s, border-color .2s; background: #fff; }
.soc-rc:hover { box-shadow: 0 4px 16px rgba(4,17,39,.06); border-color: #c3d4e8; }
.soc-rc b { display: block; font: 600 18px/1.2 var(--fd); color: var(--soc-navy); margin-bottom: 8px; }
.soc-rc span { display: block; font-size: 14.5px; color: var(--soc-muted); line-height: 1.45; }
.soc-rc em { display: inline-block; margin-top: 14px; font-style: normal; font-weight: 600; font-size: 14px; color: var(--soc-blue); text-decoration: underline; text-underline-offset: 3px; }
.soc-final { padding: clamp(56px, 7vw, 110px) 0; background: var(--soc-blue); }
.soc-final .soc-k { color: #c8e8ff !important; }
.soc-final h2 { max-width: none; margin: 0 0 22px; font-size: clamp(32px, 4.4vw, 68px); font-weight: 700; letter-spacing: -.045em; line-height: 1; color: #fff; }
.soc-final h2 span { display: block; }
.soc-final-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.soc-final-side .soc-demo-ask { margin-top: 0; }
.soc-final p { color: #dbe9ff; }
.soc-final .soc-final-p { font-size: 1.08rem; max-width: 60ch; }
.soc-final-lines { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 4px 0 26px !important; font: 600 clamp(19px, 2vw, 26px)/1.3 var(--fd); color: #fff; }
.soc-demo-ask { margin-top: 0; padding: 22px 26px; border: 1.5px solid #fff; border-radius: 10px; box-shadow: 6px 6px 0 rgba(7,27,61,.55); max-width: 800px; }
.soc-demo-ask p { margin: 0; color: #fff; font: 600 clamp(19px, 2vw, 26px)/1.3 var(--fd); letter-spacing: -.02em; max-width: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .soc-hero-grid, .soc-two, .soc-final-grid { grid-template-columns: 1fr; }
  .soc-rail { grid-template-columns: 1fr; }
  .soc-rail-list { position: static; flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1.5px solid var(--soc-navy); scrollbar-width: none; }
  .soc-rail-list::-webkit-scrollbar { display: none; }
  .soc-rail-list button { flex: 0 0 auto; white-space: nowrap; padding: 13px 16px; }
  .soc-rail-list button::before { left: 0; right: 0; top: auto; bottom: -1.5px; width: auto; height: 3px; }
  .soc-qs--wide { grid-template-columns: 1fr; }
  .soc-qs--wide li:nth-child(2) { border-top: 0; }
  .soc-rel { grid-template-columns: repeat(2, 1fr); }

  .socSnakeContainer {
    overflow-x: hidden;
  }
  .socSnakeWrap {
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding-right: 0;
    gap: 0;
  }
  .socSnakeRow {
    flex-direction: column;
    width: 100%;
  }
  .socRowBottom {
    flex-direction: column;
  }
  .socCard {
    width: 100%;
    min-width: 0;
    min-height: auto;
    padding: 24px 20px;
  }
  .socArrow {
    transform: rotate(90deg);
    margin: 12px 0;
    flex: 0 0 auto;
  }
  .socRowBottom .socArrow svg {
    transform: rotate(180deg);
  }
  .socSnakeTurn {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
  }
  .socSnakeTurn svg {
    display: none;
  }
  .socSnakeTurn::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%230066ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cpolyline points='19 12 12 19 5 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
}
@media (max-width: 720px) {
  .soc-page { font-size: 16px; --soc-top: 64px; }
  .soc-wrap { padding: 0 22px; }
  .soc-pillars { grid-template-columns: 1fr; }
  .soc-pillars a, .soc-pillars a:first-child { padding: 16px 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .soc-tiles { grid-template-columns: 1fr; }
  .soc-tile, .soc-tile:nth-child(even) { border-right: 0; }
  .soc-tile:nth-child(2) { border-top: 1px solid var(--soc-line); }
  .soc-board { box-shadow: 5px 5px 0 var(--soc-navy); }
  .soc-pillar-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .soc-actions { flex-direction: column; align-items: stretch; }
  .soc-button { width: 100%; }
  .soc-nav-cta { display: none; }
  .soc-demo-ask { box-shadow: 4px 4px 0 rgba(7,27,61,.55); padding: 18px; }
  .soc-rel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .soc-page *, .soc-page *::before, .soc-page *::after { transition: none !important; }
}
