/* Tiny Teams onboarding — hub + step pages */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

::selection {
  background: var(--red);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--red-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--red-cta);
  color: #fff;
  font-size: var(--fs-14);
  border-radius: var(--radius);
  transition: top 0.2s var(--ease);
}

.skip-link:focus-visible {
  top: 12px;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  padding: 0 5px;
  flex: 0 0 auto;
}

.brand-mark span {
  display: block;
  height: 2px;
  border-radius: 1px;
  background: var(--muted);
}

.brand-mark span:first-child {
  background: var(--red);
}

.brand-name {
  font-size: var(--fs-16);
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}

.head-nav {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.head-nav a {
  position: relative;
  font-size: var(--fs-14);
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.15s var(--ease);
}

.head-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.head-nav a:hover,
.site-head[data-active="steps"] .head-nav a[data-nav="steps"],
.site-head[data-active="recordings"] .head-nav a[data-nav="recordings"],
.site-head[data-active="resources"] .head-nav a[data-nav="resources"],
.site-head[data-active="contacts"] .head-nav a[data-nav="contacts"] {
  color: var(--text);
}

.head-nav a:hover::after,
.site-head[data-active="steps"] .head-nav a[data-nav="steps"]::after,
.site-head[data-active="recordings"] .head-nav a[data-nav="recordings"]::after,
.site-head[data-active="resources"] .head-nav a[data-nav="resources"]::after,
.site-head[data-active="contacts"] .head-nav a[data-nav="contacts"]::after {
  transform: scaleX(1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn .i {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--red-cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-cta-hover);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: var(--surface-2);
}

.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: var(--fs-14);
}

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

.hub-hero {
  padding: clamp(48px, 7vw, 104px) 0 clamp(32px, 4vw, 48px);
}

.hub-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
}

.hub-hero h1 {
  margin-top: 0;
  max-width: 16ch;
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #fff;
}

.hub-hero .lede {
  max-width: 56ch;
  margin-top: 22px;
  font-size: var(--fs-18);
  line-height: 1.55;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hub-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 20px;
  font-size: var(--fs-12);
  line-height: 1.5;
  color: var(--muted);
}

.hub-note .i {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--red-2);
}

.hub-mark {
  text-align: right;
  user-select: none;
  pointer-events: none;
}

.hm-num {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-hero);
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
}

.hm-label {
  display: block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- deadline band ---------- */

.alert-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 24px;
  background: var(--red-dim);
  border: 1px solid var(--red-line);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-md);
}

.alert-tag {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-2);
  white-space: nowrap;
}

.alert-band p {
  max-width: 82ch;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--text-2);
}

.alert-band strong {
  color: var(--text);
  font-weight: 500;
}

.alert-band a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--red-line);
  white-space: nowrap;
}

.alert-band a:hover {
  text-decoration-color: var(--red-2);
}

/* ---------- hub sections ---------- */

.hub-section {
  padding-top: clamp(56px, 7vw, 88px);
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.hub-section:last-child {
  padding-bottom: clamp(56px, 7vw, 88px);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-kicker .k {
  color: var(--red-2);
}

.section-kicker .sep {
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}

.section-head h2 {
  max-width: 24ch;
  font-size: var(--fs-34);
  letter-spacing: -0.03em;
}

.section-lede {
  max-width: 72ch;
  margin-top: 12px;
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--text-2);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 198px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.step-card:hover {
  background: var(--surface-2);
  border-color: rgba(239, 49, 36, 0.4);
  transform: translateY(-2px);
}

.sc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sc-num {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.04em;
  color: var(--red-2);
}

.sc-tag {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.step-card[data-key="true"] .sc-tag {
  color: var(--red-2);
  border-color: rgba(239, 49, 36, 0.36);
  background: var(--red-dim);
}

.sc-title {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-18);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--text);
}

.sc-desc {
  display: block;
  max-width: 36ch;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--muted);
}

.sc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-12);
  color: var(--muted);
}

.sc-foot .i {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: color 0.18s var(--ease), transform 0.18s var(--ease);
}

