:root {
  --rice-paper: #f5f0e4;
  --rice-paper-deep: #ebe2cf;
  --tea-green: #214e40;
  --tea-green-deep: #12382e;
  --tea-green-soft: #dce8db;
  --apothecary-gold: #b58a3a;
  --gold-light: #eadbb9;
  --cinnabar: #a64a3c;
  --muted-blue: #5b7c8d;
  --ink: #18251f;
  --ink-soft: #53615a;
  --line: rgba(33, 78, 64, 0.17);
  --white: #fffdf8;
  --shadow: 0 24px 70px rgba(25, 53, 43, 0.18);
  --display-font: "STSong", "Songti SC", "Noto Serif CJK SC", serif;
  --ui-font: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #d9dfd8;
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(181, 138, 58, 0.13), transparent 24rem),
    linear-gradient(145deg, #d9dfd8, #cbd5ce);
  font-family: var(--ui-font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(181, 138, 58, 0.45);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--rice-paper);
  box-shadow: var(--shadow);
}

.canopy {
  position: relative;
  min-height: 326px;
  padding: calc(18px + env(safe-area-inset-top)) 22px 80px;
  overflow: hidden;
  color: #fffaf0;
  background:
    radial-gradient(circle at 85% 12%, rgba(212, 183, 111, 0.23), transparent 13rem),
    linear-gradient(155deg, #285f4e 0%, var(--tea-green-deep) 72%);
}

.canopy::before,
.canopy::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(234, 219, 185, 0.16);
  border-radius: 50%;
}

.canopy::before {
  width: 270px;
  height: 270px;
  right: -142px;
  top: 38px;
}

