/* TCC 会員・提案画面デザインシステム v2.2 準拠（2026-12-02 TSHキット共通骨格） */
:root {
  --ds-brand: #0f5c63;
  --ds-brand-dark: #0b484e;
  --ds-brand-ink: #ffffff;
  --ds-gold: #99865b;
  --ds-gold-dark: #756440;
  --ds-gold-line: #c8bfa6;
  --ds-selected: #f2eee3;
  --ds-mine-bg: #eaf3f3;

  --ds-ink: #2d3538;
  --ds-sub: #5c6366;
  --ds-faint: #767971;
  --ds-ground: #f7f5ef;
  --ds-surface: #ffffff;
  --ds-soft: #eee9dd;
  --ds-line: #dcd6cd;
  --ds-line-light: #e6e0d2;

  --ds-action-green: #237c3a;
  --ds-action-gold: #c9a227;
  --ds-green-bg: #e8f7f2;
  --ds-green-ink: #0e6b4e;
  --ds-warn-bg: #fff5e8;
  --ds-warn-ink: #9a5b13;

  --ds-font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "BIZ UDPGothic", Meiryo, sans-serif;
  --ds-font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Shippori Mincho B1", serif;

  --ds-shadow: 0 10px 30px rgba(45, 53, 56, 0.08);
  --ds-shadow-card: 0 2px 10px rgba(45, 53, 56, 0.05);
  --ds-shadow-modal: 0 18px 54px rgba(15, 25, 28, 0.28);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--ds-ground);
  color: var(--ds-ink);
  font-family: var(--ds-font);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
a {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--ds-gold-dark);
  outline-offset: 3px;
}

.num {
  font-family: var(--ds-font);
  font-variant-numeric: tabular-nums;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ds-brand);
  color: #ffffff;
  padding: 10px 16px;
  z-index: 100;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}

.skip-link:focus {
  left: 0;
}

/* Header & Brand */
.recipient-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--ds-line-light);
  padding: 10px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--ds-sub);
  letter-spacing: 0.06em;
}

.recipient-bar strong {
  color: var(--ds-ink);
  font-weight: 700;
}

.brand-bar {
  background: var(--ds-brand);
  color: var(--ds-brand-ink);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-sub {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

/* Hero */
.hero {
  max-width: 880px;
  margin: 0 auto;
  padding: 52px 24px 44px;
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  color: var(--ds-brand);
  border-top: 1px solid var(--ds-gold-line);
  border-bottom: 1px solid var(--ds-gold-line);
  padding: 8px 16px;
  margin: 0 0 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  font-family: var(--ds-font-serif);
  font-size: clamp(21px, 4vw, 37px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--ds-ink);
}

.hero h1 em {
  font-style: normal;
  color: var(--ds-brand);
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 2;
  color: var(--ds-sub);
  text-wrap: balance;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ds-surface);
  border: 1px solid var(--ds-gold-line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ds-ink);
  box-shadow: var(--ds-shadow-card);
  max-width: 100%;
  text-align: left;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ds-action-green);
  flex-shrink: 0;
}

.status-dot.is-upcoming {
  background: var(--ds-gold-dark);
}

/* Sticky Navigation */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
}

.nav {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 8px;
}

.nav::-webkit-scrollbar {
  display: none;
}

.nav a {
  flex: 1 0 auto;
  min-width: 86px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-sub);
  border-bottom: 3px solid transparent;
  padding: 0 12px;
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.nav a:hover {
  color: var(--ds-brand);
}

.nav a.active {
  color: var(--ds-brand);
  border-bottom-color: var(--ds-brand);
  font-weight: 700;
}

/* Sections */
.section {
  padding: 64px 20px;
}

.section.alt {
  background: var(--ds-surface);
  border-top: 1px solid var(--ds-line-light);
  border-bottom: 1px solid var(--ds-line-light);
}

