:root {
  --c72-navy: #0a2540;
  --c72-navy-deep: #061628;
  --c72-teal: #00afb9;
  --c72-gold: #f0b429;
  --c72-red: #d62828;
  --c72-red-dark: #b01f1f;
  --c72-bg: #f7f8fa;
  --c72-text: #0a2540;
  --c72-muted: #4b5d70;
  --c72-line: #e6ebf1;
  --c72-header: 88px;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.c72 {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c72-text);
  background: #fff;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c72-teal);
}

button,
input {
  font-family: inherit;
}

.c72-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.c72-header {
  background: var(--c72-navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--c72-header);
}

.c72-header-bar,
.c72-header .c72-wrap {
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--c72-header);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.c72-header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
}

.c72-logo img,
.c72-header img {
  height: 76px;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
}

.c72-account {
  margin: 0;
  text-align: right;
  font-size: 0.92rem;
  color: #fff;
}

.c72-account strong {
  font-weight: 700;
  letter-spacing: 0.01em;
}

.c72-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: var(--c72-red);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
}

.c72-btn:hover {
  background: var(--c72-red-dark);
}

.c72-btn-header {
  padding: 0.72rem 1.15rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.c72-hero {
  position: relative;
  color: #fff;
  background: var(--c72-navy-deep);
}

.c72-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 18, 36, 0.94) 0%, rgba(6, 18, 36, 0.88) 26%, rgba(6, 18, 36, 0.28) 46%, rgba(6, 18, 36, 0.04) 64%),
    url("../images/michus-hero-1920.jpg") 68% 22% / cover no-repeat;
  background:
    linear-gradient(90deg, rgba(6, 18, 36, 0.94) 0%, rgba(6, 18, 36, 0.88) 26%, rgba(6, 18, 36, 0.28) 46%, rgba(6, 18, 36, 0.04) 64%),
    image-set(url("../images/michus-hero-1920.jpg") 1x, url("../images/michus-hero-2880.jpg") 2x) 68% 22% / cover no-repeat;
}

/* Komputer: zdjęcie przycięte od dołu, żeby na pierwszym ekranie było widać
   początek sekcji o Michalince. Buzia zostaje w kadrze (pozycja 22% od góry). */
@media (min-width: 801px) {
  .c72-hero {
    min-height: min(calc(100dvh - 64px - 7.5rem), 760px);
  }
}

.c72-hero-photo {
  display: none;
}

.c72-hero-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 1.5rem 0 1.25rem;
  max-width: 520px;
  margin-left: max(1rem, calc((100% - 1180px) / 2));
}


.c72-hero h1 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.42rem, 1.85vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0;
  max-width: none;
}

.c72-hero h1 span,
.c72-gold span {
  display: block;
}

.c72-hero h1 span {
  white-space: nowrap;
}

.c72-gold {
  margin: 0 0 1.15rem;
  color: var(--c72-gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  line-height: 1.3;
  max-width: 28em;
}

.c72-card {
  background: #fff;
  color: var(--c72-text);
  border-radius: 16px;
  padding: 0.7rem 0.8rem 0.65rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.c72-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
}

.c72-stepper button {
  width: 100%;
  border: 0;
  background: #eef2f6;
  color: #64748b;
  border-radius: 999px;
  padding: 0.38rem 0.25rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.c72-stepper button.is-active {
  background: var(--c72-navy);
  color: #fff;
}

.c72-stepper button:disabled {
  cursor: default;
}

.c72-step-label {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.c72-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}

.c72-amounts label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #e5eaf0;
  background: #f3f5f8;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.95rem;
}

.c72-amounts input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.c72-amounts label:has(input:checked) {
  background: var(--c72-navy);
  color: #fff;
  border-color: var(--c72-navy);
}

.c72-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  min-height: 2.4rem;
  margin: 0.45rem 0 0.45rem;
}

.c72-caption {
  margin: 0;
  color: var(--c72-muted);
  font-size: 0.86rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.c72-linkish {
  border: 0;
  background: none;
  color: var(--c72-navy);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
}

.c72-custom input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  font-size: 0.95rem;
}


.c72-submit {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--c72-red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.72rem 1rem;
  cursor: pointer;
}

.c72-submit:hover {
  background: var(--c72-red-dark);
}

.c72-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}



.c72-form-error {
  margin: 0 0 0.4rem;
  color: var(--c72-red);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
}

.c72-form-error[hidden] {
  display: none;
}

.c72-step[hidden] {
  display: none;
}

.c72-step h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.3;
}

.c72-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
}

.c72-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.c72-field input {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid #d5dee8;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font-size: 1rem;
  font-weight: 500;
}

.c72-field.is-invalid input,
.c72-custom.is-invalid input {
  border-color: var(--c72-red);
  background: #fff6f6;
}

.c72-quiet {
  margin: 0 0 0.45rem;
  color: #64748b;
  font-size: 0.78rem;
}

