* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: #101828;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

.site-wrap {
  width: min(100% - 32px, 920px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 0.94);
  border-bottom: 1px solid #edf1f7;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  color: #1d4ed8;
  font-weight: 900;
  cursor: pointer;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: #2f6bff;
  box-shadow: 0 0 0 4px rgb(47 107 255 / 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-link {
  border: 0;
  background: transparent;
  color: #344054;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
}

.nav-link-active {
  color: #1d4ed8;
}

.home-hero {
  background: #9dbcf6;
  padding: 34px 0 24px;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 28px;
  grid-template-columns: 0.95fr 1.05fr;
}

.hero-copy h1 {
  margin: 0;
  color: #0b1220;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
  font-weight: 950;
}

.eyebrow {
  margin: 0 0 12px;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle {
  max-width: 480px;
  margin: 14px 0 0;
  color: #1f2937;
  font-size: 15px;
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  min-height: 306px;
}

.rule-phone {
  position: absolute;
  width: 190px;
  min-height: 296px;
  border: 8px solid #101828;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 24px 44px rgb(16 24 40 / 0.25);
  padding: 18px 13px;
}

.phone-left {
  left: 92px;
  top: 8px;
  transform: rotate(16deg);
}

.phone-right {
  right: 88px;
  top: 34px;
  transform: rotate(-12deg);
}

.phone-top {
  width: 72px;
  height: 8px;
  margin: 0 auto 22px;
  border-radius: 99px;
  background: #475467;
}

.bubble {
  margin-top: 12px;
  border-radius: 14px;
  padding: 10px;
  color: #101828;
  font-size: 12px;
  font-weight: 800;
}

.bubble-soft {
  background: #f2f4f7;
}

.bubble-blue {
  background: #2f6bff;
  color: white;
}

.bubble-purple {
  background: #c7a7ff;
}

.bubble-dark {
  background: #344054;
  color: white;
}

.home-section {
  padding: 36px 0 22px;
}

.center-section {
  text-align: center;
}

.center-section h2,
.split-section h2 {
  margin: 0;
  color: #101828;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 950;
}

.center-section p,
.split-section p {
  max-width: 640px;
  margin: 10px auto 0;
  color: #475467;
  font-size: 15px;
  line-height: 1.72;
}

.split-section {
  display: grid;
  align-items: center;
  gap: 36px;
  grid-template-columns: 0.9fr 1.1fr;
  padding: 30px 0;
}

.reverse-section {
  grid-template-columns: 1.1fr 0.9fr;
}

.message-card {
  border-radius: 8px;
  background: #b7dbe4;
  padding: 22px;
  min-height: 220px;
}

.message-line {
  display: inline-block;
  border-radius: 999px;
  background: #1d4ed8;
  color: white;
  font-size: 13px;
  font-weight: 800;
  padding: 9px 12px;
}

.message-preview {
  margin-top: 20px;
  border-radius: 8px;
  background: white;
  color: #101828;
  font-weight: 800;
  padding: 28px 16px;
  text-align: center;
}

.message-code {
  width: max-content;
  max-width: 100%;
  margin: 16px 0 0 auto;
  border-radius: 999px;
  background: rgb(16 24 40 / 0.42);
  color: white;
  font-size: 12px;
  padding: 7px 10px;
}

.file-flow-card {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: 1fr auto 1fr;
  border-radius: 8px;
  background: #d9ecf2;
  padding: 18px;
}

.file-node {
  display: grid;
  gap: 6px;
  min-height: 92px;
  align-content: center;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
}

.file-node span {
  color: #101828;
  font-weight: 950;
}

.file-node small,
.file-rule-note {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
}

.locked-file {
  border-color: #2f6bff;
  background: #eff6ff;
}

.file-arrow {
  color: #1d4ed8;
  font-size: 22px;
  font-weight: 950;
}

.file-rule-note {
  grid-column: 1 / -1;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.72);
  padding: 8px 12px;
  text-align: center;
}

.home-cards {
  background: #f5f7fb;
  padding: 26px 0;
}

.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.trust-card {
  min-height: 184px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: white;
  padding: 16px;
  text-align: center;
  box-shadow: 0 10px 24px rgb(16 24 40 / 0.06);
}

.trust-illustration {
  position: relative;
  display: grid;
  width: 86px;
  height: 66px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 8px;
  background: #d9ecf2;
}

.trust-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
}

.trust-card p {
  margin: 7px 0 0;
  color: #667085;
  font-size: 12px;
  line-height: 1.62;
}

.mini-card {
  display: grid;
  gap: 8px;
  place-items: center;
}

.line,
.feed-line {
  display: block;
  height: 10px;
  border-radius: 99px;
}

.line.blue {
  width: 54px;
  background: #2f6bff;
}

.line.purple {
  width: 74px;
  background: #b991ff;
}

.line.dark {
  width: 42px;
  background: #101828;
}

.line.short {
  height: 9px;
}

.ban-ring {
  position: absolute;
  inset: 13px 20px;
  border: 4px solid #101828;
  border-radius: 999px;
  transform: rotate(-14deg);
}

.ban-ring::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 4px;
  border-radius: 99px;
  background: #101828;
  transform: translateY(-50%);
}

