/* Jingjie license control plane */

body.storefront {
  --sf-bg: #07110f;
  --sf-bg-deep: #040a09;
  --sf-panel: #0a1513;
  --sf-panel-raised: #0d1b18;
  --sf-panel-soft: #101f1c;
  --sf-line: rgba(138, 219, 190, 0.15);
  --sf-line-strong: rgba(138, 219, 190, 0.28);
  --sf-text: #ecf8f4;
  --sf-muted: #8aa89f;
  --sf-muted-strong: #b8ccc5;
  --sf-accent: #66e3b0;
  --sf-accent-soft: rgba(102, 227, 176, 0.1);
  --sf-cyan: #66c9d3;
  --sf-warning: #e3b66f;
  --sf-danger: #ef8d8d;
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--sf-text);
  font-family: "Bahnschrift", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  background:
    radial-gradient(circle at 12% -10%, rgba(54, 172, 128, 0.16), transparent 29rem),
    radial-gradient(circle at 91% 12%, rgba(52, 121, 139, 0.11), transparent 25rem),
    linear-gradient(150deg, #081310 0%, var(--sf-bg) 48%, #050c0b 100%);
}

body.storefront::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(119, 206, 176, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(119, 206, 176, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.5) 70%, transparent);
}

body.storefront::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.025) 4px
  );
}

body.storefront ::selection {
  color: #04110d;
  background: var(--sf-accent);
}

body.storefront :focus-visible {
  outline: 2px solid var(--sf-accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 13px;
  color: #04110d;
  border-radius: 6px;
  background: var(--sf-accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.ambient-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.ambient-orbit {
  position: absolute;
  display: block;
  border: 1px solid rgba(102, 227, 176, 0.09);
  border-radius: 50%;
}

.ambient-orbit-a {
  top: -330px;
  left: -250px;
  width: 760px;
  height: 760px;
}

.ambient-orbit-b {
  right: -290px;
  bottom: -390px;
  width: 860px;
  height: 860px;
  border-color: rgba(102, 201, 211, 0.07);
}

.ambient-scan {
  position: absolute;
  top: -18%;
  right: 4%;
  width: min(760px, 55vw);
  height: 20%;
  opacity: 0.45;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(102, 227, 176, 0.035),
    transparent
  );
  animation: storefront-scan 14s linear infinite;
}

.site-header,
.page-shell {
  width: min(1320px, calc(100% - 56px));
}

.site-header {
  position: relative;
  z-index: 2;
  padding: 22px 0 18px;
}

.brand {
  gap: 14px;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  overflow: hidden;
  color: #d8fff0;
  border: 1px solid rgba(145, 239, 204, 0.3);
  border-radius: 11px;
  background:
    linear-gradient(145deg, rgba(102, 227, 176, 0.17), rgba(102, 227, 176, 0.03)),
    #0a1714;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 10px 30px rgba(0, 0, 0, 0.28);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--sf-accent);
  border-right: 1px solid var(--sf-accent);
}

.brand-text strong {
  color: var(--sf-text);
  font-size: 16px;
  font-weight: 720;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--sf-muted);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-actions {
  gap: 9px;
}

.service-badge,
.header-link {
  color: var(--sf-muted-strong);
  border: 1px solid var(--sf-line);
  background: rgba(10, 25, 21, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
}

.service-badge {
  min-height: 36px;
  padding: 0 13px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.service-dot {
  width: 6px;
  height: 6px;
  background: var(--sf-accent);
  box-shadow: 0 0 0 4px rgba(102, 227, 176, 0.09);
  animation: storefront-pulse 2.4s ease-in-out infinite;
}

.header-link {
  min-height: 36px;
  padding: 0 13px;
  color: var(--sf-muted-strong);
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-link:hover {
  color: var(--sf-text);
  border-color: var(--sf-line-strong);
  background: rgba(17, 39, 33, 0.9);
}

.page-shell {
  position: relative;
  padding: 6px 0 34px;
}

.console-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--sf-line);
  border-radius: 24px;
  background: rgba(6, 16, 14, 0.86);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
}

.console-shell::before,
.console-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.console-shell::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--sf-accent);
  border-left: 2px solid var(--sf-accent);
  border-top-left-radius: 24px;
}

.console-shell::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid rgba(102, 201, 211, 0.65);
  border-bottom: 2px solid rgba(102, 201, 211, 0.65);
  border-bottom-right-radius: 24px;
}

