:root {
  --ink: #00232d;
  --muted: #375963;
  --tint: #eef7f7;
  --blue: #49caff;
  --green: #61ff66;
  --heading: 'DM Sans', Arial, sans-serif;
  --body: 'IBM Plex Sans', Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.25rem; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 1rem/1.55 var(--body); }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3, dt, .btn, nav { font-family: var(--heading); }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; }
h1, h2 { letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
h3, .features dt { font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.45rem); letter-spacing: -.025em; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #006e89; outline-offset: 4px; }
.dark a:focus-visible { outline-color: #fff; }
.wrap { width: min(76rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.dark { color: #fff; background: var(--ink); }
.section { padding-block: clamp(3.5rem, 6.6vw, 6.5rem); }
.logo { display: block; width: 8.6rem; height: auto; }
.masthead-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead-inner { padding-block: 1rem; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem clamp(.8rem, 2.4vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .95rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .65rem 1rem; background: white; color: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }

.hero { overflow: hidden; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  max-width: 99rem;
  margin-inline: auto;
  padding-left: max(var(--gutter), calc((100% - 76rem) / 2));
  padding-block: .75rem clamp(2.5rem, 4.5vw, 4.5rem);
}
.hero-copy { padding-block: clamp(1.25rem, 2.8vw, 3rem); }
h1 { font-size: clamp(2.65rem, 4.55vw, 4.6rem); line-height: 1.02; }
.campaign-name, .offer-amount { color: var(--blue); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  @media screen and (forced-colors: none) {
    .campaign-name, .offer-amount {
      display: inline-block;
      background-image: linear-gradient(90deg, var(--blue), #4ddfc9 24%, var(--green) 50%, #4ddfc9 76%, var(--blue));
      background-size: 200% 100%;
      background-position: 0% 50%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }
}
@media screen and (prefers-reduced-motion: no-preference) and (forced-colors: none) {
  .campaign-name { animation: black-friday-sweep 5s ease-in-out .15s infinite alternate backwards; }
}
@keyframes black-friday-sweep {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}
.hero-offer { max-width: 27em; font: 500 clamp(1.3rem, 1.85vw, 1.75rem)/1.3 var(--heading); letter-spacing: -.025em; margin-top: 1.45rem; }
.hero-offer strong { font-weight: 700; }
.hero-offer > span { display: block; text-wrap: pretty; }
.hero-when { color: #e0eff2; margin-top: .7rem; max-width: 46ch; }
.actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; max-width: 34rem; margin-top: 1.6rem; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.2rem;
  padding: .8rem .95rem;
  border-radius: 2rem;
  color: var(--ink);
  background: var(--green);
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}
.btn::after {
  content: '';
  flex: 0 0 .94rem;
  height: .94rem;
  background: currentColor;
  -webkit-mask: url(img/arrow.png) center/contain no-repeat;
  mask: url(img/arrow.png) center/contain no-repeat;
}
.btn:hover { background: #a5ffad; }
.fine { max-width: 60ch; margin-top: 1.1rem; font-size: .875rem; color: #c3d8de; }
.fine a { color: white; white-space: nowrap; }
.hero-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.16;
  border-radius: 36% 0 0 36% / 48% 0 0 48%;
  background: #96a4a7;
}
/* A hirdetési képből a terminált mutatjuk. A díjak és a feltételek élő szövegként olvashatók. */
.hero-art img { position: absolute; right: 0; top: -8%; width: 151%; max-width: none; height: auto; }

.product-layout, .pricing-layout, .legal-grid { display: grid; align-items: start; gap: clamp(2.5rem, 7vw, 7rem); }
.product-layout { grid-template-columns: 1fr 1.04fr; align-items: center; }
.terminal-image { display: block; width: 100%; height: auto; }
.standfirst { margin-top: 1rem; font-size: clamp(1.1rem, 1.45vw, 1.35rem); line-height: 1.45; color: var(--muted); }
.features { margin-top: 1.75rem; max-width: 56ch; }
.features dt { line-height: 1.25; }
.features dt:not(:first-child), .fees h3:not(:first-child) { margin-top: 1.45rem; }
.features dd, .fees p { margin-top: .3rem; color: var(--muted); }

.pricing { background: var(--tint); }
.pricing-layout { grid-template-columns: .82fr 1.18fr; }
.periods { margin-top: 1.8rem; }
.periods dt { font-size: .96rem; color: var(--muted); }
.periods dd { font: 650 clamp(1.05rem, 1.5vw, 1.4rem)/1.4 var(--heading); letter-spacing: -.015em; }
.periods dt:not(:first-child) { margin-top: 1rem; }
.fees { max-width: 60ch; }
.fees p { margin-top: .6rem; }
.next-inner { max-width: 46rem; text-align: center; }
.next-inner p { max-width: 56ch; margin: 1rem auto 0; color: #dae8ec; }
.next-inner .actions { margin-inline: auto; }
.legal-grid { grid-template-columns: .58fr 1.42fr; }
.legal h2 { font-size: clamp(1.65rem, 2.45vw, 2.55rem); }
.legal-body { max-width: 75ch; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.legal-body > * + * { margin-top: 1rem; }
.legal-body > section { margin-top: 2rem; }
.legal-body section > * + * { margin-top: .75rem; }
.legal-body h3 { color: var(--ink); line-height: 1.25; }
.legal-body strong { color: var(--ink); }
.legal-body ol { padding-left: 1.4rem; margin-bottom: 0; }
.legal-body ul { margin-block: .4rem; padding-left: 1.25rem; }
.legal-body li + li { margin-top: .25rem; }
.foot { background: #071e28; padding-block: 2.5rem 4rem; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.7rem; }
.footer-social { gap: .55rem; }
.footer-social a { justify-content: center; min-width: 2.75rem; }
.footer-social img { display: block; }
.footer-menu { display: block; }
.footer-menu ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1.875rem; list-style: none; margin: 0; padding: 0; }
.footer-menu a { min-height: 2rem; padding-block: .4rem; color: #bed0d2; font-size: .875rem; line-height: 1.4; }
.footer-bottom { border-top: 1px solid #354c56; margin-top: 1.6rem; padding-top: 1.125rem; font-size: .75rem; color: #a7bfc3; }

@media (min-width: 99rem) {
  .hero-layout { padding-left: 11.5rem; }
}
@media (max-width: 58rem) {
  .hero-layout { grid-template-columns: 1.12fr .88fr; gap: 1.25rem; }
  .actions { gap: .5rem; }
  .btn { font-size: .95rem; padding-inline: .75rem; }
}
@media (max-width: 48rem) {
  .hero-layout { grid-template-columns: minmax(0,1fr); gap: 1.3rem; padding: .5rem 0 2.5rem; }
  .hero-copy { width: min(37rem, calc(100% - 2 * var(--gutter))); margin-inline: auto; padding-block: .65rem 0; }
  .hero-art { width: min(37rem, calc(100% - var(--gutter))); aspect-ratio: 1.18; justify-self: end; }
  .product-layout, .pricing-layout, .legal-grid { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .wrap { max-width: 37rem; }
  .terminal-image { width: min(85%, 21rem); justify-self: center; }
  .product-copy { grid-row: 1; }
  .foot { padding-block: 1.875rem 2.5rem; }
  .footer-menu ul { grid-template-columns: 1fr; gap: .125rem; }
  .footer-social img { width: 30px; height: 30px; }
}
@media (max-width: 30rem) {
  .logo { width: 6.4rem; }
  .masthead-inner { gap: .5rem; padding-block: .55rem; }
  .masthead-inner nav { gap: .65rem; }
  nav a { font-size: .85rem; }
  .actions { grid-template-columns: 1fr; gap: .6rem; }
  .btn { font-size: 1rem; }
  .hero-offer { margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
