/* Unsung Heroes by Ibucap Cold and Flu — Terms & Conditions
   Colours and type from the Ibucap Unsung Heroes landing-page kit (10-Developer/design-tokens.json). */
:root {
  --blue: #034995;
  --blue-bright: #0960AE;
  --blue-endcard: #064DAB;
  --navy: #002B61;
  --orange: #F87D00;
  --orange-endcard: #EA6507;
  --orange-strip: #C65A0A;
  --cyan: #84DBED;
  --cyan-light: #BCE7EF;
  --white: #fff;
  --paper: #F3F8FC;
  --ink: #0B2347;
  --muted: #4A5F7E;
  --font: "Montserrat", Arial, sans-serif;
  --gradient-blue: linear-gradient(135deg, #0960AE, #034995 38%, #07529D 74%, #003C80);
  --gradient-orange: linear-gradient(135deg, #F58103, #F87D00 40%, #ED7200 64%, #FB8300);
  --radius: 20px;
  --content: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: min(calc(100% - 48px), var(--content)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--orange); color: var(--navy); font-weight: 800; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 16px; }

/* Draft markers for details still to confirm — remove the class once filled in */
.tbc { background: #FFE58A; color: var(--navy); padding: 0 .3em; border-radius: 4px; box-shadow: inset 0 -2px 0 #E0B400; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gradient-blue);
  padding: 28px 0 0;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(3, 73, 149, .0) 0%, rgba(0, 43, 97, .55) 85%),
    url("assets/bg-neon-blue.webp") center 30% / cover no-repeat;
  opacity: .95;
}
.hero__ribbon { /* orange campaign strip the people stand on */
  position: relative;
  z-index: 2; /* people rise from behind the strip on load */
  height: clamp(16px, 2.2vw, 26px);
  background: var(--gradient-orange);
  box-shadow: 0 8px 22px rgba(0, 20, 60, .45), inset 0 2px 0 rgba(255, 190, 110, .55);
  overflow: hidden;
}
.hero__ribbon::after { /* slow light sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 220, 160, .55) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sheen 7s ease-in-out 1.2s infinite;
}

.brandbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo--shalina { height: 44px; width: auto; }
.logo--ibucap { height: 44px; width: auto; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
  gap: 32px;
  margin-top: 40px;
}
.hero__copy { padding-bottom: 96px; }
.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 999px;
}
h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
h1 span { display: block; color: var(--orange); text-shadow: 0 2px 0 rgba(0, 20, 60, .25); }
.hero__lead { margin: 20px 0 8px; max-width: 30ch; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 600; }
.hero__meta { margin: 0; font-size: .85rem; color: var(--cyan-light); }
.hero__people { margin: 0; position: relative; z-index: 1; align-self: end; line-height: 0; }
.hero__people img { width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 -6px 24px rgba(0, 20, 60, .35)); }

/* ---------- At a glance ---------- */
.glance { background: var(--navy); padding: 72px 0 64px; color: var(--white); position: relative; }
.glance__grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr; gap: 20px; }
.card {
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.card__label {
  margin: 0 0 18px;
  font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.card--steps {
  background: rgba(188, 231, 239, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.card--steps .card__label { color: var(--cyan); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: .95rem; line-height: 1.5; }
.steps strong { display: block; font-weight: 800; font-size: 1.02rem; }
.steps a { color: var(--cyan); font-weight: 700; }
.steps__num {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2.5px solid var(--white);
  font-weight: 800; font-size: 1.1rem;
}
.tag { font-weight: 700; color: var(--cyan); word-break: break-word; }

.card--weekly {
  background: url("assets/bg-neon-blue.webp") center / cover, var(--blue-endcard);
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15);
}
.card--weekly .card__label { color: var(--white); }
.big-num { margin: 0; font-weight: 800; font-size: clamp(4.5rem, 9vw, 6.5rem); line-height: .9; }
.big-sub { margin: 6px 0 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 1.05rem; }
.amount { margin: 0; font-weight: 600; font-style: italic; font-size: 1.5rem; }
.amount span { font-size: 1rem; }

.card--grand { background: url("assets/bg-neon-orange.webp") center / cover, var(--orange-strip); }
.card--grand::before { /* deepen for white-text contrast, per kit guidance */
  content: ""; position: absolute; inset: 0; background: rgba(150, 60, 0, .45); z-index: 0;
}
.card--grand > * { position: relative; }
.card--grand .card__label { color: var(--white); }
.podium { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.podium li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 999px;
  text-transform: uppercase;
}
.podium span { font-weight: 800; font-size: .95rem; }
.podium b { font-weight: 800; font-size: 1.05rem; }
.podium li:first-child { background: var(--white); color: var(--orange-strip); }

/* ---------- Terms ---------- */
.terms { padding: 80px 0 96px; }
.terms__layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 24px; }
.toc__title { margin: 0 0 12px; font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-strip); }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 3px solid #D5E4F2; }
.toc li { counter-increment: toc; }
.toc a {
  display: block; padding: 8px 0 8px 16px; margin-left: -3px;
  border-left: 3px solid transparent;
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted);
}
.toc a::before { content: counter(toc) ". "; font-weight: 800; color: var(--blue); }
.toc a:hover { color: var(--blue); border-left-color: var(--orange); }
.toc__pack { margin-top: 32px; border-radius: 12px; filter: drop-shadow(0 10px 18px rgba(0, 43, 97, .18)); }

.terms__body { max-width: 760px; }
.intro {
  margin: 0 0 40px;
  padding: 22px 26px;
  font-size: 1.08rem; font-weight: 600; color: var(--navy);
  background: var(--white);
  border-left: 6px solid var(--orange);
  border-radius: 0 14px 14px 0;
  box-shadow: 0 6px 20px rgba(0, 43, 97, .06);
}
.clause {
  scroll-margin-top: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 36px 24px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(0, 43, 97, .07);
}
.clause h2 {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 18px;
  font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.15;
  color: var(--blue);
  letter-spacing: -.01em;
}
.clause__num {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
  font-size: 1.15rem;
}
.clause ul { margin: 0; padding: 0; list-style: none; }
.clause li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid #E6EEF6;
}
.clause li:first-child { border-top: 0; }
.clause li::before {
  content: ""; position: absolute; left: 4px; top: 1.3em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 3px rgba(132, 219, 237, .3);
}
.clause a { color: var(--blue); font-weight: 700; }
.clause .tag { color: var(--blue); }