.console-topbar {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  color: #75958b;
  border-bottom: 1px solid var(--sf-line);
  background: rgba(6, 18, 15, 0.8);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.console-title {
  color: #9fc4b7;
}

.console-telemetry {
  display: flex;
  align-items: center;
  gap: 0;
}

.console-telemetry span {
  padding: 0 10px;
  border-left: 1px solid var(--sf-line);
  white-space: nowrap;
}

.console-telemetry span:nth-child(1)::before,
.console-telemetry span:nth-child(2)::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sf-accent);
  vertical-align: 1px;
}

.purchase-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.84fr) minmax(560px, 1.36fr);
  min-height: 730px;
}

.purchase-intro {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 34px 34px 30px;
  border-right: 1px solid var(--sf-line);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(102, 227, 176, 0.045), transparent 35%),
    radial-gradient(circle at 84% 16%, rgba(102, 227, 176, 0.08), transparent 18rem),
    #081512;
  box-shadow: none;
}

.purchase-intro::before {
  content: "";
  position: absolute;
  top: 150px;
  right: -172px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(102, 227, 176, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 46px rgba(102, 227, 176, 0.025),
    0 0 0 92px rgba(102, 227, 176, 0.018);
}

.purchase-intro::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 26px;
  width: 92px;
  height: 92px;
  opacity: 0.5;
  background:
    linear-gradient(90deg, transparent 49%, rgba(102, 227, 176, 0.18) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(102, 227, 176, 0.18) 50%, transparent 51%);
  background-size: 18px 18px;
  mask-image: linear-gradient(135deg, transparent 5%, #000 70%);
}

.plans-intro,
.checkout-intro {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.checkout-intro {
  display: none;
}

.purchase-layout[data-view="checkout"] .plans-intro,
.purchase-layout[data-view="success"] .plans-intro,
.purchase-layout[data-view="restore"] .plans-intro {
  display: none;
}

.purchase-layout[data-view="checkout"] .checkout-intro,
.purchase-layout[data-view="success"] .checkout-intro,
.purchase-layout[data-view="restore"] .checkout-intro {
  display: flex;
}

.product-lockup {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--sf-line);
}

.product-lockup.compact {
  grid-template-columns: auto minmax(0, 1fr);
}

.product-icon {
  position: relative;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(102, 227, 176, 0.13), transparent),
    rgba(11, 30, 25, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
}

.product-icon::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sf-accent);
  box-shadow: 0 0 0 3px rgba(102, 227, 176, 0.08);
}

.product-icon svg {
  width: 27px;
  height: 27px;
}

.product-lockup > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.product-lockup span {
  color: #73968a;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.product-lockup strong {
  color: #e6f5ef;
  font-size: 15px;
  font-weight: 690;
}

.product-version {
  align-self: start;
  padding: 5px 8px;
  color: #91b8aa !important;
  border: 1px solid var(--sf-line);
  border-radius: 5px;
  background: rgba(102, 227, 176, 0.035);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px !important;
  letter-spacing: 0.03em !important;
}

.system-readout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  border: 1px solid var(--sf-line);
  border-radius: 9px;
  background: rgba(5, 15, 12, 0.56);
}

.system-readout > div {
  min-width: 0;
  display: grid;
  gap: 5px;
  padding: 10px 11px;
}

.system-readout > div + div {
  border-left: 1px solid var(--sf-line);
}

.system-readout span {
  color: #66867b;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.12em;
}

.system-readout strong {
  color: #a8d8c7;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.system-readout > div:first-child strong::before {
  content: "";
  width: 5px;
  height: 5px;
  display: inline-block;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sf-accent);
  vertical-align: 1px;
}

.intro-heading {
  margin-top: 38px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #72a997;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.hero-title {
  max-width: 470px;
  margin: 0;
  color: #f1faf7;
  font-size: clamp(38px, 3.8vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  font-weight: 760;
}

.hero-title span {
  color: var(--sf-accent);
}

.hero-copy {
  max-width: 450px;
  margin-top: 19px;
  color: #a2bbb3;
  font-size: 13.5px;
  line-height: 1.85;
}

.edition-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 28px;
}

.edition-compare > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  padding: 12px 13px;
  border: 1px solid var(--sf-line);
  border-radius: 8px;
  background: rgba(9, 26, 21, 0.58);
}