.canopy::after {
  width: 190px;
  height: 190px;
  left: -130px;
  bottom: -46px;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: var(--display-font);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brand-subtitle {
  color: rgba(255, 250, 240, 0.66);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ghost-button {
  min-width: 48px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  z-index: 1;
  padding-top: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(234, 219, 185, 0.38);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.hero-title {
  max-width: 360px;
  margin: 18px 0 10px;
  font-family: var(--display-font);
  font-size: clamp(36px, 10vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0.02em;
}

.hero-title em {
  color: #e2c98e;
  font-style: normal;
}

.hero-copy {
  margin: 0;
  color: rgba(255, 250, 240, 0.76);
  font-size: 15px;
  letter-spacing: 0.12em;
}

.action-sheet {
  position: relative;
  z-index: 3;
  margin-top: -54px;
  padding: 0 18px calc(26px + env(safe-area-inset-bottom));
}

.intro-card {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 18px 46px rgba(20, 55, 45, 0.16);
  backdrop-filter: blur(12px);
}

.section-kicker {
  margin: 0 0 6px;
  color: var(--apothecary-gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.intro-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: 23px;
  line-height: 1.35;
}

.intro-copy {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

.entry-stack {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.entry-card {
  position: relative;
  width: 100%;
  min-height: 126px;
  padding: 18px;
  overflow: hidden;
  border-radius: 22px;
  text-align: left;
}

.entry-card::after {
  position: absolute;
  right: 17px;
  bottom: 16px;
  width: 34px;
  height: 34px;
  content: "→";
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 19px;
}

.entry-card.primary {
  color: #fffaf0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent),
    var(--tea-green);
  box-shadow: 0 15px 30px rgba(33, 78, 64, 0.17);
}

.entry-card.primary::after {
  color: var(--tea-green);
  background: #f7edda;
}

.entry-card.secondary {
  border: 1px solid rgba(181, 138, 58, 0.36);
  color: var(--ink);
  background: linear-gradient(135deg, #fffdf8, #eee2c8);
}

.entry-card.secondary::after {
  color: #fffaf0;
  background: var(--apothecary-gold);
}

.entry-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display-font);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
}

.entry-card.primary .entry-label {
  color: #fff9ea;
}

.entry-price {
  margin-right: 7px;
  color: #e4c986;
  font-family: var(--ui-font);
  font-size: 21px;
  font-weight: 800;
}

.entry-card.secondary .entry-price {
  color: #92691e;
}

.entry-description {
  display: block;
  max-width: 285px;
  color: inherit;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.72;
}

.micro-entries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.text-entry {
  min-height: 48px;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--tea-green);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.demo-strip {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 12px 13px;
  border: 1px solid rgba(91, 124, 141, 0.21);
  border-radius: 14px;
  color: #4f6c78;
  background: rgba(91, 124, 141, 0.08);
  font-size: 12px;
  line-height: 1.55;
}

.demo-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--muted-blue);
  box-shadow: 0 0 0 4px rgba(91, 124, 141, 0.12);
}

.footer-note {
  margin: 20px 0 0;
  color: #849087;
  font-size: 11px;
  text-align: center;
  letter-spacing: 0.04em;
}

.placeholder {
  min-height: 100dvh;
  padding: calc(18px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  background: var(--rice-paper);
}

.placeholder .topbar {
  color: var(--ink);
}

.placeholder .ghost-button {
  color: var(--tea-green);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.placeholder-card {
  margin-top: 72px;
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  text-align: center;
}

.placeholder-card h1 {
  margin: 0 0 10px;
  font-family: var(--display-font);
  font-size: 30px;
}

.placeholder-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.journey-page {
  min-height: 100dvh;
  background: var(--rice-paper);
}

.journey-header {
  position: relative;
  padding: calc(16px + env(safe-area-inset-top)) 20px 46px;
  overflow: hidden;
  color: #fffaf0;
  background:
    radial-gradient(circle at 92% 38%, rgba(226, 201, 142, 0.18), transparent 12rem),
    linear-gradient(155deg, #285f4e, var(--tea-green-deep));
}

.journey-header::after {
  position: absolute;
  right: -58px;
  bottom: -102px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(234, 219, 185, 0.16);
  border-radius: 50%;
  content: "";
}

.header-step {
  color: rgba(255, 250, 240, 0.66);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.journey-heading {
  position: relative;
  z-index: 1;
  margin-top: 34px;
}

.page-kicker {
  margin: 0 0 9px;
  color: #e2c98e;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.journey-heading h1 {
  max-width: 400px;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(29px, 8vw, 38px);
  line-height: 1.25;
  letter-spacing: 0.015em;
}

.journey-heading > p:last-child:not(.page-kicker) {
  max-width: 390px;
  margin: 12px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.journey-body {
  position: relative;
  z-index: 2;
  min-height: 58dvh;
  margin-top: -20px;
  padding: 20px 18px calc(30px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--rice-paper);
}

.journey-body > *:first-child {
  margin-top: 0;
}

.journey-body > * + * {
  margin-top: 14px;
}

.primary-button,
.secondary-button {
  width: 100%;
  min-height: 54px;
  padding: 13px 16px;
  border-radius: 17px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.primary-button {
  color: #fffaf0;
  background: linear-gradient(135deg, #2d6653, var(--tea-green-deep));
  box-shadow: 0 13px 26px rgba(24, 67, 54, 0.19);
}

.secondary-button {
  border: 1px solid var(--line);
  color: var(--tea-green);
  background: rgba(255, 253, 248, 0.7);
}

.product-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 210px;
  padding: 20px;
  border: 1px solid rgba(181, 138, 58, 0.25);
  border-radius: 24px;
  background:
    radial-gradient(circle at 13% 10%, rgba(181, 138, 58, 0.15), transparent 10rem),
    var(--white);
  box-shadow: 0 15px 34px rgba(33, 78, 64, 0.1);
}

.product-stamp {
  display: grid;
  width: 106px;
  height: 152px;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(181, 138, 58, 0.56);
  border-radius: 53px 53px 20px 20px;
  color: var(--tea-green);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent),
    var(--gold-light);
  box-shadow: inset 0 0 0 7px rgba(255, 253, 248, 0.58);
}

.product-stamp span {
  font-family: var(--display-font);
  font-size: 47px;
  font-weight: 700;
  line-height: 1;
}

.product-stamp small {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.product-copy {
  min-width: 0;
}

.product-copy h2 {
  margin: 10px 0 6px;
  font-family: var(--display-font);
  font-size: 21px;
  line-height: 1.35;
}

.product-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.price-line {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 12px;
}

.price-line span {
  color: var(--ink-soft);
  font-size: 12px;
}

.price-line strong {
  color: #9b7124;
  font-size: 25px;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--tea-green);
  background: var(--tea-green-soft);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.status-chip.gold {
  color: #835f1f;
  background: #f1e4c6;
}

.status-chip.light {
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.14);
}

.info-card,
.identity-card,
.total-card,
.next-step-card,
.activity-card,
.result-preview,
.link-card,
.clarity-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.info-card h3 {
  margin: 0 0 13px;
  font-family: var(--display-font);
  font-size: 19px;
}

.info-card.compact {
  padding: 16px;
}

.info-card.compact h3 {
  margin-bottom: 6px;
}

.muted-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.check-list {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  align-items: center;
}

.check-list li > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--apothecary-gold);
  background: rgba(181, 138, 58, 0.1);
  font-size: 10px;
  font-weight: 800;
}

.check-list li div {
  display: grid;
  gap: 2px;
}

.check-list li strong {
  font-size: 14px;
}

.check-list li small {
  color: var(--ink-soft);
  font-size: 12px;
}

.source-row {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  color: var(--ink-soft);
  font-size: 13px;
}

.source-row strong {
  color: var(--tea-green);
}

.identity-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.avatar-token {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--tea-green);
  font-family: var(--display-font);
  font-size: 22px;
}

.identity-card > div:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.identity-card small {
  color: var(--ink-soft);
  font-size: 11px;
}

.identity-card strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agreement-row {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 0 4px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.agreement-row input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--tea-green);
}

.order-product {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
}

.mini-stamp {
  display: grid;
  width: 44px;
  height: 52px;
  place-items: center;
  border-radius: 18px 18px 9px 9px;
  color: var(--tea-green);
  background: var(--gold-light);
  font-family: var(--display-font);
  font-size: 20px;
  font-weight: 700;
}

.order-product > div:nth-child(2) {
  display: grid;
  gap: 4px;
}

.order-product strong {
  font-size: 14px;
}

.order-product small {
  color: var(--ink-soft);
  font-size: 11px;
}

.order-product b {
  color: #976c1f;
  font-size: 17px;
}

.divider {
  height: 1px;
  margin: 16px 0;
  background: var(--line);
}

.order-facts {
  display: grid;
  gap: 11px;
  margin: 0;
}

.order-facts > div {
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.order-facts dt {
  color: var(--ink-soft);
  font-size: 12px;
}

.order-facts dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  overflow-wrap: anywhere;
}

.total-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.total-card span {
  color: var(--ink-soft);
  font-size: 13px;
}

.total-card strong {
  grid-row: span 2;
  color: var(--apothecary-gold);
  font-size: 28px;
}

.total-card small {
  margin-top: 5px;
  color: var(--muted-blue);
  font-size: 11px;
}

.pay-panel {
  padding: 32px 20px 20px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(155deg, #1c9b59, #08743e);
  text-align: center;
  box-shadow: 0 20px 46px rgba(8, 116, 62, 0.19);
}

.pay-mark {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 750;
}

.pay-panel > p {
  margin: 20px 0 4px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 13px;
}

.pay-panel > strong {
  display: block;
  margin-bottom: 28px;
  font-size: 38px;
}

.pay-panel > strong small {
  margin-right: 3px;
  font-size: 18px;
}

.pay-source {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
}

.pay-source span {
  color: rgba(255, 255, 255, 0.66);
}

.pay-button {
  background: linear-gradient(135deg, #1c9b59, #08743e);
}

.success-card {
  padding: 28px 18px 24px;
  border: 1px solid rgba(181, 138, 58, 0.27);
  border-radius: 24px;
  background: linear-gradient(150deg, #fffdf8, #eee3cb);
  text-align: center;
}

.success-seal {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--tea-green);
  box-shadow: 0 0 0 9px rgba(33, 78, 64, 0.08);
  font-size: 28px;
}

.success-card h2 {
  margin: 11px 0 7px;
  font-family: var(--display-font);
  font-size: 27px;
}

.success-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.clarity-card {
  border-color: rgba(91, 124, 141, 0.2);
  background: rgba(91, 124, 141, 0.07);
}

.clarity-card strong {
  color: var(--tea-green);
  font-size: 14px;
}

.clarity-card p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.ledger-card {
  padding: 20px;
  border-radius: 24px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 90% 10%, rgba(226, 201, 142, 0.2), transparent 11rem),
    linear-gradient(155deg, #2b6551, var(--tea-green-deep));
  box-shadow: 0 18px 38px rgba(24, 67, 54, 0.2);
}

.identity-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.identity-line > small {
  color: rgba(255, 250, 240, 0.55);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.ledger-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.ledger-grid > div {
  display: grid;
  gap: 6px;
}

.ledger-grid span {
  color: rgba(255, 250, 240, 0.64);
  font-size: 11px;
}

.ledger-grid strong {
  font-size: 26px;
}

.ledger-grid strong small {
  font-size: 12px;
}

.progress-summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.progress-summary span {
  font-size: 12px;
}

.progress-summary strong {
  color: #e2c98e;
  font-size: 20px;
}

.progress-summary small {
  font-size: 11px;
}

.progress-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 17px;
}

.progress-track::before,
.progress-track::after {
  position: absolute;
  top: 16px;
  left: 16.66%;
  height: 2px;
  content: "";
}

.progress-track::before {
  right: 16.66%;
  background: rgba(255, 255, 255, 0.18);
}

.progress-track::after {
  width: calc(var(--progress) * 0.6666);
  max-width: 66.66%;
  background: #e2c98e;
}

.progress-node {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.progress-node > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: rgba(255, 250, 240, 0.64);
  background: var(--tea-green-deep);
  font-size: 11px;
  font-weight: 800;
}

.progress-node.is-complete > span {
  border-color: #e2c98e;
  color: var(--tea-green-deep);
  background: #e2c98e;
}

.progress-node small {
  color: rgba(255, 250, 240, 0.58);
  font-size: 9px;
}

.next-step-card > span {
  display: block;
}

.next-step-card > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 7px;
}

.next-step-card > div strong {
  font-family: var(--display-font);
  font-size: 21px;
}

.next-step-card > div b {
  color: #9a7024;
  font-size: 16px;
}

.next-step-card p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.rule-ribbon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 12px;
  padding: 15px;
  border-radius: 18px;
  color: #6f511c;
  background: rgba(181, 138, 58, 0.12);
}

.rule-ribbon strong {
  font-size: 12px;
}

.rule-ribbon small {
  grid-column: 1 / -1;
  color: #7c705a;
  font-size: 10px;
  line-height: 1.55;
}

.activity-card {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
}

.activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--tea-green);
  box-shadow: 0 0 0 5px rgba(33, 78, 64, 0.08);
}

.activity-card div {
  display: grid;
  gap: 3px;
}

.activity-card strong {
  font-size: 12px;
}

.activity-card small {
  color: var(--ink-soft);
  font-size: 10px;
}

.activity-card b {
  color: var(--apothecary-gold);
  font-size: 15px;
}

.boundary-note {
  margin: 15px 3px 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.share-poster {
  position: relative;
  min-height: 300px;
  padding: 22px;
  overflow: hidden;
  border-radius: 26px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 88% 12%, rgba(226, 201, 142, 0.25), transparent 12rem),
    linear-gradient(155deg, #2b6551, #11372d);
  box-shadow: 0 18px 40px rgba(24, 67, 54, 0.19);
}

.share-poster::after {
  position: absolute;
  right: -70px;
  bottom: -100px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(226, 201, 142, 0.26);
  border-radius: 50%;
  content: "";
}

.share-poster .brand-logo {
  width: 34px;
  height: 34px;
}

.share-poster .brand-name {
  font-size: 16px;
}

.share-poster > p {
  margin: 54px 0 22px;
  font-family: var(--display-font);
  font-size: 26px;
  line-height: 1.45;
}

.share-poster > p strong {
  color: #e2c98e;
  font-weight: 700;
}

.poster-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.poster-price span {
  color: rgba(255, 250, 240, 0.68);
  font-size: 12px;
}

.poster-price strong {
  color: #e2c98e;
  font-size: 27px;
}

.share-poster > small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 250, 240, 0.53);
  font-size: 10px;
}

.link-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 10px;
  align-items: center;
}

.link-card > span {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 11px;
}

.link-card code {
  min-width: 0;
  overflow: hidden;
  color: var(--tea-green);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-card button {
  min-height: 38px;
  padding: 7px 11px;
  border-radius: 12px;
  color: #fffaf0;
  background: var(--apothecary-gold);
  font-size: 11px;
  font-weight: 750;
}

.perspective-banner {
  padding: 11px 14px;
  border-radius: 14px;
  color: #4f6c78;
  background: rgba(91, 124, 141, 0.1);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.result-preview {
  display: grid;
  gap: 5px;
  text-align: center;
}

.result-preview span,
.result-preview small {
  color: var(--ink-soft);
  font-size: 11px;
}

.result-preview strong {
  color: var(--apothecary-gold);
  font-size: 24px;
}

.commission-card {
  padding: 30px 20px;
  border-radius: 25px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 84% 14%, rgba(226, 201, 142, 0.24), transparent 10rem),
    linear-gradient(145deg, #2d6954, #12382e);
  text-align: center;
  box-shadow: 0 18px 40px rgba(24, 67, 54, 0.2);
}

.commission-card > span {
  color: rgba(255, 250, 240, 0.65);
  font-size: 12px;
}

.commission-card > strong {
  display: block;
  margin: 9px 0 5px;
  color: #e2c98e;
  font-size: 39px;
}

.commission-card > p {
  margin: 0;
  font-size: 12px;
}

.two-button-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 10px;
}

.two-button-row > * {
  margin-top: 0;
}

.invite-form,
.sample-code-card,
.grant-card,
.zero-impact,
.qualification-list,
.account-list,
.operator-value-list,
.payment-choice-list,
.company-transfer-card,
.pending-timeline,
.credit-ticket,
.calculator-card,
.scenario-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
}

.invite-form > label,
.calculator-card > label {
  display: block;
  margin-bottom: 9px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.input-with-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

.input-with-button input,
.money-input input {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #fbf8f0;
}

.input-with-button input {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.input-with-button button {
  min-width: 76px;
  min-height: 50px;
  padding: 10px 15px;
  border-radius: 14px;
  color: #fffaf0;
  background: var(--tea-green);
  font-weight: 750;
}

.form-error,
.locked-notice {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-radius: 11px;
  color: var(--cinnabar);
  background: rgba(166, 74, 60, 0.08);
  font-size: 11px;
  line-height: 1.5;
}

.sample-code-card > span,
.scenario-card > span {
  display: block;
  margin-bottom: 11px;
  color: var(--ink-soft);
  font-size: 11px;
}

.sample-code-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.sample-code-row button {
  display: grid;
  min-height: 65px;
  gap: 3px;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(181, 138, 58, 0.25);
  border-radius: 15px;
  color: var(--tea-green);
  background: rgba(181, 138, 58, 0.08);
  text-align: left;
}

.sample-code-row b {
  font-size: 15px;
  letter-spacing: 0.06em;
}

.sample-code-row small {
  color: var(--ink-soft);
  font-size: 10px;
}

.grant-card {
  padding: 22px;
  border-color: rgba(181, 138, 58, 0.3);
  background: linear-gradient(145deg, #fffdf8, #eee3cb);
}

.grant-card h2 {
  margin: 13px 0 18px;
  font-family: var(--display-font);
  font-size: 26px;
}

.grant-facts {
  display: grid;
  gap: 11px;
  margin: 0;
}

.grant-facts > div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.grant-facts dt {
  color: var(--ink-soft);
  font-size: 12px;
}

.grant-facts dd {
  margin: 0;
  font-size: 13px;
  font-weight: 750;
}

.grant-facts .grant-total {
  align-items: baseline;
  padding: 4px 0 0;
  border: 0;
}

.grant-facts .grant-total dd {
  color: var(--apothecary-gold);
  font-size: 28px;
}

.zero-impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 15px;
  border-color: rgba(91, 124, 141, 0.19);
  background: rgba(91, 124, 141, 0.07);
}

.zero-impact > div {
  display: grid;
  gap: 4px;
  padding: 11px;
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.66);
}

.zero-impact span {
  color: var(--ink-soft);
  font-size: 10px;
}

.zero-impact strong {
  color: var(--tea-green);
  font-size: 16px;
}

.zero-impact > small {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.zero-impact.large strong {
  font-size: 15px;
}

.locked-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 13px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(166, 74, 60, 0.2);
  border-radius: 20px;
  background: rgba(166, 74, 60, 0.06);
}

.lock-mark {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--cinnabar);
  font-family: var(--display-font);
  font-size: 21px;
}

.locked-card > div:last-child {
  display: grid;
  gap: 3px;
}

.locked-card span,
.locked-card small {
  color: var(--ink-soft);
  font-size: 10px;
}

.locked-card strong {
  font-size: 15px;
}

.disabled-action {
  width: 100%;
  min-height: 49px;
  padding: 11px 14px;
  border: 1px dashed rgba(166, 74, 60, 0.35);
  border-radius: 15px;
  color: var(--cinnabar);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.qualification-list {
  display: grid;
  gap: 12px;
}

.qualification-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fbf8f0;
}

.qualification-head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  align-items: center;
}