.c72-checks {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.c72-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
  align-items: start;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 500;
}

.c72-check input {
  margin-top: 0.15rem;
  accent-color: var(--c72-navy);
}

.c72-check.is-invalid {
  color: var(--c72-red);
}

.c72-check a {
  color: var(--c72-navy);
  font-weight: 700;
}

.c72-tip-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}

.c72-tip {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  border: 1px solid #94a3b8;
  background: #fff;
  color: var(--c72-navy);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.c72-tip-box {
  display: none;
  position: absolute;
  z-index: 6;
  left: 0;
  bottom: calc(100% + 0.35rem);
  width: min(280px, 68vw);
  background: var(--c72-navy);
  color: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.c72-tip-box a {
  color: #8eecf2;
}

.c72-tip-wrap.is-open .c72-tip-box {
  display: block;
}

.c72-required-note {
  margin: 0.35rem 0 0;
  color: #64748b;
  font-size: 0.72rem;
}

.c72-section {
  padding: 3.5rem 0;
}

.c72-section h2,
.c72-close h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin: 0 0 1rem;
}

.c72-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
}

/* Prawa kolumna: zdjęcie i film tej samej szerokości. Zdjęcie wypełnia to,
   co zostaje z wysokości tekstu, więc obie kolumny kończą się równo. */
.c72-story-media {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.c72-story-media .c72-photo-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  margin: 0;
}

.c72-story-media .c72-photo-card img {
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  max-height: none;
  object-position: 50% 40%;
}

.c72-story-media .c72-film {
  flex: 0 0 auto;
}

.c72-fund-list {
  margin: 1.1rem 0 1.2rem;
  color: var(--c72-navy);
}

.c72-fund-title {
  margin: 0 0 0.4rem !important;
  font-weight: 800;
  color: var(--c72-navy) !important;
}

.c72-fund-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c72-fund-list li {
  margin: 0 0 0.25rem;
  color: #334155;
}

.c72-fund-list strong {
  color: var(--c72-navy);
}

.c72-story p {
  color: #334155;
  margin: 0 0 0.9rem;
}


.c72-photo-card img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  max-height: 420px;
}

.c72-photo-card figcaption {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.92rem;
}

.c72-film {
  margin-top: 0.9rem;
  background: var(--c72-navy);
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.c72-film iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.c72-kicker-teal {
  color: var(--c72-teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.4rem;
}

.c72-steps {
  background: #fff;
}

.c72-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.c72-steps-title {
  margin: 1.8rem 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.25;
  color: var(--c72-navy);
}

.c72-step-card {
  border: 1px solid var(--c72-line);
  border-radius: 16px;
  padding: 1rem 1rem 1.1rem;
  background: #fff;
}

.c72-step-card strong {
  display: block;
  color: var(--c72-teal);
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.c72-step-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.c72-step-card p {
  margin: 0;
  color: var(--c72-muted);
  font-size: 0.92rem;
}

.c72-note {
  margin: 1.2rem 0 0;
  color: var(--c72-muted);
}

.c72-unknown {
  text-align: center;
  background: var(--c72-bg);
}

.c72-unknown .c72-wrap {
  max-width: 820px;
}

.c72-unknown p {
  color: #334155;
}

.c72-fb-box {
  margin-top: 1.4rem;
  background: var(--c72-navy);
  color: #fff;
  text-align: left;
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
}

.c72-fb-box strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.c72-fb-box p {
  margin: 0;
  color: #e8eef5;
}

.c72-faq {
  background: #f4f7fb;
}

.c72-faq-item {
  border-bottom: 1px solid #dbe3ec;
}

.c72-faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: none;
  border: 0;
  text-align: left;
  padding: 1rem 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c72-navy);
  cursor: pointer;
}

.c72-faq-item .icon {
  color: var(--c72-teal);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1;
}

.c72-faq-item .icon::before {
  content: "+";
}

.c72-faq-item.open .icon::before {
  content: "–";
}

.c72-faq-panel {
  display: none;
  padding: 0 0 1rem;
  color: #334155;
}

.c72-faq-item.open .c72-faq-panel {
  display: block;
}

.c72-beata {
  background: var(--c72-navy);
  color: #fff;
}

.c72-beata-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
}

.c72-beata img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  max-height: 340px;
}

.c72-beata h2 {
  color: #fff;
}