.edition-compare .compare-pro {
  border-color: rgba(102, 227, 176, 0.22);
  background:
    linear-gradient(90deg, rgba(102, 227, 176, 0.07), transparent 55%),
    rgba(9, 26, 21, 0.72);
}

.compare-label {
  grid-row: span 2;
  align-self: center;
  min-width: 48px;
  padding: 4px 7px;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.2);
  border-radius: 4px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.edition-compare strong {
  color: #dcece6;
  font-size: 12.5px;
  font-weight: 650;
}

.edition-compare p {
  margin: 0;
  color: #8ba69d;
  font-size: 10.5px;
  line-height: 1.55;
}

.benefit-list {
  gap: 12px;
  margin-top: 23px;
}

.benefit-item {
  color: #c6d8d1;
}

.benefit-item > span:last-child {
  display: grid;
  gap: 3px;
}

.benefit-item strong {
  color: #cde3db;
  font-size: 12.5px;
  font-weight: 630;
}

.benefit-item small {
  color: #8ca69e;
  font-size: 10.5px;
  line-height: 1.6;
}

.benefit-icon {
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.16);
  background: rgba(102, 227, 176, 0.07);
}

.checkout-title {
  max-width: 390px;
}

.flow-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin: 31px 0 0;
  padding: 0;
  list-style: none;
}

.flow-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  min-height: 78px;
  color: #6d8b81;
}

.flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 16px;
  width: 1px;
  background: var(--sf-line);
}

.step-number {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #6c8d81;
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  background: #0a1a16;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
}

.step-number svg {
  width: 15px;
  height: 15px;
}

.flow-steps strong,
.flow-steps small {
  display: block;
}

.flow-steps strong {
  margin-top: 1px;
  color: #9bb5ac;
  font-size: 12.5px;
}

.flow-steps small {
  margin-top: 5px;
  color: #849f96;
  font-size: 10.5px;
}

.flow-steps li.complete .step-number,
.flow-steps li.active .step-number {
  color: var(--sf-accent);
  border-color: rgba(102, 227, 176, 0.34);
  background: rgba(102, 227, 176, 0.08);
}

.flow-steps li.complete strong,
.flow-steps li.active strong {
  color: #e1f1eb;
}

.flow-steps li.active .step-number {
  box-shadow: 0 0 0 5px rgba(102, 227, 176, 0.045);
}

.purchase-layout[data-view="success"] .flow-steps li::after {
  background: rgba(102, 227, 176, 0.28);
}

.purchase-layout[data-view="success"] .flow-steps .step-number {
  color: var(--sf-accent);
  border-color: rgba(102, 227, 176, 0.4);
  background: rgba(102, 227, 176, 0.1);
}

.security-strip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 25px;
  color: #8aa69d;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.security-strip svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: var(--sf-accent);
}

.purchase-card {
  position: relative;
  min-width: 0;
  padding: 34px 38px 30px;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 28%),
    #0a1513;
  box-shadow: none;
  backdrop-filter: none;
}

.purchase-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 210px;
  height: 210px;
  display: block;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(102, 227, 176, 0.08) 50%, transparent 50.5%),
    linear-gradient(transparent 49.5%, rgba(102, 227, 176, 0.08) 50%, transparent 50.5%);
  background-size: 26px 26px;
  mask-image: linear-gradient(225deg, #000 0%, transparent 72%);
}

.view-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.card-kicker {
  margin: 0;
  color: #6b9486;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9.5px;
  letter-spacing: 0.13em;
}

.card-title {
  margin: 7px 0;
  color: #f0f8f5;
  font-size: 31px;
  letter-spacing: -0.045em;
  font-weight: 720;
}

.card-copy {
  max-width: 590px;
  margin: 0;
  color: #9bb4ac;
  font-size: 12.5px;
  line-height: 1.75;
}

.secure-label,
.status-tag,
.merchant-badge {
  min-height: 29px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 0 10px;
  border-radius: 5px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.secure-label,
.merchant-badge {
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.2);
  background: rgba(102, 227, 176, 0.06);
}

.secure-label svg {
  width: 13px;
  height: 13px;
}

.status-tag {
  color: var(--sf-warning);
  border: 1px solid rgba(227, 182, 111, 0.22);
  background: rgba(227, 182, 111, 0.06);
}

