body.seido-commerce-page {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(90deg, rgba(37,99,235,.035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, rgba(37,99,235,.032) 1px, transparent 1px) 0 0 / 96px 96px,
    radial-gradient(circle at 82% 8%, rgba(37,99,235,.12), transparent 28vw),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 60%, #eef5ff 100%);
}

body.seido-commerce-page * { box-sizing: border-box; }
body.seido-commerce-page a { color: inherit; text-decoration: none; }
body.seido-commerce-page img { display: block; max-width: 100%; }
body.seido-commerce-page p,
body.seido-commerce-page h1,
body.seido-commerce-page h2,
body.seido-commerce-page h3 { margin: 0; }
body.seido-commerce-page button,
body.seido-commerce-page input { font: inherit; }
body.seido-commerce-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}
body.seido-commerce-page .header-actions {
  justify-self: end;
}

.commerce-main {
  padding: clamp(44px, 6vw, 88px) 0 64px;
}

.commerce-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.commerce-hero-copy {
  display: grid;
  gap: 20px;
  align-content: start;
}

.commerce-hero-copy h1,
.commerce-section-head h2,
.commerce-stage-bar h2,
.commerce-summary-card h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .92;
  color: var(--ink);
}

.commerce-hero-copy h1 {
  font-size: clamp(54px, 6vw, 92px);
  max-width: 11ch;
}

.commerce-hero-copy p,
.commerce-section-head p,
.commerce-note p,
.commerce-product-copy p,
.commerce-bundle-card p,
.commerce-stage-bar p,
.commerce-summary-card p,
.commerce-summary-message,
.commerce-inline-note,
.commerce-field-label,
.commerce-feature-label,
.commerce-state-copy,
.commerce-choice-row small,
.commerce-price-block span,
.commerce-note-status,
.commerce-summary-label,
.commerce-signal p,
.commerce-meta-row span {
  color: var(--muted);
  line-height: 1.72;
}

.commerce-hero-copy p {
  max-width: 60ch;
  font-size: clamp(17px, 1.2vw, 20px);
}

.commerce-hero-actions,
.commerce-card-actions,
.commerce-form-actions,
.commerce-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.commerce-hero-side {
  display: grid;
  gap: 18px;
}

.commerce-signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.commerce-signal,
.commerce-note,
.commerce-stage-bar,
.commerce-product-card,
.commerce-bundle-card,
.commerce-summary-card,
.commerce-cta-band {
  border-radius: 28px;
}

.commerce-signal,
.commerce-note,
.commerce-stage-bar,
.commerce-product-card,
.commerce-bundle-card,
.commerce-summary-card {
  padding: 24px;
}

.commerce-signal {
  display: grid;
  gap: 8px;
  min-height: 188px;
}

.commerce-signal-label,
.commerce-card-kicker,
.commerce-state-badge,
.commerce-choice-row span,
.commerce-field-label,
.commerce-summary-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.commerce-signal-value {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  color: var(--ink);
}

.commerce-note {
  display: grid;
  gap: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(234,242,255,.92));
}

.commerce-note strong,
.commerce-price-block strong,
.commerce-summary-price strong,
.commerce-meta-row strong,
.commerce-promo-card strong,
.commerce-signal strong,
.commerce-summary-card--empty h2 {
  color: var(--ink);
}

.commerce-section {
  padding-top: clamp(56px, 7vw, 96px);
}

.commerce-section--compact {
  padding-top: 26px;
}

.commerce-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.commerce-section-head h2,
.commerce-stage-bar h2,
.commerce-summary-card h2 {
  font-size: clamp(38px, 3.8vw, 60px);
}

.commerce-list {
  display: grid;
  gap: 20px;
}

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

.commerce-product-card,
.commerce-bundle-card {
  display: grid;
  gap: 18px;
  background: rgba(255,255,255,.88);
}

.commerce-product-card--lead {
  background: linear-gradient(145deg, #fff, #eef5ff);
  border-color: rgba(37,99,235,.28);
}

.commerce-product-card--selected {
  border-color: rgba(37,99,235,.45);
  box-shadow: inset 0 0 0 2px rgba(37,99,235,.10), var(--shadow-soft);
}

.commerce-bundle-card--featured {
  background:
    linear-gradient(165deg, rgba(255,255,255,.95), rgba(234,242,255,.98)),
    linear-gradient(180deg, rgba(37,99,235,.04), rgba(37,99,235,0));
  border-color: rgba(37,99,235,.34);
}

.commerce-product-top {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.commerce-bundle-top,
.commerce-bundle-footer,
.commerce-state-row,
.commerce-choice-row,
.commerce-meta-row,
.commerce-radio-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.commerce-bundle-top { align-items: center; }
.commerce-bundle-footer { align-items: end; margin-top: auto; }
.commerce-choice-row { align-items: baseline; }
.commerce-state-row {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(234,242,255,.76);
}

.commerce-state-badge,
.commerce-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
}

.commerce-price-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.commerce-logo-frame {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(243,248,255,.92));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}

.commerce-logo-frame--small {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  padding: 10px;
}

.commerce-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.commerce-product-copy,
.commerce-price-block,
.commerce-bundle-card,
.commerce-summary-card,
.commerce-stage-bar,
.commerce-form-stack,
.commerce-feature-groups {
  display: grid;
  gap: 10px;
}

.commerce-product-copy h3,
.commerce-bundle-card h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 2.3vw, 36px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.02;
}

.commerce-price-block {
  min-width: 180px;
  justify-items: end;
  text-align: right;
}

.commerce-price-block--stacked {
  min-width: 0;
  justify-items: start;
  text-align: left;
}