.section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.section-head {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-head.is-left {
  margin: 0 0 24px;
  text-align: left;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ds-gold-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

.label svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.section h2 {
  font-family: var(--ds-font-serif);
  font-size: clamp(24px, 4.8vw, 34px);
  line-height: 1.5;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--ds-ink);
}

.section h2 em {
  font-style: normal;
  color: var(--ds-brand);
}

.desc {
  font-size: 16px;
  line-height: 1.9;
  color: var(--ds-sub);
  margin: 0;
}

.section-head:not(.is-left) .desc {
  max-width: 580px;
  margin-inline: auto;
  text-wrap: balance;
}

/* Overview 3 cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-card {
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: var(--ds-shadow-card);
}

.section.alt .info-card {
  background: var(--ds-ground);
}

.card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ds-brand);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 18px;
  line-height: 1.45;
  margin: 0 0 10px;
  color: var(--ds-ink);
}

.info-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ds-sub);
}

/* Split layout for Phase Roadmaps */
.phase-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
}

.step-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-tab {
  width: 100%;
  text-align: left;
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  padding: 15px 16px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.step-tab:hover {
  border-color: var(--ds-brand);
}

.step-tab[aria-selected="true"] {
  background: var(--ds-mine-bg);
  border: 2px solid var(--ds-brand);
  box-shadow: var(--ds-shadow-card);
}

.step-badge {
  flex-shrink: 0;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ds-soft);
  color: var(--ds-ink);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.step-tab[aria-selected="true"] .step-badge {
  background: var(--ds-brand);
  color: #ffffff;
}

.step-tab-body strong {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ds-ink);
  margin-bottom: 3px;
}

.step-tab-body small {
  display: block;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ds-sub);
}

.phase-detail-card {
  background: var(--ds-ground);
  border: 1px solid var(--ds-gold-line);
  border-radius: 14px;
  padding: 24px 24px;
  box-shadow: var(--ds-shadow-card);
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--ds-green-bg);
  color: var(--ds-green-ink);
  border: 1px solid rgba(14, 107, 78, 0.25);
  margin-bottom: 12px;
}

.phase-badge.is-later {
  background: var(--ds-selected);
  color: var(--ds-gold-dark);
  border-color: var(--ds-gold-line);
}

.phase-detail-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ds-ink);
}

.phase-summary {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ds-sub);
}

.phase-spec-list {
  margin: 0;
  display: grid;
  gap: 12px;
}

.phase-spec-item {
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  padding: 12px 14px;
}

.phase-spec-item dt {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ds-brand);
  margin-bottom: 4px;
}

.phase-spec-item dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ds-ink);
}

/* Experience Box (A2A-style interactive panel + visual mock) */
.exp-box {
  background: var(--ds-surface);
  border: 1px solid var(--ds-gold-line);
  border-radius: 16px;
  padding: 30px 26px;
  box-shadow: var(--ds-shadow-card);
}

.a2a-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.a2a-step-btn {
  text-align: left;
  background: var(--ds-ground);
  border: 1px solid var(--ds-line);
  border-radius: 10px;
  padding: 14px 14px;
  cursor: pointer;
}

.a2a-step-btn[aria-selected="true"] {
  background: var(--ds-mine-bg);
  border: 2px solid var(--ds-brand);
}

.a2a-step-btn span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ds-brand);
  margin-bottom: 4px;
}

.a2a-step-btn strong {
  display: block;
  font-size: 15px;
  line-height: 1.45;
  color: var(--ds-ink);
}

.a2a-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 20px;
  align-items: start;
}

.a2a-panel {
  background: var(--ds-ground);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 20px 22px;
}

.a2a-panel h4 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ds-brand);
}

.a2a-panel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ds-ink);
}

.a2a-next-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ds-brand);
  background: var(--ds-surface);
  color: var(--ds-brand);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.a2a-next-btn:hover {
  background: var(--ds-brand);
  color: #ffffff;
}

.a2a-panel p.a2a-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ds-faint);
}