.status-tag .status-dot {
  width: 6px;
  height: 6px;
  background: var(--sf-warning);
  box-shadow: 0 0 0 4px rgba(227, 182, 111, 0.07);
}

.edition-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  margin-top: 25px;
  padding: 4px;
  border: 1px solid var(--sf-line);
  border-radius: 10px;
  background: rgba(3, 11, 9, 0.62);
}

.edition-tab {
  position: relative;
  min-width: 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 13px;
  color: #78958c;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  text-align: left;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.edition-tab:hover {
  color: #c8ddd5;
  background: rgba(102, 227, 176, 0.035);
}

.edition-tab[aria-selected="true"] {
  color: #ebf8f3;
  border-color: rgba(102, 227, 176, 0.2);
  background:
    linear-gradient(110deg, rgba(102, 227, 176, 0.1), transparent 64%),
    #0c1c18;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.edition-tab[aria-selected="true"]::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 22px;
  border-radius: 0 2px 2px 0;
  background: var(--sf-accent);
  transform: translateY(-50%);
}

.edition-tab-copy {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.edition-tab-copy strong {
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.03em;
}

.edition-tab-copy small,
.edition-tab-note {
  color: #91aaa2;
  font-size: 10.5px;
  white-space: nowrap;
}

.edition-tab-badge {
  padding: 4px 6px;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.16);
  border-radius: 4px;
  background: rgba(102, 227, 176, 0.055);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}

.edition-description {
  min-height: 31px;
  margin: 13px 0 0;
  color: #8ea79f;
  font-size: 11.5px;
  line-height: 1.65;
}

.plan-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 15px;
}

.plan-option {
  position: relative;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  padding: 16px;
  color: var(--sf-text);
  border: 1px solid var(--sf-line);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent),
    rgba(11, 27, 23, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 160ms ease;
}

.plan-option::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 22px;
  height: 22px;
  border-right: 1px solid rgba(102, 227, 176, 0.18);
  border-bottom: 1px solid rgba(102, 227, 176, 0.18);
  opacity: 0;
  transition: opacity 180ms ease;
}

.plan-option:hover {
  border-color: var(--sf-line-strong);
  background:
    linear-gradient(180deg, rgba(102, 227, 176, 0.045), transparent),
    rgba(12, 31, 26, 0.8);
}

.plan-option:hover::after {
  opacity: 1;
}

.plan-option:active {
  transform: scale(0.992);
}

.plan-option[aria-pressed="true"] {
  border-color: rgba(102, 227, 176, 0.48);
  background:
    linear-gradient(145deg, rgba(102, 227, 176, 0.11), transparent 60%),
    #0b1e18;
  box-shadow:
    inset 0 0 0 1px rgba(102, 227, 176, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.plan-option[aria-pressed="true"]::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--sf-accent), transparent 82%);
}

.plan-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 23px;
}

.plan-duration {
  color: #86a49a;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.plan-badge {
  margin-left: auto;
  padding: 3px 6px;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.16);
  border-radius: 4px;
  background: rgba(102, 227, 176, 0.055);
  font-size: 9px;
  font-weight: 650;
}

.plan-radio {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 17px;
  height: 17px;
  border: 1px solid #55736a;
  border-radius: 50%;
}

.plan-option[aria-pressed="true"] .plan-radio {
  border-color: var(--sf-accent);
}

.plan-option[aria-pressed="true"] .plan-radio::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sf-accent);
}

.plan-name {
  margin-top: 25px;
  color: #dcece6;
  font-size: 17px;
  font-weight: 680;
}

.plan-meta {
  margin-top: 6px;
  color: #88a49b;
  font-size: 10.5px;
  line-height: 1.45;
}

.plan-price {
  margin-top: auto;
  padding-top: 20px;
  color: #f0faf6;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.plan-price small {
  margin-left: 2px;
  color: #68867c;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0;
}

.renew-toggle {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  color: #7fbca6;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 11.5px;
  font-weight: 650;
}

.renew-toggle:hover {
  color: var(--sf-accent);
  background: rgba(102, 227, 176, 0.04);
}

.purchase-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--sf-line);
}

