/* Shared inner-page layout */
.muted { color: var(--muted); }
.small { font-size: 13px; }

.wrap {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 62px);
}

.page-head {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 62px) clamp(34px, 5vw, 54px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin-top: 14px;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .9;
}
.page-head .lede { margin-top: 20px; max-width: 640px; }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs b { color: var(--ink); font-weight: 600; }

.inner-section {
  width: min(1320px, 100%);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 70px) clamp(18px, 4vw, 62px) 0;
}

/* Product pages */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 28px;
  align-items: start;
}
.product-shot {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  aspect-ratio: 16 / 9;
}
.product-shot img { width: 100%; height: 100%; object-fit: cover; }
.product-shot span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 11, .82);
  border: 1px solid var(--line-2);
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-shot--stack {
  display: grid;
  gap: 10px;
  aspect-ratio: auto;
  border: 0;
  background: none;
}
.product-shot--stack .shot-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  cursor: zoom-in;
}
.product-shot--stack img { display: block; width: 100%; height: auto; object-fit: contain; transition: filter .2s; }
.product-shot--stack .shot-wrap:hover img { filter: brightness(1.12); }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 3, 9, .92);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

.product-panel {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.product-panel h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: .92; }
.product-panel p { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feature-list li {
  position: relative;
  padding: 10px 0 10px 18px;
  color: var(--muted);
  font-size: 13px;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
/* Product text details */
.product-details {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 16px;
  align-items: start;
}
.detail-block {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.detail-block h3 { margin: 12px 0 20px; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1; }
.detail-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.detail-list li { display: grid; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.detail-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.detail-list b { color: var(--accent); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.detail-list span { color: var(--muted); font-size: 13px; line-height: 1.6; }
.detail-list--plain li { grid-template-columns: auto 1fr; gap: 10px; align-items: baseline; }
.detail-list--plain b { color: var(--ink); font-size: 13px; letter-spacing: 0; text-transform: none; text-align: right; }

.plans { display: grid; gap: 8px; }
.plan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--panel-2);
  cursor: pointer;
  transition: border-color .18s, background .18s;
}
.plan:hover { border-color: var(--line-2); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.plan.is-active { border-color: var(--accent); background: var(--accent-soft); }
.plan.is-active::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 3px rgba(169, 112, 255, .12); }
.plan b { margin-left: auto; color: var(--accent); }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.buy-row .total { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.buy-row .total b { color: var(--accent); font-size: 18px; }
.notice-line {
  padding: 16px 18px;
  border: 1px solid rgba(169, 112, 255, .3);
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--ink);
  line-height: 1.6;
}

/* Status page */
.status-table { display: grid; gap: 8px; }
.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  transition: border-color .18s, background .18s;
}
.status-row:hover { border-color: var(--line-2); background: var(--panel-2); }
.status-row strong { font-family: var(--display); font-size: 18px; letter-spacing: -.03em; }
.status-row small { color: var(--dim); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.st {
  justify-self: end;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.st--available { color: var(--accent); border-color: rgba(169, 112, 255, .35); background: var(--accent-soft); }
.st--maintenance { color: #f6b949; border-color: rgba(246, 185, 73, .35); background: rgba(246, 185, 73, .1); }
.st--development { color: var(--violet); border-color: rgba(199, 155, 255, .35); background: rgba(199, 155, 255, .1); }

/* Support page */
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.channel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  transition: transform .2s, border-color .2s, background .2s;
}
.channel:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--panel-2); }
.channel-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 900;
}
.channel h3 { font-size: 20px; }
.channel small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.channel .arrow { color: var(--muted); transition: transform .2s, color .2s; }
.channel:hover .arrow { transform: translateX(4px); color: var(--accent); }

/* Payment page */
.payment-card {
  width: min(520px, 100%);
  margin: clamp(40px, 7vw, 90px) auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}
.payment-card h1 { margin-top: 12px; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; }
.payment-card > p { margin: 14px 0 24px; color: var(--muted); line-height: 1.6; }
.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.payment-row b { color: var(--ink); text-align: right; }
.payment-row--total b { color: var(--accent); font-size: 18px; }
.payment-card form { margin-top: 24px; }
.payment-card .btn { width: 100%; }
.payment-card .link { display: inline-block; margin-top: 18px; }

.pay-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(5, 3, 9, .92);
  backdrop-filter: blur(8px);
}
.pay-modal[hidden] { display: none; }
.pay-modal-card {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  border: 1px solid var(--line-2);
  border-radius: 26px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.pay-modal-card h3 { margin: 12px 0 10px; font-family: var(--display); font-size: clamp(1.35rem, 4vw, 1.8rem); line-height: 1.1; }
.pay-modal-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.pay-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.pay-modal-close:hover { border-color: var(--accent); color: var(--accent); }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
.pay-option:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.pay-option-mark {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 900;
}
.pay-option b { margin-left: auto; color: var(--accent); }

/* Legal pages */
.legal-doc {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
  color: #d8d0e4;
  line-height: 1.75;
}
.legal-doc h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.legal-doc h3 { margin: 30px 0 10px; color: var(--ink); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.legal-doc h3:first-of-type { margin-top: 24px; }
.legal-doc p { margin: 0 0 14px; }
.legal-doc p:last-child { margin-bottom: 0; }

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-details { grid-template-columns: 1fr; }
  .status-row { grid-template-columns: 1fr auto; gap: 8px 14px; }
  .status-row small { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .channel { grid-template-columns: auto minmax(0, 1fr); }
  .channel .arrow { display: none; }
  .payment-card { padding: 24px 18px; }
  .pay-modal-card { padding: 24px 18px; }
  .pay-options { grid-template-columns: 1fr; }
  .detail-block { padding: 20px 16px; }
  .shot-row { grid-template-columns: 1fr; }
}