.c72-beata blockquote {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.c72-beata p {
  margin: 0 0 0.7rem;
  color: #d7e0ea;
}

.c72-close {
  background: #f7f8fa;
  text-align: center;
  padding: 4rem 0;
}

.c72-close .c72-wrap {
  max-width: 760px;
}

.c72-close p {
  color: #334155;
  font-size: 1.05rem;
}

.c72-close .c72-btn {
  margin-top: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.c72-footer {
  background: var(--c72-navy);
  color: #d7e0ea;
  padding: 1.6rem 0 1.8rem;
  font-size: 0.88rem;
}

.c72-footer p {
  margin: 0 0 0.35rem;
}

.c72-footer a {
  color: #fff;
  margin-right: 1rem;
}

.c72-status {
  position: relative;
  min-height: calc(100dvh - 64px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 18, 36, 0.92) 0%, rgba(6, 18, 36, 0.72) 46%, rgba(6, 18, 36, 0.2) 100%),
    url("../images/michus.jpg") 72% center / cover no-repeat;
}

.c72-status-inner {
  width: min(640px, calc(100% - 2rem));
  margin-left: max(1rem, calc((100% - 1180px) / 2));
  padding: 3.2rem 0 4rem;
}

.c72-status h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.c72-status p {
  margin: 0 0 0.8rem;
  max-width: 42ch;
}

.c72-share-card,
.c72-fail-card {
  margin-top: 1.2rem;
  background: #fff;
  color: var(--c72-text);
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.15rem;
  max-width: 460px;
}

.c72-share-card h2,
.c72-fail-card p {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.c72-share-card p,
.c72-fail-card p {
  color: #334155;
  max-width: none;
}

.c72-share-card .c72-btn,
.c72-fail-card .c72-btn {
  width: 100%;
  margin-top: 0.7rem;
  padding: 0.85rem 1rem;
}

.c72-account-line {
  font-weight: 800;
  letter-spacing: 0.01em;
}

@media (max-height: 820px) and (min-width: 801px) {
  .c72-hero-layout {
    padding: 1rem 0 0.75rem;
  }

  .c72-hero h1 {
    font-size: 1.72rem;
  }

  .c72-gold {
    font-size: 1.12rem;
    margin-bottom: 0.85rem;
  }

  .c72-card {
    padding: 0.55rem 0.7rem 0.5rem;
  }

  .c72-stepper {
    margin-bottom: 0.4rem;
  }

  .c72-amounts label {
    min-height: 40px;
  }
}

@media (max-width: 800px) {
  :root {
    --c72-header: auto;
  }

  .c72-header-bar {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo btn"
      "account account";
    padding: 0.45rem 0 0.4rem;
    min-height: 0;
  }

  .c72-logo {
    grid-area: logo;
  }

  .c72-btn-header {
    grid-area: btn;
    padding: 0.62rem 0.85rem;
  }

  .c72-account {
    grid-area: account;
    text-align: left;
    font-size: 0.72rem;
  }

  .c72-logo img {
    height: 56px;
  }

  .c72-hero-bg {
    display: none;
  }

  .c72-hero-photo {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
    object-position: 70% 42%;
  }

  .c72-hero {
    background: var(--c72-navy-deep);
  }

  .c72-hero-layout {
    max-width: none;
    margin: 0 auto;
    width: min(560px, calc(100% - 1.25rem));
    padding: 0.7rem 0 1rem;
  }

  .c72-hero h1 {
    max-width: none;
    margin-bottom: 0.75rem;
    font-size: 1.28rem;
    line-height: 1.2;
    text-wrap: balance;
  }

  .c72-hero h1 span {
    display: inline;
    white-space: normal;
  }

  .c72-gold {
    max-width: none;
    margin-bottom: 0.8rem;
    font-size: 1.02rem;
  }

  .c72-hero.is-step-2 .c72-hero-photo,
  .c72-hero.is-step-2 h1,
  .c72-hero.is-step-2 .c72-gold {
    display: none;
  }

  .c72-hero.is-step-2 .c72-hero-layout {
    padding-top: 0.45rem;
  }

  .c72-hero.is-step-2 .c72-field {
    margin-bottom: 0.3rem;
  }

  .c72-hero.is-step-2 .c72-field input {
    padding: 0.42rem 0.55rem;
  }

  .c72-hero.is-step-2 .c72-step h2 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
  }

  .c72-name-row {
    grid-template-columns: 1fr;
  }

  .c72-story-grid,
  .c72-steps-grid,
  .c72-beata-grid {
    grid-template-columns: 1fr;
  }

  .c72-story-media .c72-photo-card img {
    flex: none;
    height: auto;
    max-height: 420px;
  }

  .c72-status {
    background:
      linear-gradient(180deg, rgba(6, 18, 36, 0.55) 0%, rgba(6, 18, 36, 0.88) 42%, rgba(6, 18, 36, 0.94) 100%),
      url("../images/michus.jpg") 70% 20% / cover no-repeat;
  }

  .c72-status-inner {
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
  }
}

@media (max-width: 800px) and (max-height: 740px) {
  .c72-hero-photo {
    height: 104px;
  }

  .c72-hero h1 {
    font-size: 1.16rem;
    margin-bottom: 0.85rem;
  }

  .c72-gold {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .c72-card {
    padding: 0.55rem 0.6rem 0.5rem;
  }

  .c72-amounts label {
    min-height: 40px;
    font-size: 0.88rem;
  }
}