.step-card:hover .sc-foot .i {
  color: var(--red-2);
  transform: translateX(3px);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 172px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: transparent;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.link-card:hover {
  background: var(--surface);
  border-color: var(--line-strong);
}

.lc-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-2);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.link-card:hover .lc-icon {
  border-color: var(--red-line);
  color: var(--red-2);
}

.lc-title {
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--text);
}

.lc-desc {
  max-width: 34ch;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--muted);
}

.lc-more {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}

.lc-more .i {
  width: 14px;
  height: 14px;
}

.link-card:hover .lc-more {
  color: var(--text);
}

/* ---------- step page ---------- */

.step-page,
.page {
  padding: clamp(28px, 4vw, 44px) 0 clamp(56px, 7vw, 88px);
}

.step-page-inner,
.page-inner {
  max-width: 940px;
}

.crumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 0;
  font-size: var(--fs-14);
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.crumb:hover {
  color: var(--text);
}

.crumb .i {
  width: 15px;
  height: 15px;
}

.step-page .step-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-top: clamp(18px, 3vw, 28px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.step-head-main {
  min-width: 0;
}

.step-kicker,
.page-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.step-kicker .k,
.page-kicker .k {
  color: var(--red-2);
}

.step-kicker .sep,
.page-kicker .sep {
  width: 14px;
  height: 1px;
  background: var(--line-strong);
}

.step-page h1,
.page-head h1 {
  font-size: var(--fs-page);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
}

.step-page h1 {
  max-width: 22ch;
}

.step-ghost {
  font-family: var(--font-mono);
  font-size: var(--fs-page);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  user-select: none;
  pointer-events: none;
}

.step-page[data-key="true"] .step-ghost {
  -webkit-text-stroke-color: rgba(239, 49, 36, 0.55);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.meta li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: var(--fs-12);
  color: var(--text-2);
}

.meta .i {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.meta li.key {
  color: var(--red-2);
  border-color: rgba(239, 49, 36, 0.34);
  background: var(--red-dim);
}

.meta li.key .i {
  color: var(--red-2);
}

.step-page .meta-ok {
  display: none;
}

.step-page[data-key="false"] .meta-key {
  display: none;
}

.step-page[data-key="false"] .meta-ok {
  display: inline-flex;
}

.step-page .step-body {
  max-width: 780px;
  margin-top: clamp(24px, 3vw, 32px);
}

.page-head {
  max-width: 820px;
  margin-top: clamp(18px, 3vw, 28px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.page-head h1 {
  max-width: 20ch;
}

.page-lede {
  max-width: 62ch;
  margin-top: 16px;
  font-size: var(--fs-18);
  line-height: 1.55;
  color: var(--text-2);
}

.page-body {
  max-width: 820px;
  margin-top: clamp(28px, 3vw, 40px);
}

/* ---------- step content blocks ---------- */

.body-lg {
  max-width: 68ch;
  font-size: var(--fs-16);
  line-height: 1.65;
  color: var(--text-2);
}

.step-body > p + p {
  margin-top: 14px;
}

.need {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.need-label,
.note-label {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.need ul {
  display: grid;
  gap: 8px;
}

.need li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--text-2);
}

.need li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.callout {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.callout > .i {
  margin-top: 2px;
  color: var(--red-2);
}

.callout p {
  max-width: 72ch;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--text-2);
}

.callout strong {
  color: var(--text);
  font-weight: 500;
}

.callout a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--red-line);
}

.callout a:hover {
  text-decoration-color: var(--red-2);
}

.substeps {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.substep {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.ss-num {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--red-2);
}

.substep h3 {
  font-size: var(--fs-16);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.substep p {
  max-width: 60ch;
  margin-top: 6px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--muted);
}

.alert-inline {
  margin-top: 26px;
  padding: 20px 22px;
  border: 1px solid var(--red-line);
  border-radius: var(--radius-md);
  background: var(--red-dim);
}

.alert-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-2);
}

.alert-title .i {
  width: 15px;
  height: 15px;
}

.alert-inline p {
  max-width: 72ch;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--text-2);
}

