.flow-consent { align-items: flex-start; padding: 8px 0; }
.flow-consent input { flex: 0 0 18px; margin: 4px 0; }
.flow-reference { font-family: Inter, system-ui, sans-serif; }
.flow-feedback:empty { display: none; }
#flowState, #paymentCheck, #orderError { overflow-wrap: anywhere; }
#checkout section > .button, #checkout section > button { margin-right: 5px; }
#requestId { box-sizing: border-box; width: 100%; min-height: 44px; font: inherit; }
#orderDetails dt { font-weight: 700; }
#orderDetails dd { margin: 0 0 10px; overflow-wrap: anywhere; }

/* The paid-flow presentation only. Shared order management keeps its existing styles. */
.flow-sales-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 1050px;
  padding: 0 max(15px, env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(15px, env(safe-area-inset-left));
  font-family: "Hanken Grotesk", Inter, system-ui, sans-serif;
  color: #18242f;
  background: #f7f2ec;
}
.flow-sales-page *, .flow-sales-page *::before, .flow-sales-page *::after { box-sizing: border-box; }
.flow-sales-page main { min-width: 0; }
.flow-sales-page .flow-top {
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: #fffdfb;
  border-radius: 0 0 24px 24px;
}
.flow-top img { width: 145px; height: auto; max-width: 50%; display: block; }
.flow-top span { color: #24557d; font-weight: 650; text-align: right; }
.flow-sales-page .back { padding: 0 6px; }
.flow-sales-page .flow-hero {
  padding: 48px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
  gap: 25px;
  align-items: center;
  margin: 0;
  background: radial-gradient(ellipse at 85% 55%, #3c4c5d, transparent 65%), #18242f;
  color: #fffdfb;
  border: 0;
  border-radius: 30px;
}
.flow-hero .flow-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #c6d6e7; font-weight: 750; }
.flow-hero h1 { font-size: clamp(40px, 6.2vw, 66px); font-weight: 600; line-height: 1; letter-spacing: -.04em; margin: 20px 0 16px; }
.flow-hero .flow-subtitle { font-size: 23px; line-height: 1.24; color: #f3a48e; font-weight: 600; }
.flow-hero p { font-size: 17px; line-height: 1.52; color: #f7f2ec; }
.flow-portrait { border-radius: 50% 50% 11% 11% / 36% 36% 8% 8%; overflow: hidden; border: 3px solid #dcd1ee; aspect-ratio: 1200 / 1520; }
.flow-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.flow-sales-page .flow-hero-button { min-height: 52px; margin-top: 12px; padding: 12px 20px; font-family: inherit; font-size: 17px; font-weight: 750; text-align: center; border-radius: 16px; }
.flow-sales-page .flow-panel {
  margin: 28px 0;
  padding: 30px;
  background: #fffdfb;
  border: 0;
  border-radius: 28px;
}
.flow-sales-page .flow-panel > h2, #flowOfferHeader h2 { font-size: clamp(28px, 4vw, 39px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 16px; }
.flow-sales-page .flow-panel p { line-height: 1.52; }
.flow-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.flow-tile { padding: 20px; border-radius: 20px; background: linear-gradient(125deg, #e9e0f0, #f7f2ec); overflow-wrap: anywhere; }
.flow-tile strong { display: block; margin-bottom: 8px; font-size: 20px; line-height: 1.21; }
.flow-tile p { color: #3d4d59; margin: 0; font-size: 15px; }
.flow-presale-copy { font-weight: 750; }
.flow-sales-page #flowState { color: #24557d; font-weight: 650; }
.flow-sales-page #checkout[data-flow-view="offers"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 10px; }
.flow-sales-page #checkout[data-flow-view="status"] { max-width: 680px; }
.flow-sales-page #checkout .flow-tariff { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 20px; border-radius: 22px; background: #f7f2ec; border: 1px solid #d8d8dc; }
.flow-tariff .flow-tag { color: #24557d; font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.flow-tariff h3 { font-size: 27px; line-height: 1.1; margin: 0 0 10px; }
.flow-tariff .flow-price { font-size: clamp(25px, 3.1vw, 32px); line-height: 1.08; font-weight: 720; letter-spacing: -.035em; margin: 8px 0 4px; white-space: nowrap; }
.flow-tariff .flow-next-price { display: block; color: #536574; font-size: 14px; font-weight: 600; letter-spacing: 0; line-height: 1.4; margin-top: 8px; white-space: normal; }
.flow-tariff .flow-plan-copy { color: #18242f; font-size: 16px; font-weight: 650; margin: 14px 0 10px; }
.flow-tariff .flow-tariff-detail { font-size: 14px; color: #3d4d59; }
.flow-tariff .flow-consent { margin-top: auto; font-size: 14px; line-height: 1.43; padding: 12px 0; cursor: pointer; }
.flow-tariff .flow-consent input { width: 18px; min-width: 18px; height: 18px; }
.flow-sales-page #checkout .flow-buy { width: 100%; margin: 2px 0 0; padding: 12px; min-height: 48px; text-align: center; }
.flow-sales-page #checkout[data-flow-view="offers"] > .button { grid-column: 1 / -1; justify-self: start; }
.flow-extra { padding: 18px; margin-top: 15px; background: #e3d8ec; border-radius: 17px; }
.flow-extra p { margin: 0 0 9px; }
.flow-extra p:last-child { margin: 0; }
.flow-faq details { border-top: 1px solid #dcd5d0; }
.flow-faq summary { font-weight: 680; cursor: pointer; padding: 13px 0; min-height: 44px; }
.flow-faq details p { margin: 0 0 14px; color: #3d4d59; }
.flow-sales-page .flow-bottom { border: 0; background: #18242f; color: #f7f2ec; margin: 28px 0; padding: 30px; border-radius: 24px; }
.flow-bottom h2 { font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.flow-bottom a:not(.button) { color: #c6d6e7; }
.flow-bottom p:last-child { margin: 14px 0 0; }
.flow-sales-page .flow-footer { padding: 8px 5px; color: #536574; font-size: 14px; }
.flow-sales-page .flow-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.flow-sales-page #orderError:not([hidden]) { border-radius: 14px; background: #fce7df; padding: 12px; font-weight: 650; }
.flow-sales-page :focus-visible { outline: 3px solid #24557d; outline-offset: 3px; }
.flow-hero :focus-visible, .flow-bottom :focus-visible { outline-color: #f3a48e; }
#tariffs { scroll-margin-top: 12px; }
@media (max-width: 760px) {
  .flow-sales-page { padding-left: max(9px, env(safe-area-inset-left)); padding-right: max(9px, env(safe-area-inset-right)); }
  .flow-sales-page .flow-top { padding: 12px 17px; }
  .flow-top img { width: 120px; }
  .flow-top span { font-size: 13px; }
  .flow-sales-page .flow-hero { padding: 25px 22px; grid-template-columns: minmax(0, 1fr); gap: 15px; border-radius: 25px; }
  .flow-portrait { max-width: 280px; width: 100%; margin: 8px auto 0; }
  .flow-hero h1 { font-size: clamp(38px, 11vw, 45px); }
  .flow-sales-page .flow-hero-button { width: 100%; white-space: normal; }
  .flow-sales-page .flow-panel, .flow-sales-page .flow-bottom { margin: 16px 0; padding: 22px 18px; }
  .flow-tiles, .flow-sales-page #checkout[data-flow-view="offers"] { grid-template-columns: minmax(0, 1fr); }
  .flow-tariff .flow-price { font-size: 32px; }
}
