:root {
  --navy-950: #04122f;
  --navy-900: #061a42;
  --navy-800: #0a2b68;
  --blue-700: #0c49c7;
  --blue-600: #1368ed;
  --blue-100: #eaf2ff;
  --yellow: #ffca28;
  --yellow-light: #ffe37a;
  --red: #ef2b3a;
  --green: #14844a;
  --ink: #111a2d;
  --muted: #5c6678;
  --paper: #ffffff;
  --surface: #f3f6fb;
  --line: #d8e1ef;
  --radius: 8px;
  --max: 1320px;
  --shadow: 0 18px 44px rgba(4, 18, 47, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p,
span,
strong,
li,
small {
  overflow-wrap: break-word;
  word-break: normal;
}

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  align-items: center;
  min-height: 70px;
  padding: 10px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(216, 225, 239, 0.9);
  box-shadow: 0 8px 26px rgba(4, 18, 47, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: var(--radius);
  font-size: 0.88rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--blue-700);
}

.header-download {
  justify-self: end;
  padding: 11px 18px;
  color: white;
  background: var(--red);
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(239, 43, 58, 0.24);
}

.brand,
.main-nav a,
.header-download,
.button,
button {
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.header-download:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-download:focus-visible,
.button:focus-visible,
.main-nav a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 700px;
  color: white;
  background: var(--navy-950);
  border-bottom: 4px solid var(--blue-600);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero-art {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy-950) 0%, rgba(4, 18, 47, 0.98) 35%, rgba(4, 18, 47, 0.82) 51%, rgba(4, 18, 47, 0.16) 78%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 700px;
  padding-block: 60px;
}

.hero-copy {
  width: min(590px, 48%);
}

.eyebrow,
.section-kicker {
  margin-bottom: 11px;
  color: #e4a900;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 4.5vw, 4.85rem);
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--yellow);
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  font-weight: 700;
  line-height: 1.65;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  padding: 8px 11px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-actions,
.download-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 13px 20px;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.button-yellow {
  color: var(--navy-950);
  background: linear-gradient(180deg, var(--yellow-light), var(--yellow));
  border: 1px solid #ffe894;
  box-shadow: 0 14px 30px rgba(255, 202, 40, 0.2);
}

.button-yellow:hover {
  background: #ffdb60;
  box-shadow: 0 18px 34px rgba(255, 202, 40, 0.3);
}

.password-box {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label button" "value button" "hint button";
  gap: 0 9px;
  align-content: center;
  min-width: 0;
  padding: 9px 11px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
}

.password-box > span {
  grid-area: label;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.72rem;
  font-weight: 800;
}

.password-box strong {
  grid-area: value;
  color: var(--yellow);
  font-size: 1.38rem;
  line-height: 1.05;
}

.password-box small {
  grid-area: hint;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.66rem;
  font-weight: 700;
}

.password-box button,
.mobile-password button {
  grid-area: button;
  align-self: center;
  min-height: 38px;
  padding: 7px 11px;
  color: white;
  background: var(--navy-950);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.password-box button:hover,
.mobile-password button:hover {
  background: var(--blue-700);
}

.hero-note {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.5;
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -22px;
}

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

.trust-grid > div {
  min-width: 0;
  padding: 15px 13px;
  color: white;
  background: linear-gradient(180deg, var(--blue-600), var(--navy-900));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 4px;
  font-size: 0.86rem;
}

.trust-grid span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
  line-height: 1.4;
}

.section {
  padding-block: clamp(62px, 7vw, 92px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.inside-intro h2,
.fit-layout h2,
.download-panel h2 {
  margin-bottom: 13px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
}

.section-heading > p:last-child,
.inside-intro > p,
.download-panel > p {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.68;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.problem-grid article,
.step-grid article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 20px 17px;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-600);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(4, 18, 47, 0.08);
}

.problem-grid article > span,
.module-list article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 31px;
  min-height: 27px;
  margin-bottom: 12px;
  padding: 4px 8px;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: var(--radius);
  font-size: 0.7rem;
  font-weight: 900;
}

.problem-grid h3,
.module-list h3,
.step-grid h3,
.path-list strong {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.35;
}

.problem-grid p,
.module-list p,
.step-grid p,
.path-list p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.problem-grid article > strong {
  display: block;
  margin-top: auto;
  color: var(--blue-700);
  font-size: 0.76rem;
}

.inside-section {
  background: white;
  border-block: 1px solid var(--line);
}

.inside-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.36fr);
  gap: 22px;
  align-items: stretch;
}

.inside-intro {
  display: flex;
  flex-direction: column;
  padding: clamp(25px, 3vw, 36px);
  color: white;
  background: var(--navy-900);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inside-intro h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.inside-intro > p {
  color: rgba(255, 255, 255, 0.76);
}

.honest-note {
  margin-top: auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.honest-note strong,
.honest-note span {
  display: block;
}

.honest-note strong {
  margin-bottom: 6px;
  color: var(--yellow);
}

.honest-note span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.83rem;
  line-height: 1.55;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.module-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius);
}

.module-list article > span {
  margin: 0;
}

.module-list h3,
.module-list p {
  margin-top: 0;
}

.module-list p {
  margin-bottom: 0;
}

.inline-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 18px 20px;
  color: white;
  background: linear-gradient(100deg, var(--navy-900), var(--blue-700));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.inline-download span,
