/* ProductMoat — portal-specific layout (index.html, person.html) */
/* Tokens, nav, buttons, avatar base all come from swiss.css, loaded first. */

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 0;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 8fr 4fr;
}

.hero-main {
  padding: 0 32px 56px 0;
  border-right: 1px solid var(--line-soft);
}

.hero-side {
  padding: 0 0 56px 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 26px;
}

.eyebrow .num { color: var(--accent); font-weight: 700; }

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.hero-cta .btn:first-child { border-right: none; }

.hero-side .label-mono { margin-bottom: 12px; }
.hero-side p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-body);
  max-width: 34ch;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
}

.stats-row > div {
  padding: 22px 32px;
  border-right: 1px solid var(--line-soft);
}
.stats-row > div:last-child { border-right: none; }

.stat-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stat-label {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- Section heading ---------- */

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin: 72px 0 28px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px);
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-body);
  font-size: 15.5px;
  max-width: 40ch;
}

/* ---------- Featured card ---------- */

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  border: 1px solid var(--line);
}

.featured-visual {
  position: relative;
  min-height: 320px;
  background: var(--paper-alt);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.featured-visual .index-mark {
  position: absolute;
  top: -0.15em;
  right: 10px;
  font-size: clamp(120px, 14vw, 200px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line-soft);
  user-select: none;
}

.featured-visual .avatar-big {
  width: 76px;
  height: 76px;
  font-size: 26px;
  position: relative;
  z-index: 1;
}

.featured-visual.has-photo { padding: 0; }

.featured-photo-wrap {
  position: absolute;
  inset: 0;
}

.featured-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.featured-photo-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 5px 11px;
}

.featured-body {
  padding: 40px 40px 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line-soft);
  padding: 4px 10px;
  margin-bottom: 20px;
}

.featured-body h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  line-height: 1.15;
}

.featured-role {
  margin-top: 10px;
  color: var(--ink-body);
  font-size: 16px;
}

.featured-quote {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.5;
  border-left: 2px solid var(--accent);
  padding-left: 18px;
}

.featured-cta {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-cta span { transition: transform 0.15s ease; }
.featured-card:hover .featured-cta span { transform: translateX(4px); }
.featured-card:hover { border-color: var(--accent); }

/* ---------- Filter chips ---------- */

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.chip {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13.5px;
  padding: 9px 16px;
  border: 1px solid var(--line-soft);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }

.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ---------- Directory grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s ease;
  position: relative;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { background: var(--paper-alt); }

.avatar { width: 46px; height: 46px; font-size: 16px; }

.card-name { font-size: 18px; font-weight: 700; }
.card-role { margin-top: 3px; font-size: 14.5px; color: var(--ink-body); }

.card-meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-dim);
}

.card-snippet {
  font-size: 15.5px;
  color: var(--ink-body);
  line-height: 1.55;
  flex-grow: 1;
}

.card-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid var(--line-soft);
  padding: 3px 9px;
}

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--line);
  padding: 48px 0;
  margin-top: 80px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-blurb {
  max-width: 42ch;
  color: var(--ink-body);
  font-size: 15px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  text-transform: uppercase;
  color: var(--ink-body);
}
.footer-links a { white-space: nowrap; }
.footer-links a:hover { color: var(--ink); }

/* ================= Person page ================= */

.profile-hero {
  border-bottom: 1px solid var(--line);
}

.hero-content {
  display: flex;
  align-items: stretch;
  gap: 48px;
  padding: 56px 0 48px;
}

.hero-content-top {
  flex: 1 1 auto;
  min-width: 0;
}

/* The globe lives in the hero's own empty right-hand space rather than under the
   text — borderless, softly muted, sized to match the height of the text column
   next to it (align-items: stretch above) with a floor for short content. */
.hero-globe-col {
  position: relative;
  flex: 0 0 340px;
  min-height: 320px;
  overflow: hidden;
}

.hero-globe {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-globe-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: color-mix(in srgb, var(--paper) 42%, transparent);
  pointer-events: none;
}

.hero-globe-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-body);
  background: color-mix(in srgb, var(--paper) 78%, transparent);
}
.hero-globe-caption:hover { color: var(--ink); }

.mini-map-cta {
  color: var(--ink-dim);
  transition: color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}
.hero-globe-caption:hover .mini-map-cta { color: var(--accent); transform: translateX(3px); }