.qualification-head > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fffaf0;
  background: var(--tea-green);
  font-family: var(--display-font);
  font-size: 14px;
  font-weight: 700;
}

.qualification-head > div {
  display: grid;
  gap: 3px;
}

.qualification-head strong {
  font-size: 14px;
}

.qualification-head small {
  color: var(--ink-soft);
  font-size: 10px;
}

.qualification-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 13px;
}

.qualification-actions button {
  min-height: 43px;
  padding: 9px 7px;
  border-radius: 12px;
  color: var(--tea-green);
  background: var(--tea-green-soft);
  font-size: 11px;
  font-weight: 750;
}

.qualification-actions button:last-child {
  border: 1px solid var(--line);
  background: transparent;
}

.account-list,
.payment-choice-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.account-list > button,
.payment-choice-list > button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border-radius: 15px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.account-list > button + button,
.payment-choice-list > button + button {
  border-top: 1px solid var(--line);
  border-radius: 0 0 15px 15px;
}

.account-list > button > span,
.choice-number {
  color: var(--apothecary-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.account-list button div,
.payment-choice-list button div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.account-list button strong,
.payment-choice-list button strong {
  font-size: 14px;
}

.account-list button small,
.payment-choice-list button small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.account-list button > b,
.payment-choice-list button > b {
  color: var(--apothecary-gold);
  font-size: 17px;
}

.operator-hero-card {
  padding: 25px 20px;
  border-radius: 24px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 87% 14%, rgba(226, 201, 142, 0.24), transparent 10rem),
    linear-gradient(145deg, #2d6954, #12382e);
  box-shadow: 0 18px 40px rgba(24, 67, 54, 0.2);
}

.operator-hero-card > p {
  margin: 24px 0 3px;
  color: rgba(255, 250, 240, 0.62);
  font-size: 11px;
}

.operator-hero-card > strong {
  display: block;
  color: #e2c98e;
  font-size: 38px;
}

.operator-hero-card > small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 250, 240, 0.64);
  font-size: 11px;
}

