:root {
  color-scheme: light;
  --black: #1d1d1f;
  --black-2: #000;
  --gray-1: #6e6e73;
  --gray-2: #86868b;
  --gray-3: #d2d2d7;
  --gray-4: #e8e8ed;
  --gray-5: #f5f5f7;
  --white: #fff;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #248a3d;
  --red: #d70015;
  --orange: #b54708;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .08);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, .06);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--black);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Helvetica Neue", "Microsoft YaHei", Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 52px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .78);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.02em;
}

.brand span {
  padding-left: 9px;
  border-left: 1px solid var(--gray-3);
  color: var(--gray-1);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--black);
  font-size: 12px;
}

nav a,
.link-button {
  transition: color .18s ease;
}

nav a:hover,
.link-button:hover {
  color: var(--blue);
}

.admin-link {
  padding: 7px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
}

.admin-link:hover {
  color: var(--white);
  background: var(--blue-hover);
}

main {
  width: 100%;
  margin: 0 auto;
}

.hero {
  min-height: 880px;
  padding: 106px 24px 72px;
  display: grid;
  justify-items: center;
  align-content: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(0, 113, 227, .11), transparent 32%),
    linear-gradient(180deg, #fff 0%, #fbfbfd 78%, #f5f5f7 100%);
}

.hero-copy {
  width: min(920px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .025em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: inherit;
  letter-spacing: -.045em;
}

h1 {
  margin: 17px 0 26px;
  font-size: clamp(58px, 7.2vw, 104px);
  line-height: .96;
  font-weight: 720;
}

h1 span {
  display: inline-block;
  background: linear-gradient(90deg, #0071e3 0%, #6b48ff 52%, #bf3d88 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.poem {
  width: min(780px, 100%);
  margin: 42px auto 0;
  padding: 30px 34px;
  display: grid;
  gap: 8px;
  color: #3a3a3c;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  font-family: "Songti SC", "STSong", "Noto Serif TC", serif;
  font-size: clamp(17px, 2.1vw, 23px);
  line-height: 1.6;
}

.poem strong {
  font-weight: 600;
}

.hero-actions {
  margin: 32px 0 52px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.button {
  min-height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  color: var(--black);
  background: var(--gray-4);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: background .18s ease, color .18s ease, transform .18s ease,
    box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .42;
  transform: none;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-hover);
}

.button.ghost {
  color: var(--blue);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.button.ghost:hover {
  color: var(--white);
  background: var(--blue);
}

.button.gold {
  color: var(--white);
  background: var(--blue);
}

.button.full {
  width: 100%;
}

.terms-card {
  width: min(980px, 100%);
  padding: 12px 28px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.card-label {
  grid-column: 1 / -1;
  margin: 7px 0 2px;
  color: var(--gray-1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-align: center;
}

.metric {
  min-height: 106px;
  padding: 23px 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid var(--gray-4);
}

.metric:nth-of-type(4) {
  border-right: 0;
}

.metric span {
  color: var(--gray-1);
  font-size: 13px;
}

.metric b {
  font-size: clamp(23px, 2.5vw, 34px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -.035em;
}

.metric.warning b {
  color: var(--orange);
}

.terms-card .fineprint {
  grid-column: 1 / -1;
  margin: 8px auto 0;
  max-width: 740px;
  text-align: center;
}

.fineprint,
small {
  color: var(--gray-1);
  font-size: 12px;
  line-height: 1.6;
}

.flow-strip {
  width: min(1120px, calc(100% - 48px));
  margin: -28px auto 112px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.flow-strip div {
  min-height: 104px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--gray-5);
  border-radius: var(--radius-md);
}

.flow-strip i {
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 650;
}

.flow-strip span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.borrow-guide {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 96px;
}

.guide-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.guide-heading h2 {
  margin-bottom: 14px;
}

.guide-heading > p:last-child {
  margin: 0;
  color: var(--gray-1);
  font-size: 17px;
}

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

.guide-grid article {
  min-height: 280px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--gray-5);
  border-radius: var(--radius-lg);
}

.guide-grid article > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.guide-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.08;
  font-weight: 650;
}

.guide-grid p {
  margin: 0;
  color: var(--gray-1);
  font-size: 13px;
  line-height: 1.65;
}

.panel-grid {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 128px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.panel,
.login-card {
  padding: 48px;
  overflow: hidden;
  background: var(--gray-5);
  border-radius: var(--radius-xl);
}

.panel {
  min-height: 640px;
}

.dark-panel {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 113, 227, .38), transparent 34%),
    var(--black-2);
}

.section-heading h2 {
  margin: 8px 0 28px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.02;
  font-weight: 680;
}

.dark-panel .eyebrow {
  color: #78b9ff;
}

.notice {
  margin-bottom: 28px;
  padding: 18px 20px;
  color: var(--black);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .03);
}

.notice b {
  font-size: 14px;
}

.notice p {
  margin: 6px 0 0;
  color: var(--gray-1);
  font-size: 13px;
  line-height: 1.65;
}

.dark-panel .notice {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.dark-panel .notice p {
  color: rgba(255, 255, 255, .66);
}

label {
  margin-bottom: 20px;
  display: grid;
  gap: 9px;
  color: var(--black);
  font-size: 13px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 15px 16px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--gray-3);
  border-radius: 12px;
  outline: none;
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, .14);
}

input[type="file"] {
  padding: 11px;
  font-size: 13px;
}

textarea {
  resize: vertical;
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gray-1) 50%),
    linear-gradient(135deg, var(--gray-1) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 15px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

select:disabled {
  color: var(--gray-2);
  background-color: var(--gray-4);
}

.demo-login-entry {
  margin: -2px 0 22px;
  padding: 17px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--gray-4);
  border-radius: 16px;
}