.toggle-track {
  position: absolute;
  left: 18px;
  top: 17px;
  width: 60px;
  height: 26px;
  border: 2px solid #101828;
  border-radius: 999px;
  background: #f7fbff;
}

.toggle-track span {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #2f6bff;
}

.clean-path {
  position: absolute;
  left: 25px;
  bottom: 18px;
  width: 46px;
  height: 12px;
  border-bottom: 5px solid #b991ff;
  border-radius: 0 0 999px 999px;
}

.spark {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #2f6bff;
}

.spark.one {
  right: 19px;
  top: 18px;
}

.spark.two {
  left: 20px;
  bottom: 18px;
  background: #101828;
}

.feed-line {
  position: absolute;
  left: 18px;
  width: 60px;
  background: #b991ff;
}

.feed-line.top {
  top: 18px;
  background: #2f6bff;
}

.feed-line.mid {
  top: 33px;
}

.feed-line.bottom {
  top: 48px;
  background: #101828;
}

.pause {
  position: absolute;
  top: 23px;
  width: 7px;
  height: 28px;
  border-radius: 99px;
  background: #101828;
}

.pause.one {
  right: 28px;
}

.pause.two {
  right: 16px;
}

.coin {
  position: absolute;
  left: 23px;
  top: 17px;
  width: 38px;
  height: 38px;
  border: 3px solid #101828;
  border-radius: 999px;
  background: #ffe58f;
}

.coin::after {
  content: "¥";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #101828;
  font-size: 18px;
  font-weight: 950;
}

.open-ring {
  position: absolute;
  right: 22px;
  top: 20px;
  width: 28px;
  height: 28px;
  border: 4px solid #2f6bff;
  border-left-color: transparent;
  border-radius: 999px;
}

.free-check {
  position: absolute;
  left: 42px;
  bottom: 17px;
  width: 34px;
  height: 17px;
  border-bottom: 6px solid #b991ff;
  border-left: 6px solid #b991ff;
  transform: rotate(-45deg);
  border-radius: 3px;
}

.globe-card {
  position: relative;
  min-height: 260px;
  border-radius: 8px;
  background: #b7dbe4;
  overflow: hidden;
}

.globe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  transform: translate(-50%, -50%);
  border: 3px solid #1d4ed8;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 46%, rgb(29 78 216 / 0.35) 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgb(29 78 216 / 0.35) 47% 53%, transparent 54%),
    #dbeafe;
}

.float-bubble {
  position: absolute;
  border: 2px solid #101828;
  border-radius: 12px;
  background: #f2f4f7;
}

.float-bubble.one {
  left: 48px;
  top: 46px;
  width: 90px;
  height: 36px;
}

.float-bubble.two {
  right: 52px;
  top: 84px;
  width: 108px;
  height: 40px;
}

.float-bubble.three {
  left: 84px;
  bottom: 58px;
  width: 122px;
  height: 42px;
}