/* Interactive Night Call & Morning Front Desk Mock */
.ai-chat-mock {
  background: #181c1d;
  border: 1px solid #2e383a;
  border-radius: 16px;
  box-shadow: var(--ds-shadow);
  overflow: hidden;
  color: #f3f0e8;
}

.ai-chat-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: #111617;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-chat-bar-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: #f3f0e8;
}

.ai-sparkle {
  color: #9be7c4;
}

.ai-chat-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(15, 92, 99, 0.45);
  border: 1px solid rgba(155, 231, 196, 0.38);
  color: #9be7c4;
}

.ai-chat-body {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-msg-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ai-tool-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  background: #102624;
  border: 1px solid #21534d;
  color: #9be7c4;
  font-size: 12px;
  line-height: 1.5;
}

.ai-tool-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.ai-msg-row.is-user {
  display: flex;
  justify-content: flex-end;
}

.ai-user-bubble {
  max-width: 88%;
  background: #2c3538;
  color: #f5f3ee;
  padding: 9px 14px;
  border-radius: 16px 16px 4px 16px;
  font-size: 13.5px;
  line-height: 1.6;
}

.ai-bot-bubble {
  max-width: 92%;
  background: #143639;
  border: 1px solid #266065;
  color: #f5f3ee;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 4px;
  font-size: 13.5px;
  line-height: 1.65;
}

.ai-tcc-card {
  background: #faf7f0;
  color: #2d3538;
  border: 1.5px solid #c8bfa6;
  border-radius: 14px;
  padding: 14px;
}

.ai-tcc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e6e0d2;
}

.ai-tcc-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ds-brand);
}

.ai-tcc-brand img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ai-tcc-avail {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--ds-warn-bg);
  color: var(--ds-warn-ink);
  border: 1px solid rgba(154, 91, 19, 0.25);
  white-space: nowrap;
}

.ai-tcc-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ds-ink);
}

.ai-tcc-main strong {
  font-size: 17px;
  color: var(--ds-brand);
}

.ai-front-lines {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ds-ink);
}

.ai-slot-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ai-slot-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--ds-gold-line);
  color: var(--ds-ink);
}

.ai-slot-chip.is-selected {
  background: var(--ds-brand);
  border-color: var(--ds-brand);
  color: #ffffff;
}

[data-show-from][hidden] {
  display: none;
}

/* Architecture SVG & Safety Guards */
.arch-card {
  background: var(--ds-ground);
  border: 1px solid var(--ds-gold-line);
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 28px;
}

.arch-svg {
  width: 100%;
  height: auto;
  display: block;
}

.guard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.guard-card {
  background: var(--ds-ground);
  border: 1px solid var(--ds-line);
  border-left: 4px solid var(--ds-brand);
  border-radius: 10px;
  padding: 18px 18px;
}

.guard-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ds-brand);
}

.guard-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ds-ink);
}

/* Accordion details */
.faq-details {
  background: var(--ds-ground);
  border: 1px solid var(--ds-gold-line);
  border-radius: 10px;
  padding: 14px 18px;
}

.faq-details summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ds-brand);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-details summary::after {
  content: "＋";
  font-size: 18px;
  color: var(--ds-gold-dark);
}

.faq-details[open] summary::after {
  content: "－";
}

.faq-list {
  margin: 16px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--ds-line);
  display: grid;
  gap: 14px;
}

.faq-item dt {
  font-weight: 700;
  font-size: 15px;
  color: var(--ds-ink);
  margin-bottom: 4px;
}

.faq-item dd {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ds-sub);
}

/* Cost Switcher & Comparison */
.cost-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 24px;
}

.cost-tab {
  min-height: 54px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--ds-gold-line);
  background: var(--ds-surface);
  color: var(--ds-ink);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.4;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.cost-tab:hover {
  border-color: var(--ds-brand);
}

.cost-tab[aria-selected="true"] {
  background: var(--ds-brand);
  border-color: var(--ds-brand);
  color: #ffffff;
}

.cost-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 20px;
  margin-bottom: 24px;
}

