/* Pricing and preparation journey. New styles are scoped so the protected header, hero, courses, and app stay untouched. */
.home-pricing {
  padding: clamp(64px, 8vw, 112px) 0 76px;
  background: #f3f7fc;
  color: var(--ink);
}

.home-pricing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.home-pricing-heading h2,
.home-journey-heading h2,
.home-faq h2,
.home-contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.home-pricing-heading p,
.home-journey-heading p,
.home-contact > p {
  max-width: 58ch;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.home-pricing-more {
  display: inline-flex;
  min-height: 46px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.home-pricing-more:hover,
.home-pricing-more:focus-visible { text-decoration: underline; }

.home-price-ledger { display: grid; gap: 12px; }

.home-price-primary {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(170px, .72fr) minmax(240px, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  min-width: 0;
  padding: clamp(24px, 4vw, 42px);
  border-radius: 13px;
  background: var(--deep);
  color: #fff;
}

.home-price-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #ffd36a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-price-description h3,
.home-materials-copy h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.home-price-description > p {
  max-width: 37ch;
  margin: 8px 0 0;
  color: #cfdaea;
  font-size: 14px;
}

.home-price-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0;
  padding-inline: clamp(16px, 2.5vw, 34px);
  border-inline: 1px solid rgba(255, 255, 255, .24);
  white-space: nowrap;
}

.home-price-amount strong {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.home-price-amount span { color: #d5dfed; font-size: 14px; }

.home-price-terms { color: #d5dfed; font-size: 14px; line-height: 1.5; }
.home-price-terms p { margin: 0; }
.home-price-terms p + p { margin-top: 4px; color: #fff; font-weight: 700; }

.home-price-action,
.home-contact-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 17px;
  border: 1px solid var(--blue);
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .16s ease, transform .16s ease;
}

.home-price-action:hover,
.home-contact-cta:hover { transform: translateY(-1px); background: var(--blue-dark); }

.home-price-secondary {
  display: grid;
  grid-template-columns: 46px minmax(180px, 1fr) minmax(150px, auto) auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 22px clamp(20px, 3.6vw, 38px);
  border: 1px solid #dce5f0;
  border-radius: 11px;
  background: #fff;
}

.home-materials-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #eaf1fc;
  color: var(--blue);
  font-size: 17px;
}

.home-materials-copy h3 { font-size: 18px; }
.home-materials-copy p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.home-materials-amount { margin: 0; white-space: nowrap; }
.home-materials-amount strong { font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.home-materials-amount span { margin-left: 7px; color: var(--muted); font-size: 13px; }
.home-materials-action { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 750; white-space: nowrap; }
.home-materials-action:hover { text-decoration: underline; text-underline-offset: 4px; }

.home-journey {
  display: grid;
  grid-template-columns: minmax(235px, .72fr) minmax(0, 1.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(64px, 8vw, 98px);
}

.home-journey-heading h2 { max-width: 14ch; font-size: clamp(26px, 3vw, 36px); }
.home-journey-heading p { max-width: 39ch; font-size: 15px; }
.home-journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.home-journey-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-content: start; gap: 12px; padding: 5px 18px 5px 0; }
.home-journey-steps li + li { padding-left: 18px; border-left: 1px solid #d6e0ed; }
.journey-step-number { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.home-journey-steps h3 { margin: 1px 0 0; font-size: 15px; font-weight: 800; line-height: 1.35; }
.home-journey-steps p { margin: 8px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }

.home-questions { padding: 74px 0 82px; background: #fff; }
.home-questions-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(260px, .78fr); gap: clamp(36px, 7vw, 92px); }
.home-faq h2, .home-contact h2 { margin-bottom: 20px; font-size: clamp(25px, 3vw, 34px); }
.home-faq-list { border-top: 1px solid var(--line); }
.home-faq-list details { border-bottom: 1px solid var(--line); }
.home-faq-list summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 18px; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 750; list-style-position: inside; }
.home-faq-list summary::marker { color: var(--blue); }
.home-faq-list details p { max-width: 66ch; margin: -2px 0 18px 20px; color: var(--ink-soft); font-size: 14px; }

.home-contact { padding-left: clamp(26px, 4vw, 54px); border-left: 1px solid var(--line); }
.home-contact > p { margin: -5px 0 22px; font-size: 14px; }
.home-contact-link { display: flex; width: fit-content; align-items: center; gap: 11px; min-height: 40px; color: var(--ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.home-contact-link i { width: 18px; color: var(--blue); font-size: 16px; text-align: center; }
.home-contact-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.home-contact-cta { margin-top: 22px; }

.footer-inner { align-items: flex-start; }
.footer-contact { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
.footer-contact a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact span { margin-top: 3px; }

/* Standalone price page */
.cenik-page { color: var(--ink); }
.cenik-page .desktop-nav [aria-current="page"],
.cenik-page .mobile-panel [aria-current="page"] { color: var(--blue); }
.cenik-content { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.cenik-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .95fr); gap: clamp(32px, 6vw, 84px); align-items: end; padding: clamp(52px, 7vw, 88px) 0 28px; }
.cenik-intro h1 { max-width: 13ch; margin: 0; color: var(--ink); font-size: clamp(38px, 5.2vw, 64px); font-weight: 800; letter-spacing: -.045em; line-height: 1.01; text-wrap: balance; }
.cenik-intro > p { max-width: 45ch; margin: 0 0 4px; color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.65; }

.cenik-price-feature {
  display: grid;
  grid-template-columns: minmax(270px, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 13px;
  background: var(--deep);
  color: #fff;
}
.cenik-price-feature h2 { max-width: 14ch; margin: 0; font-size: clamp(25px, 3.2vw, 40px); font-weight: 750; letter-spacing: -.03em; line-height: 1.1; }
.cenik-price-note { margin: 12px 0 0; color: #d4dfed; font-size: 15px; }
.cenik-price-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; }
.cenik-price-main strong { color: #fff; font-size: clamp(52px, 8vw, 88px); font-weight: 800; letter-spacing: -.055em; line-height: .95; font-variant-numeric: tabular-nums; }
.cenik-price-main span { color: #dbe4f0; font-size: 18px; }
.cenik-price-detail { max-width: 52ch; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .25); color: #dbe4f0; font-size: 14px; line-height: 1.65; }
.cenik-price-detail strong { color: #fff; font-weight: 750; }
.cenik-price-cta { margin-top: 24px; }

.cenik-materials-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(150px, auto); gap: clamp(18px, 4vw, 48px); align-items: center; margin-top: 14px; padding: 21px clamp(22px, 4vw, 38px); border: 1px solid #dfe7f1; border-radius: 11px; background: #f7faff; }
.cenik-materials-row h2 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.cenik-materials-row p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14px; }
.cenik-materials-price { margin: 0 !important; color: var(--ink) !important; white-space: nowrap; }
.cenik-materials-price strong { font-size: 25px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cenik-materials-price span { margin-left: 5px; color: var(--muted); font-size: 13px; }
.cenik-materials-cta { justify-self: end; }

.cenik-journey { padding: clamp(68px, 9vw, 108px) 0 82px; }
.cenik-section-heading { max-width: 720px; margin: 0 0 38px; }
.cenik-section-heading h2 { max-width: 17ch; margin: 0; font-size: clamp(31px, 4vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1.08; }
.cenik-section-heading p { max-width: 58ch; margin: 12px 0 0; color: var(--ink-soft); font-size: 16px; }
.cenik-journey-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cenik-journey-list li { display: grid; grid-template-columns: 56px minmax(190px, .55fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 38px); align-items: baseline; padding: 23px 0; border-bottom: 1px solid var(--line); }
.cenik-journey-index { color: var(--blue); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.cenik-journey-list h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.cenik-journey-list p { max-width: 58ch; margin: 0; color: var(--ink-soft); font-size: 15px; }

.cenik-help { padding: 68px 0 82px; background: #f3f7fc; }
.cenik-help-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .65fr); gap: clamp(36px, 7vw, 94px); }
.cenik-help h2 { margin: 0 0 20px; font-size: clamp(27px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.cenik-faq-list { border-top: 1px solid #d7e1ed; }
.cenik-faq-list details { border-bottom: 1px solid #d7e1ed; }
.cenik-faq-list summary { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 20px; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 750; list-style-position: inside; }
.cenik-faq-list summary::marker { color: var(--blue); }
.cenik-faq-list details p { max-width: 65ch; margin: 0 0 18px 20px; color: var(--ink-soft); font-size: 14px; }
.cenik-contact { padding-left: clamp(24px, 4vw, 48px); border-left: 1px solid #d7e1ed; }
.cenik-contact h2 { margin-bottom: 10px; }
.cenik-contact > p { max-width: 36ch; margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }
.cenik-contact-link { display: flex; min-height: 40px; align-items: center; gap: 10px; width: fit-content; color: var(--ink); font-size: 14px; font-weight: 650; overflow-wrap: anywhere; }
.cenik-contact-link i { width: 18px; color: var(--blue); text-align: center; }
.cenik-contact-link:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.cenik-contact .cenik-price-cta { margin-top: 20px; }
.cenik-legal-note { margin: 20px 0 0; color: #536782; font-size: 12px; line-height: 1.5; }

.cenik-footer { padding: 24px 0 28px; border-top: 1px solid var(--line); }
.cenik-footer .footer-inner { align-items: center; }
.cenik-footer .footer-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.cenik-footer .footer-links { gap: 8px 16px; }

@media (max-width: 1040px) {
  .home-price-primary { grid-template-columns: minmax(0, 1fr) minmax(160px, auto); }
  .home-price-amount { justify-self: start; padding: 0; border: 0; }
  .home-price-terms { grid-column: 1; }
  .home-price-action { grid-column: 2; grid-row: 2 / span 2; }
  .home-price-secondary { grid-template-columns: 42px minmax(0, 1fr) auto; }
  .home-materials-action { grid-column: 2 / -1; justify-self: start; }
  .home-journey { grid-template-columns: 1fr; gap: 28px; }
  .home-journey-heading h2 { max-width: 22ch; }
}

@media (max-width: 760px) {
  .home-pricing-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .home-price-primary { grid-template-columns: 1fr; gap: 18px; }
  .home-price-action { grid-column: auto; grid-row: auto; justify-self: start; }
  .home-price-amount { align-items: baseline; }
  .home-price-secondary { grid-template-columns: 42px minmax(0, 1fr); gap: 12px 16px; }
  .home-materials-amount { grid-column: 2; }
  .home-materials-action { grid-column: 2; }
  .home-journey-steps { grid-template-columns: 1fr; }
  .home-journey-steps li { padding: 14px 0; }
  .home-journey-steps li + li { padding-left: 0; border-top: 1px solid #d6e0ed; border-left: 0; }
  .home-questions-layout { grid-template-columns: 1fr; }
  .home-contact { padding: 28px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .footer-inner { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .cenik-content { width: calc(100% - 40px); }
  .cenik-intro { grid-template-columns: 1fr; gap: 14px; padding-top: 48px; }
  .cenik-intro > p { max-width: 54ch; }
  .cenik-price-feature { grid-template-columns: 1fr; gap: 24px; }
  .cenik-price-feature h2 { max-width: 22ch; }
  .cenik-materials-row { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; }
  .cenik-materials-copy { grid-column: 1 / -1; }
  .cenik-materials-cta { grid-column: 1 / -1; justify-self: start; }
  .cenik-journey-list li { grid-template-columns: 36px minmax(0, 1fr); gap: 8px 16px; }
  .cenik-journey-list p { grid-column: 2; }
  .cenik-help-grid { grid-template-columns: 1fr; }
  .cenik-contact { padding: 28px 0 0; border-top: 1px solid #d7e1ed; border-left: 0; }
  .cenik-footer .footer-inner { align-items: flex-start; }
}

@media (max-width: 460px) {
  .home-pricing { padding: 54px 0 60px; }
  .home-price-primary { padding: 24px 20px; }
  .home-price-amount strong { font-size: 42px; }
  .home-price-action,
  .home-contact-cta { width: 100%; white-space: normal; text-align: center; }
  .home-price-secondary { padding: 17px 16px; }
  .home-materials-amount strong { font-size: 22px; }
  .home-questions { padding: 58px 0 62px; }
  .cenik-content { width: calc(100% - 32px); }
  .cenik-intro { padding-top: 42px; }
  .cenik-price-feature { padding: 26px 21px; }
  .cenik-price-main strong { font-size: 62px; }
  .cenik-price-main span { font-size: 16px; }
  .cenik-materials-row { grid-template-columns: 1fr; padding: 20px; }
  .cenik-materials-copy { grid-column: auto; }
  .cenik-materials-cta { grid-column: auto; }
  .cenik-journey { padding-bottom: 60px; }
  .cenik-section-heading { margin-bottom: 24px; }
  .cenik-help { padding: 56px 0 62px; }
  .home-contact-link { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-price-action,
  .home-contact-cta { transition: none; }
}
