html[data-theme] body[data-page="premium"] #main .premium-page.stitch-offers-index {
  --offers-paper: var(--panel, #ffffff);
  --offers-paper-2: var(--panel2, #f7f4fa);
  --offers-line: var(--line, #ddd6e3);
  --offers-ink: var(--text, #231a29);
  --offers-muted: var(--muted, #6d6472);
  --offers-accent: var(--accent-solid, #7c3aed);
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  width: min(100% - 32px, 1160px) !important;
  max-width: 1160px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding: 12px 0 44px !important;
  box-sizing: border-box !important;
  color: var(--offers-ink);
}

html[data-theme="dark"] body[data-page="premium"] #main .premium-page.stitch-offers-index {
  --offers-paper: var(--panel, #17131f);
  --offers-paper-2: var(--panel2, #241f2c);
  --offers-line: var(--line, #4c4357);
  --offers-ink: var(--text, #f1eaf4);
  --offers-muted: var(--muted, #cfc5d5);
  --offers-accent: var(--accent-solid, #d8b9ff);
}

html[data-theme] body[data-page="premium"] #main .stitch-offers-hero {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(22px, 4vw, 38px) !important;
  border: 1px solid var(--offers-line) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--offers-accent) 22%, transparent), transparent 35%),
    var(--offers-paper) !important;
  color: var(--offers-ink) !important;
  box-shadow: 0 16px 42px color-mix(in srgb, var(--offers-accent) 8%, transparent) !important;
}

.stitch-offers-eyebrow {
  margin: 0 0 8px !important;
  color: var(--offers-accent) !important;
  font: 700 12px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace !important;
  letter-spacing: 0.08em !important;
}

html[data-theme] body[data-page="premium"] #main .stitch-offers-hero :is(h1, h2) {
  margin: 0 !important;
  color: var(--offers-ink) !important;
  font: 700 clamp(32px, 5vw, 48px)/1.05 Georgia, "Times New Roman", serif !important;
  letter-spacing: -0.035em !important;
  overflow-wrap: anywhere;
}

html[data-theme] body[data-page="premium"] #main .stitch-offers-hero > p:not(.stitch-offers-eyebrow, .stitch-offers-intro) {
  margin: 10px 0 0 !important;
  color: var(--offers-muted) !important;
}

.stitch-offers-intro {
  max-width: 66ch;
  margin: 12px 0 0 !important;
  color: var(--offers-muted) !important;
  font: 400 16px/1.55 "Commissioner", system-ui, sans-serif !important;
}

.stitch-offers-hub {
  box-sizing: border-box;
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--offers-line);
  border-radius: 18px;
  background: var(--offers-paper);
}

.stitch-offers-hub-heading {
  margin: 0;
  color: var(--offers-ink);
  font: 700 25px/1.2 Georgia, "Times New Roman", serif;
}

.stitch-offers-hub-copy {
  max-width: 72ch;
  margin: 0 0 8px;
  color: var(--offers-muted);
  font: 400 14px/1.5 "Commissioner", system-ui, sans-serif;
}

.stitch-offers-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.stitch-offers-route-card {
  position: relative;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  min-width: 0;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--offers-line);
  border-radius: 14px;
  background: var(--offers-paper-2);
  color: var(--offers-ink);
  text-decoration: none;
}

.stitch-offers-route-card:hover {
  border-color: var(--offers-accent);
  background: color-mix(in srgb, var(--offers-accent) 8%, var(--offers-paper-2));
}

.stitch-offers-route-eyebrow {
  grid-column: 1;
  color: var(--offers-accent);
  font: 700 11px/1.35 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.07em;
}

.stitch-offers-route-title {
  grid-column: 1;
  color: var(--offers-ink);
  font: 700 19px/1.2 Georgia, "Times New Roman", serif;
}

.stitch-offers-route-copy {
  grid-column: 1;
  color: var(--offers-muted);
  font: 400 13px/1.45 "Commissioner", system-ui, sans-serif;
}

.stitch-offers-route-arrow {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  color: var(--offers-accent);
  font: 500 30px/1 Georgia, serif;
}

.stitch-offers-boundary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  padding: 13px 16px;
  border: 1px solid color-mix(in srgb, var(--offers-accent) 32%, var(--offers-line));
  border-radius: 13px;
  background: color-mix(in srgb, var(--offers-accent) 6%, var(--offers-paper));
  color: var(--offers-muted);
  font: 400 13px/1.5 "Commissioner", system-ui, sans-serif;
}

.stitch-offers-boundary-title {
  color: var(--offers-ink);
}

html[data-theme] body[data-page="premium"] #main .stitch-offers-index :is(button, a, summary):focus-visible {
  outline: 2px solid var(--offers-accent) !important;
  outline-offset: 3px !important;
}

html[data-theme] body[data-page="premium"] #main .stitch-offers-index .premium-plans,
html[data-theme] body[data-page="premium"] #main .stitch-offers-index .premium-status,
html[data-theme] body[data-page="premium"] #main .stitch-offers-index :is(.premium-recovery, .premium-receipts, .premium-storage, #premium-analytics, .premium-benefits) {
  min-width: 0 !important;
  border-radius: 18px !important;
}

html[data-theme] body[data-page="premium"] #main .stitch-offers-index :is(button, a).btn {
  min-height: 44px !important;
  border-radius: 999px !important;
}

@media (max-width: 820px) {
  .stitch-offers-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stitch-offers-route-card {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  html[data-theme] body[data-page="premium"] #main .premium-page.stitch-offers-index {
    width: 100% !important;
    gap: 12px !important;
    padding: 8px 10px 28px !important;
  }

  html[data-theme] body[data-page="premium"] #main .stitch-offers-hero,
  .stitch-offers-hub {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  html[data-theme] body[data-page="premium"] #main .stitch-offers-hero :is(h1, h2) {
    font-size: 34px !important;
  }

  .stitch-offers-route-card {
    padding: 16px;
  }

  .stitch-offers-boundary {
    align-items: flex-start;
    flex-direction: column;
  }
}