.mini-map-pin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-body);
  margin-bottom: 36px;
}
.back-link:hover { color: var(--ink); }

.profile-top {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.avatar-xl { width: 100px; height: 100px; font-size: 34px; }
.avatar-xl.has-photo { cursor: zoom-in; }

/* ---------- Lightbox (shared) ---------- */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(0, 0, 0, 0.97);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.open { opacity: 1; pointer-events: auto; }

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 9px 16px;
  transition: background 0.15s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.12); }

.profile-name {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.01em;
}

.profile-role {
  margin-top: 8px;
  font-size: 17px;
  color: var(--ink-body);
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
}

.meta-item {
  padding: 20px 32px 20px 0;
  margin-right: 32px;
  border-right: 1px solid var(--line-soft);
}
.meta-item:last-child { border-right: none; }

.meta-item .meta-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.meta-item .meta-value { font-size: 16px; font-weight: 700; }

.social-row {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}

.pull-quote {
  margin: 0 0 48px;
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  max-width: 26ch;
  border-left: 3px solid var(--accent);
  padding-left: 22px;
}

.foreword {
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
}

.foreword-inner {
  max-width: 640px;
}

.foreword-inner .label-mono { margin-bottom: 14px; }

.foreword-inner p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-body);
  font-style: italic;
}

.foreword-byline {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-dim);
}

.qna {
  padding: 56px 0 80px;
}

.qna-inner {
  display: flex;
  flex-direction: column;
  max-width: 760px;
}

.qna-section-title {
  margin: 64px 0 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
}
.qna-section:first-child .qna-section-title { margin-top: 0; }

.qna-section .qa-item:first-of-type { border-top: none; padding-top: 12px; }

.qa-item {
  padding: 32px 0;
  border-top: 1px solid var(--line-soft);
}
.qa-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.qa-item .qa-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.qa-item h3 {
  margin-top: 10px;
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.35;
}

.qa-item p {
  margin-top: 14px;
  color: var(--ink-body);
  font-size: 17.5px;
  line-height: 1.65;
}

.profile-nav {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.profile-nav a {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink-body);
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-nav a:hover { color: var(--ink); }
.profile-nav a.next { margin-left: auto; text-align: right; }

.not-found {
  padding: 120px 0;
  text-align: center;
  color: var(--ink-dim);
}

/* ================= About page ================= */

.about-hero {
  padding: 64px 0 80px;
}

.about-grid {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.about-photo-col {
  position: relative;
  flex: 0 0 340px;
  aspect-ratio: 4 / 5;
  cursor: default;
}

.about-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.5s ease;
}

.about-photo-alt { opacity: 0; }

.about-photo-col:hover .about-photo-main { opacity: 0; }
.about-photo-col:hover .about-photo-alt { opacity: 1; }

.about-text-col {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 12px;
}

.about-text-col h1 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.about-lede {
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 46ch;
}

.about-body {
  margin-top: 28px;
  max-width: 56ch;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-body);
}

.about-text-col .social-row {
  margin-top: 32px;
  padding-top: 0;
  border-top: none;
}

/* ================= Apply page ================= */

.apply-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}

.apply-hero h1 {
  font-weight: 700;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-top: 4px;
}

.apply-hero .about-lede { margin-top: 18px; }
.apply-hero-links { display: flex; gap: 24px; margin-top: 20px; flex-wrap: wrap; }

.recommend-callout {
  background: var(--paper-alt);
  border-bottom: 1px solid var(--line);
}

.recommend-callout-inner {
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.recommend-callout-inner .label-mono { margin-bottom: 4px; }
.recommend-callout-inner p { font-size: 16px; font-weight: 700; }
.recommend-callout-inner .btn { flex-shrink: 0; }

.form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
}

.form-checkbox-row input[type="checkbox"] {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.form-checkbox-row label {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-body);
  cursor: pointer;
}

.req { color: var(--accent); }

.hint-inline {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-dim);
}

.form-fieldset {
  border: none;
  border-top: 1px solid var(--line-soft);
  padding: 44px 0;
}
.form-fieldset:first-of-type { border-top: none; padding-top: 40px; }

.fieldset-head { margin-bottom: 28px; max-width: 56ch; }
.fieldset-head h2 {
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 24px);
  letter-spacing: -0.01em;
}
.fieldset-head p { margin-top: 6px; color: var(--ink-body); font-size: 15px; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 32px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
}