.page-shell {
  width: min(100% - 32px, 720px);
  padding: 26px 0 62px;
}

.docs-page {
  width: min(100% - 32px, 880px);
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: 220px 1fr;
  padding: 28px 0 70px;
}

.docs-sidebar {
  position: sticky;
  top: 86px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 12px 28px rgb(16 24 40 / 0.05);
}

.docs-sidebar h1 {
  margin: 0 0 16px;
  color: #101828;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
}

.docs-sidebar nav {
  display: grid;
  gap: 4px;
}

.docs-sidebar a {
  border-radius: 8px;
  color: #475467;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 9px;
  text-decoration: none;
}

.docs-sidebar a:hover {
  background: #eef4ff;
  color: #1d4ed8;
}

.docs-content {
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgb(16 24 40 / 0.06);
}

.doc-section {
  padding: 22px;
  border-bottom: 1px solid #edf1f7;
}

.doc-section:last-child {
  border-bottom: 0;
}

.doc-section h2 {
  margin: 0 0 14px;
  color: #101828;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 950;
}

.doc-section h3 {
  margin: 8px 0 12px;
  color: #1d2939;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 950;
}

.doc-section p {
  margin: 10px 0 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.78;
}

.doc-callout {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  border-left: 4px solid #2f6bff;
  border-radius: 8px;
  background: #f5f8ff;
  padding: 12px 14px;
}

.doc-callout strong,
.doc-grid strong,
.principle-grid strong {
  color: #101828;
  font-weight: 950;
}

.doc-callout span,
.doc-grid span,
.principle-grid span {
  color: #475467;
  line-height: 1.7;
}

.flow-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.flow-list span {
  position: relative;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #f8fafc;
  color: #101828;
  font-weight: 900;
  padding: 10px 12px;
}

.flow-list span:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: -18px;
  transform: translateX(-50%);
  color: #2f6bff;
  font-weight: 950;
}

.doc-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.doc-grid div,
.principle-grid div {
  display: grid;
  gap: 6px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.usage-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 14px;
}

.usage-card {
  display: grid;
  gap: 12px;
  margin: 0;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.usage-copy {
  display: grid;
  gap: 6px;
}

.usage-copy span {
  width: max-content;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  padding: 5px 9px;
}

.usage-copy strong {
  color: #101828;
  font-size: 15px;
  font-weight: 950;
}

.usage-copy p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.mock-screen {
  display: grid;
  gap: 10px;
  min-height: 160px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  padding: 11px;
  box-shadow: 0 10px 22px rgb(16 24 40 / 0.06);
}

.mock-bar {
  display: flex;
  gap: 5px;
}

.mock-bar span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #d0d5dd;
}

.mock-bar span:first-child {
  background: #2f6bff;
}

.mock-title {
  color: #101828;
  font-size: 13px;
  font-weight: 950;
}

.mock-room-row,
.mock-file-box,
.mock-warning,
.mock-input-block,
.mock-file-output {
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.mock-room-row,
.mock-file-box,
.mock-warning {
  display: grid;
  gap: 6px;
}

.mock-room-row strong,
.mock-file-box strong,
.mock-warning strong {
  color: #101828;
  font-size: 13px;
}

.mock-room-row em,
.mock-file-box em,
.mock-warning span {
  color: #667085;
  font-style: normal;
  font-size: 12px;
}

.mock-input-block {
  display: grid;
  gap: 7px;
}

.mock-input-block span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: #dbeafe;
}

.mock-input-block .short {
  width: 58%;
}

.mock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mock-actions span {
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #344054;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.mock-actions .primary {
  border-color: #2f6bff;
  background: #2f6bff;
  color: #ffffff;
}