.alert-inline strong {
  color: var(--text);
  font-weight: 500;
}

.note {
  margin-top: 28px;
  padding-left: 18px;
  border-left: 2px solid var(--line-strong);
}

.note--red {
  border-left-color: var(--red);
}

.note p {
  max-width: 70ch;
  font-size: var(--fs-14);
  line-height: 1.62;
  color: var(--text-2);
}

.sub-h {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  font-size: var(--fs-18);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.page-body > .sub-h:first-child {
  margin-top: 0;
}

.sub-h-hint {
  max-width: 66ch;
  margin-top: 6px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- chats ---------- */

.chat-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.chat {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.chat:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

.chat-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text-2);
}

.chat-icon .i {
  width: 16px;
  height: 16px;
}

.chat-main {
  flex: 1 1 250px;
  min-width: 0;
}

.chat-name {
  display: block;
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--text);
}

.chat-desc {
  display: block;
  margin-top: 3px;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.badge-red {
  color: var(--red-2);
  border-color: rgba(239, 49, 36, 0.36);
  background: var(--red-dim);
}

/* ---------- meeting ---------- */

.meeting {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.meeting-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.meeting-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--red-2);
}

.meeting-title {
  font-size: var(--fs-16);
  font-weight: 500;
}

.meeting-sub {
  margin-top: 2px;
  font-size: var(--fs-12);
  color: var(--muted);
}

.meeting-head .badge {
  margin-left: auto;
}

.verify {
  padding: 4px 20px;
}

.verify li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--text-2);
}

.verify li:last-child {
  border-bottom: 0;
}

.verify .vn {
  padding-top: 1px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.06em;
  color: var(--red-2);
}

/* ---------- resource ---------- */

.resource {
  margin-top: 26px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.resource:hover {
  border-color: rgba(239, 49, 36, 0.38);
  background: var(--surface-2);
}

.resource-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.res-src {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.resource h3 {
  max-width: 34ch;
  font-size: var(--fs-22);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.resource p {
  max-width: 62ch;
  margin-top: 10px;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
}

.res-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.res-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--red);
  font-size: var(--fs-14);
  color: var(--text);
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.res-link .i {
  width: 15px;
  height: 15px;
}

.res-link:hover {
  color: var(--red-2);
}

.res-link--muted {
  color: var(--text-2);
  border-bottom-color: var(--line-strong);
}

.res-link--muted:hover {
  color: var(--text);
  border-bottom-color: var(--line-strong);
}

/* ---------- recordings ---------- */

.video-list {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.video {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  margin: 0 -12px;
  padding: 15px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
  transition: background 0.15s var(--ease);
}

.video:hover {
  background: var(--surface);
}

.video-play {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-2);
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease),
    background 0.18s var(--ease);
}

.video-play .i {
  width: 15px;
  height: 15px;
  margin-left: 2px;
}

.video:hover .video-play {
  border-color: var(--red);
  background: var(--red-dim);
  color: var(--red-2);
}

.video-title {
  display: block;
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--text);
}

.video-desc {
  display: block;
  margin-top: 2px;
  font-size: var(--fs-14);
  color: var(--muted);
}

.video-arrow {
  color: var(--muted);
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}

.video:hover .video-arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

/* ---------- materials ---------- */

.info-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: 24px;
}

.info {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
}

.info-muted {
  border-top-style: dashed;
}

.info-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-2);
}

.info-muted .info-kicker {
  color: var(--muted);
}

.info h3 {
  margin-top: 10px;
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.35;
}

.info p {
  margin-top: 8px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--muted);
}

.inline-note {
  max-width: 72ch;
  margin-top: 22px;
  padding-left: 18px;
  border-left: 2px solid var(--red);
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--text-2);
}

.inline-note a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--red-line);
}

.inline-note a:hover {
  text-decoration-color: var(--red-2);
}

.link-list {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.link-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 56px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.15s var(--ease);
}

.link-row .i {
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.link-row:hover .i {
  color: var(--red-2);
}

.link-title {
  display: block;
  font-size: var(--fs-16);
  color: var(--text);
}

.link-sub {
  display: block;
  max-width: 64ch;
  margin-top: 2px;
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--muted);
}