.operator-value-list {
  display: grid;
  gap: 14px;
}

.operator-value-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.operator-value-list article > span {
  color: var(--apothecary-gold);
  font-size: 10px;
  font-weight: 800;
}

.operator-value-list article > div {
  display: grid;
  gap: 3px;
}

.operator-value-list strong {
  font-size: 13px;
}

.operator-value-list small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.company-transfer-card {
  padding: 20px;
}

.company-transfer-card .order-facts {
  margin-top: 18px;
}

.pending-timeline {
  display: grid;
  gap: 0;
  padding: 21px 18px;
}

.pending-timeline > div {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  min-height: 70px;
}

.pending-timeline > div:not(:last-child)::after {
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 2px;
  content: "";
  background: var(--line);
}

.pending-timeline > div > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--rice-paper-deep);
  font-size: 11px;
  font-weight: 800;
}

.pending-timeline .done > span {
  color: #fffaf0;
  background: var(--tea-green);
}

.pending-timeline .current > span {
  color: #fffaf0;
  background: var(--apothecary-gold);
  box-shadow: 0 0 0 5px rgba(181, 138, 58, 0.11);
}

.pending-timeline div > div {
  display: grid;
  align-content: start;
  gap: 4px;
  padding-top: 7px;
}

.pending-timeline strong {
  font-size: 13px;
}

