.storefront {
  background: #0e1012;
  color: #f4f3f1;
}
.storefront .wrap {
  width: min(1240px, calc(100% - clamp(40px, 10vw, 152px)));
}
.storefront main { padding: 0; }
.store-header {
  background: #0b0d0e;
  border-color: #292c2f;
}
.store-header .bar { min-height: 70px; }
.store-header nav, .store-footer {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.6vw, 42px);
}
.store-nav-link, .store-footer > a:last-child, .client-store-link {
  color: #c4cbd0;
  font-size: .88rem;
  font-weight: 550;
  text-decoration: none;
}
.store-nav-link:hover, .store-footer > a:last-child:hover, .client-store-link:hover { color: white; text-decoration: underline; }
.store-header .account-link { min-height: 44px; padding: 8px 18px; font-size: .9rem; }
.film-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #090a0b;
  border-bottom: 1px solid #383837;
}
.film-image {
  display: block;
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 69%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 54%;
}
.film-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #090a0b 0%, #090a0b 29%, #090a0bf5 34%, #090a0b99 46%, transparent 66%);
}
.film-inner { display: grid; align-items: center; min-height: clamp(410px, 38vw, 560px); }
.film-copy { padding: 48px 0 52px; }
.product-line {
  color: #b9c2c9;
  font-size: .86rem;
  letter-spacing: .035em;
  font-weight: 600;
  margin-bottom: 20px;
}
.film-copy h1 {
  font-size: clamp(3.7rem, 6.7vw, 6.3rem);
  line-height: .95;
  letter-spacing: -.061em;
  font-weight: 660;
}
.film-intro {
  color: #d1d4d6;
  max-width: 39ch;
  margin: 21px 0 26px;
  line-height: 1.52;
  font-size: clamp(.98rem, 1.4vw, 1.11rem);
}
.film-cta {
  background: #e9e9e5;
  min-height: 46px;
  padding: 11px 17px;
  gap: 18px;
}
.film-cta span { font-size: 1.15em; }
.catalog-section { padding-block: clamp(34px, 4.6vw, 70px) clamp(55px, 7vw, 95px); }
.catalog-heading {
  display: flex;
  align-items: baseline;
  gap: 12px 28px;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.catalog-heading h2 {
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  letter-spacing: -.055em;
  font-weight: 620;
  line-height: 1.1;
}
.catalog-heading p, .catalog-empty p, .plan-description, .plan-limits dt, .plan-price small, .sale-state, .plan-features {
  color: #b5bdc2;
}
.catalog-heading p, .sale-state { font-size: .88rem; }
.catalog-empty {
  padding: 24px;
  border: 1px solid #3a3f42;
  border-radius: 8px;
}
.catalog-empty a, .client-account a.inline-link { color: #c9dce7; text-underline-offset: 4px; }
.catalog-empty a, .catalog-empty button { display: inline-block; margin-top: 10px; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 16px;
}
.plan-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(21px, 2.35vw, 34px);
  border: 1px solid #414548;
  border-radius: 9px;
  background: linear-gradient(160deg, #212427, #17191b 44%);
}
.plan-card h3, .client-membership h3 { margin: 0; font-weight: 650; font-size: 1.34rem; letter-spacing: -.035em; overflow-wrap: anywhere; }
.plan-price { font-size: clamp(1.7rem, 2.5vw, 2.35rem); font-weight: 620; letter-spacing: -.05em; margin: 14px 0 0; line-height: 1.2; }
.plan-price small { font-weight: 450; font-size: .88rem; letter-spacing: 0; white-space: nowrap; }
.plan-description { margin-top: 13px; line-height: 1.45; font-size: .9rem; overflow-wrap: anywhere; }
.plan-limits { margin: 19px 0 0; }
.plan-limits div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid #363b3e; padding: 9px 0; font-size: .85rem; }
.plan-limits dd { margin: 0; text-align: right; color: #f1f3f4; font-weight: 600; }
.plan-features { margin: 13px 0; padding-left: 19px; font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; }
.plan-action { margin-top: auto; padding-top: 17px; }
.plan-action .button { width: 100%; }
.sale-state { margin-bottom: 8px; }
.store-footer { justify-content: space-between; }
.storefront footer { background: #0b0d0e; }
.store-footer .wordmark { font-size: 1.1rem; }
.skip-content { position: absolute; left: 16px; top: -100px; background: #eee; color: #141617; padding: 12px; z-index: 2; }
.skip-content:focus { top: 8px; }

.client-account .bar { gap: 16px; }
.client-account .bar nav { display: flex; gap: 22px; align-items: center; min-width: 0; }
.client-account .bar .header-info { overflow-wrap: anywhere; }
.client-account .auth-grid { align-items: start; }
.client-account .auth-grid .identity {
  height: auto;
  margin-bottom: 24px;
}
.client-account .auth-grid .identity img { width: 54px; height: 54px; }
.client-account .auth-grid h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.selection-note { border-left: 2px solid #9db5c3; padding: 8px 14px; margin-top: 22px; color: #c8d5de; line-height: 1.5; }
.selection-note b { color: white; }
.client-account .headline { align-items: center; margin-bottom: 26px; }
.client-account .headline h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
.client-account .headline .sub { margin-bottom: 0; margin-top: 10px; }
.client-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 325px), 1fr)); gap: 20px; align-items: start; }
.client-overview > .panel { margin: 0; }
.client-overview .status, .client-selection .lead { margin-bottom: 14px; }
.client-selection { border-color: #6b747a; background: #202529; }
.client-selection .plan-price { margin: 0 0 13px; }
.client-selection .plan-price small { font-size: .9rem; }
.client-section { margin-top: 36px; }
.client-section > h2 { margin: 0 0 16px; font-size: 1.52rem; }
.client-membership { border: 1px solid var(--line); border-radius: 8px; padding: 20px; background: #171a1c; min-width: 0; }
.client-membership .headline { margin: 0; gap: 8px; }
.client-membership .sub { margin: 12px 0 0; font-size: .9rem; }
.client-account .client-orders td:first-child { max-width: 220px; }
.client-orders small { display: block; margin-top: 7px; color: var(--muted); }
.client-orders .order-info { word-break: break-all; font-size: .78rem; }
.client-orders .status { margin: 0 0 4px; }
.client-orders .secondary { min-height: 36px; padding: 5px 10px; }
.client-account .action-note { margin: 12px 0 0; color: #c4cbd0; font-size: .91rem; }
.client-account .empty { padding: 15px 0; }
@media (max-width: 740px) {
  .storefront .wrap { width: calc(100% - 38px); }
  .store-header .bar { min-height: 62px; }
  .store-header .account-link { padding: 8px 12px; }
  .film-inner { min-height: auto; }
  .film-copy { padding: 37px 0 clamp(130px, 32vw, 210px); }
  .film-copy h1 { font-size: clamp(3.35rem, 11vw, 5rem); }
  .product-line { margin-bottom: 15px; }
  .film-intro { max-width: 36ch; margin: 17px 0 21px; }
  .film-image { width: 100%; height: 72%; top: auto; bottom: 0; object-position: center 60%; }
  .film-hero::before { background: linear-gradient(180deg, #090a0b 0%, #090a0b 22%, #090a0be8 43%, #090a0b8c 61%, transparent 81%); }
  .catalog-heading { display: grid; gap: 7px; margin-bottom: 20px; }
  .client-account .header-info { max-width: none; font-size: .75rem; }
  .client-account .bar nav { gap: 10px; }
  .client-account .auth-grid { gap: 25px; }
  .client-account .auth-grid .identity { display: none; }
  .client-account .headline { align-items: start; }
  .client-orders .table-wrap { overflow: visible; border: 0; }
  .client-orders thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .client-orders table, .client-orders tbody, .client-orders tr, .client-orders td { display: block; }
  .client-orders tr { padding: 14px 16px; background: #181b1d; border: 1px solid var(--line); border-radius: 7px; margin-bottom: 10px; }
  .client-orders td { border: 0; padding: 5px 0; }
  .client-account .client-orders td:first-child { max-width: none; }
  .client-orders .order-info { display: block; margin-top: 4px; }
}
.plan-includes { margin: 13px 0 0; padding: 0; background: none; border: 0; }
.plan-includes summary { color: #d3d9dd; font-size: .84rem; padding: 8px 0; }
.plan-includes .plan-features { margin: 6px 0; }
.desktop-edition-note { margin: 20px 0 0; max-width: 85ch; color: #aab2b8; font-size: .84rem; }
.usage-report { margin-top: 20px; padding: 14px 0; border-block: 1px solid var(--line); }
.usage-report h3 { font-size: .9rem; margin: 0 0 5px; font-weight: 550; color: var(--muted); }
.usage-report strong { font-size: 1.7rem; letter-spacing: -.035em; }
.usage-report small { color: var(--muted); }
.purchase-coupon {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.purchase-coupon label { flex: 1 1 170px; }
.purchase-coupon button { min-height: 44px; }
.coupon-feedback { color: var(--ice); font-size: .88rem; }
.coupon-feedback:not(:empty), .coupon-savings { margin-top: 10px; }
.coupon-savings { color: #bfe6d8; font-size: .88rem; }
.purchase-total, .token-balance {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px 12px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 14px;
}
.purchase-total strong, .token-balance strong { font-size: 1.45rem; }
.token-preference { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 6px; cursor: pointer; }
.token-preference input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; min-height: 0; margin: 2px 0 0; accent-color: var(--ice); }
.account-offers { list-style: none; padding: 0; margin: 12px 0 0; }
.account-offers li { display: flex; align-items: center; justify-content: space-between; gap: 7px 14px; padding: 10px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.account-offers small { display: block; color: var(--muted); }
#tokens, #upgrade { min-width: 0; scroll-margin-block: 18px; }