.cost-card,
.cost-compare-card,
.sms-box {
  background: var(--ds-surface);
  border: 1px solid var(--ds-line);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: var(--ds-shadow-card);
}

.cost-compare-card {
  border: 2px solid var(--ds-brand);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cost-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ds-gold-dark);
  margin-bottom: 6px;
}

.cost-total {
  margin: 0 0 14px;
  font-family: var(--ds-font-serif);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  color: var(--ds-brand);
  line-height: 1.3;
}

.cost-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ds-line-light);
}

.cost-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ds-line-light);
  font-size: 14.5px;
  line-height: 1.5;
}

.cost-rows li span:first-child {
  color: var(--ds-sub);
}

.cost-rows li strong {
  color: var(--ds-ink);
  white-space: nowrap;
}

.cost-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ds-faint);
}

.compare-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--ds-green-bg);
  color: var(--ds-green-ink);
  border: 1px solid rgba(14, 107, 78, 0.22);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cost-compare-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--ds-ink);
}

.cost-compare-card p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ds-sub);
}

.compare-metric {
  background: var(--ds-ground);
  border-radius: 10px;
  padding: 14px 16px;
  display: grid;
  gap: 6px;
}

.compare-metric div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.compare-metric strong {
  color: var(--ds-brand);
}

.sms-box {
  border-left: 4px solid var(--ds-gold);
}

.sms-box h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--ds-ink);
}

.sms-box p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ds-sub);
}

/* Timeline & Requests */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.timeline-card {
  background: var(--ds-ground);
  border: 1px solid var(--ds-line);
  border-radius: 12px;
  padding: 20px 18px;
}

.timeline-step {
  display: inline-block;
  background: var(--ds-selected);
  color: var(--ds-gold-dark);
  border: 1px solid var(--ds-gold-line);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.timeline-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--ds-ink);
}

.timeline-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ds-sub);
}

.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.request-card {
  background: var(--ds-surface);
  border: 2px solid var(--ds-brand);
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: var(--ds-shadow-card);
}

.request-tag {
  display: inline-block;
  background: var(--ds-brand);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.request-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  color: var(--ds-ink);
}

.request-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ds-sub);
}

/* Footer */
.footer {
  background: var(--ds-brand);
  color: #ffffff;
  text-align: center;
  padding: 40px 20px 48px;
}

.footer img {
  height: 32px;
  width: auto;
  margin: 0 auto 14px;
}

.footer p {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.back-top {
  display: inline-block;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 14px;
}

/* Subtle Speaker Memo Popover */
.memo-fab {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 30;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ds-gold-line);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ds-sub);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--ds-shadow-card);
  opacity: 0.85;
  transition: opacity 0.16s ease;
}

.memo-fab:hover {
  opacity: 1;
  color: var(--ds-brand);
}

dialog.memo-popover {
  position: fixed;
  inset: auto 14px 58px auto;
  margin: 0;
  width: min(90vw, 350px);
  border: 1px solid var(--ds-gold-line);
  border-radius: 12px;
  padding: 16px;
  background: var(--ds-surface);
  color: var(--ds-ink);
  box-shadow: var(--ds-shadow-modal);
}

.memo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.memo-head h2 {
  margin: 0;
  font-size: 15px;
  color: var(--ds-brand);
}

.memo-close {
  border: 1px solid var(--ds-line);
  background: var(--ds-ground);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}

.memo-list {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--ds-sub);
}

.memo-goals {
  margin: 0;
  padding: 10px 12px;
  background: var(--ds-ground);
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ds-ink);
}

/* Responsive */
@media (max-width: 900px) {
  .phase-split,
  .a2a-stage,
  .cost-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 700px) {
  .grid-3,
  .guard-grid,
  .timeline-grid,
  .request-grid,
  .a2a-steps,
  .cost-tabs {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 16px;
  }

  .hero {
    padding: 36px 16px 32px;
  }

  .exp-box {
    padding: 22px 16px;
  }
}