.pending-timeline small {
  color: var(--ink-soft);
  font-size: 10px;
}

.credit-ticket {
  display: grid;
  gap: 7px;
  padding: 21px;
  border: 1px dashed rgba(181, 138, 58, 0.55);
  background: linear-gradient(145deg, #fffdf8, #f0e5ce);
}

.credit-ticket > span {
  color: var(--ink-soft);
  font-size: 11px;
}

.credit-ticket > strong {
  color: var(--apothecary-gold);
  font-size: 31px;
}

.credit-ticket > small {
  color: var(--ink-soft);
  font-size: 10px;
}

.credit-ticket.is-empty {
  border-color: rgba(91, 124, 141, 0.3);
  background: rgba(91, 124, 141, 0.07);
}

.operator-ledger {
  display: grid;
  gap: 6px;
  padding: 21px;
  border-radius: 24px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 87% 12%, rgba(226, 201, 142, 0.23), transparent 10rem),
    linear-gradient(145deg, #2d6954, #12382e);
  box-shadow: 0 18px 40px rgba(24, 67, 54, 0.19);
}

.operator-ledger > span {
  margin-top: 21px;
  color: rgba(255, 250, 240, 0.62);
  font-size: 11px;
}

.operator-ledger > strong {
  color: #e2c98e;
  font-size: 33px;
}

.operator-ledger > small {
  color: rgba(255, 250, 240, 0.57);
  font-size: 10px;
}

.calculator-card {
  padding: 19px;
}

.money-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbf8f0;
}