.mock-actions .danger {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.mock-file-output {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.term-list span,
.tag-grid span {
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
}

.compact-list {
  grid-template-columns: repeat(2, 1fr);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.principle-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}

.doc-ending {
  margin-top: 18px !important;
  border-radius: 8px;
  background: #101828;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 950;
  padding: 15px;
  text-align: center;
}

.page-title {
  margin: 0 0 18px;
  color: #101828;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 950;
}

.panel {
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 28px rgb(16 24 40 / 0.06);
}

.content-panel,
.form-panel {
  padding: 18px;
}

.content-panel h2,
.form-panel h2 {
  margin: 0 0 10px;
  color: #101828;
  font-size: 17px;
  font-weight: 950;
}

.content-panel p,
.form-panel p {
  color: #475467;
  line-height: 1.68;
}

.info-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.info-list div {
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.info-list strong,
.info-list span {
  display: block;
}

.info-list span {
  margin-top: 6px;
  color: #475467;
}

.form-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.auth-panel {
  display: grid;
  gap: 15px;
  max-width: 520px;
  padding: 20px;
}

.auth-heading {
  display: grid;
  gap: 8px;
}

.auth-heading span {
  color: #2f6bff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.auth-heading h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 950;
}

.auth-heading p,
.auth-switch {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf1f7;
  padding-top: 14px;
}

.auth-switch-compact {
  border-top: 0;
  padding-top: 0;
}

.auth-hints {
  display: grid;
  gap: 4px;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  font-size: 12px;
  line-height: 1.6;
  padding: 10px 12px;
}

.recovery-key-card {
  display: grid;
  gap: 12px;
  margin: 16px 0;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  padding: 16px;
}

.recovery-key-card strong {
  display: block;
  color: #101828;
  font-size: 16px;
  font-weight: 950;
}

.recovery-key-card p {
  margin: 4px 0 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.7;
}

.recovery-key-card code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  background: #ffffff;
  color: #1d4ed8;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  padding: 12px;
}

.recovery-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  background: #ffffff;
  color: #101828;
  outline: none;
  padding: 10px 11px;
}

.input:focus {
  border-color: #2f6bff;
  box-shadow: 0 0 0 3px rgb(47 107 255 / 0.13);
}

.btn {
  min-height: 40px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 14px;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.68;
}

.btn-primary {
  border: 1px solid #2f6bff;
  background: #2f6bff;
  color: white;
}

.btn-secondary {
  border: 1px solid #d0d5dd;
  background: white;
  color: #101828;
}

.btn-danger {
  border: 1px solid #e11d48;
  background: #e11d48;
  color: white;
}

.btn-sm {
  min-height: 36px;
  padding: 8px 13px;
  font-size: 14px;
}

.btn-soft-danger {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.input-sm {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 14px;
}

.room-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.room-toolbar span {
  color: #475467;
  font-size: 13px;
  font-weight: 850;
}

.room-toolbar strong {
  color: #1d4ed8;
}

.room-workspace {
  display: grid;
  align-items: start;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 248px;
}

.crypto-panel,
.compact-panel,
.file-panel {
  display: grid;
  gap: 12px;
}

.crypto-panel {
  padding: 15px;
}

.room-main-panel {
  display: grid;
  gap: 12px;
}

.file-panel {
  padding: 15px;
}

.file-panel p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.file-drop {
  display: grid;
  gap: 8px;
  border: 1px dashed #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
  color: #475467;
  cursor: pointer;
  padding: 12px;
}

.file-drop input {
  width: 100%;
  color: #475467;
  font-size: 13px;
}

.file-drop span {
  color: #101828;
  font-weight: 950;
}

.file-drop em {
  color: #667085;
  font-style: normal;
  font-size: 12px;
}

.compact-panel {
  padding: 13px;
}

.compact-panel > .btn {
  justify-self: start;
}

.management-panel {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.management-panel > .panel-title-row {
  padding: 13px 13px 10px;
}

.management-item {
  display: grid;
  gap: 10px;
  border-top: 1px solid #edf1f7;
  padding: 13px;
}

.management-item h3 {
  margin: 0;
  color: #101828;
  font-size: 15px;
  font-weight: 950;
}

.management-item p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.management-item > .btn {
  justify-self: start;
}

.room-side-panel {
  display: grid;
  gap: 12px;
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-title-row h2,
.compact-panel h2 {
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-weight: 950;
}

.panel-title-row span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
  padding: 5px 9px;
}

.compact-panel p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
}

.crypto-textarea {
  min-height: 112px;
  resize: vertical;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-form {
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.compact-secret {
  display: grid;
  gap: 5px;
  padding: 10px;
}

.compact-secret small {
  color: #667085;
  font-size: 12px;
  font-weight: 900;
}

.compact-secret span {
  overflow-wrap: anywhere;
}

.room-mini-note {
  margin: 0;
  color: #667085;
  font-size: 13px;
}

.risk-note {
  display: grid;
  gap: 6px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #475467;
  padding: 10px;
}

.risk-note strong {
  color: #101828;
  font-size: 13px;
  font-weight: 950;
}

.risk-note span {
  font-size: 12px;
  line-height: 1.6;
}

.group-guide {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.group-guide div {
  display: grid;
  gap: 8px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.group-guide strong {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 950;
}

.group-guide span {
  color: #344054;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.5;
}

.group-dashboard {
  display: grid;
  align-items: start;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 264px;
}

.group-main,
.group-side,
.room-list {
  display: grid;
  gap: 10px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 2px;
}

.section-heading h2 {
  margin: 0;
  color: #101828;
  font-size: 18px;
  font-weight: 950;
}

.section-heading p,
.section-heading span {
  margin: 4px 0 0;
  color: #667085;
  font-size: 13px;
}

.section-heading span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-weight: 900;
  padding: 6px 10px;
}

.room-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.room-card-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.room-card h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 950;
}

.room-card p,
.empty-state {
  color: #667085;
}

.room-card-main span {
  color: #2f6bff;
  font-size: 12px;
  font-weight: 900;
}

.room-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.join-result {
  display: grid;
  gap: 8px;
  min-height: 0;
  color: #475467;
  font-size: 13px;
  line-height: 1.6;
}

.join-result:empty {
  display: none;
}

.join-result strong,
.join-result span {
  display: block;
}

.join-result code {
  display: block;
  overflow-wrap: anywhere;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 950;
  padding: 10px;
}

.profile-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.profile-grid div {
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.profile-grid span,
.profile-grid strong {
  display: block;
}

.profile-grid span {
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.profile-grid strong {
  margin-top: 6px;
  color: #1d4ed8;
  font-size: 24px;
}

.profile-page {
  min-height: calc(100vh - 56px);
  background:
    linear-gradient(150deg, #eef4ff 0%, #f8fbff 42%, #ffffff 78%),
    #f8fafc;
  padding: 26px 0 66px;
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 18px;
}

.avatar-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 5px solid #ffffff;
  border-radius: 14px;
  background: #2f6bff;
  color: #ffffff;
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgb(16 24 40 / 0.12);
}

.profile-hero h1 {
  margin: 0;
  color: #101828;
  font-size: 24px;
  font-weight: 950;
}

.profile-hero p {
  margin: 7px 0 0;
  color: #475467;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  color: #344054;
  font-size: 14px;
}

.profile-meta span:first-child {
  font-weight: 950;
}

.profile-tabs {
  display: flex;
  gap: 30px;
  margin-bottom: 14px;
}

.profile-tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #475467;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  padding: 10px 0;
}

.profile-tabs button.active {
  border-bottom-color: #2f6bff;
  color: #101828;
  font-weight: 950;
}

.profile-layout {
  display: grid;
  align-items: start;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 328px;
}

.profile-main-card,
.profile-side-card {
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
  box-shadow: 0 12px 30px rgb(16 24 40 / 0.08);
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-title-row h2,
.profile-side-card h2,
.section-small-title {
  margin: 0;
  color: #101828;
  font-size: 18px;
  font-weight: 950;
}

.mini-outline,
.mini-primary {
  min-height: 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  padding: 5px 10px;
}

.mini-outline {
  border: 1px solid #2f6bff;
  background: #ffffff;
  color: #2f6bff;
}

.mini-primary {
  border: 1px solid #2f6bff;
  background: #2f6bff;
  color: #ffffff;
}

.points-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #f8fbff;
  padding: 13px;
}

.points-summary strong,
.points-summary span {
  display: block;
}

.points-summary strong {
  color: #101828;
  font-size: 21px;
  font-weight: 950;
}

.points-summary span {
  margin-top: 4px;
  color: #667085;
  font-size: 13px;
}

.points-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.points-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #98a2b3;
  font-size: 12px;
}

.points-step::before {
  content: "";
  position: absolute;
  left: -50%;
  right: 50%;
  top: 6px;
  height: 2px;
  background: #e4e7ec;
}

.points-step:first-child::before {
  display: none;
}

.points-step span {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 2px solid #d0d5dd;
  border-radius: 999px;
  background: #ffffff;
}

.points-step.active {
  color: #2f6bff;
}

.points-step.active span {
  border-color: #2f6bff;
  background: #2f6bff;
}

.points-log {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.points-log div {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 6px;
  background: #f8fafc;
  padding: 9px 10px;
}

.points-log strong {
  min-width: 86px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #ffffff;
  color: #101828;
  text-align: center;
  padding: 3px 8px;
}

.points-log span {
  color: #667085;
  font-size: 14px;
}

.section-small-title {
  margin-top: 22px;
}

.empty-permission {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 150px;
  margin-top: 12px;
  color: #667085;
  text-align: center;
}

.lock-illustration {
  position: relative;
  width: 92px;
  height: 70px;
}

.lock-illustration::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 12px;
  width: 36px;
  height: 34px;
  border: 4px solid #98a2b3;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.lock-illustration::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 34px;
  width: 48px;
  height: 30px;
  border: 3px solid #98a2b3;
  border-radius: 8px;
}

.link-button {
  border: 0;
  background: transparent;
  color: #2f6bff;
  cursor: pointer;
  font-weight: 900;
}

.side-note {
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.task-list {
  display: grid;
  margin: 14px 0;
}

.task-item {
  display: grid;
  align-items: center;
  gap: 12px;
  grid-template-columns: 36px 1fr auto;
  border-bottom: 1px solid #edf1f7;
  padding: 12px 0;
}

.task-item:last-child {
  border-bottom: 0;
}

.danger-zone {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  border-top: 1px solid #edf1f7;
  padding-top: 18px;
}

.danger-zone h3 {
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-weight: 950;
}

.danger-zone p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.6;
}

.account-link-row {
  margin-top: 10px;
  border-top: 1px solid #edf1f7;
  padding-top: 12px;
  text-align: center;
}

.danger-link {
  color: #be123c;
  font-size: 13px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgb(16 24 40 / 0.42);
  padding: 18px;
}

.account-modal {
  display: grid;
  gap: 14px;
  width: min(100%, 430px);
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  box-shadow: 0 24px 60px rgb(16 24 40 / 0.22);
}

.modal-heading {
  display: grid;
  gap: 6px;
}

.modal-heading span {
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 950;
}

.modal-heading h2 {
  margin: 0;
  color: #101828;
  font-size: 22px;
  font-weight: 950;
}

.modal-heading p {
  margin: 0;
  color: #667085;
  font-size: 13px;
  line-height: 1.7;
}

.danger-hints {
  border: 1px solid #fecdd3;
  background: #fff1f2;
  color: #9f1239;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.task-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #2f6bff 0 28%, transparent 30%),
    #eef4ff;
}

.task-item strong,
.task-item span {
  display: block;
}

.task-item strong {
  color: #101828;
  font-weight: 950;
}

.task-item span {
  margin-top: 3px;
  color: #2f6bff;
  font-size: 13px;
}

.task-item button {
  min-width: 58px;
  border: 0;
  border-radius: 6px;
  background: #2f6bff;
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 9px;
}

.task-item button.done {
  background: #f2f4f7;
  color: #98a2b3;
}

.secret-box {
  border-radius: 8px;
  background: #f8fafc;
  color: #475467;
  font-size: 13px;
  line-height: 1.7;
  padding: 12px;
}

.secret-box span {
  color: #1d4ed8;
  font-weight: 900;
  word-break: break-all;
}

.rule-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #667085;
}

.rule-line strong {
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  padding: 5px 9px;
}

.member-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #475467;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

.member-pill em {
  border-radius: 999px;
  background: #ffffff;
  color: #667085;
  font-style: normal;
  font-size: 11px;
  font-weight: 950;
  padding: 2px 7px;
}

.member-pill-admin {
  background: #eef4ff;
  color: #1d4ed8;
}

.member-pill-admin em {
  background: #2f6bff;
  color: #ffffff;
}

.site-footer {
  background: #342d3b;
  color: white;
  margin-top: 38px;
  padding: 26px 0;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.5fr 1fr 1fr;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgb(255 255 255 / 0.74);
  font-size: 13px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 20;
  max-width: calc(100vw - 32px);
  transform: translateX(-50%);
  border-radius: 8px;
  background: #101828;
  color: white;
  padding: 10px 14px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgb(16 24 40 / 0.2);
}

.toast:empty,
.hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: center;
    flex-direction: row;
    padding: 12px 0;
  }

  .brand {
    flex: 0 0 auto;
  }

  .header-right {
    min-width: 0;
    overflow-x: auto;
  }

  .site-nav {
    display: flex;
    width: max-content;
    gap: 12px;
  }

  .nav-link {
    flex: 0 0 auto;
  }

  .nav-link-active {
    background: transparent;
    color: #1d4ed8;
  }

  .home-hero {
    padding: 34px 0 22px;
  }

  .hero-grid,
  .split-section,
  .reverse-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .phone-left {
    left: 22px;
  }

  .phone-right {
    right: 20px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .docs-page {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
  }

  .docs-sidebar nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .doc-grid,
  .compact-list,
  .principle-grid,
  .usage-grid,
  .room-workspace,
  .group-guide,
  .group-dashboard,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .profile-tabs {
    overflow-x: auto;
  }
}

@media (max-width: 540px) {
  .site-wrap {
    width: min(100% - 24px, 920px);
  }

  .site-wrap.page-shell {
    width: min(100% - 24px, 720px);
  }

  .site-nav {
    font-size: 12px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-visual {
    min-height: 270px;
  }

  .rule-phone {
    width: 160px;
    min-height: 252px;
    border-width: 8px;
    padding: 18px 12px;
  }

  .phone-left {
    left: 18px;
    transform: rotate(10deg);
  }

  .phone-right {
    right: 18px;
    transform: rotate(-8deg);
  }

  .phone-top {
    margin-bottom: 16px;
  }

  .bubble {
    margin-top: 12px;
    padding: 10px;
    font-size: 12px;
  }

  .profile-grid,
  .inline-form {
    grid-template-columns: 1fr;
  }

  .home-cards {
    padding: 22px 0;
  }

  .card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .trust-card {
    min-height: 132px;
    padding: 9px 4px;
  }

  .trust-illustration {
    width: 54px;
    height: 42px;
    margin-bottom: 7px;
    overflow: hidden;
  }

  .mini-card,
  .toggle-track,
  .clean-path,
  .spark,
  .feed-line,
  .pause,
  .coin,
  .open-ring,
  .free-check,
  .ban-ring {
    scale: 0.62;
  }

  .trust-card h3 {
    font-size: 13px;
  }

  .trust-card p {
    font-size: 9px;
    line-height: 1.35;
  }

  .group-guide {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .group-guide div {
    min-height: 88px;
    gap: 6px;
    padding: 10px 8px;
  }

  .group-guide strong {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .group-guide span {
    font-size: 12px;
    line-height: 1.35;
  }

  .file-flow-card {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    padding: 14px;
  }

  .file-node {
    min-height: 86px;
    padding: 12px;
  }

  .file-node span {
    overflow-wrap: anywhere;
    font-size: 14px;
  }

  .file-arrow {
    font-size: 18px;
    transform: none;
  }

  .file-rule-note {
    grid-column: 1 / -1;
    font-size: 11px;
    padding: 7px 8px;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .room-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