.inline-download strong {
  display: block;
}

.inline-download span {
  color: var(--yellow);
  font-size: 0.79rem;
  font-weight: 900;
}

.inline-download strong {
  margin-top: 4px;
}

.path-section {
  background: var(--surface);
}

.path-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: start;
}

.path-list {
  display: grid;
  gap: 10px;
}

.path-list article {
  padding: 17px 19px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(4, 18, 47, 0.07);
}

.path-list span,
.path-list strong {
  display: block;
}

.path-list span {
  margin-bottom: 4px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 900;
}

.path-list p {
  margin-bottom: 0;
}

.fit-section {
  padding-block: clamp(58px, 6vw, 82px);
  color: white;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    var(--navy-950);
  background-size: 58px 58px;
  border-block: 3px solid var(--blue-600);
}

.fit-layout > div:first-child {
  max-width: 850px;
}

.fit-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.fit-columns article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.fit-columns h3 {
  margin-bottom: 13px;
  color: var(--yellow);
}

.fit-columns ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fit-columns li {
  position: relative;
  padding-left: 21px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  line-height: 1.5;
}

.fit-columns li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--yellow);
  content: "✓";
  font-weight: 900;
}

.steps-section {
  background: var(--surface);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.step-grid article {
  position: relative;
  padding-left: 62px;
}

.step-grid article > span {
  position: absolute;
  top: 18px;
  left: 17px;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--navy-950);
  background: var(--yellow);
  border-radius: 50%;
  font-weight: 900;
}

.step-grid p {
  margin-bottom: 0;
}

.faq-section {
  background: white;
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 9px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  position: relative;
  padding: 16px 45px 16px 17px;
  color: var(--navy-900);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--blue-700);
  content: "+";
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: -2px 17px 16px;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.58;
}

.download-section {
  padding-block: 58px;
  background: var(--surface);
}

.download-panel {
  position: relative;
  padding: clamp(30px, 5vw, 60px);
  color: white;
  background:
    linear-gradient(90deg, rgba(4, 18, 47, 0.97), rgba(6, 26, 66, 0.93)),
    url("assets/facebook-ads-content-marketing-philippines-2026.png") center / cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.download-panel h2,
.download-panel > p,
.download-panel .download-points,
.download-panel .download-actions,
.download-panel .section-kicker {
  position: relative;
  z-index: 1;
  max-width: 970px;
}

.download-panel > p {
  color: rgba(255, 255, 255, 0.8);
}

.download-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 22px 0;
}

.download-points span {
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-size: 0.81rem;
  font-weight: 900;
}

.download-actions {
  max-width: 760px;
}

.button-large {
  min-height: 64px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 27px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.mobile-download {
  display: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}

html.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-art {
    width: 66%;
  }

  .hero-copy {
    width: min(560px, 55%);
  }

  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inside-layout,
  .path-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .inside-intro,
  .section-heading.left {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 84px;
  }

  .shell {
    width: min(100%, calc(100vw - 28px));
  }

  .site-header {
    min-height: 62px;
    padding-inline: 14px;
  }

  .header-download {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero-art {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .hero-art img {
    object-fit: contain;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(4, 18, 47, 0) 0%, rgba(4, 18, 47, 0.12) 45%, var(--navy-950) 100%);
  }

  .hero-content {
    min-height: 0;
    padding-block: 28px 50px;
  }

  .hero-copy {
    width: 100%;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.3rem);
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-tags {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-tags li {
    display: grid;
    place-items: center;
    min-height: 40px;
    padding: 7px;
    text-align: center;
  }

  .hero-actions,
  .download-actions {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -21px;
  }

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

  .section {
    padding-block: 56px;
  }

  .section-heading h2,
  .inside-intro h2,
  .fit-layout h2,
  .download-panel h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .problem-grid,
  .module-list,
  .fit-columns,
  .step-grid,
  .download-points {
    grid-template-columns: 1fr;
  }

  .module-list {
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .inside-intro,
  .fit-columns article {
    padding: 21px 17px;
  }

  .inline-download {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-download .button {
    width: 100%;
  }

  .path-layout,
  .faq-layout {
    gap: 20px;
  }

  .download-section {
    padding-block: 42px;
  }

  .download-panel {
    padding: 28px 17px;
  }

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

  .mobile-download {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 8px;
    padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px rgba(4, 18, 47, 0.16);
    backdrop-filter: blur(14px);
  }

  .mobile-download .button {
    min-height: 52px;
    padding-inline: 10px;
  }

  .mobile-password {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "label button" "value button";
    align-items: center;
    min-width: 0;
    padding: 5px 6px 5px 9px;
    color: white;
    background: var(--navy-900);
    border-radius: var(--radius);
  }

  .mobile-password span {
    grid-area: label;
    font-size: 0.59rem;
    font-weight: 800;
  }

  .mobile-password strong {
    grid-area: value;
    color: var(--yellow);
    font-size: 0.98rem;
  }

  .mobile-password button {
    padding: 6px;
    font-size: 0.66rem;
  }
}

@media (max-width: 430px) {
  .brand span:last-child {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .trust-grid {
    gap: 7px;
  }

  .trust-grid > div {
    padding: 12px 8px;
  }
}

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

  html.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