.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-soft);
  padding: 12px 14px;
  transition: border-color 0.15s ease;
}

.form-field textarea { resize: vertical; min-height: 64px; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
}

#apply-form.was-validated .form-field input:invalid,
#apply-form.was-validated .form-field select:invalid,
#apply-form.was-validated .form-field textarea:invalid { border-color: var(--accent); }

.form-field select { appearance: auto; cursor: pointer; }

#snippet-counter { align-self: flex-end; }

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

.photo-field { display: flex; align-items: center; gap: 18px; }

.photo-preview {
  width: 56px;
  height: 56px;
  font-size: 20px;
  flex-shrink: 0;
}

.photo-field-controls { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.photo-btn { padding: 10px 18px; font-size: 12.5px; cursor: pointer; }

.form-submit-row {
  border-top: 1px solid var(--line-soft);
  padding: 44px 0 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.apply-success {
  padding: 90px 0 110px;
  max-width: 52ch;
}
.apply-success h2 {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 6px;
}
.apply-success p {
  margin: 18px 0 32px;
  color: var(--ink-body);
  font-size: 16.5px;
  line-height: 1.6;
}

.li-gate { margin-bottom: 28px; }

.li-btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.li-error { margin-top: 12px; color: var(--accent); }

.li-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--ink);
  border: 1px solid var(--line-soft);
  padding: 12px 18px;
}

.li-badge-check { color: var(--accent); font-weight: 700; }

.form-field input:disabled,
.form-field select:disabled,
.form-field textarea:disabled { opacity: 0.45; cursor: not-allowed; }

