:root {
  --paper: #f4f1e8;
  --paper-2: #ebe6da;
  --white: #fffefa;
  --ink: #171713;
  --muted: #68675f;
  --line: #d8d4c8;
  --violet: #635bff;
  --violet-dark: #4e46e5;
  --violet-soft: #e7e4ff;
  --lime: #dff68a;
  --success: #1f7a51;
  --danger: #ad3434;
  --shell: min(1160px, calc(100vw - 48px));
  --sans: 'Segoe UI Variable', 'Segoe UI', Inter, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --mono: 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 100;
  padding: 9px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.32);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--violet);
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.brand strong,
.brand b {
  font-weight: 800;
}

.brand b {
  color: var(--violet);
}

.brand-dot {
  width: 29px;
  height: 29px;
  position: relative;
  display: inline-block;
  margin-right: 4px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.brand-dot::before,
.brand-dot::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.brand-dot::before {
  width: 13px;
  height: 1px;
}

.brand-dot::after {
  width: 1px;
  height: 13px;
}

.header-inner > p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.header-inner > p i {
  width: 7px;
  height: 7px;
  background: #65b87e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(101, 184, 126, 0.13);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 17px;
}

.header-account-link {
  color: var(--muted);
  font: 750 10px/1 var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-account-link:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.small-buy {
  min-height: 39px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.small-buy:hover {
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}

.small-buy:disabled,
.buy-button:disabled,
.round-buy:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.hero {
  min-height: 730px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  left: -290px;
  top: -220px;
  width: 660px;
  height: 660px;
  border: 1px solid rgba(99, 91, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 95px rgba(99, 91, 255, 0.026), 0 0 0 190px rgba(99, 91, 255, 0.018);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 23, 19, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 19, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 0.9fr);
  align-items: center;
  gap: 80px;
}

.eyebrow,
.section-head > p,
.buy-panel-copy > p,
.faq-inner > div:first-child > p,
.final-inner > div > span {
  margin: 0;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.eyebrow span {
  margin-inline: 8px;
  color: var(--line);
}

.hero h1 {
  margin: 26px 0 0;
  display: grid;
  font-size: clamp(66px, 7vw, 98px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero h1 span {
  color: var(--ink);
}

.hero h1 em {
  color: var(--violet);
  font-family: var(--serif);
  font-weight: 400;
}

.hero-text {
  max-width: 660px;
  margin: 32px 0 0;
  color: #56564f;
  font-size: 17px;
  line-height: 1.7;
}

.purchase-line {
  max-width: 600px;
  margin-top: 38px;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: stretch;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 var(--ink);
}

.price {
  min-height: 68px;
  padding: 9px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--ink);
}

.price strong {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  font-style: italic;
}

.price span,
.buy-panel-action > div span {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.buy-button {
  min-height: 68px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: #fff;
  background: var(--violet);
  border: 0;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  transition: background 160ms ease;
}

.buy-button:hover {
  background: var(--violet-dark);
}

.buy-button i {
  margin-left: auto;
  color: var(--lime);
  font-size: 18px;
  font-style: normal;
}

.checkout-message {
  max-width: 600px;
  margin-top: 19px;
  padding: 12px 14px;
  color: var(--success);
  background: #e9f7ef;
  border: 1px solid #b8ddc8;
  font-size: 12px;
  font-weight: 650;
}

.checkout-message.is-error {
  color: var(--danger);
  background: #fff0ee;
  border-color: #e4b7b2;
}

.secure-note {
  margin: 27px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
}

.secure-note strong {
  color: var(--ink);
}

.lock {
  width: 12px;
  height: 10px;
  position: relative;
  display: inline-block;
  border: 1px solid var(--ink);
}

.lock::before {
  content: '';
  width: 7px;
  height: 6px;
  position: absolute;
  left: 1px;
  top: -7px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.product-visual {
  min-height: 570px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-shadow {
  width: 355px;
  height: 475px;
  position: absolute;
  background: var(--violet-soft);
  border: 1px solid rgba(99, 91, 255, 0.35);
  transform: rotate(7deg) translate(16px, 4px);
}

.model-card {
  width: 355px;
  height: 475px;
  position: relative;
  z-index: 2;
  padding: 25px;
  color: #f7f7f1;
  background: var(--ink);
  border: 1px solid #34342e;
  box-shadow: 0 30px 80px rgba(30, 27, 20, 0.18);
  transform: rotate(-2.5deg);
  overflow: hidden;
}

.model-card::before {
  content: '';
  position: absolute;
  width: 330px;
  height: 330px;
  right: -150px;
  top: 50px;
  border: 1px solid rgba(223, 246, 138, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(223, 246, 138, 0.03), 0 0 0 100px rgba(223, 246, 138, 0.02);
}

.card-top,
.card-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #93958d;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.1em;
}

.card-top b {
  color: var(--lime);
  font-weight: 700;
}

.model-five {
  position: absolute;
  left: 22px;
  top: 48px;
  z-index: 1;
  color: var(--violet);
  font-family: var(--serif);
  font-size: 280px;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.12em;
}

.model-name {
  position: absolute;
  left: 27px;
  bottom: 58px;
  z-index: 3;
  display: grid;
  gap: 10px;
}

.model-name small {
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
}

.model-name strong {
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.card-bottom {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 22px;
}

.card-bottom i {
  height: 1px;
  flex: 1;
  margin-inline: 12px;
  background: #44463f;
}

.capability-tabs {
  position: absolute;
  right: -1px;
  bottom: 61px;
  z-index: 4;
  display: grid;
  gap: 4px;
}

.capability-tabs span {
  min-width: 67px;
  padding: 8px 9px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink);
}

.capability-tabs span:nth-child(2) {
  background: var(--violet-soft);
}

.capability-tabs span:nth-child(3) {
  background: #ffdca8;
}

.visual-tag {
  position: absolute;
  left: 6px;
  top: 48px;
  z-index: 4;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(3deg);
}

.visual-tag i {
  width: 9px;
  height: 9px;
  background: var(--violet);
  border-radius: 50%;
}

.visual-tag span {
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
}

.confidence-strip {
  color: #f7f7f2;
  background: var(--ink);
}

.confidence-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.confidence-grid p {
  margin: 0;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 35px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  color: #8f918a;
  border-right: 1px solid #383a34;
  font-size: 10px;
}

.confidence-grid p:first-child {
  padding-left: 0;
}

.confidence-grid p:last-child {
  padding-right: 0;
  border-right: 0;
}

.confidence-grid span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 8px;
}

.confidence-grid strong {
  color: #f7f7f2;
  font-size: 12px;
}

.uses-section {
  padding: 125px 0;
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  align-items: start;
  gap: 40px;
}

.section-head h2,
.buy-panel-copy h2,
.faq-inner h2,
.final-inner h2 {
  margin: 0;
  font-size: clamp(45px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-head h2 em,
.faq-inner h2 em,
.final-inner h2 em {
  color: var(--violet);
  font-family: var(--serif);
  font-weight: 400;
}

.use-grid {
  margin-top: 75px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.use-grid article {
  min-height: 370px;
  position: relative;
  padding: 31px 30px;
  border-right: 1px solid var(--line);
  transition: background 180ms ease, transform 180ms ease;
}

.use-grid article:first-child {
  padding-left: 0;
}

.use-grid article:last-child {
  padding-right: 0;
  border-right: 0;
}

.use-grid article:hover {
  background: #f8f6f0;
  transform: translateY(-5px);
}

.use-number {
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 8px;
}

.use-mark {
  width: 74px;
  height: 74px;
  position: relative;
  margin-top: 48px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.use-mark::before,
.use-mark::after,
.use-mark i {
  content: '';
  position: absolute;
}

.mark-cyber::before {
  inset: 15px;
  border: 1px solid var(--violet);
  transform: rotate(45deg);
}

.mark-cyber::after {
  width: 12px;
  height: 12px;
  left: 30px;
  top: 30px;
  background: var(--violet);
  border-radius: 50%;
}

.mark-cyber i {
  width: 1px;
  height: 74px;
  left: 36px;
  top: -1px;
  background: var(--ink);
  transform: rotate(45deg);
}

.mark-bio::before,
.mark-bio::after {
  width: 18px;
  height: 46px;
  top: 13px;
  border: 1px solid var(--violet);
  border-radius: 50%;
}

.mark-bio::before { left: 20px; transform: rotate(-28deg); }
.mark-bio::after { right: 20px; background: var(--violet-soft); transform: rotate(28deg); }
.mark-bio i { width: 44px; height: 1px; left: 14px; top: 36px; background: var(--ink); transform: rotate(-28deg); }

.mark-chem::before {
  width: 29px;
  height: 35px;
  left: 21px;
  top: 25px;
  background: var(--violet-soft);
  border: 1px solid var(--violet);
  border-radius: 3px 3px 14px 14px;
}

.mark-chem::after {
  width: 13px;
  height: 25px;
  left: 29px;
  top: 8px;
  border: 1px solid var(--ink);
  border-bottom: 0;
}

.mark-chem i {
  width: 21px;
  height: 1px;
  left: 25px;
  top: 48px;
  background: var(--violet);
  box-shadow: 6px -7px 0 -3px var(--violet), 15px -12px 0 -3px var(--violet);
}

.use-grid h3 {
  margin: 43px 0 13px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.use-grid p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.buy-section {
  padding: 110px 0;
  background: var(--paper);
}

.buy-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr;
  color: #f7f7f2;
  background: var(--violet);
  box-shadow: 14px 14px 0 var(--ink);
}

.buy-panel-copy {
  min-height: 480px;
  padding: 58px;
}

.buy-panel-copy > p {
  color: var(--lime);
}

.buy-panel-copy h2 {
  max-width: 630px;
  margin-top: 25px;
  font-size: clamp(45px, 5vw, 65px);
}

.buy-panel-copy ul {
  margin: 50px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.buy-panel-copy li {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7d3ff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
}

.buy-panel-copy li::before {
  content: '✓';
  color: var(--lime);
  font-weight: 800;
}

.buy-panel-action {
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: var(--lime);
  border-left: 1px solid var(--ink);
}

.buy-panel-action > p {
  margin: 0 0 70px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.buy-panel-action > p b {
  color: var(--violet-dark);
}

.buy-panel-action > div {
  display: grid;
}

.buy-panel-action > div strong {
  font-family: var(--serif);
  font-size: 62px;
  font-style: italic;
  line-height: 1;
}

.buy-panel-action > div span {
  color: #555a30;
}

.buy-button-dark {
  margin-top: 28px;
  background: var(--ink);
}

.buy-button-dark:hover {
  background: var(--violet-dark);
}

.buy-panel-action > small {
  margin-top: 14px;
  color: #656a3b;
  font-size: 8px;
  line-height: 1.5;
}

.faq-section {
  padding: 125px 0;
  background: var(--white);
}

.faq-inner {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 95px;
}

.faq-inner h2 {
  margin-top: 25px;
  font-size: clamp(43px, 4.8vw, 65px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr 22px;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary i {
  width: 20px;
  height: 20px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.faq-list summary i::before,
.faq-list summary i::after {
  content: '';
  width: 7px;
  height: 1px;
  position: absolute;
  left: 6px;
  top: 9px;
  background: var(--ink);
}

.faq-list summary i::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary i::after {
  transform: rotate(0);
}

.faq-list details p {
  margin: -6px 44px 27px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.final-section {
  min-height: 440px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.final-section::before {
  content: '5';
  position: absolute;
  right: 5vw;
  top: 50%;
  color: transparent;
  -webkit-text-stroke: 1px rgba(99, 91, 255, 0.23);
  font-family: var(--serif);
  font-size: 390px;
  font-style: italic;
  line-height: 0.8;
  transform: translateY(-51%);
}

.final-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.final-inner h2 {
  margin-top: 17px;
  font-size: clamp(55px, 6vw, 82px);
}

.round-buy {
  width: 160px;
  height: 160px;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--violet);
  border: 0;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 200ms ease, background 160ms ease;
}

.round-buy:hover {
  background: var(--violet-dark);
  transform: rotate(-5deg) scale(1.04);
}

.round-buy i {
  position: absolute;
  right: 30px;
  top: 27px;
  color: var(--lime);
  font-size: 18px;
  font-style: normal;
}

.site-footer {
  color: #85877f;
  background: var(--ink);
}

.footer-inner {
  min-height: 150px;
  display: grid;
  grid-template-columns: 0.6fr 1.7fr auto;
  align-items: center;
  gap: 45px;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-dot {
  border-color: #fff;
}

.footer-brand .brand-dot::before,
.footer-brand .brand-dot::after {
  background: #fff;
}

.footer-inner > p {
  margin: 0;
  color: #696b65;
  font-size: 8px;
  line-height: 1.65;
}

.footer-inner > span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.footer-inner > span i {
  font-style: normal;
}

/* Purchase confirmation page */
.success-page {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  overflow: hidden;
}

.success-page::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(23, 23, 19, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 23, 19, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
}

.success-shell {
  width: min(560px, 100%);
  position: relative;
  z-index: 2;
}

.success-brand {
  margin: 0 auto 25px;
}

.status-card {
  padding: 48px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
}

.status-symbol {
  width: 76px;
  height: 76px;
  position: relative;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--violet);
  border-radius: 50%;
}

.status-symbol::before {
  content: '';
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 850ms linear infinite;
}

.status-card.is-paid .status-symbol {
  color: var(--ink);
  background: var(--lime);
}

.status-card.is-paid .status-symbol::before {
  width: 28px;
  height: 15px;
  border: 0;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  animation: none;
  transform: rotate(-45deg) translate(3px, -2px);
}

.status-card.is-failed .status-symbol {
  background: #c85454;
}

.status-card.is-failed .status-symbol::before,
.status-card.is-failed .status-symbol::after {
  content: '';
  width: 27px;
  height: 2px;
  position: absolute;
  background: #fff;
  border: 0;
  border-radius: 0;
  animation: none;
  transform: rotate(45deg);
}

.status-card.is-failed .status-symbol::after {
  transform: rotate(-45deg);
}

.status-eyebrow {
  margin: 0;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.status-card h1 {
  margin: 14px 0 0;
  font-size: clamp(38px, 7vw, 54px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.status-copy {
  max-width: 420px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 13px;
}

.order-reference {
  margin: 28px 0 0;
  color: #8d8b83;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.access-box {
  margin-top: 30px;
  padding: 16px;
  display: none;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
}

.status-card.is-paid .access-box {
  display: block;
}

.access-box > span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.09em;
}

.access-code-row {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}

.access-code-row code {
  min-width: 0;
  overflow: hidden;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-height: 34px;
  padding: 0 12px;
  color: #fff;
  background: var(--ink);
  border: 0;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.copy-button:hover {
  background: var(--violet);
}

.status-actions {
  margin-top: 27px;
}

.home-link {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 700;
}

.home-link:hover {
  background: var(--violet);
}

.status-footnote {
  margin: 23px auto 0;
  color: #7b7a73;
  font-size: 9px;
  text-align: center;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .product-visual {
    width: min(520px, 100%);
    margin-inline: auto;
  }

  .section-head,
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .buy-panel {
    grid-template-columns: 1fr;
  }

  .buy-panel-action {
    min-height: 380px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    padding: 35px 0;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 650px) {
  :root {
    --shell: calc(100vw - 28px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-inner > p {
    display: none;
  }

  .hero-inner {
    padding-top: 54px;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 78px);
  }

  .hero-text {
    font-size: 15px;
  }

  .purchase-line {
    grid-template-columns: 1fr;
  }

  .price {
    min-height: 58px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .product-visual {
    min-height: 500px;
    transform: scale(0.86);
    margin: -25px auto;
  }

  .confidence-grid {
    padding: 22px 0;
    grid-template-columns: 1fr;
  }

  .confidence-grid p,
  .confidence-grid p:first-child,
  .confidence-grid p:last-child {
    min-height: 66px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid #383a34;
  }

  .confidence-grid p:last-child {
    border-bottom: 0;
  }

  .uses-section,
  .faq-section {
    padding: 86px 0;
  }

  .use-grid {
    grid-template-columns: 1fr;
  }

  .use-grid article,
  .use-grid article:first-child,
  .use-grid article:last-child {
    min-height: 320px;
    padding: 28px 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .use-grid article:last-child {
    border-bottom: 0;
  }

  .use-mark {
    margin-top: 32px;
  }

  .use-grid h3 {
    margin-top: 30px;
  }

  .buy-section {
    padding: 70px 0;
  }

  .buy-panel-copy {
    min-height: auto;
    padding: 40px 24px;
  }

  .buy-panel-copy h2 {
    font-size: 44px;
  }

  .buy-panel-action {
    min-height: 345px;
    padding: 34px 24px;
  }

  .buy-panel-action > p {
    margin-bottom: 50px;
  }

  .final-section {
    min-height: 520px;
  }

  .final-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 52px;
  }

  .round-buy {
    width: 138px;
    height: 138px;
    align-self: flex-end;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-inner > p {
    grid-column: auto;
    grid-row: auto;
  }

  .status-card {
    padding: 38px 22px;
    box-shadow: 8px 8px 0 var(--ink);
  }

  .access-code-row {
    grid-template-columns: 1fr;
  }

  .copy-button {
    justify-self: stretch;
  }
}

/* Account and email-verification flow */
.account-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 14% 14%, rgba(223, 246, 138, 0.42), transparent 28%),
    linear-gradient(135deg, var(--paper) 0 58%, #eee9fb 58% 100%);
}

.account-body.otp-open {
  overflow: hidden;
}

.account-shell {
  width: min(1080px, calc(100vw - 48px));
  margin-inline: auto;
}

.account-header {
  border-bottom: 1px solid rgba(23, 23, 19, 0.18);
}

.account-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.account-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.account-back:hover {
  color: var(--ink);
}

.account-main {
  padding: 72px 0 86px;
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(54px, 8vw, 110px);
}

.account-layout-login {
  min-height: 610px;
}

.account-story > p:first-child,
.account-kicker {
  margin: 0;
  color: var(--violet-dark);
  font: 800 10px/1.2 var(--mono);
  letter-spacing: 0.13em;
}

.account-story h1 {
  max-width: 600px;
  margin: 22px 0 25px;
  font: 400 clamp(54px, 6.1vw, 82px)/0.94 var(--sans);
  letter-spacing: -0.065em;
}

.account-story h1 em {
  display: block;
  margin-top: 0.13em;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.94;
}

.account-story > p:not(:first-child) {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.account-story ol {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23, 23, 19, 0.2);
}

.account-story li {
  min-height: 78px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(23, 23, 19, 0.2);
}

.account-story li > span {
  color: var(--violet-dark);
  font: 800 10px/1 var(--mono);
}

.account-story li div {
  display: grid;
  gap: 3px;
}

.account-story li strong,
.account-access-note strong {
  font-size: 13px;
}

.account-story li small,
.account-access-note small {
  color: var(--muted);
  font-size: 12px;
}

.account-access-note {
  max-width: 500px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 40px;
  padding: 20px;
  background: rgba(255, 254, 250, 0.68);
  border: 1px solid rgba(23, 23, 19, 0.2);
}

.account-access-note > span {
  width: 48px;
  height: 48px;
  position: relative;
  border-radius: 50%;
  background: var(--lime);
  border: 1px solid var(--ink);
}

.account-access-note > span::before {
  content: '';
  width: 14px;
  height: 7px;
  position: absolute;
  left: 15px;
  top: 17px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.account-access-note div {
  display: grid;
  gap: 3px;
}

.account-card {
  padding: clamp(30px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}

.account-card-heading h2,
.otp-dialog h2 {
  margin: 13px 0 8px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.account-card-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.auth-alert {
  margin-top: 24px;
  padding: 12px 14px;
  color: #842b2b;
  background: #fff0ed;
  border: 1px solid #e6b8af;
  font-size: 12px;
}

.account-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.account-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.account-field {
  display: grid;
  gap: 8px;
}

.account-field > span {
  font: 750 11px/1.2 var(--sans);
}

.account-field > span em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
}

.account-field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fbfaf5;
  border: 1px solid #bdb9ad;
  border-radius: 0;
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.account-field input:hover {
  border-color: #858178;
}

.account-field input:focus {
  background: #fff;
  border-color: var(--violet-dark);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.13);
}

.verified-account-note {
  margin-top: 2px;
  color: var(--success);
  font-size: 10px;
}

.payment-form input[readonly] {
  color: #3f413b;
  background: #efede5;
  cursor: default;
}

.account-submit {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 3px;
  padding: 0 18px;
  color: #fff;
  background: var(--violet);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.account-submit:hover:not(:disabled) {
  background: var(--violet-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.account-submit:disabled {
  cursor: wait;
  opacity: 0.66;
}

.account-submit i {
  font-size: 18px;
  font-style: normal;
}

.account-form-note {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

.account-switch {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.account-switch a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.otp-modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(19, 20, 18, 0.62);
  backdrop-filter: blur(7px);
}

.otp-dialog {
  width: min(450px, 100%);
  position: relative;
  padding: 38px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
  text-align: center;
}

.otp-close {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 14px;
  top: 14px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}

.otp-mail-mark {
  width: 54px;
  height: 44px;
  position: relative;
  display: block;
  margin: 0 auto 28px;
  background: var(--lime);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}

.otp-mail-mark::before,
.otp-mail-mark::after {
  content: '';
  width: 35px;
  height: 1px;
  position: absolute;
  top: 15px;
  background: var(--ink);
}

.otp-mail-mark::before {
  left: -1px;
  transform: rotate(32deg);
}

.otp-mail-mark::after {
  right: -1px;
  transform: rotate(-32deg);
}

.otp-dialog > p:not(.account-kicker) {
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.otp-dialog > p strong {
  color: var(--ink);
}

.otp-code-field {
  display: block;
  margin-top: 25px;
}

.otp-code-field input {
  width: 100%;
  height: 72px;
  padding: 0 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  outline: 0;
  font: 800 31px/1 var(--mono);
  letter-spacing: 0.3em;
  text-align: center;
}

.otp-code-field input:focus {
  border-color: var(--violet-dark);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}

.otp-error {
  min-height: 20px;
  margin-top: 8px;
  color: var(--danger);
  font-size: 11px;
}

.otp-verify {
  margin-top: 8px;
}

.otp-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 11px;
}

.otp-actions button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 750 11px/1 var(--sans);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.otp-actions button:disabled {
  color: var(--muted);
  cursor: default;
  text-decoration: none;
}

@media (max-width: 880px) {
  .account-main {
    padding-top: 50px;
  }

  .account-layout,
  .account-layout-login {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .account-story h1 {
    font-size: clamp(50px, 12vw, 76px);
  }

  .account-card {
    width: min(580px, 100%);
  }
}

@media (max-width: 560px) {
  .account-shell {
    width: calc(100vw - 28px);
  }

  .account-header-inner {
    min-height: 68px;
  }

  .account-main {
    padding: 42px 0 64px;
  }

  .account-story h1 {
    margin-top: 18px;
    font-size: 48px;
  }

  .account-story ol {
    margin-top: 30px;
  }

  .account-card {
    padding: 27px 20px;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .account-field-row {
    grid-template-columns: 1fr;
  }

  .otp-modal {
    align-items: end;
    padding: 0;
  }

  .otp-dialog {
    width: 100%;
    padding: 34px 22px 30px;
    border-width: 1px 0 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom checkout */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.checkout-body {
  min-width: 320px;
  background: var(--white);
}

.checkout-shell {
  width: min(1180px, calc(100vw - 48px));
  margin-inline: auto;
}

.checkout-header {
  position: relative;
  z-index: 10;
  background: rgba(255, 254, 250, 0.96);
  border-bottom: 1px solid var(--line);
}

.checkout-header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.checkout-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8a887f;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-progress span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.checkout-progress span i {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-style: normal;
}

.checkout-progress span.is-active {
  color: var(--ink);
}

.checkout-progress span.is-active i {
  color: #fff;
  background: var(--violet);
  border-color: var(--violet);
}

.checkout-progress > b {
  width: 42px;
  height: 1px;
  background: var(--line);
}

.checkout-back {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.checkout-back:hover {
  color: var(--violet);
}

.checkout-main {
  min-height: calc(100vh - 79px);
  background: linear-gradient(90deg, var(--white) 0 58%, #f0ede5 58% 100%);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(48px, 8vw, 116px);
}

.checkout-form-panel {
  padding: 70px 0 90px;
}

.checkout-intro {
  max-width: 620px;
  margin-bottom: 54px;
}

.checkout-kicker,
.summary-kicker {
  margin: 0;
  color: var(--violet-dark);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.checkout-intro h1 {
  margin: 17px 0 16px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 65px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.checkout-intro > p:last-child {
  max-width: 585px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.payment-form {
  max-width: 650px;
}

.payment-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 43px;
  border: 0;
}

.payment-form fieldset + fieldset {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.payment-form legend {
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.payment-form legend span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--violet-dark);
  background: var(--violet-soft);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.payment-form legend strong {
  font-size: 15px;
  letter-spacing: -0.015em;
}

.field-row {
  display: grid;
  gap: 14px;
}

.field-row.one-column {
  grid-template-columns: 1fr;
}

.field-row.three-column {
  grid-template-columns: 1fr 1fr 0.8fr;
}

.field-row + .field-row {
  margin-top: 15px;
}

.field-row.compact-top {
  margin-top: 9px;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.form-field > span,
.card-field-head > span,
.promo-block > label {
  color: #4d4c46;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.form-field > span em {
  margin-left: 5px;
  color: #aaa79e;
  font-style: normal;
  font-weight: 500;
}

.payment-form input,
.payment-form select,
.promo-block input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #ccc8bc;
  border-radius: 3px;
  font: 500 13px/1 var(--sans);
  outline: 0;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.payment-form select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.payment-form input::placeholder,
.promo-block input::placeholder {
  color: #aaa79f;
  font-weight: 400;
}

.payment-form input:focus,
.payment-form select:focus,
.promo-block input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.11);
}

.payment-form input[aria-invalid="true"],
.payment-form select[aria-invalid="true"] {
  background: #fffafa;
  border-color: var(--danger);
}

.field-error {
  min-height: 0;
  color: var(--danger);
  font-size: 10px;
  line-height: 1.35;
}

.field-error:empty {
  display: none;
}

.card-field-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid #c9c5b9;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(23, 23, 19, 0.04);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.card-field-shell:focus-within {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.11);
}

.card-field-head {
  min-height: 45px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #f7f5ef;
  border-bottom: 1px solid #ddd9ce;
}

.accepted-cards {
  display: flex;
  align-items: center;
  gap: 5px;
}

.accepted-cards img {
  width: 31px;
  height: 20px;
  display: block;
  object-fit: contain;
  background: #fff;
  border: 1px solid #dedbd2;
  border-radius: 3px;
}

.card-number-field,
.card-detail-row label {
  position: relative;
  display: block;
}

.card-number-field input,
.card-detail-row input {
  height: 52px;
  padding: 0 15px;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.035em;
}

.card-number-field input {
  padding-right: 82px;
}

.card-number-field input:focus,
.card-detail-row input:focus {
  box-shadow: none;
}

.card-brand-mark {
  position: absolute;
  right: 14px;
  top: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.05em;
  transform: translateY(-50%);
}

.card-brand-mark::after {
  content: attr(data-brand);
  text-transform: uppercase;
}

.card-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #ddd9ce;
}

.card-detail-row label + label {
  border-left: 1px solid #ddd9ce;
}

.card-detail-row label:last-child input {
  padding-right: 48px;
}

.cvc-hint {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 25px;
  height: 17px;
  border: 1px solid #96938b;
  border-radius: 2px;
  transform: translateY(-50%);
}

.cvc-hint::before {
  content: '';
  position: absolute;
  left: 3px;
  right: 3px;
  top: 3px;
  height: 3px;
  background: #c6c3ba;
}

.cvc-hint::after {
  content: '123';
  position: absolute;
  right: 2px;
  bottom: 0;
  color: #716f68;
  font: 5px/1 var(--mono);
}

.card-error {
  display: block;
  margin-top: 7px;
}

.cardholder-row {
  margin-top: 19px !important;
}

.checkout-alert {
  margin: -7px 0 19px;
  padding: 12px 14px;
  color: #842b2b;
  background: #fff0ed;
  border: 1px solid #ebc2ba;
  border-radius: 3px;
  font-size: 11px;
}

.pay-button {
  width: 100%;
  min-height: 56px;
  padding: 0 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.pay-button:hover:not(:disabled) {
  background: var(--violet-dark);
  border-color: var(--violet-dark);
  transform: translateY(-1px);
}

.pay-button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.pay-button i {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
}

.pay-button.is-busy i {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  font-size: 0;
  animation: spin 700ms linear infinite;
}

.payment-terms {
  max-width: 560px;
  margin: 14px auto 0;
  color: #85837b;
  font-size: 9px;
  line-height: 1.55;
  text-align: center;
}

.order-summary-panel {
  min-width: 0;
  padding: 70px 0 90px;
}

.order-summary-card {
  position: sticky;
  top: 32px;
}

.order-summary-card h2 {
  margin: 12px 0 33px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.summary-product {
  padding: 20px 0 25px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #c9c5bb;
  border-bottom: 1px solid #c9c5bb;
}

.summary-model-card {
  width: 76px;
  height: 92px;
  padding: 7px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 var(--violet);
}

.summary-model-card span {
  font: 700 6px/1 var(--mono);
  letter-spacing: 0.1em;
}

.summary-model-card strong {
  margin: auto 0;
  color: var(--lime);
  font: 400 47px/0.8 var(--serif);
  text-align: right;
}

.summary-model-card i {
  font: 500 5px/1 var(--mono);
  letter-spacing: 0.06em;
}

.summary-product > div:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.summary-product > div:nth-child(2) strong {
  font-size: 13px;
}

.summary-product > div:nth-child(2) span,
.summary-product > div:nth-child(2) small {
  color: var(--muted);
  font-size: 9px;
}

.summary-product > b {
  align-self: start;
  padding-top: 4px;
  font-family: var(--mono);
  font-size: 11px;
}

.promo-block {
  padding: 24px 0;
  border-bottom: 1px solid #c9c5bb;
}

.promo-block > div {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr auto;
}

.promo-block input {
  height: 43px;
  border-radius: 3px 0 0 3px;
  font-family: var(--mono);
  text-transform: uppercase;
}

.promo-block button {
  min-width: 78px;
  padding: 0 13px;
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0 3px 3px 0;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.promo-block button:hover:not(:disabled) {
  background: var(--violet-dark);
  border-color: var(--violet-dark);
}

.promo-block button:disabled {
  opacity: 0.6;
}

.promo-block > p {
  margin: 8px 0 0;
  font-size: 10px;
}

.promo-block > p.is-success {
  color: var(--success);
}

.promo-block > p.is-error {
  color: var(--danger);
}

.summary-totals {
  margin: 0;
  padding: 21px 0 0;
}

.summary-totals > div {
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 11px;
}

.summary-totals dt,
.summary-totals dd {
  margin: 0;
}

.summary-totals dd {
  font-family: var(--mono);
}

.summary-totals .discount-total {
  color: var(--success);
}

.summary-totals .grand-total {
  margin-top: 14px;
  padding: 17px 0 0;
  align-items: baseline;
  color: var(--ink);
  border-top: 1px solid #c9c5bb;
  font-size: 13px;
  font-weight: 750;
}

.summary-totals .grand-total dd {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.processor-note {
  margin-top: 30px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255, 254, 250, 0.7);
  border: 1px solid #d4d0c5;
}

.processor-lock {
  width: 26px;
  height: 23px;
  position: relative;
  flex: 0 0 auto;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.processor-lock::before {
  content: '';
  position: absolute;
  left: 6px;
  top: -10px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.processor-lock::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  width: 3px;
  height: 6px;
  background: var(--ink);
  border-radius: 2px;
}

.processor-note p {
  margin: 0;
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.processor-note p strong {
  color: var(--ink);
  font-size: 10px;
}

.test-mode-note {
  margin: 15px 0 0;
  padding: 11px 12px;
  color: #83551a;
  background: #fff2d7;
  border: 1px solid #ead2a4;
  font-size: 10px;
}

.confirming-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(23, 23, 19, 0.78);
  backdrop-filter: blur(8px);
}

.confirming-overlay[hidden] {
  display: none;
}

.confirming-card {
  width: min(470px, 100%);
  padding: 48px 38px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 var(--violet);
  text-align: center;
}

.confirming-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 24px;
  display: block;
  border: 3px solid var(--violet-soft);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.confirming-card p {
  margin: 0;
  color: var(--violet-dark);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.12em;
}

.confirming-card h2 {
  margin: 14px 0;
  font-family: var(--serif);
  font-size: 37px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.confirming-card > span:last-child {
  color: var(--muted);
  font-size: 11px;
}

@media (max-width: 900px) {
  .checkout-main {
    background: var(--white);
  }

  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .order-summary-panel {
    order: -1;
    margin-inline: calc((100vw - 100%) / -2);
    padding: 46px 0;
    background: #f0ede5;
  }

  .order-summary-card {
    position: static;
    width: min(690px, calc(100% - 48px));
  }

  .checkout-form-panel,
  .payment-form,
  .checkout-intro {
    max-width: 690px;
    width: 100%;
    margin-inline: auto;
  }

  .order-summary-card {
    margin-inline: auto;
  }
}

@media (max-width: 650px) {
  .checkout-shell {
    width: min(100% - 28px, 1180px);
  }

  .order-summary-card {
    width: min(690px, calc(100% - 28px));
  }

  .checkout-header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .checkout-progress {
    display: none;
  }

  .checkout-form-panel {
    padding: 48px 0 70px;
  }

  .checkout-intro {
    margin-bottom: 42px;
  }

  .checkout-intro h1 {
    font-size: 44px;
  }

  .order-summary-panel {
    padding: 38px 0 42px;
  }

  .order-summary-card h2 {
    font-size: 31px;
  }

  .summary-product {
    grid-template-columns: 68px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .summary-model-card {
    width: 68px;
    height: 83px;
  }

  .summary-model-card strong {
    font-size: 42px;
  }

  .field-row.three-column {
    grid-template-columns: 1fr;
  }

  .accepted-cards img:nth-child(4) {
    display: none;
  }

  .card-field-head {
    padding-inline: 11px;
  }

  .confirming-card {
    padding: 40px 24px;
    box-shadow: 7px 7px 0 var(--violet);
  }
}

@media (max-width: 390px) {
  .accepted-cards img:nth-child(3) {
    display: none;
  }

  .summary-product > b {
    font-size: 10px;
  }
}

/* Purchase entitlement and dashboard */
.purchase-ready-panel {
  margin-top: 28px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #f0f8cf;
  border: 1px solid #bfd166;
}

.purchase-ready-icon {
  width: 30px;
  height: 30px;
  position: relative;
  flex: 0 0 auto;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.purchase-ready-icon::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

.purchase-ready-panel strong {
  display: block;
  font: 700 8px/1.2 var(--mono);
  letter-spacing: 0.08em;
}

.purchase-ready-panel p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.status-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.purchase-download-link {
  background: var(--violet-dark);
}

.home-link-secondary {
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--ink);
}

.home-link-secondary:hover {
  color: #fff;
}

.dashboard-body {
  min-width: 320px;
  background: var(--paper);
}

.dashboard-shell {
  width: min(1160px, calc(100vw - 48px));
  margin-inline: auto;
}

.dashboard-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.dashboard-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.dashboard-header-inner > p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.09em;
}

.dashboard-header-inner > p i {
  width: 8px;
  height: 8px;
  background: #65b87e;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(101, 184, 126, 0.14);
}

.dashboard-home {
  justify-self: end;
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-home:hover {
  color: var(--violet-dark);
}

.dashboard-main {
  padding: 76px 0 100px;
}

.dashboard-hero {
  max-width: 810px;
  position: relative;
  padding-left: 102px;
}

.dashboard-confirmation-mark {
  width: 70px;
  height: 70px;
  position: absolute;
  left: 0;
  top: 7px;
  display: grid;
  place-items: center;
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 6px 6px 0 var(--ink);
}

.dashboard-confirmation-mark i {
  width: 27px;
  height: 14px;
  border-left: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transform: rotate(-45deg) translate(2px, -2px);
}

.dashboard-hero > p:first-of-type,
.download-details > p,
.download-action > p,
.installation-steps > div > p {
  margin: 0;
  color: var(--violet-dark);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.13em;
}

.dashboard-hero h1 {
  margin: 15px 0 18px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 82px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.055em;
}

.dashboard-hero h1 em,
.installation-steps h2 em {
  color: var(--violet-dark);
  font-style: italic;
  font-weight: 400;
}

.dashboard-lead {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.download-console {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 310px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 var(--ink);
}

.download-product-card {
  min-height: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
  background: var(--ink);
  border-right: 1px solid var(--ink);
}

.download-product-card span,
.download-product-card small {
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.12em;
}

.download-product-card strong {
  margin: auto 0;
  color: var(--lime);
  font: 400 135px/0.72 var(--serif);
  text-align: right;
}

.download-details {
  min-width: 0;
  padding: 36px 38px;
}

.download-details h2 {
  margin: 10px 0 26px;
  font-family: var(--serif);
  font-size: 39px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.download-details dl {
  margin: 0;
}

.download-details dl > div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.download-details dt {
  color: var(--muted);
  font-family: var(--mono);
  text-transform: uppercase;
}

.download-details dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download-action {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: var(--violet-dark);
  border-left: 1px solid var(--ink);
}

.download-ready-dot {
  width: 11px;
  height: 11px;
  margin-bottom: 14px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(223, 246, 138, 0.15);
}

.download-action > p {
  color: var(--lime);
}

.installer-download-button {
  min-height: 58px;
  margin-top: 23px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 800;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.installer-download-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.installer-download-button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.installer-download-button i {
  font-size: 20px;
  font-style: normal;
}

.download-action small {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  line-height: 1.55;
}

.download-action small strong {
  color: #fff;
}

.installation-steps {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.installation-steps h2 {
  margin: 15px 0 0;
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.installation-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink);
}

.installation-steps li {
  min-height: 94px;
  padding: 18px 0;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.installation-steps li > span {
  color: var(--violet-dark);
  font: 700 9px/1 var(--mono);
}

.installation-steps li strong {
  font-size: 13px;
}

.installation-steps li p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.dashboard-error {
  margin: 40px 0 0;
  padding: 14px 16px;
  color: #842b2b;
  background: #fff0ed;
  border: 1px solid #ebc2ba;
  font-size: 11px;
}

@media (max-width: 930px) {
  .download-console {
    grid-template-columns: 180px minmax(0, 1fr);
  }

  .download-action {
    grid-column: 1 / -1;
    min-height: 240px;
    border-top: 1px solid var(--ink);
    border-left: 0;
  }

  .installer-download-button {
    max-width: 360px;
  }
}

@media (max-width: 650px) {
  .dashboard-shell {
    width: calc(100vw - 28px);
  }

  .dashboard-header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto;
  }

  .dashboard-header-inner > p {
    display: none;
  }

  .dashboard-main {
    padding: 55px 0 75px;
  }

  .dashboard-hero {
    padding-left: 0;
  }

  .dashboard-confirmation-mark {
    width: 52px;
    height: 52px;
    position: relative;
    top: auto;
    margin-bottom: 30px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .dashboard-confirmation-mark i {
    width: 20px;
    height: 10px;
  }

  .dashboard-hero h1 {
    font-size: 52px;
  }

  .download-console {
    margin-top: 52px;
    grid-template-columns: 1fr;
    box-shadow: 7px 7px 0 var(--ink);
  }

  .download-product-card {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .download-product-card strong {
    font-size: 100px;
  }

  .download-details {
    padding: 31px 23px;
  }

  .download-action {
    grid-column: auto;
    min-height: 250px;
    padding: 32px 23px;
  }

  .installation-steps {
    margin-top: 72px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .installation-steps h2 {
    font-size: 48px;
  }

  .status-actions .home-link {
    width: 100%;
    justify-content: space-between;
  }
}

/* Account-aware dashboard states */
.dashboard-account-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-account-actions > span {
  max-width: 220px;
  overflow: hidden;
  color: var(--muted);
  font: 650 10px/1 var(--mono);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-account-actions button {
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 800 10px/1 var(--mono);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.dashboard-loading {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  color: var(--muted);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-loading span {
  width: 38px;
  height: 38px;
  border: 2px solid var(--line);
  border-top-color: var(--violet);
  border-radius: 50%;
  animation: account-spin 800ms linear infinite;
}

@keyframes account-spin {
  to { transform: rotate(360deg); }
}

.dashboard-account-hero {
  max-width: 820px;
  margin-bottom: 68px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.dashboard-account-hero > p:first-child,
.dashboard-empty-purchase > div:last-child > p:first-child {
  margin: 0;
  color: var(--violet-dark);
  font: 800 10px/1 var(--mono);
  letter-spacing: 0.1em;
}

.dashboard-account-hero h1 {
  margin: 15px 0 13px;
  font-size: clamp(44px, 6vw, 70px);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 1;
}

.dashboard-account-hero h1 em {
  font-family: var(--serif);
  font-weight: 400;
}

.dashboard-account-hero > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-account-hero > p:last-child strong {
  color: var(--ink);
}

.dashboard-empty-purchase {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(250px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--ink);
}

.empty-product-visual {
  min-height: 390px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--violet);
  border-right: 1px solid var(--ink);
}

.empty-product-visual::before,
.empty-product-visual::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
}

.empty-product-visual::before {
  width: 1px;
  height: 130%;
  transform: rotate(34deg);
}

.empty-product-visual::after {
  width: 130%;
  height: 1px;
  transform: rotate(-22deg);
}

.empty-product-visual span,
.empty-product-visual small {
  position: absolute;
  left: 22px;
  z-index: 1;
  font: 800 9px/1 var(--mono);
  letter-spacing: 0.14em;
}

.empty-product-visual span { top: 22px; }
.empty-product-visual small { bottom: 22px; }

.empty-product-visual strong {
  position: relative;
  z-index: 1;
  font-size: 150px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.09em;
}

.dashboard-empty-purchase > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 6vw, 70px);
  background: var(--white);
}

.dashboard-empty-purchase h2 {
  max-width: 540px;
  margin: 16px 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.dashboard-empty-purchase > div:last-child > p:not(:first-child) {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.empty-purchase-button {
  width: min(330px, 100%);
  margin-top: 30px;
}

.download-action [data-download-action] {
  width: 100%;
}

@media (max-width: 760px) {
  .dashboard-header-inner {
    grid-template-columns: 1fr auto;
  }

  .dashboard-header-inner > p,
  .dashboard-account-actions > span {
    display: none;
  }

  .dashboard-empty-purchase {
    grid-template-columns: 1fr;
  }

  .empty-product-visual {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .empty-product-visual strong {
    font-size: 105px;
  }

  .dashboard-empty-purchase > div:last-child {
    padding: 34px 23px 40px;
  }
}

/* —— Admin panel (/admin1632011) —— */
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(99, 91, 255, 0.08), transparent 34%),
    var(--paper);
}

.admin-body.admin-modal-open {
  overflow: hidden;
}

.admin-shell {
  width: min(1180px, calc(100vw - 48px));
  margin-inline: auto;
}

.admin-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.admin-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.admin-header-inner > p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--danger);
  font: 700 8px/1 var(--mono);
  letter-spacing: 0.1em;
}

.admin-header-inner > p i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(173, 52, 52, 0.12);
}

.admin-refresh,
.admin-secondary-button,
.admin-danger-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 2px;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.admin-header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-refresh {
  color: #fff;
  background: var(--ink);
  border: 1px solid var(--ink);
}

.admin-login-shell {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 140px);
}

.admin-login-card {
  width: min(440px, 100%);
  padding: 34px 32px 36px;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(23, 23, 19, 0.1);
}

.admin-login-card h1 {
  margin: 10px 0 10px;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.admin-login-form {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.admin-field {
  display: grid;
  gap: 7px;
}

.admin-field span {
  color: var(--muted);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-field input {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: #faf8f2;
  font-size: 15px;
}

.admin-login-submit {
  margin-top: 6px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  background: var(--violet);
  border: 0;
  font: 750 12px/1 var(--sans);
  letter-spacing: 0.02em;
  cursor: pointer;
}

.admin-login-submit:hover {
  background: var(--violet-dark);
}

.admin-login-submit i {
  font-style: normal;
  color: var(--lime);
}

.admin-refresh:hover {
  background: var(--violet);
  border-color: var(--violet);
}

.admin-secondary-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
}

.admin-secondary-button:hover {
  background: var(--paper-2);
}

.admin-danger-button {
  color: #fff;
  background: var(--danger);
  border: 1px solid #8f2424;
}

.admin-danger-button:hover {
  filter: brightness(1.05);
}

.admin-upgrade-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 2px;
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  background: var(--success);
  border: 1px solid #176544;
}

.admin-upgrade-button:hover {
  filter: brightness(1.05);
}

.admin-pill.is-active {
  background: #e4f5ea;
  color: var(--success);
}

.admin-main {
  padding: 54px 0 90px;
}

.admin-hero {
  max-width: 760px;
  margin-bottom: 34px;
}

.admin-hero > p:first-child,
.admin-kicker {
  margin: 0;
  color: var(--violet-dark);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.13em;
}

.admin-hero h1 {
  margin: 14px 0 12px;
  font-family: var(--serif);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.admin-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.admin-toolbar {
  margin-bottom: 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.admin-toolbar span {
  display: block;
  font: 750 18px/1.2 var(--serif);
}

.admin-toolbar small {
  color: var(--muted);
  font: 600 10px/1.4 var(--mono);
  letter-spacing: 0.04em;
}

.admin-search input {
  width: min(320px, 100vw - 48px);
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 14px;
}

.admin-error,
.admin-error-inline {
  margin: 0 0 16px;
  padding: 12px 14px;
  color: var(--danger);
  background: #fff0ee;
  border: 1px solid #e4b7b2;
  font-size: 13px;
  font-weight: 650;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 8px 8px 0 rgba(23, 23, 19, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.admin-table th {
  color: var(--muted);
  background: #faf8f2;
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table td strong {
  display: block;
  font-size: 14px;
}

.admin-id {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 600 10px/1.3 var(--mono);
  word-break: break-all;
}

.admin-pill {
  display: inline-flex;
  min-height: 24px;
  padding: 0 9px;
  align-items: center;
  border-radius: 999px;
  background: var(--violet-soft);
  color: var(--violet-dark);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  white-space: nowrap;
}

.admin-empty-row td {
  color: var(--muted);
  text-align: center;
  padding: 42px 16px;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(23, 23, 19, 0.46);
}

.admin-modal-dialog {
  width: min(820px, 100%);
  max-height: min(88vh, 920px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(23, 23, 19, 0.16);
}

.admin-modal-header,
.admin-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.admin-modal-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}

.admin-modal-header h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.admin-modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.admin-modal-body {
  overflow: auto;
  padding: 8px 20px 20px;
}

.admin-modal-loading,
.admin-empty-note {
  color: var(--muted);
  font-size: 13px;
}

.admin-detail-section {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.admin-detail-section:first-child {
  border-top: 0;
  padding-top: 8px;
}

.admin-detail-section h3 {
  margin: 0 0 12px;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.admin-detail-row {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: #faf8f2;
  border: 1px solid var(--line);
}

.admin-detail-row dt {
  color: var(--muted);
  font: 700 9px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.admin-detail-row dd {
  margin: 0;
  font-size: 13px;
  word-break: break-word;
}

.admin-detail-row.admin-secret {
  background: #fff7f6;
  border-color: #e4b7b2;
}

.admin-mono {
  font-family: var(--mono);
  font-size: 12px;
}

.admin-card-block {
  margin-top: 12px;
  border: 1px solid var(--ink);
  background: var(--white);
}

.admin-card-block header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.admin-card-block header span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.admin-card-block .admin-detail-list {
  padding: 12px;
}

@media (max-width: 760px) {
  .admin-header-inner {
    grid-template-columns: 1fr auto;
  }

  .admin-header-inner > p {
    display: none;
  }

  .admin-detail-list {
    grid-template-columns: 1fr;
  }

  .admin-modal {
    padding: 0;
    place-items: stretch;
  }

  .admin-modal-dialog {
    max-height: 100vh;
    border: 0;
    box-shadow: none;
  }
}