.glossary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--line);
}

.glossary > div {
  padding: 16px 18px;
  background: var(--bg);
}

.glossary dt {
  font-size: var(--fs-14);
  font-weight: 500;
  color: var(--text);
}

.glossary dd {
  margin: 5px 0 0;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- contacts ---------- */

.contact-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-14);
}

.contact-table th {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted);
  white-space: nowrap;
}

.contact-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  color: var(--text-2);
}

.contact-table tr:last-child td {
  border-bottom: 0;
}

.contact-table td:first-child {
  min-width: 210px;
  color: var(--text);
}

.contact-table .chan {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 4px;
  margin: -2px -4px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--red-2);
  white-space: nowrap;
}

/* ---------- faq ---------- */

.faq {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:not([open]) > *:not(summary) {
  display: none;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: var(--fs-14);
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s var(--ease);
}

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

.faq summary:hover {
  color: #fff;
}

.faq-ic {
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.2s var(--ease), color 0.15s var(--ease);
}

.faq details[open] .faq-ic {
  transform: rotate(180deg);
  color: var(--red-2);
}

.faq details p {
  max-width: 68ch;
  padding-bottom: 18px;
  font-size: var(--fs-14);
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- pager ---------- */

.step-pager {
  display: flex;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.pager-link {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 96px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.pager-link:hover {
  border-color: rgba(239, 49, 36, 0.38);
  background: var(--surface-2);
}

.pager-link span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.pager-link span .i {
  width: 14px;
  height: 14px;
}

.pager-link b {
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.pager-next {
  align-items: flex-end;
  text-align: right;
}

.all-steps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 20px;
  padding: 6px 0;
  font-size: var(--fs-14);
  color: var(--muted);
  transition: color 0.15s var(--ease);
}

.all-steps:hover {
  color: var(--text);
}

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

@media (max-width: 1100px) {
  .step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hub-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hub-mark {
    display: none;
  }

  .hub-hero {
    padding-top: clamp(40px, 7vw, 64px);
  }

  .info-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .info {
    max-width: 560px;
  }

  .step-ghost {
    display: none;
  }

  .step-page .step-head {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .head-nav {
    display: none;
  }

  .head-inner .btn {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  :root {
    --header-h: 56px;
  }

  .brand-sub {
    display: none;
  }

  .hub-hero h1 {
    margin-top: 18px;
  }

  .hub-hero .lede {
    margin-top: 18px;
    font-size: var(--fs-16);
  }

  .alert-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 16px 18px;
  }

  .alert-tag {
    padding-top: 0;
  }

  .step-page h1,
  .page-head h1 {
    max-width: none;
  }

  .step-page .step-head {
    margin-top: 14px;
    padding-top: 22px;
  }

  .step-page h1 {
    font-size: clamp(30px, 7vw, 34px);
  }

  .page-head h1 {
    font-size: clamp(30px, 7vw, 34px);
  }

  .glossary {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-pager {
    flex-direction: column;
  }

  .pager-next {
    align-items: flex-start;
    text-align: left;
  }

  .contact-table,
  .contact-table tbody,
  .contact-table tr,
  .contact-table td {
    display: block;
    width: 100%;
  }

  .contact-table thead {
    display: none;
  }

  .contact-table tr {
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
  }

  .contact-table tr:last-child {
    border-bottom: 0;
  }

  .contact-table td {
    padding: 2px 0;
    border: 0;
  }

  .contact-table td + td {
    padding-top: 8px;
  }

  .contact-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .contact-table td:first-child {
    min-width: 0;
  }

  .contact-table .chan {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .step-grid,
  .link-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .step-card,
  .link-card {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .hero-actions .btn {
    width: 100%;
  }

  .hub-note {
    margin-top: 16px;
  }

  .substep {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .meeting-head {
    flex-wrap: wrap;
  }

  .meeting-head .badge {
    margin-left: 0;
  }

  .video {
    grid-template-columns: 40px minmax(0, 1fr) 18px;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