.commerce-price-block strong {
  font-size: 24px;
  line-height: 1.08;
}

.commerce-chip-row,
.commerce-plan-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.commerce-plan-list {
  padding: 8px;
  border-radius: 22px;
  border: 1px solid rgba(37,99,235,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(240,246,255,.94));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}

.commerce-plan-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid rgba(37,99,235,.14);
  background: rgba(255,255,255,.96);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 10px 24px rgba(148,163,184,.12);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.commerce-plan-link:hover,
.commerce-plan-link:focus-visible {
  color: var(--blue);
  border-color: rgba(37,99,235,.34);
  background: rgba(248,251,255,.98);
  box-shadow: 0 14px 28px rgba(37,99,235,.16);
  transform: translateY(-1px);
}

.commerce-plan-link:focus-visible {
  outline: 2px solid rgba(37,99,235,.22);
  outline-offset: 2px;
}

.commerce-plan-link.is-selected {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: var(--seido-shadow-blue);
}

.commerce-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}

.commerce-chip--soft {
  background: rgba(244,248,255,.82);
  color: var(--muted);
}

.commerce-stage-bar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
}

.commerce-switcher {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.76);
}

.commerce-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.commerce-switch.is-active {
  color: #fff;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  box-shadow: var(--seido-shadow-blue);
}

.commerce-purchase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: 22px;
  align-items: start;
}

.commerce-selection-column,
.commerce-summary-column {
  min-width: 0;
}

.commerce-summary-card {
  position: sticky;
  top: 118px;
  gap: 18px;
}

.commerce-summary-card--empty {
  min-height: 360px;
  align-content: center;
}

.commerce-summary-head {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.commerce-summary-card h2 {
  font-size: clamp(34px, 3vw, 48px);
}

.commerce-summary-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.commerce-summary-price strong {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1;
}

.commerce-summary-price s {
  color: var(--muted-2);
}

.commerce-promo-card {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(37,99,235,.18);
  background: linear-gradient(145deg, rgba(234,242,255,.82), rgba(255,255,255,.92));
}

.commerce-form-stack {
  gap: 18px;
}

.commerce-form-section {
  display: grid;
  gap: 10px;
}

.commerce-radio-list {
  display: grid;
  gap: 10px;
}

.commerce-radio-option {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.82);
}

.commerce-radio-main {
  display: flex;
  align-items: start;
  gap: 12px;
}

.commerce-radio-main input {
  margin-top: 4px;
}

.commerce-radio-main strong,
.commerce-feature-label {
  display: block;
  color: var(--ink);
}

.commerce-radio-main small {
  color: var(--muted);
}

.commerce-form-actions {
  padding-top: 4px;
}

.commerce-meta-list {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.commerce-feature-groups {
  gap: 16px;
}

.commerce-feature-group {
  display: grid;
  gap: 8px;
}

.commerce-inline-form {
  display: inline-flex;
  margin: 0;
}

.commerce-inline-note--danger { color: #b4233e; }
.commerce-inline-note--success { color: #047857; }

.commerce-cta-band {
  padding: clamp(28px, 4vw, 42px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 38px 38px,
    linear-gradient(180deg, #0b2347, #0f3c83);
  box-shadow: 0 28px 70px rgba(15, 60, 131, .25);
}

.commerce-cta-band strong,
.commerce-cta-band p {
  color: #fff;
}

.commerce-cta-band strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: 500;
  letter-spacing: -.04em;
}

.commerce-cta-band p {
  margin-top: 6px;
  color: rgba(255,255,255,.8);
}

body.seido-commerce-page .site-footer {
  padding-top: 16px;
}

@media (max-width: 1180px) {
  body.seido-commerce-page .header-actions {
    justify-self: center;
  }

  body.seido-commerce-page .brand {
    justify-self: center;
  }
  .commerce-hero,
  .commerce-purchase-layout,
  .commerce-list--grid,
  .commerce-signal-grid,
  .commerce-product-top {
    grid-template-columns: 1fr;
  }

  .commerce-stage-bar,
  .commerce-section-head,
  .commerce-cta-band,
  .commerce-bundle-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .commerce-price-block,
  .commerce-price-block--stacked {
    justify-items: start;
    text-align: left;
  }

  .commerce-summary-card {
    position: static;
  }
}

@media (max-width: 760px) {
  .commerce-main {
    padding-top: 28px;
  }

  .commerce-hero-copy h1 {
    font-size: clamp(44px, 12vw, 62px);
  }

  .commerce-section-head h2,
  .commerce-stage-bar h2,
  .commerce-summary-card h2 {
    font-size: 36px;
  }

  .commerce-signal-grid,
  .commerce-list--grid {
    grid-template-columns: 1fr;
  }

  .commerce-product-card,
  .commerce-bundle-card,
  .commerce-summary-card,
  .commerce-stage-bar,
  .commerce-signal,
  .commerce-note {
    padding: 20px;
    border-radius: 24px;
  }

  .commerce-logo-frame {
    width: 72px;
    height: 72px;
  }

  .commerce-switcher,
  .commerce-hero-actions,
  .commerce-plan-list,
  .commerce-chip-row,
  .commerce-form-actions,
  .commerce-summary-actions {
    width: 100%;
  }

  .commerce-switcher {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .commerce-switch,
  .commerce-summary-actions .seido-btn,
  .commerce-form-actions .seido-btn,
  .commerce-hero-actions .seido-btn,
  .commerce-card-actions .seido-btn,
  .commerce-inline-form,
  .commerce-inline-form .seido-btn {
    width: 100%;
  }
}