.persona-page {
  --persona-accent: #2563eb;
  --persona-soft: #eaf2ff;
  --persona-deep: #112f62;
}

.persona-page.interior-page {
  --persona-accent: #c36b2c;
  --persona-soft: #fff1e5;
  --persona-deep: #5d3218;
}

.persona-page.moving-page {
  --persona-accent: #5265d9;
  --persona-soft: #eef0ff;
  --persona-deep: #273269;
}

.persona-page.sales-page {
  --persona-accent: #16805a;
  --persona-soft: #e8f7f0;
  --persona-deep: #164f3c;
}

.persona-main {
  overflow: hidden;
}

.persona-hero {
  position: relative;
  padding: 54px 0 70px;
}

.persona-hero::before {
  position: absolute;
  top: -240px;
  left: 50%;
  width: 760px;
  height: 560px;
  content: "";
  background: radial-gradient(circle, color-mix(in srgb, var(--persona-accent) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.persona-hero-grid {
  position: relative;
  display: grid;
  gap: 34px;
}

.persona-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--persona-accent);
  font-size: 0.78rem;
  font-weight: 800;
}

.persona-kicker::before {
  width: 26px;
  height: 2px;
  content: "";
  background: currentColor;
}

.persona-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 13vw, 5.6rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.persona-copy > p:not(.persona-kicker) {
  max-width: 30rem;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.72;
}

.persona-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.persona-primary,
.persona-secondary {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 17px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 800;
}

.persona-primary {
  color: #fff;
  background: var(--persona-accent);
  box-shadow: 0 15px 35px color-mix(in srgb, var(--persona-accent) 24%, transparent);
}

.persona-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.room-shell {
  position: relative;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(23, 32, 51, 0.13);
}

.room-shell::before {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 9px;
  height: 9px;
  content: "";
  background: #4ac78a;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(74, 199, 138, 0.13);
}

.room-head {
  padding: 3px 34px 14px 3px;
  border-bottom: 1px solid var(--line);
}

.room-head small,
.room-head strong {
  display: block;
}

.room-head small {
  color: var(--persona-accent);
  font-family: Inter, sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.room-head strong {
  margin-top: 4px;
  font-size: 1rem;
}

.room-people {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 2px 6px;
}

.room-people span {
  padding: 5px 8px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.room-people b {
  margin-left: auto;
  color: var(--persona-accent);
  font-size: 0.7rem;
}

.room-chat {
  display: grid;
  gap: 11px;
  padding: 15px 2px 2px;
}

.room-message {
  max-width: 86%;
}

.room-message small {
  display: block;
  margin: 0 0 4px 4px;
  color: var(--muted-light);
  font-size: 0.64rem;
  font-weight: 700;
}

.room-message p {
  margin: 0;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 5px 15px 15px 15px;
  font-size: 0.78rem;
  line-height: 1.55;
}

.room-message.mine {
  justify-self: end;
}

.room-message.mine small {
  text-align: right;
}

.room-message.mine p {
  color: #fff;
  background: var(--persona-accent);
  border-color: var(--persona-accent);
  border-radius: 15px 5px 15px 15px;
}

.room-system {
  color: var(--muted-light);
  text-align: center;
  font-size: 0.68rem;
}

.persona-section {
  padding: 76px 0;
}

.persona-section.white {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.persona-heading {
  margin-bottom: 28px;
}

.persona-heading small {
  color: var(--persona-accent);
  font-family: Inter, sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.persona-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.use-grid {
  display: grid;
  gap: 10px;
}

.use-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.white .use-card {
  background: var(--bg);
}

.use-number {
  color: var(--persona-accent);
  font-family: Inter, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.use-card strong {
  display: block;
  margin-top: auto;
  font-size: 1.13rem;
  letter-spacing: -0.04em;
}

.use-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.65;
}

.flow-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: var(--ink-deep);
  border-radius: 26px;
}

.flow-step {
  position: relative;
  padding: 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-step:last-child {
  border-bottom: 0;
}

.flow-step span {
  color: color-mix(in srgb, var(--persona-accent) 74%, white);
  font-family: Inter, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.flow-step strong {
  display: block;
  margin-top: 24px;
  font-size: 1.05rem;
}

.flow-step p {
  margin: 7px 0 0;
  color: #9eabc0;
  font-size: 0.8rem;
  line-height: 1.6;
}

.trust-panel {
  display: grid;
  gap: 26px;
  padding: 28px 24px;
  color: #fff;
  background: var(--persona-deep);
  border-radius: 28px;
}

.trust-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.trust-copy p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.trust-list {
  display: grid;
  gap: 9px;
}

.trust-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
}

.trust-item span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--persona-deep);
  background: #fff;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.trust-item strong {
  font-size: 0.84rem;
}

.related-grid {
  display: grid;
  gap: 9px;
}

.related-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 800;
}

.related-grid a:hover {
  color: var(--persona-accent);
  border-color: color-mix(in srgb, var(--persona-accent) 36%, var(--line));
}

.persona-cta {
  padding: 70px 0 80px;
  color: #fff;
  text-align: center;
  background: var(--ink-deep);
}

.persona-cta h2 {
  margin: 0;
  font-size: clamp(2.2rem, 10vw, 4.3rem);
  letter-spacing: -0.065em;
  line-height: 1.08;
}

.persona-cta p {
  margin: 15px 0 25px;
  color: #9eabc0;
}

.persona-cta .persona-primary {
  background: var(--persona-accent);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted-light);
  font-size: 0.78rem;
  font-weight: 700;
}

.breadcrumb a:hover {
  color: var(--persona-accent);
}

@media (min-width: 760px) {
  .persona-hero {
    padding: 88px 0 100px;
  }

  .persona-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
    align-items: center;
    gap: 70px;
  }

  .room-shell {
    padding: 22px;
    transform: rotate(1.2deg);
  }

  .persona-section {
    padding: 104px 0;
  }

  .persona-heading {
    margin-bottom: 38px;
  }

  .use-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .use-card {
    min-height: 240px;
    padding: 26px;
  }

  .flow-panel {
    grid-template-columns: repeat(4, 1fr);
  }

  .flow-step {
    min-height: 220px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }

  .flow-step:last-child {
    border-right: 0;
  }

  .trust-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    align-items: center;
    gap: 70px;
    padding: 46px;
  }

  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .persona-cta {
    padding: 102px 0 112px;
  }
}

.link-page .persona-hero {
  min-height: calc(100vh - 70px);
  display: grid;
  align-items: center;
}

.link-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 8px 11px;
  color: var(--positive);
  background: var(--positive-soft);
  border: 1px solid #cbeadb;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.link-status::before {
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.link-canvas {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(56, 189, 248, 0.26), transparent 34%),
    var(--ink-deep);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(23, 32, 51, 0.18);
}

.link-canvas > small {
  color: #92a3bc;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.link-preview-card {
  margin-top: 48px;
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border-radius: 18px;
  transform: rotate(-1.2deg);
}

.link-preview-card span,
.link-preview-card strong,
.link-preview-card small {
  display: block;
}

.link-preview-card span {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
}

.link-preview-card strong {
  margin-top: 8px;
  font-size: 1.1rem;
}

.link-preview-card small {
  overflow: hidden;
  margin-top: 18px;
  padding: 11px;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
