:root {
  --navy: #082947;
  --navy-dark: #041b30;
  --blue: #0d5ea6;
  --yellow: #ffd323;
  --orange: #ff7a00;
  --red: #e52821;
  --green: #42a846;
  --cream: #fff8e8;
  --paper: #fffdf7;
  --ink: #121212;
  --muted: #5b6570;
  --border: #111;
  --shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

#quarto-content,
.page-columns,
main.content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

.page-width {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  max-width: 800px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 900;
}

h3 {
  font-size: 1.2rem;
  font-weight: 900;
}

p {
  font-size: 1.08rem;
  line-height: 1.75;
}

a {
  text-decoration: none;
}

/* TOP */

.top-strip {
  background: var(--yellow);
  border-bottom: 4px solid var(--ink);
  padding: 11px 0;
}

.top-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.88rem;
  font-weight: 900;
}

.top-strip-inner a {
  color: white;
  background: var(--red);
  border: 2px solid var(--ink);
  padding: 8px 13px;
  box-shadow: 3px 3px 0 var(--ink);
}

/* HERO */

.hero-section {
  position: relative;
  padding: 70px 0 60px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 211, 35, 0.22), transparent 22%),
    radial-gradient(circle at 90% 70%, rgba(13, 94, 166, 0.13), transparent 28%),
    var(--cream);
  border-bottom: 5px solid var(--ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 55px;
  align-items: center;
}

.hero-copy h1 strong {
  color: var(--red);
}

.hero-copy h2 {
  margin: 22px 0 18px;
}

.ugly-label {
  display: inline-block;
  background: var(--yellow);
  border: 3px solid var(--ink);
  padding: 8px 13px;
  font-weight: 900;
  transform: rotate(-1deg);
  box-shadow: 4px 4px 0 var(--ink);
  margin-bottom: 23px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.hero-facts span {
  background: white;
  border: 2px solid var(--ink);
  padding: 8px 12px;
  font-weight: 800;
}

.hero-image img {
  width: 100%;
  display: block;
  border: 5px solid var(--ink);
  box-shadow: 14px 14px 0 var(--blue);
  transform: rotate(1deg);
}

.primary-button {
  display: inline-block;
  background: var(--red);
  color: white !important;
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  padding: 16px 22px;
  font-weight: 900;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
}

.micro-copy {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

/* TICKER */

.ticker-section {
  background: var(--navy);
  color: white;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
}

.ticker-track {
  width: max-content;
  display: flex;
  gap: 48px;
  padding: 13px 0;
  font-family: "Anton", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  animation: ticker 25s linear infinite;
}

.ticker-track span:nth-child(odd) {
  color: var(--yellow);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* GENERAL SECTIONS */

.problem-section,
.how-section,
.benefit-section,
.proof-section,
.audience-section,
.testimonial-section,
.about-section,
.faq-section {
  padding: 85px 0;
}

.problem-section,
.testimonial-section,
.faq-section {
  background: white;
}

.how-section,
.audience-section {
  background: var(--navy);
  color: white;
}

.benefit-section,
.proof-section,
.about-section {
  background: var(--cream);
}

.section-tag {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.light-tag {
  color: var(--yellow);
}

/* JOURNEY */

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.journey-step {
  position: relative;
  background: white;
  color: var(--ink);
  border: 3px solid var(--ink);
  padding: 28px 22px 24px;
  box-shadow: 6px 6px 0 var(--yellow);
}

.journey-number {
  position: absolute;
  top: -17px;
  right: 16px;
  background: var(--red);
  color: white;
  border: 2px solid var(--ink);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.journey-step p {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.reward-step {
  box-shadow: 6px 6px 0 var(--orange);
}

.badge-step {
  box-shadow: 6px 6px 0 var(--green);
}

/* STATEMENT */

.statement-section {
  padding: 70px 0;
  background: var(--yellow);
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
}

.statement-inner {
  text-align: center;
}

.statement-small {
  display: inline-block;
  background: var(--ink);
  color: white;
  padding: 8px 14px;
  margin-bottom: 18px;
  font-weight: 900;
}

.statement-inner h2 {
  margin: 0 auto;
  max-width: 1000px;
  font-family: "Anton", sans-serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

/* BENEFITS */

.benefit-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 55px;
  align-items: center;
}

.benefit-list,
.offer-list {
  display: grid;
  gap: 8px;
  margin-top: 25px;
}

.benefit-list span,
.offer-list span {
  font-weight: 800;
  padding: 9px 12px;
  background: white;
  border-left: 6px solid var(--green);
}

.badge-showcase {
  background: var(--navy);
  color: white;
  border: 4px solid var(--ink);
  padding: 35px 25px;
  text-align: center;
  box-shadow: 10px 10px 0 var(--yellow);
  transform: rotate(1deg);
}

.badge-title {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  color: var(--yellow);
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin: 25px 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.badge-showcase p {
  margin-bottom: 0;
}

/* VALÓDI FELÜLET */

.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
}

.proof-image img {
  display: block;
  width: 100%;
  background: white;
  border: 5px solid var(--ink);
  box-shadow: 10px 10px 0 var(--blue);
}

.proof-copy {
  padding: 30px;
  background: white;
  border: 4px solid var(--ink);
  box-shadow: 9px 9px 0 var(--yellow);
}

.proof-copy p:last-child {
  margin-bottom: 0;
}

/* AUDIENCE */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.audience-card {
  background: white;
  color: var(--ink);
  padding: 28px 23px;
  border: 3px solid var(--ink);
}

.audience-red {
  box-shadow: 7px 7px 0 var(--red);
}

.audience-blue {
  box-shadow: 7px 7px 0 #55a8ef;
}

.audience-yellow {
  box-shadow: 7px 7px 0 var(--yellow);
}

.audience-label {
  display: inline-block;
  margin-bottom: 15px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--red);
}

/* TESTIMONIAL */

.testimonial-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: 20px;
  margin-top: 35px;
}

.testimonial-card {
  position: relative;
  padding: 35px;
  background: var(--cream);
  border: 3px solid var(--ink);
  box-shadow: 7px 7px 0 var(--yellow);
}

.teacher-card {
  box-shadow: 7px 7px 0 var(--blue);
}

.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--red);
}

.testimonial-card strong {
  font-weight: 900;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 55px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  display: block;
  width: 100%;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--blue);
}

.photo-sticker {
  position: absolute;
  right: -20px;
  bottom: 25px;
  background: var(--yellow);
  border: 3px solid var(--ink);
  padding: 12px 18px;
  font-weight: 900;
  transform: rotate(-4deg);
  box-shadow: 4px 4px 0 var(--ink);
}

/* OFFER */

.offer-section {
  padding: 90px 0;
  background: var(--red);
  color: white;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 45px;
  align-items: center;
}

.offer-copy h2 {
  color: white;
}

.offer-label {
  color: var(--ink);
}

.offer-list span {
  color: var(--ink);
}

.price-card {
  background: white;
  color: var(--ink);
  border: 4px solid var(--ink);
  padding: 32px;
  text-align: center;
  box-shadow: 11px 11px 0 var(--yellow);
}

.price-label {
  font-size: 0.82rem;
  font-weight: 900;
}

.price {
  margin: 10px 0 0;
  font-family: "Anton", sans-serif;
  font-size: 4rem;
  color: var(--red);
}

.price-subtitle {
  display: block;
  margin-bottom: 22px;
  color: var(--muted);
}

.full-button {
  width: 100%;
  box-sizing: border-box;
}

.turnus-box {
  margin-top: 20px;
  padding: 16px;
  background: var(--cream);
  border: 2px dashed var(--ink);
}

.turnus-box strong,
.turnus-box span {
  display: block;
}

.turnus-box small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 700;
}

