/* ═══════════════════════════════════════════════════════════════════════════
   Mo6o Society product page (/society) — page-specific components.

   Loaded after /styles.css. The mo6o.com CSP is style-src 'self' with no
   'unsafe-inline', so nothing on the page uses style="": everything lives here.
   Design system v1 (D:\Mo6o\MO6O_DESIGN_SYSTEM.md): palette tokens only, white
   panels on a Line border, no glass or gradient text, nothing below 12px, a
   status colour always paired with a word.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero eyebrow: a plain second tag instead of the tricolour .india pill ── */
.soc-tag {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--cloud);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}
.hero-meta .num { color: var(--text-primary); background: none; -webkit-background-clip: border-box; background-clip: border-box; }

/* ── Status pills: soft background, status text, a dot and a word ───────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: #E8F3EC; color: #1E7F4F; }
.pill-warn { background: #FBF1DC; color: #8A5A00; }
.pill-bad { background: #FBEAEA; color: #B42318; }
.pill-info { background: var(--cloud); color: #52657A; }

/* ── Hero visual: one resolution, followed from suggestion to proof ──────── */
.soc-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.soc-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--cloud);
}
.soc-panel-id { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); }
.soc-panel-head { padding: 18px 20px 4px; }
.soc-panel-head h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; line-height: 1.25; }
.soc-panel-head p { margin: 0; font-size: 14px; color: var(--text-secondary); }
.soc-panel-head .fig { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; }
.soc-illustrative { padding: 10px 20px 16px; font-size: 12px; color: var(--text-muted); border-top: 1px solid var(--cloud); }

/* Timeline (design system §4): a Line rule, 10px dots, time in Quiet, event in Ink. */
.soc-timeline { list-style: none; margin: 0; padding: 16px 20px 12px; position: relative; }
.soc-timeline li { position: relative; padding: 0 0 16px 26px; }
.soc-timeline li:last-child { padding-bottom: 4px; }
.soc-timeline li::before {
  content: "";
  position: absolute;
  left: 4px; top: 16px; bottom: -2px;
  width: 2px;
  background: var(--line);
}
.soc-timeline li:last-child::before { display: none; }
.soc-timeline .dot {
  position: absolute;
  left: 0; top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
}
.soc-timeline .dot.done { background: #1E7F4F; }
.soc-timeline .when { display: block; font-size: 12px; color: var(--text-muted); }
.soc-timeline .what { display: block; font-size: 14px; color: var(--text-primary); line-height: 1.4; }
.soc-timeline .detail { display: block; font-size: 13px; color: var(--text-secondary); }

/* ── Five steps: 5-up on wide screens, then 3 / 2 / 1 ───────────────────── */
.steps-grid.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1180px) { .steps-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .steps-grid.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps-grid.five { grid-template-columns: 1fr; } }
.step-card .step-num { box-shadow: none; }
.step-card p { font-size: 14px; }