.money-input > span {
  padding-left: 14px;
  color: var(--apothecary-gold);
  font-size: 19px;
  font-weight: 800;
}

.money-input input {
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 750;
}

.calculator-card > p {
  margin: 8px 0 17px;
  color: var(--muted-blue);
  font-size: 10px;
}

.fee-rows {
  display: grid;
  gap: 10px;
  margin: 0;
}

.fee-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.fee-rows dt {
  color: var(--ink-soft);
  font-size: 11px;
}

.fee-rows dd {
  margin: 0;
  color: var(--tea-green);
  font-size: 13px;
  font-weight: 750;
}

.fee-rows .fee-payable {
  margin-top: 4px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.fee-rows .fee-payable dd {
  color: var(--apothecary-gold);
  font-size: 20px;
}

.scenario-card > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.scenario-card button {
  min-height: 47px;
  padding: 8px 6px;
  border-radius: 12px;
  color: var(--tea-green);
  background: var(--tea-green-soft);
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.qualification-reminder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(181, 138, 58, 0.28);
  border-radius: 18px;
  background: rgba(181, 138, 58, 0.09);
}

.qualification-reminder > div {
  display: grid;
  gap: 3px;
}

.qualification-reminder span,
.qualification-reminder small {
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.45;
}

.qualification-reminder strong {
  color: var(--tea-green);
  font-size: 13px;
}

.qualification-reminder button {
  min-height: 42px;
  padding: 9px 13px;
  border-radius: 13px;
  color: #fffaf0;
  background: var(--apothecary-gold);
  font-size: 11px;
  font-weight: 750;
}

/* Mobile product controls stay comfortable for thumb use and older readers. */
.journey-body button,
.micro-entries button {
  min-height: 48px;
}

.journey-body small {
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .app-shell {
    width: 100%;
    box-shadow: none;
  }
}

@media (max-width: 350px) {
  .canopy {
    padding-right: 18px;
    padding-left: 18px;
  }

  .action-sheet {
    padding-right: 12px;
    padding-left: 12px;
  }

  .hero-title {
    font-size: 34px;
  }

  .micro-entries {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 92px 1fr;
    gap: 13px;
    padding: 16px;
  }

  .product-stamp {
    width: 90px;
    height: 138px;
  }

  .product-stamp span {
    font-size: 40px;
  }

  .two-button-row,
  .sample-code-row,
  .qualification-actions {
    grid-template-columns: 1fr;
  }

  .scenario-card > div {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .entry-card,
  .text-entry {
    transition: transform 160ms ease, box-shadow 160ms ease;
  }

  .entry-card:active,
  .text-entry:active {
    transform: scale(0.985);
  }
}