.selected-plan {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.selected-plan span {
  color: #638077;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.07em;
}

.selected-plan strong {
  overflow: hidden;
  color: #cce0d9;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.primary-button,
.secondary-button,
.quiet-button,
.danger-button {
  min-height: 46px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 680;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    transform 160ms ease;
}

.primary-button {
  width: 100%;
  margin-top: 16px;
  color: #07130f;
  border: 1px solid var(--sf-accent);
  background: var(--sf-accent);
  box-shadow:
    0 10px 30px rgba(37, 150, 109, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.primary-button:hover {
  color: #03100c;
  border-color: #82efc3;
  background: #82efc3;
}

.primary-button:active,
.secondary-button:active,
.quiet-button:active,
.danger-button:active {
  transform: scale(0.985);
}

.primary-button:disabled,
.secondary-button:disabled,
.quiet-button:disabled,
.danger-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.primary-button svg,
.secondary-button svg,
.quiet-button svg,
.danger-button svg {
  width: 16px;
  height: 16px;
}

.secondary-button {
  color: #b8e0d0;
  border: 1px solid var(--sf-line-strong);
  background: rgba(102, 227, 176, 0.045);
}

.secondary-button:hover {
  color: #e9faf3;
  border-color: rgba(102, 227, 176, 0.42);
  background: rgba(102, 227, 176, 0.075);
}

.quiet-button {
  color: #809c93;
  border: 1px solid var(--sf-line);
  background: rgba(255, 255, 255, 0.012);
}

.quiet-button:hover {
  color: #c8ddd6;
  border-color: var(--sf-line-strong);
  background: rgba(255, 255, 255, 0.025);
}

.danger-button {
  color: var(--sf-danger);
  border: 1px solid rgba(239, 141, 141, 0.24);
  background: rgba(239, 141, 141, 0.05);
}

.button-row {
  color: #748f86;
  border-color: var(--sf-line);
  background: rgba(4, 13, 10, 0.55);
}

.purchase-action .primary-button {
  width: auto;
  min-width: 184px;
  margin-top: 0;
}

.fine-print {
  margin-top: 10px;
  color: #78938a;
  font-size: 9.5px;
  line-height: 1.65;
  text-align: left;
}

.pro-unavailable {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 22px;
  min-height: 172px;
  padding: 21px;
  border: 1px solid var(--sf-line);
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0%, rgba(102, 227, 176, 0.08), transparent 16rem),
    rgba(7, 20, 16, 0.72);
}

.pro-unavailable-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pro-unavailable-label {
  display: inline-flex;
  padding: 4px 7px;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.18);
  border-radius: 4px;
  background: rgba(102, 227, 176, 0.05);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 650;
}

.pro-unavailable h3 {
  margin: 14px 0 7px;
  color: #e4f3ed;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.pro-unavailable p {
  max-width: 490px;
  margin: 0;
  color: #78948b;
  font-size: 10px;
  line-height: 1.75;
}

.pro-unavailable-note {
  margin-top: auto;
  padding-top: 16px;
  color: var(--sf-warning);
  font-size: 9px;
}

.pro-feature-list {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pro-feature-list li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  color: #9bb8ae;
  border: 1px solid var(--sf-line);
  border-radius: 5px;
  background: rgba(3, 13, 10, 0.55);
  font-size: 9px;
}

.pro-feature-list li::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  background: var(--sf-accent);
  clip-path: polygon(18% 46%, 38% 66%, 84% 17%, 94% 27%, 39% 84%, 8% 55%);
}

.checkout-view {
  min-width: 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  gap: 14px;
  margin-top: 22px;
}

.checkout-details,
.payment-panel {
  min-width: 0;
}

.order-summary {
  margin-top: 0;
  padding: 18px;
  border: 1px solid var(--sf-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(102, 227, 176, 0.035), transparent 50%),
    rgba(4, 14, 11, 0.58);
}

.summary-row {
  gap: 12px;
  padding: 7px 0;
  font-size: 10px;
}

.summary-row span:first-child {
  flex: 0 0 auto;
  color: #658178;
}

.summary-row strong {
  min-width: 0;
  color: #bbd2c9;
  font-size: 10px;
  overflow-wrap: anywhere;
}

.summary-row:first-child strong {
  color: #98c7b6;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.summary-total {
  margin-top: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--sf-line);
}

.summary-total strong {
  color: var(--sf-accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 21px;
  letter-spacing: -0.05em;
}

.payment-guide {
  margin-top: 11px;
  padding: 15px;
  border: 1px solid var(--sf-line);
  border-radius: 8px;
  background: rgba(9, 23, 19, 0.72);
}

.guide-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bed7ce;
  font-size: 10px;
}