.demo-login-entry.completed {
  background: #edf9f0;
  border-color: #b9dfc2;
}

.demo-login-entry b {
  margin-top: 7px;
  display: block;
  font-size: 14px;
}

.demo-login-entry p {
  margin: 4px 0 0;
  color: var(--gray-1);
  font-size: 12px;
}

.demo-actions {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.demo-badge {
  display: inline-flex;
  padding: 4px 7px;
  color: var(--blue);
  background: #eaf4ff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .08em;
}

.demo-login-dialog {
  width: min(520px, 94vw);
  padding: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 34px;
}

.demo-device {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(0, 113, 227, .14), transparent 30%),
    #fbfbfd;
  border: 7px solid var(--black);
  border-radius: 34px;
}

.demo-device-top {
  min-height: 48px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  text-align: center;
  background: rgba(255, 255, 255, .72);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(18px);
}

.demo-close {
  width: 30px;
  height: 30px;
  padding: 0;
  color: var(--gray-1);
  background: var(--gray-4);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.demo-login-content {
  padding: 34px 30px 30px;
  text-align: center;
}

.demo-orb {
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 7%, transparent 8%),
    linear-gradient(145deg, #0071e3, #6948ff 54%, #da4b8d);
  border-radius: 24px;
  box-shadow: 0 18px 34px rgba(55, 80, 220, .26);
}

.demo-login-content h2 {
  margin: 8px 0 10px;
  font-size: 42px;
}

.demo-subtitle {
  max-width: 390px;
  margin: 0 auto 26px;
  color: var(--gray-1);
  font-size: 13px;
  line-height: 1.6;
}

.demo-credential {
  min-height: 62px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-4);
}

.demo-credential:first-of-type {
  border-radius: 14px 14px 0 0;
}

.demo-credential + .demo-credential {
  margin-top: -1px;
  border-radius: 0 0 14px 14px;
}

.demo-credential span {
  color: var(--gray-1);
  font-size: 12px;
}

.demo-credential b {
  text-align: right;
  overflow-wrap: anywhere;
  font-size: 13px;
}

.demo-credential small {
  display: block;
  color: var(--gray-2);
  font-size: 9px;
  font-weight: 500;
}

.demo-warning {
  margin: 18px 0;
  padding: 13px 15px;
  color: #8a5200;
  background: #fff7e8;
  border-radius: 12px;
  text-align: left;
  font-size: 11px;
  line-height: 1.55;
}

.demo-proof-preview {
  margin: 12px 0 0;
  color: var(--gray-1);
  font-size: 11px;
}

.checkbox {
  grid-template-columns: 20px 1fr;
  align-items: start;
  color: var(--gray-1);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.dark-panel input {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .18);
}

.dark-panel input::placeholder {
  color: rgba(255, 255, 255, .42);
}

.result {
  margin-top: 22px;
  padding: 17px 18px;
  color: #14532d;
  background: #e9f8ed;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.65;
}

.result.error {
  color: #8a1c15;
  background: #fff0ee;
}