/* ── Feature visuals: plain rows inside one white panel ──────────────────── */
.soc-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.soc-visual .mock-tag { margin-bottom: 6px; font-size: 12px; }
.soc-visual h4 { margin: 0 0 12px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.soc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--cloud);
  font-size: 14px;
  color: var(--text-primary);
}
.soc-row .sub { display: block; font-size: 13px; color: var(--text-secondary); }
.soc-row .money { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.soc-row .money.out { color: var(--text-primary); }
.soc-row .money.in { color: #1E7F4F; }
.soc-row .money.rev { color: var(--text-muted); }
.soc-bar { height: 8px; border-radius: 999px; background: var(--cloud); overflow: hidden; margin: 4px 0 2px; }
.soc-bar span { display: block; height: 100%; width: 59%; background: var(--accent-primary); border-radius: 999px; }
.soc-note { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
.soc-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.soc-choice span {
  display: block;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Who it is for: four roles ───────────────────────────────────────────── */
.soc-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1080px) { .soc-roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .soc-roles { grid-template-columns: 1fr; } }
.soc-roles .info-card p { font-size: 14px; }
.soc-roles .info-card ul { margin: 12px 0 0; padding-left: 18px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

.grid-cards .info-card p { font-size: 14px; }

/* Trust cards: plain points instead of the shared ✓ list. */
.trust-card ul { margin: 0; padding-left: 18px; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
.trust-card > p { font-size: 14px; }

/* ── Book a demo ─────────────────────────────────────────────────────────── */
.soc-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 56px);
  align-items: start;
}
@media (max-width: 980px) { .soc-demo { grid-template-columns: minmax(0, 1fr); } }
.soc-demo-copy h2 { margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.1; }
.soc-demo-copy > p { margin: 0 0 20px; color: var(--text-secondary); font-size: 17px; line-height: 1.55; }
.soc-demo-copy ol { margin: 0; padding-left: 20px; color: var(--text-primary); font-size: 15px; line-height: 1.6; }
.soc-demo-copy ol li { margin-bottom: 8px; }
.soc-demo-copy .soc-alt { margin-top: 20px; font-size: 14px; color: var(--text-secondary); }
.soc-demo-copy a, .soc-form a { color: var(--accent-primary); }

.soc-form-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
}
.soc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.soc-form .full { grid-column: 1 / -1; }
.soc-form[hidden] { display: none; }
@media (max-width: 640px) { .soc-form { grid-template-columns: minmax(0, 1fr); } }

.soc-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.soc-field label,
.soc-field legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0;
}
.soc-field .opt { color: var(--text-muted); font-weight: 400; }
.soc-field input,
.soc-field textarea {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text-primary);
  font: 400 16px/22px "DM Sans", system-ui, sans-serif;
}
.soc-field textarea { min-height: 96px; resize: vertical; }
.soc-field input:focus,
.soc-field textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(10, 124, 128, 0.18);
}
.soc-field .hint { font-size: 13px; color: var(--text-muted); }
.soc-field .err { display: none; font-size: 13px; color: #B42318; }
.soc-field.has-error input,
.soc-field.has-error textarea { border-color: #B42318; }
.soc-field.has-error .err { display: block; }
.soc-field.has-error .hint { display: none; }

/* "You are": radio options laid out as tappable chips (no dropdown to search). */
fieldset.soc-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.soc-roles-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.soc-roles-pick label { position: relative; display: inline-flex; }
.soc-roles-pick input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.soc-roles-pick span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}
.soc-roles-pick span:hover { background: var(--bg-base); }
.soc-roles-pick input:checked + span { background: var(--tint); border-color: var(--accent-primary); color: var(--accent-primary); font-weight: 600; }
.soc-roles-pick input:focus-visible + span { box-shadow: 0 0 0 3px rgba(10, 124, 128, 0.18); border-color: var(--accent-primary); }
fieldset.soc-field.has-error .soc-roles-pick span { border-color: #B42318; }

/* The honeypot: out of sight and out of the tab order; people never fill it. */
.soc-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.soc-form-foot { display: flex; flex-direction: column; gap: 12px; }
.soc-consent { margin: 0; font-size: 13px; color: var(--text-muted); }
.soc-form .btn-primary { width: 100%; border-radius: 8px; }
.soc-form .btn-primary[disabled] { opacity: 0.7; cursor: progress; }
@media (min-width: 641px) { .soc-form .btn-primary { width: auto; justify-self: end; align-self: flex-end; } }

.soc-callout {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #F0C9C5;
  background: #FBEAEA;
  color: #B42318;
  font-size: 14px;
  line-height: 1.5;
}
.soc-callout[hidden] { display: none; }

.soc-done { text-align: left; }
.soc-done h3 { margin: 0 0 10px; font-size: 24px; font-weight: 700; }
.soc-done p { margin: 0 0 8px; color: var(--text-secondary); font-size: 16px; line-height: 1.55; }
.soc-done .pill { margin-bottom: 14px; }
.soc-done[hidden] { display: none; }