.guide-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.16);
  border-radius: 5px;
  background: rgba(102, 227, 176, 0.055);
}

.guide-icon svg {
  width: 14px;
  height: 14px;
}

.payment-guide ol {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.payment-guide li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718c83;
  font-size: 9px;
  line-height: 1.55;
}

.payment-guide li span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #8cc0ad;
  border: 1px solid var(--sf-line);
  border-radius: 50%;
  background: rgba(102, 227, 176, 0.035);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.payment-panel {
  padding: 17px;
  border: 1px solid var(--sf-line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(102, 227, 176, 0.035), transparent 35%),
    rgba(5, 16, 13, 0.7);
}

.payment-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.payment-panel-heading h3 {
  margin: 0;
  color: #dcece6;
  font-size: 13px;
}

.payment-panel-heading p {
  margin: 4px 0 0;
  color: #6c887f;
  font-size: 9px;
  line-height: 1.55;
}

.merchant-badge {
  min-height: 25px;
  font-size: 8px;
}

.payment-qr-grid {
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 14px;
}

.payment-channel-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.payment-channel-option {
  min-width: 0;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  color: #94afa6;
  border: 1px solid var(--sf-line);
  border-radius: 7px;
  background: rgba(10, 28, 23, 0.7);
  text-align: left;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.payment-channel-option:hover {
  color: #d1e6de;
  border-color: var(--sf-line-strong);
  background: rgba(13, 36, 29, 0.82);
}

.payment-channel-option[aria-pressed="true"] {
  color: #e4f5ee;
  border-color: rgba(102, 227, 176, 0.3);
  background: rgba(102, 227, 176, 0.06);
  box-shadow: inset 0 0 0 1px rgba(102, 227, 176, 0.04);
}

.payment-channel-option-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.payment-channel-option-copy strong {
  font-size: 10px;
}

.payment-channel-option-copy small {
  color: #668078;
  font-size: 8px;
}

.payment-qr-card {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--sf-line);
  border-radius: 7px;
  background: rgba(8, 22, 18, 0.78);
  box-shadow: none;
  text-align: left;
}

.payment-qr-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}

.channel-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 750;
}

.channel-mark.wechat {
  background: #159e64;
}

.channel-mark.alipay {
  background: #1677ff;
}

.payment-qr-card h3 {
  margin: 0;
  color: #d7e9e2;
  font-size: 10px;
}

.payment-channel-copy {
  margin: 2px 0 0;
  color: #647f76;
  font-size: 8px;
}

.payment-qr-frame {
  aspect-ratio: 1;
  padding: 7px;
  border: 1px solid rgba(151, 228, 200, 0.18);
  border-style: solid;
  border-radius: 6px;
  background: #fff;
}

.payment-qr-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.payment-qr-loading {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 18px;
  color: #6f8c82;
  text-align: center;
  font-size: 8px;
  line-height: 1.65;
}

.payment-qr-loading .spinner {
  width: 22px;
  height: 22px;
  border-color: rgba(102, 227, 176, 0.18);
  border-top-color: var(--sf-accent);
}

.payment-qr-missing {
  max-width: 180px;
  color: var(--sf-warning);
  font-size: 8px;
  line-height: 1.6;
  text-align: center;
}

.payment-qr-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.payment-qr-meta strong {
  margin: 0;
  color: var(--sf-accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
}

.payment-qr-meta span {
  color: #607b72;
  font-size: 8px;
}

.payment-order-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--sf-line);
}

.payment-order-note > span {
  color: #637e75;
  font-size: 8px;
}

.payment-order-note code {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: #8eaca2;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-order-button {
  flex: 0 0 auto;
  padding: 3px 6px;
  color: #8accb4;
  border: 1px solid var(--sf-line);
  border-radius: 4px;
  background: rgba(102, 227, 176, 0.035);
  font-size: 7px;
  font-weight: 650;
}

.copy-order-button:hover {
  color: var(--sf-accent);
  border-color: rgba(102, 227, 176, 0.26);
}

.inline-notice {
  margin-top: 10px;
  padding: 10px 11px;
  color: #ad956c;
  border: 1px solid rgba(227, 182, 111, 0.18);
  border-radius: 6px;
  background: rgba(227, 182, 111, 0.045);
  font-size: 9px;
  line-height: 1.65;
}

.inline-notice:empty {
  display: none;
}