.status-card {
  min-height: 310px;
  margin-top: 28px;
  padding: 24px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
}

.status-card.empty {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .48);
}

.status-list {
  margin-top: 20px;
  display: grid;
  gap: 0;
}

.status-list div {
  min-height: 48px;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.status-list span {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.status-list b {
  text-align: right;
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  padding: 6px 11px;
  color: #a7d4ff;
  background: rgba(0, 113, 227, .22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
}

.repay-box {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.repay-box p {
  color: rgba(255, 255, 255, .66);
  line-height: 1.6;
}

.rules {
  padding: 112px max(24px, calc((100vw - 1120px) / 2)) 128px;
  background: var(--gray-5);
}

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

.rules .section-heading h2 {
  max-width: 760px;
  margin: 10px auto 56px;
}

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

.rule-grid article {
  min-height: 280px;
  padding: 38px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .025);
}

.rule-grid article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.rule-grid h3 {
  margin: 46px 0 14px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 650;
}

.rule-grid p {
  max-width: 430px;
  margin: 0;
  color: var(--gray-1);
  font-size: 15px;
  line-height: 1.65;
}

footer {
  padding: 28px max(24px, calc((100vw - 1120px) / 2)) 36px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--gray-1);
  background: var(--gray-5);
  border-top: 1px solid var(--gray-3);
  font-size: 11px;
}

/* Admin */
.admin-body {
  background: var(--gray-5);
}

.admin-main {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 52px);
  padding: 70px 0 110px;
}

.login-card {
  width: min(500px, 100%);
  margin: 5vh auto 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 11px 0 17px;
  font-size: 54px;
  line-height: 1;
  font-weight: 680;
}

.login-card > p {
  color: var(--gray-1);
  line-height: 1.65;
}

.link-button {
  padding: 0;
  color: var(--gray-1);
  background: none;
  border: 0;
  cursor: pointer;
}

.dashboard-head {
  margin-bottom: 36px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.dashboard-head h1 {
  margin: 10px 0 0;
  font-size: clamp(46px, 6vw, 72px);
  line-height: .98;
  font-weight: 690;
}

.chain-box {
  min-width: 370px;
  padding: 24px;
  display: grid;
  gap: 12px;
  color: var(--white);
  background: var(--black);
  border-radius: var(--radius-lg);
}

.chain-box span {
  color: #78b9ff;
  font-size: 11px;
  font-weight: 650;
}

.chain-box b {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
}

.chain-box .deploy-link {
  color: #78b9ff;
  box-shadow: inset 0 0 0 1px #78b9ff;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.slot-manager {
  margin: 28px 0;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.compact-heading h2 {
  margin-bottom: 10px;
  font-size: 34px;
}

.compact-heading > p:last-child {
  margin: 0 0 24px;
  color: var(--gray-1);
  font-size: 13px;
}

.slot-form {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  align-items: end;
  gap: 12px;
}

.slot-form label {
  margin: 0;
}

.slot-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.slot-row {
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--gray-5);
  border-radius: 14px;
}

.slot-row b,
.slot-row span {
  margin-right: 10px;
}

.slot-row p,
.empty-copy {
  margin: 6px 0 0;
  color: var(--gray-1);
  font-size: 12px;
}

.slot-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

table {
  width: 100%;
  min-width: 1000px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-4);
}

th {
  color: var(--gray-1);
  background: #fbfbfd;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .02em;
}

td {
  font-size: 13px;
}

.mono {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

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

.small-button {
  padding: 7px 11px;
  color: var(--blue);
  background: #eaf4ff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
}

.small-button.approve {
  color: var(--green);
  background: #eaf7ed;
}

.small-button.reject {
  color: var(--red);
  background: #fff0f1;
}

.small-button.fund {
  color: var(--white);
  background: var(--blue);
}

dialog {
  width: min(920px, 92vw);
  padding: 26px;
  background: var(--white);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .3);
}

dialog::backdrop {
  background: rgba(0, 0, 0, .58);
  backdrop-filter: blur(8px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dialog-head h2 {
  margin: 0;
}

#evidence-image {
  max-width: 100%;
  max-height: 72vh;
  margin: 18px auto 0;
  display: block;
  border-radius: 12px;
}

/* Deployer */
.deploy-card {
  width: min(760px, 100%);
}

.deploy-card h1 {
  font-size: clamp(48px, 7vw, 72px);
}

.deploy-status {
  margin: 30px 0;
  padding: 0 20px;
  background: var(--gray-5);
  border-radius: var(--radius-md);
}

.deploy-status div {
  border-color: var(--gray-3);
}

.deploy-status span {
  color: var(--gray-1);
}

.deploy-status b {
  color: var(--black);
}

.deploy-actions {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

code {
  padding: 2px 5px;
  background: rgba(128, 128, 128, .14);
  border-radius: 5px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: .9em;
}

@media (max-width: 900px) {
  .hero {
    padding-top: 82px;
  }

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

  .metric:nth-of-type(2) {
    border-right: 0;
  }

  .metric:nth-of-type(1),
  .metric:nth-of-type(2) {
    border-bottom: 1px solid var(--gray-4);
  }

  .flow-strip {
    grid-template-columns: repeat(5, minmax(145px, 1fr));
    overflow-x: auto;
  }

  .panel-grid {
    grid-template-columns: 1fr;
  }

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

  .slot-form {
    grid-template-columns: 1fr;
  }

  .panel {
    min-height: auto;
  }

  .dashboard-head {
    align-items: stretch;
    flex-direction: column;
  }

  .chain-box {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding: 0 18px;
  }

  nav {
    gap: 14px;
  }

  nav a:not(.admin-link) {
    display: none;
  }

  .brand span {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 70px 18px 58px;
  }

  h1 {
    font-size: 52px;
  }

  .poem {
    padding: 24px 20px;
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-card {
    padding: 12px 16px 22px;
    border-radius: var(--radius-lg);
  }

  .metric {
    padding-inline: 8px;
  }

  .metric b {
    font-size: 22px;
  }

  .flow-strip,
  .panel-grid,
  .borrow-guide {
    width: calc(100% - 28px);
  }

  .flow-strip {
    margin-bottom: 70px;
  }

  .panel,
  .login-card {
    padding: 28px 22px;
    border-radius: var(--radius-lg);
  }

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

  .rule-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid article {
    min-height: 220px;
  }

  .slot-manager {
    padding: 24px 20px;
  }

  .slot-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-login-entry {
    align-items: stretch;
    flex-direction: column;
  }

  .demo-login-content {
    padding-inline: 20px;
  }

  .rules {
    padding-inline: 14px;
  }

  .rule-grid article {
    min-height: 230px;
    padding: 28px;
  }

  .rule-grid h3 {
    margin-top: 34px;
  }

  footer {
    flex-direction: column;
  }

  .admin-main {
    width: calc(100% - 28px);
    padding-top: 38px;
  }

  .dashboard-head h1 {
    font-size: 46px;
  }

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

/* Platform redesign 2026-10-08 */
.platform-home,
.whitepaper-page {
  background: #f5f5f7;
}

.platform-nav {
  min-height: 64px;
  background: rgba(255, 255, 255, .86);
}

.platform-nav .brand {
  gap: 11px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #141414, #3a3a3c);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
  font-size: 15px;
  font-weight: 800;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  transform: scale(1.18);
  filter: drop-shadow(0 5px 8px rgba(255, 92, 24, .24));
}

.footer-brand .brand-emblem {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.brand-name {
  display: grid;
  gap: 3px;
  padding: 0 !important;
  border: 0 !important;
  color: var(--black) !important;
  font-size: 16px !important;
  letter-spacing: -.02em !important;
}

.brand-name small {
  color: #8e8e93;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.nav-wallet {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff;
  background: #111;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease;
}

.nav-wallet:hover {
  color: #fff;
  background: var(--blue);
  transform: translateY(-1px);
}

.nav-wallet.connected {
  background: #176b33;
}

.official-x-button {
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 38px;
  place-items: center;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 50%;
  color: #fff;
  background: #050505;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .13);
  cursor: pointer;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.official-x-button:hover {
  background: #252525;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  transform: translateY(-1px);
}

.official-x-button:focus-visible {
  outline: 3px solid rgba(0, 113, 227, .3);
  outline-offset: 2px;
}

.platform-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(75, 118, 255, .25), transparent 34%),
    radial-gradient(circle at 90% 30%, rgba(107, 76, 255, .22), transparent 32%),
    linear-gradient(135deg, #05070c 0%, #0d111b 55%, #111a2e 100%);
}

.platform-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

.hero-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .28;
}

.hero-aura-one { width: 360px; height: 360px; left: -150px; top: 110px; background: #1569ff; }
.hero-aura-two { width: 420px; height: 420px; right: -160px; bottom: -140px; background: #7d45ff; }

.platform-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 92px 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: 72px;
  align-items: center;
}

.protocol-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  color: #aab7cc;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #50e58d;
  box-shadow: 0 0 0 6px rgba(80, 229, 141, .12), 0 0 18px rgba(80, 229, 141, .6);
}

.platform-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(54px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
}

.platform-hero h1 span {
  color: #9ea5b5;
}

.platform-hero .poem {
  margin: 34px 0 0;
  padding: 0;
  color: #e4e7ee;
  background: none;
  border: 0;
  font-size: clamp(15px, 1.55vw, 19px);
  line-height: 1.9;
}

.hero-description {
  max-width: 690px;
  margin: 28px 0 0;
  color: #9fa9bc;
  font-size: 15px;
  line-height: 1.85;
}

.platform-hero .hero-actions { margin-top: 34px; }
.platform-hero .button { padding: 14px 23px; }
.glass-button { color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px); }
.glass-button:hover { background: rgba(255,255,255,.14); }

.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  color: #737f94;
  font-size: 11px;
  font-weight: 650;
}
.hero-trust span::before { content: "✓"; margin-right: 7px; color: #50e58d; }

.protocol-card {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 30px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  backdrop-filter: blur(24px);
}

.protocol-card-head,
.protocol-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.protocol-card-head h2 { margin: 5px 0 0; color: #fff; font-size: 27px; letter-spacing: -.04em; }
.protocol-card .card-label { color: #8e9bb0; }
.protocol-state { padding: 8px 11px; border-radius: 999px; color: #f3b75d; background: rgba(243,183,93,.12); font-size: 10px; font-weight: 700; }
.protocol-state.ready { color: #65ec9a; background: rgba(80,229,141,.12); }

.protocol-amount {
  margin: 30px 0 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.protocol-amount span { display: block; color: #8e9bb0; font-size: 12px; }
.protocol-amount strong { display: block; margin-top: 8px; font-size: 56px; line-height: 1; letter-spacing: -.06em; }
.protocol-amount small { color: #8e9bb0; font-size: 18px; letter-spacing: 0; }

.protocol-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.protocol-metrics div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.055); }
.protocol-metrics span { display: block; color: #8490a4; font-size: 10px; }
.protocol-metrics b { display: block; margin-top: 7px; font-size: 14px; }
.protocol-card-foot { margin-top: 20px; color: #7f899c; font-size: 10px; }

.platform-stats {
  width: min(1180px, calc(100% - 48px));
  margin: -32px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 26px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.1);
  overflow: hidden;
}
.platform-stats article { min-height: 132px; padding: 25px 27px; border-right: 1px solid #e8e8ed; display: flex; flex-direction: column; justify-content: center; }
.platform-stats article:last-child { border-right: 0; }
.platform-stats span, .platform-stats small { color: #86868b; font-size: 11px; }
.platform-stats b { margin: 9px 0 7px; font-size: 23px; letter-spacing: -.035em; }

.live-vault-section {
  width: min(1180px, calc(100% - 48px));
  margin: 34px auto 0;
  padding: 38px;
  border: 1px solid rgba(0, 113, 227, .12);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,248,255,.98));
  box-shadow: 0 22px 65px rgba(20, 51, 92, .08);
}
.live-vault-head { display: flex; justify-content: space-between; gap: 30px; align-items: flex-end; }
.live-vault-head h2 { margin: 7px 0 8px; font-size: 36px; letter-spacing: -.045em; }
.live-vault-head p { margin: 0; color: #6e6e73; font-size: 13px; }
.live-vault-state { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.live-vault-state b { font-size: 13px; }
.live-vault-state .live-dot { background: #ff9f0a; box-shadow: 0 0 0 5px rgba(255,159,10,.12); }
.live-vault-state .live-dot.ready { background: #30d158; box-shadow: 0 0 0 5px rgba(48,209,88,.13); }
.live-vault-grid { margin-top: 28px; display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 12px; }
.live-vault-grid article { min-width: 0; padding: 23px; border: 1px solid #e6eaf0; border-radius: 20px; background: rgba(255,255,255,.88); }
.live-vault-grid span, .live-vault-grid small { display: block; color: #86868b; font-size: 10px; }
.live-vault-grid b, .live-vault-grid strong { display: block; margin: 12px 0 9px; color: #1d1d1f; font-size: 20px; letter-spacing: -.025em; }
.live-vault-grid .live-vault-primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, #071b35, #123f72); }
.live-vault-grid .live-vault-primary span, .live-vault-grid .live-vault-primary small { color: #a9bdd5; }
.live-vault-grid .live-vault-primary strong { color: #fff; font-size: 31px; }
.live-vault-addresses { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: stretch; }
.live-vault-addresses > a, .live-vault-updated { min-width: 0; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.8); }
.live-vault-addresses > a:hover { background: #fff; box-shadow: 0 8px 22px rgba(0,0,0,.05); }
.live-vault-addresses span { display: block; color: #86868b; font-size: 9px; }
.live-vault-addresses b { display: block; margin-top: 5px; overflow: hidden; color: #313136; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.live-vault-updated { display: flex; flex-direction: column; justify-content: center; min-width: 135px; }

.admin-vault-status {
  margin: 18px 0 28px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid #e2e5ea;
  border-radius: 18px;
  background: #fff;
}
.admin-vault-status > div { min-width: 0; padding: 4px 8px; }
.admin-vault-status span { display: block; margin-bottom: 7px; color: #86868b; font-size: 10px; }
.admin-vault-status b { display: block; font-size: 13px; overflow-wrap: anywhere; }
.admin-vault-status b.ready { color: #17833d; }

.product-story,
.platform-guide,
.application-shell,
.status-section,
.whitepaper-preview {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.product-story { padding: 140px 0 115px; }
.centered-heading { max-width: 800px; margin: 0 auto 56px; text-align: center; }
.centered-heading h2 { font-size: clamp(40px, 5vw, 65px); line-height: 1.06; letter-spacing: -.055em; }
.centered-heading > p:last-child { max-width: 620px; margin: 20px auto 0; color: #6e6e73; line-height: 1.75; }

.flywheel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.flywheel-grid article { min-height: 300px; padding: 25px; position: relative; border-radius: 26px; background: #fff; box-shadow: 0 12px 36px rgba(0,0,0,.045); }
.step-number { color: #9b9ba0; font-size: 10px; font-weight: 750; }
.flywheel-icon { width: 54px; height: 54px; margin: 45px 0 25px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(145deg, #0071e3, #5147ff); box-shadow: 0 15px 35px rgba(0,113,227,.22); font-weight: 800; }
.flywheel-grid h3 { margin: 0 0 12px; font-size: 22px; }
.flywheel-grid p { margin: 0; color: #6e6e73; font-size: 13px; line-height: 1.75; }

.platform-guide { padding: 112px 0; border-top: 1px solid #dedee3; }
.platform-guide .guide-grid { margin-top: 46px; }
.platform-guide .guide-grid article { background: #fff; border: 1px solid #ececf0; box-shadow: 0 8px 24px rgba(0,0,0,.035); }

.application-shell { padding: 115px 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.application-intro { position: sticky; top: 105px; }
.application-intro h2, .status-copy h2, .whitepaper-preview h2 { margin: 12px 0 20px; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; letter-spacing: -.055em; }
.application-intro > p:not(.eyebrow), .status-copy > p:last-child, .whitepaper-preview-copy > p { color: #6e6e73; line-height: 1.8; }
.application-points { margin: 36px 0; display: grid; gap: 14px; }
.application-points div { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid #dedee3; }
.application-points b { width: 30px; color: var(--blue); font-size: 11px; }
.application-points span { font-size: 14px; font-weight: 600; }
.safety-note { padding: 20px; border-radius: 20px; color: #55330a; background: #fff4df; }
.safety-note strong { font-size: 12px; }
.safety-note p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; }
.application-panel { margin: 0; padding: 34px; box-shadow: 0 25px 70px rgba(0,0,0,.08); }
.compact-heading { margin-bottom: 28px; }
.compact-heading h2 { font-size: 34px; }
.credential-card { background: linear-gradient(135deg, #eef6ff, #f3f0ff); border-color: #cfdff5; }

.wallet-input-row { display: flex; gap: 10px; }
.wallet-input-row input { min-width: 0; flex: 1; }
.inline-wallet-button { min-width: 88px; border: 0; border-radius: 13px; color: #fff; background: #111; cursor: pointer; font-weight: 650; }
.inline-wallet-button:hover, .inline-wallet-button.connected { background: var(--blue); }

.status-section { padding: 115px 0; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; }
.status-panel { margin: 0; min-height: 350px; box-shadow: 0 28px 75px rgba(0,0,0,.18); }

.whitepaper-preview { margin-bottom: 120px; padding: 72px; display: grid; grid-template-columns: 1fr 1fr; gap: 78px; align-items: center; border-radius: 36px; color: #fff; background: linear-gradient(135deg, #09111f, #12213c); box-shadow: 0 30px 80px rgba(7,16,32,.2); }
.whitepaper-preview h2 { color: #fff; }
.whitepaper-preview-copy > p { color: #9eabc0; }
.whitepaper-preview .button { margin-top: 20px; }
.whitepaper-ledger { display: grid; gap: 10px; }
.whitepaper-ledger div { padding: 20px 22px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; border-radius: 17px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.08); }
.whitepaper-ledger span { color: #6787b8; font-size: 10px; }
.whitepaper-ledger b { font-size: 13px; }
.whitepaper-ledger strong { color: #fff; font-size: 15px; }

.platform-footer { padding: 55px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1.2fr .7fr 1.1fr; gap: 50px; color: #8e8e93; background: #fff; border-top: 1px solid #e5e5ea; font-size: 11px; }
.footer-brand { margin-bottom: 16px; color: #1d1d1f; }
.footer-links { display: grid; align-content: start; gap: 12px; color: #3a3a3c; }
.footer-legal { line-height: 1.7; }

/* Whitepaper */
.whitepaper-main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.whitepaper-hero { padding: 110px 0 75px; text-align: center; }
.whitepaper-hero h1 { margin: 14px 0 22px; font-size: clamp(55px, 7vw, 90px); letter-spacing: -.065em; }
.whitepaper-lead { max-width: 760px; margin: 0 auto; color: #6e6e73; font-size: 19px; line-height: 1.75; }
.document-meta { margin-top: 34px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.document-meta span { padding: 9px 13px; border-radius: 999px; color: #626269; background: #eaeaef; font-size: 10px; font-weight: 650; }
.document-meta .ready { color: #176b33; background: #e0f4e6; }
.whitepaper-layout { padding-bottom: 120px; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 60px; align-items: start; }
.whitepaper-toc { position: sticky; top: 96px; padding: 22px; display: grid; gap: 5px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.045); }
.whitepaper-toc b { margin: 0 0 10px; font-size: 12px; }
.whitepaper-toc a { padding: 9px 8px; border-radius: 9px; color: #6e6e73; font-size: 11px; }
.whitepaper-toc a:hover { color: var(--blue); background: #f5f8ff; }
.whitepaper-document { min-width: 0; }
.paper-section { position: relative; margin-bottom: 18px; padding: 52px 58px; scroll-margin-top: 90px; border-radius: 28px; background: #fff; box-shadow: 0 10px 34px rgba(0,0,0,.04); }
.paper-number { color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .1em; }
.paper-section h2 { margin: 12px 0 30px; font-size: 39px; letter-spacing: -.045em; }
.paper-section h3 { margin: 34px 0 12px; font-size: 19px; }
.paper-section > p, .paper-list li, .paper-steps p { color: #5f5f66; font-size: 14px; line-height: 1.9; }
.paper-callout, .paper-warning { margin-top: 30px; padding: 22px; border-radius: 18px; background: #eef6ff; }
.paper-warning { color: #693d07; background: #fff3df; }
.paper-callout p, .paper-warning p { margin: 7px 0 0; color: inherit; font-size: 13px; line-height: 1.75; }
.paper-parameter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.paper-parameter-grid div { padding: 20px; border-radius: 17px; background: #f5f5f7; }
.paper-parameter-grid span { display: block; color: #86868b; font-size: 10px; }
.paper-parameter-grid strong { display: block; margin-top: 8px; font-size: 19px; }
.money-flow { margin-top: 32px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 20px; background: #10141c; color: #fff; }
.money-flow div { flex: 1; padding: 14px; text-align: center; }
.money-flow span { display: block; color: #8390a5; font-size: 10px; }
.money-flow b { display: block; margin-top: 6px; font-size: 13px; }
.money-flow i { color: #65728a; font-style: normal; }
.paper-steps { list-style: none; padding: 0; counter-reset: paper-step; }
.paper-steps li { position: relative; padding: 18px 0 18px 54px; border-bottom: 1px solid #ededf1; counter-increment: paper-step; }
.paper-steps li::before { content: counter(paper-step, decimal-leading-zero); position: absolute; left: 0; top: 18px; color: var(--blue); font-size: 11px; font-weight: 750; }
.paper-steps p { margin: 6px 0 0; }
.holder-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.holder-benefits article { padding: 22px; border-radius: 19px; background: #f5f5f7; }
.holder-benefits span { color: var(--blue); font-size: 10px; font-weight: 750; }
.holder-benefits h3 { margin: 24px 0 10px; font-size: 17px; }
.holder-benefits p { margin: 0; color: #6e6e73; font-size: 12px; line-height: 1.75; }
.paper-list { padding-left: 20px; }
.paper-list li { margin: 9px 0; padding-left: 5px; }
.formula-card { margin-top: 30px; padding: 25px; text-align: center; border-radius: 21px; color: #fff; background: linear-gradient(135deg, #006fe6, #4e45ed); }
.formula-card span { display: block; color: rgba(255,255,255,.72); font-size: 11px; }
.formula-card strong { display: block; margin-top: 10px; font-size: 22px; }

@media (max-width: 980px) {
  .platform-nav nav a:not([href="/whitepaper.html"]):not([href="/"]):not([href="/#apply"]) { display: none; }
  .platform-hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .platform-stats { grid-template-columns: 1fr 1fr; }
  .live-vault-grid { grid-template-columns: 1fr 1fr; }
  .live-vault-addresses { grid-template-columns: 1fr 1fr; }
  .live-vault-updated { grid-column: 1 / -1; }
  .admin-vault-status { grid-template-columns: 1fr 1fr; }
  .platform-stats article:nth-child(2) { border-right: 0; }
  .flywheel-grid { grid-template-columns: 1fr 1fr; }
  .application-shell, .status-section, .whitepaper-preview { grid-template-columns: 1fr; }
  .application-intro { position: static; }
  .whitepaper-layout { grid-template-columns: 1fr; }
  .whitepaper-toc { position: static; display: flex; flex-wrap: wrap; }
  .holder-benefits { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .platform-nav { padding-inline: 16px; }
  .platform-nav nav { gap: 8px; }
  .platform-nav nav > a { display: none !important; }
  .brand-name small { display: block; }
  .platform-hero-inner, .product-story, .platform-guide, .application-shell, .status-section, .whitepaper-preview, .whitepaper-main, .platform-stats, .live-vault-section { width: min(100% - 28px, 1180px); }
  .platform-hero-inner { min-height: auto; padding: 70px 0 62px; }
  .platform-hero h1 { font-size: 50px; }
  .platform-hero .poem { font-size: 14px; }
  .protocol-card { padding: 21px; }
  .protocol-amount strong { font-size: 45px; }
  .platform-stats { grid-template-columns: 1fr; margin-top: -18px; }
  .platform-stats article { min-height: 110px; border-right: 0; border-bottom: 1px solid #e8e8ed; }
  .live-vault-section { margin-top: 20px; padding: 25px 18px; }
  .live-vault-head { align-items: flex-start; flex-direction: column; }
  .live-vault-grid, .live-vault-addresses, .admin-vault-status { grid-template-columns: 1fr; }
  .live-vault-updated { grid-column: auto; }
  .flywheel-grid { grid-template-columns: 1fr; }
  .product-story { padding: 100px 0 85px; }
  .centered-heading { text-align: left; }
  .centered-heading h2, .application-intro h2, .status-copy h2, .whitepaper-preview h2 { font-size: 39px; }
  .application-shell, .status-section { padding: 85px 0; gap: 40px; }
  .application-panel { padding: 24px 18px; }
  .wallet-input-row { flex-direction: column; }
  .inline-wallet-button { min-height: 46px; }
  .whitepaper-preview { margin-bottom: 80px; padding: 35px 24px; gap: 42px; }
  .whitepaper-ledger div { grid-template-columns: 28px 1fr; }
  .whitepaper-ledger strong { grid-column: 2; }
  .platform-footer { grid-template-columns: 1fr; gap: 25px; }
  .whitepaper-hero { padding: 76px 0 55px; text-align: left; }
  .whitepaper-hero h1 { font-size: 50px; }
  .document-meta { justify-content: flex-start; }
  .paper-section { padding: 35px 23px; }
  .paper-section h2 { font-size: 32px; }
  .paper-parameter-grid { grid-template-columns: 1fr 1fr; }
  .money-flow { align-items: stretch; flex-direction: column; }
}
