body.xh-public-home {
  --xh-showcase-width-unit: clamp(.77px, calc(var(--xh-layout-vw) / 15.36), 1.48px);
  --xh-showcase-unit: var(--xh-showcase-width-unit);
  --xh-showcase-gutter: clamp(16px, calc(50 * var(--xh-showcase-width-unit)), 84px);
  --xh-showcase-green: #00652c;
  --xh-showcase-text: #0a0d0c;
  background: radial-gradient(ellipse at 50% 78%, #fff 7%, transparent 67%), #edf8fa;
  color: var(--xh-showcase-text);
}

.xh-showcase-symbols { position: absolute; }

.xh-public-home .xh-home-wrap {
  width: min(132rem, calc(100% - 2 * var(--xh-showcase-gutter)));
}

.xh-public-home .xh-home-header {
  border-color: #ecf3f3;
  background: linear-gradient(110deg, #f8f9fa, #fcfcfd 50%, #e9f5f6);
}

.xh-public-home .xh-home-header-inner {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: max(58px, calc(71 * var(--xh-showcase-unit)));
  padding: 0;
}

.xh-public-home .xh-home-brand {
  gap: calc(16 * var(--xh-showcase-unit));
  font-size: clamp(22px, calc(34 * var(--xh-showcase-unit)), 48px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.xh-showcase-mark {
  display: grid;
  flex: none;
  width: max(31px, calc(42 * var(--xh-showcase-unit)));
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid #66b899;
  border-radius: 24%;
  background: radial-gradient(ellipse at 23% 16%, #edfff5, transparent 58%),
    linear-gradient(145deg, #c4f4de, #8ed7b9);
  box-shadow: inset 0 1px 4px #fff9, inset 0 -2px 5px #4dad8126;
}

.xh-showcase-mark::before {
  width: 66%;
  aspect-ratio: 1;
  background: #16583d;
  clip-path: polygon(50% 4%, 63% 36%, 98% 38%, 70% 60%, 80% 94%, 50% 74%, 20% 94%, 30% 60%, 2% 38%, 37% 36%);
  content: "";
}

.xh-public-home .xh-home-nav {
  gap: max(18px, calc(51 * var(--xh-showcase-unit)));
  color: inherit;
  font-size: var(--xh-type-label);
  font-weight: 720;
}

.xh-public-home .xh-home-nav a[href]:hover { color: var(--xh-showcase-green); }
.xh-public-home #pluginDownload[aria-disabled="true"] { display: none; }

.xh-public-home .xh-home-header-actions { gap: clamp(8px, calc(12 * var(--xh-showcase-unit)), 16px); }

.xh-public-home .xh-home-header .xh-home-notices-trigger {
  border-color: #8abca1;
  background: #f5fffb;
  color: var(--xh-showcase-green);
}

.xh-public-home .xh-home-header .xh-home-notices-trigger:hover { background: #e5f5ef; }

.xh-public-home .xh-home-header .xh-public-signin {
  min-inline-size: calc(86 * var(--xh-showcase-unit));
  min-block-size: max(42px, calc(40 * var(--xh-showcase-unit)));
  padding-inline: max(14px, calc(20 * var(--xh-showcase-unit)));
  border-color: var(--xh-showcase-green);
  border-radius: calc(9 * var(--xh-showcase-unit));
  background: linear-gradient(135deg, #fff9, #e5f7f8a8);
  color: var(--xh-showcase-green);
  white-space: nowrap;
}

.xh-public-main {
  --xh-orbit-height: calc(550 * var(--xh-showcase-unit));
  flex: 1;
  background: linear-gradient(to right, #fcfdff5c, #f5fdfc23 46%, transparent) center top / 100% var(--xh-orbit-height) no-repeat,
    url("./xinghan-mint-orbit-desktop.49909e26ac2e.webp") center calc(-10 * var(--xh-showcase-unit)) / 100% var(--xh-orbit-height) no-repeat;
}

.xh-public-hero { padding-block: calc(56 * var(--xh-showcase-unit)) calc(17 * var(--xh-showcase-unit)); }

.xh-public-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.032fr);
  align-items: start;
  gap: calc(34 * var(--xh-showcase-unit));
}

.xh-public-intro { padding-top: calc(8 * var(--xh-showcase-unit)); }

.xh-public-intro h1 {
  margin: 0;
  font-size: calc(85 * var(--xh-showcase-unit));
  font-weight: 850;
  line-height: 1.19;
  letter-spacing: -.052em;
}

.xh-public-intro h1 span {
  color: #006b38;
  background: linear-gradient(155deg, #007c46, #00572f);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.xh-public-lead {
  margin: calc(11 * var(--xh-showcase-unit)) 0 0;
  color: #374441;
  font-size: clamp(19px, calc(26 * var(--xh-showcase-unit)), 39px);
  font-weight: 480;
  letter-spacing: .035em;
  line-height: 1.55;
}

.xh-public-hero-actions, .xh-showcase-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(20 * var(--xh-showcase-unit));
  max-width: calc(522 * var(--xh-showcase-unit));
}

.xh-public-hero-actions { margin-top: calc(41 * var(--xh-showcase-unit)); }

.xh-public-home .xh-public-hero-actions .xh-home-button {
  min-block-size: max(48px, calc(67 * var(--xh-showcase-unit)));
  padding: 6px 10px;
  border-color: var(--xh-showcase-green);
  border-radius: max(9px, calc(12 * var(--xh-showcase-unit)));
  background: linear-gradient(135deg, #fff9, #ebfffc76);
  color: #025624;
  font-size: clamp(17px, calc(26 * var(--xh-showcase-unit)), 38px);
  font-weight: 700;
}

.xh-public-home .xh-public-hero-actions .xh-home-button-primary {
  border-color: #56ad86;
  background: radial-gradient(ellipse at 28% 0, #defbea, transparent 65%),
    linear-gradient(105deg, #b2efd2, #81d5ae);
  color: #12492f;
  box-shadow: inset 0 1px 4px #f2fff6, 0 4px 11px #469b752c;
}

.xh-public-home .xh-public-hero-actions .xh-home-button:hover,
.xh-public-home .xh-home-header .xh-public-signin:hover { filter: brightness(.95); }

.xh-showcase-facts { margin-top: calc(15 * var(--xh-showcase-unit)); }

.xh-showcase-facts a {
  display: flex;
  align-items: center;
  min-height: max(44px, calc(47 * var(--xh-showcase-unit)));
  gap: calc(17 * var(--xh-showcase-unit));
  padding: 3px calc(20 * var(--xh-showcase-unit));
  border: 1px solid #16aa69;
  border-radius: max(8px, calc(12 * var(--xh-showcase-unit)));
  background: linear-gradient(125deg, #fff9, #e7f9f2aa);
  box-shadow: 0 4px 10px #14926415;
  line-height: 1.15;
}

.xh-showcase-icon {
  display: block;
  flex: none;
  width: calc(30 * var(--xh-showcase-unit));
  height: calc(30 * var(--xh-showcase-unit));
  color: #00843d;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.xh-showcase-facts strong { display: block; font-size: clamp(14px, calc(16 * var(--xh-showcase-unit)), 24px); }
.xh-showcase-facts small { display: block; margin-top: 2px; font: clamp(12px, calc(14 * var(--xh-showcase-unit)), 20px)/1.15 var(--home-mono); }

.xh-public-example {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: calc(21 * var(--xh-showcase-unit)) calc(24 * var(--xh-showcase-unit)) calc(26 * var(--xh-showcase-unit)) calc(34 * var(--xh-showcase-unit));
  border: 1px solid transparent;
  border-radius: max(15px, calc(19 * var(--xh-showcase-unit)));
  background: linear-gradient(145deg, #fafdfded 15%, #f4f9fad9 46%, #d3f2e8ed) padding-box,
    linear-gradient(137deg, #008c30, #96ffe9 26%, #b1ead7 63%, #f4ffff 87%, #00af54) border-box;
  box-shadow: inset 0 0 25px #60dfb179, inset 0 0 3px 2px #fff, 0 0 16px #f4fffcad,
    0 calc(12 * var(--xh-showcase-unit)) 0 -1px #e5fff266, 0 calc(18 * var(--xh-showcase-unit)) 28px #067c6052;
}

.xh-public-example-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 12px;
}

.xh-public-example h2 {
  margin: 0;
  font-size: clamp(25px, calc(34 * var(--xh-showcase-unit)), 50px);
  font-weight: 800;
  line-height: 1.35;
}

.xh-public-health {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  color: #40524c;
  font-size: clamp(15px, calc(21 * var(--xh-showcase-unit)), 29px);
  font-weight: 700;
  white-space: nowrap;
}

.xh-public-health::before { width: .6em; aspect-ratio: 1; border-radius: 50%; background: #687b75; content: ""; }
.xh-public-health[data-state="ready"] { color: #007324; }
.xh-public-health[data-state="ready"]::before { background: #00db2c; }
.xh-public-health[data-state="unavailable"] { color: #923139; }
.xh-public-health[data-state="unavailable"]::before { background: #b83e43; }

.xh-public-api { margin-block: calc(16 * var(--xh-showcase-unit)) calc(25 * var(--xh-showcase-unit)); }

.xh-public-api label {
  display: block;
  margin-bottom: calc(5 * var(--xh-showcase-unit));
  color: #40484a;
  font-size: clamp(16px, calc(22 * var(--xh-showcase-unit)), 30px);
  font-weight: 500;
  line-height: 1.35;
}

.xh-public-copy-row {
  display: flex;
  align-items: stretch;
  min-height: max(45px, calc(59 * var(--xh-showcase-unit)));
  border: 1px solid #79b4b7;
  border-radius: max(8px, calc(11 * var(--xh-showcase-unit)));
  background: linear-gradient(110deg, #fcfdffe8, #e7f6fa9c);
  box-shadow: 0 4px 10px #3ba39522, inset 0 0 12px #fffc;
}

.xh-public-copy-row input {
  flex: 1;
  min-width: 0;
  padding-inline: max(10px, calc(24 * var(--xh-showcase-unit)));
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: 400 clamp(14px, calc(22 * var(--xh-showcase-unit)), 32px)/1.3 var(--home-mono);
}

.xh-public-home .xh-public-copy-row button {
  position: relative;
  flex: none;
  padding-inline: max(12px, calc(26 * var(--xh-showcase-unit)));
  border: 0;
  background: transparent;
  color: #005926;
  font-size: clamp(15px, calc(20 * var(--xh-showcase-unit)), 29px);
  cursor: pointer;
}

.xh-public-copy-row button::before {
  position: absolute;
  inset: 25% auto 25% 0;
  border-inline-start: 1px solid #86b9b9;
  content: "";
}

.xh-public-copy-row button:hover { text-decoration: underline; }

.xh-public-code {
  overflow: hidden;
  border: 2px solid #71b79e;
  border-radius: max(10px, calc(15 * var(--xh-showcase-unit)));
  background: linear-gradient(110deg, #edf9f3, #d7f2e7);
  color: #163f33;
  box-shadow: inset 0 0 12px #fbfffcaa, 0 0 18px #7be6bc50;
}

.xh-public-code > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: max(33px, calc(43 * var(--xh-showcase-unit)));
  padding-inline: calc(24 * var(--xh-showcase-unit)) calc(16 * var(--xh-showcase-unit));
  border-bottom: 1px solid #8ccab2;
  background: radial-gradient(ellipse at 60% -22%, #e2fbef, transparent 56%),
    linear-gradient(115deg, #c6efdd, #a9dfcb);
  box-shadow: inset 0 1px 4px #f7fffb9c;
}

.xh-public-code select { font: inherit; color: inherit; background: transparent; border: 0; cursor: pointer; }
.xh-public-code option { color: #173b32; background: white; }
.xh-public-code button {
  min-height: max(33px, calc(40 * var(--xh-showcase-unit)));
  padding: 0 3px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: clamp(14px, calc(18 * var(--xh-showcase-unit)), 27px);
  cursor: pointer;
}

.xh-public-code button:hover { text-decoration: underline; }
.xh-public-code pre {
  display: block;
  margin: 0;
  padding: max(12px, calc(18 * var(--xh-showcase-unit))) max(12px, calc(26 * var(--xh-showcase-unit)));
  overflow-x: auto;
  font-size: clamp(13px, calc(21 * var(--xh-showcase-unit)), 31px);
  line-height: 1.36;
}

.xh-public-code pre:focus-visible, .xh-public-copy-row input:focus-visible {
  outline: 2px solid #00aa67;
  outline-offset: -3px;
}

.xh-public-code code { font: 400 1em/1 var(--home-mono); }
.xh-public-code-note:empty { padding: 0; border: 0; box-shadow: none; }
.xh-public-code-note {
  position: absolute;
  z-index: 1;
  right: calc(24 * var(--xh-showcase-unit));
  bottom: calc(8 * var(--xh-showcase-unit));
  max-width: calc(100% - 28px);
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #83bd9c;
  border-radius: 8px;
  background: #f8fffb;
  color: #06502e;
  font-size: 14px;
  box-shadow: 0 3px 12px #063e2820;
}

.xh-public-resources :is(.xh-showcase-capabilities, .xh-showcase-steps) h2 {
  margin: 0 0 calc(11 * var(--xh-showcase-unit));
  font-size: clamp(25px, calc(35 * var(--xh-showcase-unit)), 51px);
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -.025em;
}

.xh-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.04fr);
  gap: calc(21 * var(--xh-showcase-unit));
  margin: 0;
  padding: 0;
  list-style: none;
}

.xh-showcase-grid a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: calc(23 * var(--xh-showcase-unit));
  min-height: calc(92 * var(--xh-showcase-unit));
  height: 100%;
  padding: calc(12 * var(--xh-showcase-unit)) calc(22 * var(--xh-showcase-unit)) calc(12 * var(--xh-showcase-unit)) calc(25 * var(--xh-showcase-unit));
  border: 1px solid transparent;
  border-radius: max(10px, calc(13 * var(--xh-showcase-unit)));
  background: linear-gradient(128deg, #ffffffeb, #f7fafcf5 63%, #ecf8f9ed) padding-box,
    linear-gradient(165deg, #009a36, #a5f0cc 42%, #3c9a88) border-box;
  box-shadow: inset 0 -3px 14px #94d9c51c, 0 6px 14px #378e7227;
  transition: box-shadow .16s, border-color .16s;
}

.xh-showcase-grid a:hover, .xh-showcase-facts a:hover {
  border-color: #00813c;
  box-shadow: 0 5px 16px #248a6640;
}

.xh-showcase-grid a > span {
  display: grid;
  align-content: center;
  align-self: center;
  min-height: calc(54 * var(--xh-showcase-unit));
  padding-inline-start: calc(22 * var(--xh-showcase-unit));
  border-inline-start: 1px solid #529c8c;
  line-height: 1.28;
}

.xh-showcase-grid strong {
  font-size: clamp(17px, calc(24 * var(--xh-showcase-unit)), 34px);
  font-weight: 800;
}

.xh-showcase-grid small {
  margin-top: calc(5 * var(--xh-showcase-unit));
  font-size: clamp(14px, calc(17 * var(--xh-showcase-unit)), 24px);
  line-height: 1.4;
}

.xh-showcase-grid .xh-showcase-icon {
  width: max(44px, calc(67 * var(--xh-showcase-unit)));
  height: max(40px, calc(55 * var(--xh-showcase-unit)));
  padding: calc(9 * var(--xh-showcase-unit)) calc(12 * var(--xh-showcase-unit));
  border-radius: calc(14 * var(--xh-showcase-unit));
  background: linear-gradient(150deg, #e8fcf4, #a8ead2);
  color: #009444;
  filter: drop-shadow(0 4px 3px #378f6c38);
}

.xh-showcase-steps { margin-top: calc(13 * var(--xh-showcase-unit)); }
.xh-public-resources .xh-showcase-steps h2 { font-size: clamp(27px, calc(38 * var(--xh-showcase-unit)), 54px); }
.xh-showcase-steps .xh-showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: calc(-10 * var(--xh-showcase-unit)); }
.xh-showcase-steps .xh-showcase-grid a { min-height: calc(103 * var(--xh-showcase-unit)); gap: calc(20 * var(--xh-showcase-unit)); padding-inline: calc(22 * var(--xh-showcase-unit)) calc(10 * var(--xh-showcase-unit)); }
.xh-showcase-steps .xh-showcase-grid strong { font-size: clamp(19px, calc(27 * var(--xh-showcase-unit)), 40px); }
.xh-showcase-steps .xh-showcase-grid small { font-size: clamp(14px, calc(16 * var(--xh-showcase-unit)), 23px); }
.xh-showcase-steps .xh-showcase-grid a > span { min-height: calc(60 * var(--xh-showcase-unit)); }
.xh-showcase-steps .xh-showcase-icon {
  width: max(35px, calc(52 * var(--xh-showcase-unit)));
  height: max(35px, calc(52 * var(--xh-showcase-unit)));
  padding: 1px;
  background: none;
  filter: none;
}

.xh-public-home .xh-account-support {
  display: grid;
  margin-top: calc(20 * var(--xh-showcase-unit));
  border-block: 1px solid #a4ced1;
}

.xh-account-support-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 calc(46 * var(--xh-showcase-unit));
}

.xh-account-support-links a {
  display: inline-flex;
  align-items: center;
  min-height: max(41px, calc(43 * var(--xh-showcase-unit)));
  color: var(--xh-showcase-green);
  font-size: clamp(16px, calc(20 * var(--xh-showcase-unit)), 27px);
  font-weight: 700;
  text-align: center;
}

.xh-account-support-links a:hover { text-decoration: underline; }

.xh-public-home .xh-account-support details { padding-block: 8px; text-align: center; }
.xh-account-support summary { cursor: pointer; }
.xh-account-support summary span { margin-inline-start: .6em; color: var(--xh-showcase-green); }
.xh-account-community-content { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }
.xh-account-community-content img { object-fit: contain; }

.xh-public-home .xh-home-footer .xh-account-footer {
  justify-content: center;
  min-height: calc(54 * var(--xh-showcase-unit));
  padding-block: 8px;
  color: #131a19;
  font-size: clamp(14px, calc(17 * var(--xh-showcase-unit)), 24px);
}

.xh-account-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; text-align: center; }
.xh-account-legal a { opacity: .8; }

@media (min-width: 981px) and (min-height: 600px) {
  body.xh-public-home {
    /* Reserve space for controls with a fixed minimum height. */
    --xh-showcase-unit: min(var(--xh-showcase-width-unit), calc((100 * var(--xh-layout-svh) - 6rem) / 940));
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .xh-public-hero { padding-block-start: calc(38 * var(--xh-showcase-unit)); }
  .xh-public-hero-actions { margin-top: calc(27 * var(--xh-showcase-unit)); }
}

@media (max-width: 980px) {
  body.xh-public-home { --xh-showcase-gutter: clamp(17px, 4vw, 48px); }
  .xh-public-main {
    --xh-orbit-height: 680px;
    background-image: linear-gradient(to bottom, #f8fffc84, #f8fffc19 55%, transparent), url("./xinghan-mint-orbit-mobile.1615147d0463.webp");
    background-size: 100% var(--xh-orbit-height), auto var(--xh-orbit-height);
    background-position: center top, 63% top;
  }
  .xh-public-hero { padding-block: clamp(30px, 5vw, 60px) 28px; }
  .xh-public-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .xh-public-intro { padding-top: 0; }
  .xh-public-intro h1 { font-size: clamp(42px, 8.7vw, 80px); }
  .xh-public-hero-actions, .xh-showcase-facts { max-width: 34rem; }
  .xh-public-hero-actions { margin-top: 24px; }
  .xh-public-example { padding: 20px; }
  .xh-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .xh-showcase-steps .xh-showcase-grid { margin-inline: 0; }
}

@media (max-width: 740px) {
  .xh-public-home .xh-home-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; padding-top: 8px; }
  .xh-public-home .xh-home-header-actions { grid-area: 1 / 2; }
  .xh-public-home .xh-home-nav { grid-column: 1 / -1; justify-content: flex-start; flex-wrap: wrap; gap: 0 16px; padding-top: 0; }
  .xh-public-home .xh-home-nav a { display: inline-flex; align-items: center; min-height: 42px; }
  .xh-public-home .xh-home-header .xh-public-signin { min-block-size: 48px; }
}

@media (max-width: 620px) {
  .xh-public-main { background-position: center top, 62% top; }
  .xh-public-intro h1 { font-size: clamp(36px, 10.8vw, 60px); }
  .xh-public-lead { font-size: clamp(17px, 4.8vw, 22px); }
  .xh-public-hero-actions, .xh-showcase-facts, .xh-showcase-grid { gap: 10px; }
  .xh-public-home .xh-public-hero-actions .xh-home-button, .xh-showcase-facts a { min-height: 51px; }
  .xh-showcase-facts a { gap: 8px; padding-inline: 9px; }
  .xh-public-example { padding: 14px; }
  .xh-public-copy-row, .xh-public-code button { min-height: 48px; }
  .xh-public-code pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .xh-showcase-grid a { gap: 9px; padding: 10px; }
  .xh-showcase-grid a > span { padding-inline-start: 9px; }
  .xh-showcase-grid .xh-showcase-icon { padding: 5px; }
  .xh-showcase-capabilities .xh-showcase-grid a { gap: 7px; padding-inline: 8px; }
  .xh-showcase-capabilities .xh-showcase-grid a > span { padding-inline-start: 7px; }
  .xh-showcase-capabilities .xh-showcase-icon { width: 40px; }
  .xh-showcase-steps .xh-showcase-grid { grid-template-columns: minmax(0, 1fr); }
  .xh-showcase-steps .xh-showcase-grid a { min-height: 74px; padding-inline: 14px; }
  .xh-showcase-steps .xh-showcase-icon { padding: 0; }
  .xh-public-home .xh-account-support { padding-block: 3px; }
}

@media (max-width: 360px) {
  .xh-showcase-capabilities .xh-showcase-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .xh-public-home .xh-showcase-grid a { transition: none; }
}