.payment-panel > .primary-button {
  min-height: 41px;
  margin-top: 10px;
  border-radius: 7px;
  font-size: 11px;
}

.checkout-actions {
  margin-top: 9px;
  padding: 8px;
}

.checkout-actions > * {
  min-height: 39px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 10px;
}

.progress-note {
  margin-top: 9px;
  padding: 9px 10px;
  color: #67837a;
  border: 1px solid rgba(102, 227, 176, 0.1);
  border-radius: 6px;
  background: rgba(102, 227, 176, 0.025);
  font-size: 8px;
  line-height: 1.6;
}

.progress-note svg {
  color: #7fbca6;
}

.form-error {
  min-height: 17px;
  margin: 7px 0 0;
  color: var(--sf-danger);
  font-size: 10px;
  line-height: 1.55;
}

.success-view,
.restore-view {
  max-width: 660px;
}

.success-hero {
  display: flex;
  align-items: center;
  gap: 16px;
}

.success-icon {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #05120e;
  border: 1px solid var(--sf-accent);
  border-radius: 10px;
  background: var(--sf-accent);
  box-shadow: 0 10px 28px rgba(35, 147, 106, 0.15);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.success-icon::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0a3a2a;
}

.success-icon svg {
  width: 24px;
  height: 24px;
}

.success-hero .card-kicker {
  margin: 0;
}

.success-hero .card-title {
  margin: 5px 0 4px;
}

.license-panel {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(102, 227, 176, 0.25);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(102, 227, 176, 0.07), transparent 58%),
    rgba(4, 14, 11, 0.7);
}

.status-line {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sf-accent);
  font-size: 10px;
  font-weight: 650;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sf-accent);
  box-shadow: 0 0 0 4px rgba(102, 227, 176, 0.08);
}

.license-key {
  margin: 14px 0 8px;
  color: #e9fbf4;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.license-expiry {
  margin: 0;
  color: #6f8b82;
  font-size: 10px;
  line-height: 1.65;
}

.success-actions {
  margin-top: 14px;
}

.full-width-button {
  width: 100%;
  margin-top: 10px;
}

.restore-view .input-stack:first-of-type {
  margin-top: 24px;
}

.input-stack {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.input-stack label {
  color: #8ba79e;
  font-size: 10px;
  font-weight: 650;
}

.text-input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  color: #e5f3ee;
  border: 1px solid var(--sf-line);
  border-radius: 7px;
  background: rgba(3, 12, 9, 0.68);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.text-input::placeholder {
  color: #516b62;
}

.text-input:focus {
  border-color: rgba(102, 227, 176, 0.48);
  outline: 2px solid rgba(102, 227, 176, 0.1);
}

.loading-block {
  min-height: 170px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: #6e8a80;
  font-size: 10px;
}

.spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(102, 227, 176, 0.18);
  border-top-color: var(--sf-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 14px;
  border: 1px solid var(--sf-line);
  border-radius: 16px;
  background: rgba(7, 18, 15, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(14px);
}

.feature-band > div {
  min-height: 128px;
  padding: 21px;
  background: transparent;
}

.feature-band > div + div {
  border-left: 1px solid var(--sf-line);
}

.feature-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
  color: var(--sf-accent);
  border: 1px solid rgba(102, 227, 176, 0.17);
  border-radius: 6px;
  background: rgba(102, 227, 176, 0.05);
}

.feature-icon svg {
  width: 16px;
  height: 16px;
}

.feature-band h3 {
  margin: 0 0 7px;
  color: #cfe2db;
  font-size: 11px;
  letter-spacing: 0;
}

.feature-band p {
  margin: 0;
  color: #68847b;
  font-size: 9px;
  line-height: 1.7;
}

.system-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px 0;
  color: #4d675f;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.toast {
  right: 22px;
  bottom: 22px;
  color: #e9f8f2;
  border: 1px solid var(--sf-line-strong);
  border-radius: 8px;
  background: #0d211b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  font-size: 10px;
}

.toast.error {
  border-color: rgba(239, 141, 141, 0.28);
  background: #321c1c;
}

.fade-in {
  animation: storefront-view-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes storefront-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.86);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes storefront-scan {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(720%);
  }
}