.photo-btn.is-locked { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

.submit-wrap { position: relative; display: inline-block; }
.submit-wrap .btn-primary[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.submit-wrap .submit-hint {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 5;
}
.submit-wrap.locked:hover .submit-hint,
.submit-wrap.locked:focus-within .submit-hint { opacity: 1; }

@media (max-width: 760px) {
  .form-grid { grid-template-columns: 1fr; }
  .apply-hero { padding: 44px 0 36px; }
  .form-fieldset { padding: 32px 0; }
  .form-fieldset:first-of-type { padding-top: 28px; }
  .photo-field { flex-wrap: wrap; }
  .submit-wrap .submit-hint { white-space: normal; max-width: 240px; }
}

/* ================= Why apply page ================= */

.why-hero {
  padding: 56px 0 0;
  border-bottom: 1px solid var(--line);
}

.why-hero .back-link { margin-bottom: 28px; }

.why-hero h1 {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  max-width: 18ch;
  margin-top: 4px;
}

.why-hero .about-lede { margin-top: 18px; padding-bottom: 56px; }

.benefits-section { padding: 0; }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit-item {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-index {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 700;
}

.benefit-item h3 {
  font-weight: 700;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.3;
}

.benefit-item p {
  color: var(--ink-body);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 42ch;
}

.why-cta-section {
  border-top: 1px solid var(--line);
  padding: 76px 0;
  text-align: center;
}

.why-cta-section h2 {
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  max-width: 30ch;
  margin: 0 auto 14px;
}

.why-cta-section p {
  color: var(--ink-body);
  font-size: 16.5px;
  max-width: 46ch;
  margin: 0 auto 32px;
}

.why-cta-section .btn { display: inline-flex; }

@media (max-width: 760px) {
  .why-hero { padding-top: 40px; }
  .why-hero .about-lede { padding-bottom: 40px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-item { padding: 32px 24px; }
  .why-cta-section { padding: 56px 0; }
}

/* ================= Process page (timeline) ================= */

.timeline-section { padding: 64px 0 80px; }

.timeline {
  position: relative;
  max-width: 720px;
  padding-left: 64px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-soft);
}

.timeline-step {
  position: relative;
  padding-bottom: 64px;
}
.timeline-step:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -64px;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  z-index: 1;
}

.timeline-step.is-distribution .timeline-marker {
  border-color: var(--accent);
  color: var(--accent);
}

.timeline-icon {
  width: 26px;
  height: 26px;
  color: var(--ink-dim);
  margin-bottom: 16px;
}

.timeline-step h3 {
  font-weight: 700;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.3;
  margin-bottom: 10px;
}

.timeline-step p {
  color: var(--ink-body);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 56ch;
}

.channel-list {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.channel-item {
  background: var(--paper);
  padding: 20px 22px;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 6px;
}

.channel-item p {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: none;
}

@media (max-width: 760px) {
  .timeline { padding-left: 52px; }
  .timeline::before { left: 15px; }
  .timeline-marker { left: -52px; width: 32px; height: 32px; font-size: 11.5px; }
  .timeline-step { padding-bottom: 48px; }
  .channel-list { grid-template-columns: 1fr; }
}

/* ================= Privacy policy page ================= */

.legal-section { padding: 48px 0 88px; }

.legal-updated {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-dim);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}

.legal-body {
  margin-top: 40px;
  max-width: 68ch;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-block h2 {
  font-weight: 700;
  font-size: clamp(18px, 2vw, 21px);
  margin-bottom: 12px;
}

.legal-block p {
  color: var(--ink-body);
  font-size: 16px;
  line-height: 1.7;
}

.legal-block p + p { margin-top: 12px; }

.legal-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  color: var(--ink-body);
  font-size: 16px;
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--accent);
}

.legal-list strong { color: var(--ink); }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-main { border-right: none; padding-right: 0; padding-bottom: 32px; }
  .hero-side { padding-left: 0; border-top: 1px solid var(--line-soft); padding-top: 32px; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-visual { min-height: 180px; border-right: none; border-bottom: 1px solid var(--line); }
  .featured-visual .avatar-big { width: 62px; height: 62px; font-size: 22px; }
  .featured-visual .index-mark { font-size: 90px; }
  .featured-body { padding: 28px; }
  .wrap { padding: 0 20px; }
  .nav-inner { padding: 14px 20px; flex-wrap: wrap; row-gap: 12px; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 22px;
    font-size: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
  }
  .hero-cta { flex-wrap: nowrap; }
  .hero-cta .btn {
    flex: 1 1 0;
    padding: 13px 8px;
    font-size: 11px;
    letter-spacing: 0.01em;
    justify-content: center;
    white-space: nowrap;
  }
  .stats-row { flex-direction: column; }
  .stats-row > div {
    width: 100%;
    padding: 16px 0;
    border-right: none;
    border-top: 1px solid var(--line-soft);
  }
  .stats-row > div:first-child { border-top: none; padding-top: 0; }
  .meta-item { border-right: none; margin-right: 0; padding-right: 0; width: 50%; }
  .avatar-xl { width: 76px; height: 76px; font-size: 26px; }
  .profile-nav { flex-direction: column; gap: 14px; }
  .profile-nav a.next { margin-left: 0; text-align: left; }
  .hero-content { flex-direction: column; padding-top: 44px; padding-bottom: 32px; gap: 32px; }
  .hero-globe-col { flex: 0 0 240px; min-height: 240px; }
  .about-hero { padding: 40px 0 56px; }
  .about-grid { flex-direction: column; gap: 32px; }
  .about-photo-col { flex: 0 0 auto; width: 100%; max-width: 280px; }
}

/* ================= Put yourself on the map (join-map.html) ================= */

.jm-main { padding-bottom: 20px; }

.jm-picker-wrap { margin-bottom: 24px; }

.jm-picker-map {
  height: 340px;
  border: 1px solid var(--line);
  background: var(--paper-alt);
}

.jm-picker-hint {
  margin-top: 10px;
}

.jm-location-grid { margin-top: 28px; }

.jm-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 18px 22px;
  border: 1px solid var(--line-soft);
}

.jm-preview-avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.jm-preview-avatar img,
.jm-preview-avatar .avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.jm-preview-name { font-weight: 700; font-size: 16px; }

/* ================= Account page ================= */

.account-hero {
  padding: 56px 0 88px;
}

.account-card {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 68ch;
}

.account-name { font-size: clamp(22px, 3vw, 28px); margin-bottom: 4px; }

.account-email {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 16px;
}

.account-note {
  color: var(--ink-body);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .account-card { flex-direction: column; align-items: flex-start; }
}

/* ================= Sign up page ================= */
/* The consent copy + newsletter checkbox + LinkedIn button live directly in
   the hero (not a separate section below it) so the CTA sits above the fold
   without scrolling — #su-consent matches .about-lede's reading measure so
   the checkbox/button/link line up under it instead of stretching full width. */

#su-consent { max-width: 46ch; }

.signup-hero .li-gate { margin-top: 24px; }

.signup-privacy-note { margin-top: 22px; display: block; }