/* GUARANTEE */

.guarantee-section {
  padding: 65px 0;
  background: var(--navy);
}

.guarantee-card {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 25px;
  align-items: center;
  padding: 35px;
  background: white;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--yellow);
}

.guarantee-icon {
  font-size: 4rem;
  text-align: center;
}

.guarantee-label {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.guarantee-copy h2 {
  margin: 8px 0 15px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.guarantee-copy h3 {
  color: var(--red);
  margin-bottom: 0;
}

/* FAQ */

.faq-item {
  padding: 22px 0;
  border-bottom: 2px solid #dedede;
}

.faq-item h3 {
  margin-bottom: 8px;
}

.faq-item p {
  margin-bottom: 0;
}

/* FINAL */

.final-section {
  padding: 95px 0;
  background:
    linear-gradient(rgba(255, 211, 35, 0.92), rgba(255, 211, 35, 0.92)),
    repeating-linear-gradient(
      45deg,
      #111 0,
      #111 10px,
      transparent 10px,
      transparent 20px
    );
  border-top: 5px solid var(--ink);
  text-align: center;
}

.final-inner {
  max-width: 900px;
}

.final-emoji {
  display: block;
  font-size: 4rem;
  margin-bottom: 12px;
}

.final-inner h2 {
  font-family: "Anton", sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.final-inner h3 {
  font-size: 1.7rem;
}

.final-price {
  display: inline-block;
  margin: 20px 0;
  background: white;
  border: 3px solid var(--ink);
  padding: 10px 18px;
  font-weight: 900;
}

.final-button {
  display: table;
  margin: 10px auto 18px;
}

.final-guarantee {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

/* FOOTER */

.footer {
  background: var(--navy-dark);
  color: white;
  padding: 25px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.83rem;
  opacity: 0.8;
}

/* MOBILE */

@media (max-width: 900px) {
  .hero-grid,
  .benefit-grid,
  .proof-grid,
  .offer-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .journey-grid,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    gap: 35px;
  }

  .about-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .offer-grid {
    max-width: 650px;
  }

  .price-card {
    max-width: 440px;
  }
}

@media (max-width: 620px) {
  .page-width {
    width: min(100% - 24px, 1180px);
  }

  .top-strip-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .hero-section {
    padding: 45px 0 50px;
  }

  .hero-grid {
    gap: 38px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .journey-grid,
  .audience-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .problem-section,
  .how-section,
  .benefit-section,
  .proof-section,
  .audience-section,
  .testimonial-section,
  .about-section,
  .faq-section {
    padding: 60px 0;
  }

  .badge-row {
    flex-wrap: wrap;
  }

  .guarantee-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .photo-sticker {
    right: -5px;
  }

  .price {
    font-size: 3.3rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }

  .primary-button {
    transition: none;
  }
}