@keyframes storefront-view-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .purchase-layout {
    grid-template-columns: minmax(330px, 0.78fr) minmax(510px, 1.22fr);
  }

  .purchase-intro,
  .purchase-card {
    padding-right: 27px;
    padding-left: 27px;
  }

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

  .payment-guide {
    display: none;
  }

  .edition-tab {
    padding: 10px;
  }

  .edition-tab-note {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header,
  .page-shell {
    width: min(100% - 36px, 760px);
  }

  .purchase-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .purchase-intro {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--sf-line);
  }

  .plans-intro,
  .checkout-intro {
    min-height: 0;
  }

  .intro-heading {
    margin-top: 31px;
  }

  .hero-title {
    max-width: 580px;
  }

  .edition-compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .security-strip {
    margin-top: 24px;
    padding-top: 0;
  }

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

  .flow-steps li {
    grid-template-columns: 32px 1fr;
    min-height: 0;
  }

  .flow-steps li:not(:last-child)::after {
    display: none;
  }

  .feature-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-band > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--sf-line);
  }

  .feature-band > div:nth-child(4) {
    border-top: 1px solid var(--sf-line);
  }
}

@media (max-width: 680px) {
  .site-header,
  .page-shell {
    width: min(100% - 24px, 520px);
  }

  .site-header {
    padding-top: 14px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 13px;
  }

  .brand-text span {
    font-size: 7px;
  }

  .service-badge {
    display: none;
  }

  .header-link {
    min-height: 36px;
    padding: 0 10px;
  }

  .header-link span {
    display: none;
  }

  .console-shell {
    border-radius: 16px;
  }

  .console-topbar {
    min-height: 34px;
    padding: 0 13px;
  }

  .console-title {
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .console-telemetry span:nth-child(1),
  .console-telemetry span:nth-child(2) {
    display: none;
  }

  .console-telemetry span {
    padding: 0 0 0 8px;
    border-left: 0;
  }

  .purchase-intro,
  .purchase-card {
    padding: 21px;
  }

  .purchase-intro {
    border-radius: 0;
  }

  .product-version {
    display: none;
  }

  .product-lockup {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .system-readout {
    margin-top: 15px;
  }

  .system-readout > div {
    padding: 9px 8px;
  }

  .system-readout span {
    font-size: 6px;
  }

  .system-readout strong {
    font-size: 8px;
  }

  .intro-heading {
    margin-top: 26px;
  }

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

  .hero-copy {
    font-size: 11px;
  }

  .edition-compare,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .benefit-list {
    gap: 11px;
    margin-top: 20px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .flow-steps li {
    min-height: 64px;
  }

  .view-heading {
    gap: 12px;
  }

  .card-title {
    font-size: 23px;
  }

  .card-copy {
    font-size: 10px;
  }

  .secure-label {
    display: none;
  }

  .edition-tabs {
    grid-template-columns: 1fr;
  }

  .edition-tab {
    min-height: 54px;
  }

  .edition-tab-note {
    display: inline;
  }

  .plan-list {
    grid-template-columns: 1fr;
  }

  .plan-option {
    min-height: 128px;
  }

  .plan-name {
    margin-top: 16px;
  }

  .plan-price {
    padding-top: 13px;
  }

  .pro-unavailable {
    grid-template-columns: 1fr;
    padding: 17px;
  }

  .purchase-action {
    grid-template-columns: 1fr;
  }

  .purchase-action .primary-button {
    width: 100%;
  }

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

  .payment-qr-grid {
    grid-template-columns: 1fr;
  }

  .payment-panel {
    padding: 13px;
  }

  .payment-qr-card {
    padding: 8px;
  }

  .payment-qr-frame {
    padding: 4px;
  }

  .payment-qr-meta {
    display: grid;
    gap: 2px;
  }

  .feature-band {
    grid-template-columns: 1fr;
    border-radius: 13px;
  }

  .feature-band > div {
    min-height: 110px;
    padding: 18px;
  }

  .feature-band > div + div {
    border-top: 1px solid var(--sf-line);
    border-left: 0;
  }

  .system-footer {
    justify-content: center;
    text-align: center;
  }

  .system-footer span:last-child {
    display: none;
  }
}

@media (max-width: 390px) {
  .payment-channel-selector {
    grid-template-columns: 1fr;
  }

  .payment-qr-grid {
    grid-template-columns: 1fr;
  }

  .pro-feature-list {
    grid-template-columns: 1fr;
  }

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

  .system-readout strong {
    letter-spacing: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient-scan,
  .service-dot,
  .spinner,
  .fade-in {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