/* ---------- CTA ---------- */
.cta { background: var(--gradient-orange); color: var(--navy); padding: 56px 0; text-align: center; }
.cta__title { margin: 0; font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.1; text-transform: uppercase; }
.cta__sub { margin: 10px 0 24px; font-weight: 600; font-size: 1.05rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font: 800 1rem var(--font); text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
  transition: transform .15s ease, background .15s ease;
}
.button:hover { background: var(--blue); transform: translateY(-2px); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--cyan-light); padding: 40px 0; font-size: .85rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logos { display: flex; align-items: center; gap: 24px; }
.footer .logo--shalina, .footer .logo--ibucap { height: 34px; }
.footer p { margin: 0; }
.footer__top { color: var(--white); font-weight: 700; text-decoration: none; }
.footer__top:hover { color: var(--orange); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .glance__grid { grid-template-columns: 1fr 1fr; }
  .card--steps { grid-column: 1 / -1; }
  .terms__layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; }
  .toc a { margin: 0; padding: 8px 14px; border: 1px solid #D5E4F2; border-radius: 999px; background: var(--white); font-size: .85rem; }
  .toc__pack { display: none; }
  .terms__body { max-width: none; }
}
@media (max-width: 720px) {
  .logo--shalina, .logo--ibucap { height: 34px; }
  .hero__grid { grid-template-columns: 1fr; margin-top: 32px; gap: 8px; }
  .hero__copy { padding-bottom: 8px; }
  .hero__people img { margin: 0 auto; }
  .glance { padding: 56px 0 48px; }
  .glance__grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .terms { padding: 56px 0 72px; }
  .clause { padding: 24px 20px 16px; }
  .clause h2 { gap: 12px; }
  .clause__num { width: 38px; height: 38px; font-size: 1rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ---------- Motion (subtle; disabled for reduced-motion users) ---------- */
@keyframes sheen { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rise-people { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); } }
@keyframes float-num { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.hero__bg { animation: drift 22s ease-in-out infinite alternate; }
.brandbar { animation: rise .7s ease-out both; }
.hero__copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__copy > :nth-child(1) { animation-delay: .10s; }
.hero__copy > :nth-child(2) { animation-delay: .20s; }
.hero__copy > :nth-child(3) { animation-delay: .32s; }
.hero__copy > :nth-child(4) { animation-delay: .42s; }
.hero__people img { animation: rise-people 1s cubic-bezier(.2, .7, .2, 1) .25s both; }
.big-num { animation: float-num 4s ease-in-out infinite; }

/* scroll reveal — only hides content once JS has confirmed it can reveal it */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

.card, .clause { transition: transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 10, 40, .35); }
  .clause:hover { box-shadow: 0 10px 32px rgba(0, 43, 97, .12); }
  .js .reveal.is-in.card:hover { transform: translateY(-4px); }
}
.podium li { transition: background .2s ease, color .2s ease; }
.podium li:not(:first-child):hover { background: rgba(255, 255, 255, .15); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile hardening ---------- */
html, body { overflow-x: clip; }
.clause li, .steps li, .intro { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .hero { padding-top: 20px; }
  h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .hero__lead { max-width: none; }
  .hero__people img { width: 100%; max-width: 460px; }
  .big-num { font-size: 4.5rem; }
  .podium li { padding: 9px 14px; }
  .podium span { font-size: .85rem; }
  .podium b { font-size: .95rem; }
  .intro { padding: 18px 18px; font-size: 1rem; }
  .clause li { padding-left: 24px; font-size: .95rem; }
  .cta { padding: 44px 0; }
  .button { width: 100%; max-width: 340px; }
}
@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .logo--shalina, .logo--ibucap { height: 28px; }
  .card { padding: 20px; }
}
