:root {
  --graphite: #20262e;
  --ink: #17202a;
  --paper: #fff8ec;
  --paper-strong: #fff1d3;
  --white: #ffffff;
  --blue: #0067b8;
  --cyan: #00a6d6;
  --coral: #ff5b4a;
  --yellow: #ffc83d;
  --green: #21a65b;
  --line: #eadbc5;
  --muted: #66717f;
  --shadow: 0 18px 42px rgba(32, 38, 46, 0.16);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 12px clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 248, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: var(--graphite);
  background: linear-gradient(135deg, var(--yellow), #ff8b35);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  font-weight: 950;
  box-shadow: 5px 5px 0 var(--graphite);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 0.84rem;
}

.top-nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--graphite);
  font-size: 0.96rem;
  font-weight: 750;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--coral);
}

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 5vw, 58px) clamp(16px, 5vw, 64px) clamp(38px, 6vw, 72px);
  background:
    linear-gradient(135deg, rgba(255, 200, 61, 0.24), rgba(0, 166, 214, 0.1) 45%, rgba(255, 91, 74, 0.16)),
    var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(32, 38, 46, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 38, 46, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--coral), var(--yellow), var(--cyan), var(--blue));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(2.35rem, 6.2vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: #44505e;
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.btn svg,
.topic-card svg,
.benefit-list svg,
.floating-whatsapp svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.btn:hover,
.btn:focus-visible,
.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--graphite);
  background: var(--yellow);
  border: 2px solid var(--graphite);
  box-shadow: 5px 5px 0 var(--graphite);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ffdc72;
}

.btn-secondary {
  color: var(--white);
  background: var(--blue);
  border: 2px solid var(--graphite);
  box-shadow: 5px 5px 0 rgba(32, 38, 46, 0.28);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 11px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 850;
}

.hero-tags span:nth-child(2) {
  background: #ffe0dc;
}

.hero-tags span:nth-child(3) {
  background: #dff6ff;
}

.hero-art {
  margin: 0;
  justify-self: center;
  width: min(100%, 500px);
  padding: clamp(8px, 1.2vw, 14px);
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  box-shadow: 10px 10px 0 rgba(0, 103, 184, 0.22);
}

.hero-art img {
  display: block;
  width: 100%;
  max-height: min(690px, calc(100svh - 150px));
  object-fit: contain;
  border-radius: 6px;
}

.section-pad {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 64px);
}

.intro {
  background: var(--white);
}

.intro-grid,
.poster-grid,
.enroll-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

h2 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 10px;
  color: var(--graphite);
  font-size: 1.28rem;
  line-height: 1.2;
}

p {
  line-height: 1.62;
}

.intro-text p,
.poster-copy p,
.enroll-copy p,
.topic-card p {
  color: var(--muted);
}

.intro-text p:first-child,
.poster-copy p:first-of-type,
.enroll-copy p:first-of-type {
  margin-top: 0;
}

.poster-section {
  background:
    linear-gradient(135deg, rgba(255, 91, 74, 0.08), rgba(0, 166, 214, 0.09)),
    var(--paper-strong);
}

.poster-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid var(--graphite);
  background: var(--white);
  box-shadow: var(--shadow);
}

.poster-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.topics {
  background: var(--paper);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.topic-card {
  min-height: 230px;
  padding: 22px;
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 rgba(32, 38, 46, 0.1);
}

.topic-card svg {
  width: 46px;
  height: 46px;
  padding: 11px;
  color: var(--graphite);
  background: #ffefb2;
  border-radius: var(--radius);
}

.topic-card:nth-child(2) svg {
  background: #dff5ff;
}

.topic-card:nth-child(3) svg {
  background: #ffe0ee;
}

.topic-card:nth-child(4) svg {
  background: #ffe7d7;
}

.benefits {
  color: var(--white);
  background: var(--coral);
}

.benefit-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.benefit-band .section-kicker,
.benefit-band h2 {
  color: var(--white);
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 14px;
  color: var(--graphite);
  background: var(--white);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  font-weight: 850;
}

.benefit-list svg {
  color: var(--blue);
}

.enroll {
  background: var(--white);
}

.enroll-copy {
  align-self: start;
  position: sticky;
  top: 94px;
}

.enroll-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--paper);
  border: 2px solid var(--graphite);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row-full,
.btn-submit,
.form-feedback,
.fallback-whatsapp-link {
  grid-column: 1 / -1;
}

label {
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #d4c5ad;
  border-radius: var(--radius);
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 103, 184, 0.16);
}

.btn-submit {
  width: 100%;
  color: var(--white);
  background: var(--graphite);
  box-shadow: none;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--blue);
}

.form-feedback {
  display: none;
  margin: 0;
  padding: 13px;
  color: #0d4d2a;
  background: #e8f7ee;
  border: 1px solid #bde8cc;
  border-radius: var(--radius);
  font-weight: 750;
}

.form-feedback.is-visible {
  display: block;
}

.fallback-whatsapp-link {
  display: none;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  color: var(--white);
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.fallback-whatsapp-link.is-visible {
  display: inline-flex;
}

.site-footer {
  padding: 28px clamp(18px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--graphite);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.footer-inner strong {
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 17px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(33, 166, 91, 0.32);
  font-weight: 900;
}

@media (max-width: 920px) {
  .top-nav {
    display: none;
  }

  .hero-grid,
  .intro-grid,
  .poster-grid,
  .benefit-band,
  .enroll-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.5vw, 3.25rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-art {
    width: min(100%, 430px);
  }

  .hero-art img {
    max-height: none;
  }

  .topic-grid,
  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .enroll-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 11px 16px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    box-shadow: 4px 4px 0 var(--graphite);
  }

  .hero {
    padding: 24px 16px 44px;
  }

  .hero-tags {
    display: none;
  }

  .section-pad {
    padding: 48px 16px;
  }

  .topic-grid,
  .benefit-list,
  .enroll-form {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: auto;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-width: 52px;
    width: 52px;
    height: 52px;
    padding: 0;
  }

  .floating-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
