/* =========================================================
   Remotan Yuk! landing page styles
   Brand colors, fonts and spacing live in :root below.
   Change a color here and it updates everywhere.
   ========================================================= */

:root {
  /* Brand colors */
  --orange: #EB8A45;          /* primary brand orange (buttons, accents) */
  --orange-deep: #D9702A;     /* hover / pressed */
  --orange-shadow: #C55F1E;   /* chunky button bottom edge */
  --orange-text: #B4531A;     /* orange for small text on light bg (passes contrast) */
  --orange-tint: #FDE6D2;     /* soft orange section background */
  --orange-soft: #FFF0E2;     /* very light orange for tiles and placeholders */
  --cream: #FFF8EF;           /* warm off-white section background */
  --white: #FFFFFF;
  --ink: #2A1A12;             /* main text, dark sections */
  --ink-soft: #6B5446;        /* secondary text */
  --teal: #1F7A6D;            /* accent, use sparingly */
  --teal-soft: #DCF1EC;
  --line: #F1DFCD;            /* borders */

  /* Fonts */
  --font-display: "Fredoka", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape and depth */
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 1px 2px rgba(76, 40, 14, .05), 0 2px 8px rgba(76, 40, 14, .05);
  --shadow: 0 14px 34px -14px rgba(120, 60, 20, .28);
  --shadow-lg: 0 24px 60px -20px rgba(120, 60, 20, .38);

  /* Layout */
  --container: 1140px;
  --gutter: 20px;
  --header-h: 68px;
  --section-y: clamp(64px, 10vw, 120px);
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe, svg { display: block; max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 10px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--tint  { background: var(--orange-tint); }
.section--ink   { background: var(--ink); color: var(--cream); }

.section-title {
  font-size: clamp(1.75rem, 4.2vw + .5rem, 2.75rem);
  margin-bottom: clamp(28px, 5vw, 48px);
}
.section-title--xl { font-size: clamp(2.25rem, 6vw + .5rem, 3.75rem); }
.section-cta { margin-top: clamp(36px, 6vw, 56px); }

/* ---------- Text accents ---------- */
/* Marker-style highlight behind words */
.hl {
  background: linear-gradient(transparent 58%, rgba(235, 138, 69, .38) 58%, rgba(235, 138, 69, .38) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: .08em;
}
/* Hand-drawn squiggle underline */
.squiggle {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C18 3 30 3 42 7s26 4 38 0 26-4 38 1' fill='none' stroke='%23EB8A45' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% .38em;
  padding-bottom: .14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.strike {
  position: relative;
  white-space: nowrap;
}
.strike::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 54%;
  height: .14em;
  background: var(--orange);
  border-radius: 99px;
  transform: rotate(-4deg);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-edge: var(--orange-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--btn-edge), 0 10px 22px -10px rgba(197, 95, 30, .6);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover {
  --btn-bg: var(--orange-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--btn-edge), 0 16px 28px -12px rgba(197, 95, 30, .65);
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--btn-edge), 0 6px 14px -8px rgba(197, 95, 30, .5);
}
.btn .icon { transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 58px; padding-inline: 32px; font-size: 1.125rem; }
.btn--sm { min-height: 48px; padding: 8px 22px; font-size: 1rem; box-shadow: 0 3px 0 var(--btn-edge); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--btn-edge); }
.btn--block { display: flex; width: 100%; }
.btn--outline {
  --btn-bg: var(--white);
  --btn-edge: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--btn-edge);
}
.btn--outline:hover { --btn-bg: var(--orange-soft); box-shadow: 0 6px 0 var(--btn-edge); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 239, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(76, 40, 14, .4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--orange);
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: .02em;
  transform: rotate(-6deg);
}

/* ---------- Media placeholders ----------
   Every image sits in a .media box. Until the real file loads,
   the box shows a striped placeholder with its data-label.        */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, var(--orange-soft) 0 16px, var(--orange-tint) 16px 32px);
}
.media--4x5  { aspect-ratio: 4 / 5; }
.media--4x3  { aspect-ratio: 4 / 3; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--3x2  { aspect-ratio: 3 / 2; }
.media--5x4  { aspect-ratio: 5 / 4; }
.media--1x1  { aspect-ratio: 1; }
.media--3x4  { aspect-ratio: 3 / 4; }
/* Transparent PNG cutouts (logo, laptop, phone): no stripes behind the real image */
.media--cutout.is-loaded { background: none; overflow: visible; }
.media--cutout img { object-fit: contain; }
.media::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 32px);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--orange-text);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-sm);
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent; /* hide alt text of missing files */
  z-index: 1;
}
.js .media img { opacity: 0; transition: opacity .4s ease; }
.js .media.is-loaded img { opacity: 1; }
.media.is-loaded::after { display: none; }

/* ---------- 1. Hero ---------- */
.hero { padding-block: clamp(20px, 4vw, 56px) clamp(56px, 8vw, 96px); }
.hero-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-logo { width: min(300px, 78%); margin: -40px 0 -46px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--teal);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .12em;
  box-shadow: var(--shadow-sm);
  transform: rotate(-1.5deg);
}
.eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
.hero h1 {
  max-width: 17ch;
  margin-top: 20px;
  font-size: clamp(2.25rem, 6vw + .6rem, 4rem);
  line-height: 1.06;
  font-weight: 700;
}
.lead {
  margin-top: 18px;
  max-width: 36ch;
  font-size: clamp(1.125rem, 1vw + .9rem, 1.375rem);
  color: var(--ink-soft);
}
.hero .video-frame { margin-top: clamp(28px, 5vw, 44px); width: 100%; }
.hero-actions { margin-top: 32px; width: 100%; }
.hero-actions .btn { width: 100%; }

/* ---------- 2. Pain points ---------- */
.pain-list { display: grid; gap: 14px; }
.pain-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1.5px solid var(--line);
  font-size: 1.125rem;
  font-weight: 500;
}
.check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
}
.check .icon { width: 18px; height: 18px; stroke-width: 3; }
.pain-card p { padding-top: 3px; }
.callout {
  margin-top: clamp(40px, 7vw, 64px);
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw + .4rem, 3.5rem);
  line-height: 1.1;
}

/* ---------- 3. The real problem ---------- */
.story-inner {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
  text-align: center;
}
.story-big {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 7vw + .4rem, 4.25rem);
  line-height: 1.06;
  margin-bottom: 0;
}
.story-big--accent { margin-top: 6px; }
.story-mid {
  max-width: 34ch;
  margin-inline: auto;
  font-size: clamp(1.125rem, 1.4vw + .85rem, 1.5rem);
  color: var(--ink-soft);
  position: relative;
}

/* ---------- 4. About ---------- */
.about-text {
  font-size: clamp(1.25rem, 1.6vw + .9rem, 1.75rem);
  line-height: 1.5;
  font-weight: 500;
}
.brand-name { font-family: var(--font-display); font-weight: 700; color: var(--orange-text); }
.punchline {
  display: inline-block;
  margin-block: clamp(28px, 5vw, 40px) 32px;
  padding: 10px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2vw + .9rem, 2rem);
  transform: rotate(-2deg);
  box-shadow: 6px 6px 0 var(--orange);
}
.section--cream .center > .btn { display: flex; width: fit-content; margin-inline: auto; }

.about-logo { width: min(300px, 70%); margin: 0 auto 18px; }
.duo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(36px, 6vw, 56px);
}
.duo-a { flex: 1.15; }
.duo-b { flex: 1; }
.story-photo {
  width: min(100%, 460px);
  margin: 10px auto 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Cards (shared) ---------- */
.card {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
}
.card h3 { font-size: 1.375rem; }
.card p { color: var(--ink-soft); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--orange-soft);
  color: var(--orange-text);
  border: 1.5px solid var(--orange-tint);
}
.icon-tile .icon { width: 28px; height: 28px; }
.icon-tile--teal { background: var(--teal-soft); color: var(--teal); border-color: transparent; }

/* ---------- 5. Learn (chalkboard cards) ---------- */
.chalk-grid { display: grid; gap: 16px; max-width: 1060px; margin-inline: auto; }
.chalk {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 30px 22px 28px;
  border-radius: var(--radius-sm);
  background: url("assets/images/chalkboard.png") center / 100% 100% no-repeat, #2D3B34;
  box-shadow: var(--shadow);
  color: #F7F3EA;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}
@media (hover: hover) {
  .chalk:hover { transform: translateY(-6px); }
}
.chalk h3 { font-size: 1.3125rem; color: #fff; }
.chalk p { color: rgba(247, 243, 234, .86); }
.chalk-check {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #3FAE6A;
  color: #fff;
}
.chalk-check .icon { width: 22px; height: 22px; stroke-width: 3; }

/* ---------- 6. Video ---------- */
.section--ink .section-title { color: var(--cream); margin-bottom: 14px; }
.video-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: clamp(28px, 5vw, 44px);
  text-align: center;
}
.video-label-main { font-family: var(--font-display); font-weight: 600; font-size: 1.375rem; color: var(--orange); }
.video-label-sub { color: rgba(255, 248, 239, .75); }
.video-frame {
  position: relative;
  max-width: 940px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: rgba(255, 248, 239, .08);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
}
.video-frame--light { background: var(--white); border: 1.5px solid var(--line); box-shadow: var(--shadow-lg); }
.video-frame .media {
  border-radius: calc(var(--radius-lg) - 8px);
  background: repeating-linear-gradient(135deg, #3A281D 0 16px, #33231A 16px 32px);
}
.video-frame .media::after { background: rgba(255, 248, 239, .12); color: var(--cream); box-shadow: none; top: auto; bottom: 16px; transform: translateX(-50%); }
.video-frame--light .media {
  background: repeating-linear-gradient(135deg, var(--orange-soft) 0 16px, var(--orange-tint) 16px 32px);
}
.video-frame--light .media::after { background: rgba(255, 255, 255, .92); color: var(--orange-text); box-shadow: var(--shadow-sm); }
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(72px, 12vw, 96px);
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(235, 138, 69, .25), var(--shadow-lg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.play-btn svg { width: 40%; fill: currentColor; margin-left: 6%; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 0 16px rgba(235, 138, 69, .22), var(--shadow-lg); }
.video-embed {
  position: absolute;
  inset: 8px;
  z-index: 4;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  border: 0;
  border-radius: calc(var(--radius-lg) - 8px);
  background: #000;
}
.video-frame.is-playing .play-btn { display: none; }

/* ---------- 7. Benefits ---------- */
.benefit-grid { display: grid; gap: 20px; }
.benefit-card { overflow: hidden; display: flex; flex-direction: column; }
.benefit-card .media { border-radius: 0; }
.card-body { padding: 24px 24px 28px; display: grid; gap: 10px; }

/* ---------- 8. Who ---------- */
.persona-collage {
  width: min(100%, 480px);
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.closing-line {
  max-width: 30ch;
  margin: clamp(36px, 6vw, 56px) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw + .9rem, 2.25rem);
  line-height: 1.2;
}

/* ---------- 9. Steps ---------- */
.steps { counter-reset: step; display: grid; max-width: 620px; margin-inline: auto; }
.step {
  position: relative;
  counter-increment: step;
  padding: 0 0 22px 66px;
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 6px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.step::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--orange-text) 0 6px, transparent 6px 12px);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::after { display: none; }
.step-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

/* ---------- 10. Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 24px;
  max-width: 860px;
  margin-inline: auto;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 2px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.price-card .btn { margin-top: auto; }
.price-card--featured {
  border-color: var(--ink);
  background: linear-gradient(180deg, var(--orange-soft), var(--white) 70%);
  box-shadow: 8px 8px 0 var(--orange), var(--shadow-lg);
}
.ribbon {
  position: absolute;
  top: -16px;
  left: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .1em;
  transform: rotate(-3deg);
  box-shadow: var(--shadow);
}
.price-label {
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .14em;
  color: var(--orange-text);
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
  font-family: var(--font-display);
}
.price-only { font-size: 1.125rem; color: var(--ink-soft); font-weight: 500; }
.price-amount { font-size: clamp(2.75rem, 6vw + 1rem, 3.5rem); font-weight: 700; line-height: 1; }
.price-period { font-size: 1.125rem; font-weight: 600; color: var(--ink-soft); }
.price-period--loud { text-transform: uppercase; color: var(--orange-text); font-weight: 700; }
.price-save {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  font-weight: 700;
  font-size: .9375rem;
}
.price-save[hidden] { display: none; }
.trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 32px auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
}
.trust .icon { color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 248, 239, .8);
  padding-block: 48px;
}
.footer-inner { display: grid; gap: 24px; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--cream); }
.footer-tagline { margin-top: 4px; max-width: 40ch; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--cream);
  font-weight: 600;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.footer-links a:hover { color: var(--orange); }
.copyright { font-size: .875rem; color: rgba(255, 248, 239, .6); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 248, 239, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { min-height: 52px; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
    transition-delay: calc(var(--d, 0) * 80ms);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .hero-actions { width: auto; }
  .hero-actions .btn { width: auto; }
  .chalk-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .footer-inner { grid-template-columns: 1fr auto; align-items: center; }
  .copyright { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  .sticky-cta { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card { padding: 40px 34px 34px; }
}

@media (min-width: 1000px) {
  .chalk-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: none; }
  .step { padding: 70px 0 0; }
  .step::before { top: 0; left: 0; }
  .step::after {
    left: 54px;
    right: -16px;
    top: 22px;
    bottom: auto;
    width: auto;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--orange-text) 0 6px, transparent 6px 12px);
  }
  .step-card { height: 100%; }
}

/* ---------- Pricing sparkles (decorative) ---------- */
.price-card::before,
.price-card::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M20 2l5 13 13 5-13 5-5 13-5-13-13-5 13-5z' fill='%23EB8A45' stroke='%232A1A12' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}
.price-card::before { left: -13px; top: 26px; }
.price-card::after { right: -13px; bottom: 26px; }
@media (prefers-reduced-motion: no-preference) {
  .price-card::before { animation: spin 18s linear infinite; }
}


/* =========================================================
   Desktop layout (960px and up): two-column, zig-zag sections
   Mobile and tablet stay single column.
   ========================================================= */
@media (min-width: 1024px) {
  :root { --container: 1240px; --gutter: 48px; --section-y: 112px; }
}

@media (min-width: 960px) {
  /* 1. Hero: text left, video right */
  .hero { position: relative; overflow: hidden; padding-block: 56px 112px; }
  .hero::before {
    content: "";
    position: absolute;
    right: -180px;
    top: -220px;
    width: 680px;
    height: 680px;
    border-radius: 50%;
    background: var(--orange-tint);
  }
  .hero-stack {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr);
    column-gap: 36px;
    align-content: center;
    align-items: start;
    justify-items: start;
    text-align: left;
  }
  .hero-stack > * { grid-column: 1; }
  .hero-stack > .video-frame { grid-column: 2; grid-row: 2 / span 4; align-self: center; margin-top: 0; }
  .hero-stack > .hero-logo { grid-column: 1 / -1; justify-self: center; width: 460px; margin: -70px 0 -80px; }
  .hero .container { max-width: 1360px; }
  .hero h1 { max-width: none; font-size: clamp(2.6rem, 3.8vw, 3.8rem); }
  .lead { max-width: 30ch; }
  .hero-actions { width: auto; }

  /* 2. Pain points stay one centered column: lead-in, cards, then closing line */
  .pain-list { gap: 16px; }
  .pain-card { padding: 24px 28px; font-size: 1.25rem; }

  /* 3. Story: photo left, text right */
  .story-inner {
    max-width: var(--container);
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    column-gap: 80px;
    row-gap: 22px;
    align-items: center;
    text-align: left;
  }
  .story-inner > :not(.story-photo) { grid-column: 2; }
  .story-inner > .story-photo {
    grid-column: 1;
    grid-row: 1 / span 5;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 8px solid var(--white);
  }
  .story-big { font-size: clamp(2.25rem, 3vw, 3.1rem); }
  .story-mid { max-width: 36ch; margin-inline: 0; }

  /* 4. About: text left, laptop and phone image right */
  .about-grid {
    max-width: var(--container);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    column-gap: 32px;
    align-items: center;
    text-align: left;
  }
  .about-grid > * { grid-column: 1; }
  .about-grid > .duo { grid-column: 2; grid-row: 3 / span 2; margin-top: 0; }
  .about-grid > .punchline { grid-column: 1 / -1; justify-self: center; margin-bottom: 6px; }
  .section--cream .about-grid > .btn { justify-self: start; margin-inline: 0; }
  .about-grid > .about-logo { grid-column: 1 / -1; justify-self: center; width: 340px; margin: -44px 0 -18px; }
  .about-text { font-size: 1.5rem; }
  .duo { display: block; position: relative; padding-bottom: 20%; }
  .duo::before {
    content: "";
    position: absolute;
    inset: 4% 2% 10% 6%;
    border-radius: 50%;
    background: var(--orange-tint);
  }
  .duo-a { position: relative; width: 88%; }
  .duo-b { position: absolute; right: 0; bottom: 0; width: 62%; }

  /* 5. Learn: wider board row */
  .chalk-grid { max-width: var(--container); }

  /* 6. Video: video left, heading right */
  .glimpse-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    column-gap: 72px;
    align-items: center;
  }
  .glimpse-grid > .video-frame { grid-column: 1; grid-row: 1 / span 2; max-width: none; margin: 0; }
  .glimpse-grid > .section-title { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 16px; text-align: left; font-size: clamp(2.5rem, 3.6vw, 3.5rem); }
  .glimpse-grid > .video-label { grid-column: 2; grid-row: 2; align-self: start; align-items: flex-start; margin-bottom: 0; text-align: left; }

  /* 8. Who: title, collage, closing line stay in one centered column */
  .persona-collage { width: min(100%, 600px); }

  /* 10. Pricing: a bit wider */
  .pricing-grid { max-width: 980px; gap: 32px; }
}


/* =========================================================
   Round 3: decorations, lively cards, flowing steps
   ========================================================= */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-star { fill: var(--orange); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.deco-ring { fill: none; stroke: var(--teal); stroke-width: 4; }
.deco-plus { fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; }
.deco-wave { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; }
.deco-chat { fill: var(--teal-soft); stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; }
.deco-dots {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--orange) 2.5px, transparent 3px) 0 0 / 20px 20px;
  opacity: .45;
}
.learn-section, .glimpse-section { position: relative; overflow: hidden; }
.learn-section > .container, .glimpse-section > .container { position: relative; z-index: 1; }

/* 5. Learn */
.learn-section { padding-block: calc(var(--section-y) * 1.35); }
.learn-section::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--orange-soft);
}
.learn-section::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -180px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--teal-soft);
  opacity: .7;
}
.learn-section .d1 { left: 7%; top: 11%; width: 38px; }
.learn-section .d2 { right: 9%; top: 15%; width: 30px; }
.learn-section .d3 { left: 12%; bottom: 13%; width: 26px; }
.learn-section .d4 { right: 7%; bottom: 14%; width: 120px; }
.learn-section .d5 { left: 3%; top: 44%; }
.learn-section .d6 { right: 15%; top: 46%; width: 24px; }
.learn-section .d7 { right: 4%; top: 38%; width: 48px; }

/* 6. Glimpse */
.glimpse-section::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -30%;
  width: 70%;
  height: 160%;
  background: radial-gradient(closest-side, rgba(235, 138, 69, .16), transparent);
}
.glimpse-section .deco { opacity: .45; }
.glimpse-section .deco-star { fill: var(--orange); stroke: none; }
.glimpse-section .deco-ring { stroke: var(--orange); }
.glimpse-section .d1 { left: 4%; top: 10%; width: 30px; }
.glimpse-section .d2 { right: 6%; top: 9%; width: 28px; }
.glimpse-section .d3 { left: 6%; bottom: 12%; width: 22px; }
.glimpse-section .d4 { right: 5%; bottom: 10%; width: 110px; }

/* 7. Lively stickers on benefit cards */
.benefit-card { position: relative; }
.live {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 4 / 3;
  pointer-events: none;
  z-index: 2;
}
.st { position: absolute; display: block; }
.st-emoji {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 rgba(42, 26, 18, .15);
  font-size: 1.4rem;
  line-height: 1;
}
.st-bubble { width: 64px; fill: var(--white); stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.st-bubble circle { fill: var(--ink); stroke: none; }
.st-fire { width: 64px; fill: none; }
.st-conf { width: 12px; height: 12px; border-radius: 3px; }
.benefit-card:nth-child(1) .s1 { right: 6%; top: 8%; transform: rotate(10deg); }
.benefit-card:nth-child(1) .s2 { left: 5%; top: 40%; transform: rotate(-12deg); width: 40px; height: 40px; }
.benefit-card:nth-child(2) .s1 { left: 4%; top: 6%; transform: rotate(-6deg); }
.benefit-card:nth-child(2) .s2 { right: 5%; top: 14%; transform: rotate(10deg); }
.benefit-card:nth-child(2) .s3 { right: 8%; bottom: 14%; transform: rotate(-8deg); width: 40px; height: 40px; }
.benefit-card:nth-child(3) .s1 { left: 5%; top: 6%; }
.benefit-card:nth-child(3) .s2 { right: 6%; top: 8%; transform: rotate(12deg); }
.benefit-card:nth-child(3) .s3 { right: 10%; bottom: 8%; transform: rotate(-10deg); width: 40px; height: 40px; }
.st-conf.s3, .st-conf.s4, .st-conf.s5 { opacity: .95; }
.benefit-card:nth-child(1) .st-conf.s3 { left: 12%; top: 14%; background: #EB8A45; transform: rotate(20deg); }
.benefit-card:nth-child(1) .st-conf.s4 { right: 14%; bottom: 12%; background: #1F7A6D; transform: rotate(-15deg); }
.benefit-card:nth-child(1) .st-conf.s5 { left: 30%; bottom: 8%; background: #F2B63D; border-radius: 50%; }
.benefit-card:nth-child(2) .st-conf.s4 { left: 10%; bottom: 18%; background: #F2B63D; transform: rotate(25deg); }
.benefit-card:nth-child(2) .st-conf.s5 { right: 26%; top: 6%; background: #1F7A6D; border-radius: 50%; }
.benefit-card:nth-child(3) .st-conf.s4 { left: 20%; bottom: 14%; background: #E8546B; transform: rotate(18deg); }
.benefit-card:nth-child(3) .st-conf.s5 { right: 28%; top: 10%; background: #EB8A45; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .st-emoji, .st-bubble { animation: bob 4.5s ease-in-out infinite; }
  .benefit-card:nth-child(2) .st-emoji { animation-delay: -1.2s; }
  .benefit-card:nth-child(3) .st-emoji { animation-delay: -2.4s; }
  .st-fire { animation: pulse 2.6s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { scale: 1; opacity: 1; }
  50% { scale: 1.18; opacity: .75; }
}

/* 9. Steps: clean white cards, colored curved line */
.step { --c: #D9702A; }
.step:nth-child(2) { --c: #1F7A6D; }
.step:nth-child(3) { --c: #BF8A0B; }
.step:nth-child(4) { --c: #CC4E6B; }
.step::before {
  background: var(--c);
  color: var(--white);
  border: 0;
  box-shadow: 0 0 0 5px var(--orange-tint);
}
.step::after {
  width: 4px;
  left: 21px;
  border-radius: 4px;
  background: var(--c);
  opacity: .5;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--c);
  box-shadow: var(--shadow-sm);
  font-size: 1.125rem;
  line-height: 1.5;
}
.steps-wrap { position: relative; }
.steps-flow { display: none; }

@media (min-width: 900px) {
  .steps { position: relative; z-index: 1; align-items: stretch; }
  .steps-flow {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
    fill: none;
    stroke: url(#flowgrad);
    stroke-width: 6;
    stroke-linecap: round;
  }
  .steps-flow path { vector-effect: non-scaling-stroke; }
  .step { padding-top: 84px; }
  .step::before { left: 50%; transform: translateX(-50%); width: 50px; height: 50px; top: 0; }
  .step:nth-child(even)::before { top: 20px; }
  .step::after { display: none; }
  .step-card { text-align: center; padding: 24px 22px 26px; font-size: 1.1875rem; }
}

/* Subtle decorations for sections 2 and 8 (desktop side space) */
.pain-section, .who-section { position: relative; overflow: hidden; }
.pain-section > .container, .who-section > .container { position: relative; z-index: 1; }
.pain-section .deco, .who-section .deco { display: none; }
@media (min-width: 960px) {
  .pain-section .deco, .who-section .deco { display: block; }
  .pain-section::before {
    content: "";
    position: absolute;
    left: -180px;
    top: 18%;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: var(--orange-soft);
  }
  .pain-section::after {
    content: "";
    position: absolute;
    right: -160px;
    bottom: 8%;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: var(--teal-soft);
    opacity: .65;
  }
  .pain-section .d1 { left: 9%; top: 18%; width: 34px; }
  .pain-section .d2 { right: 11%; top: 16%; width: 28px; }
  .pain-section .d3 { left: 14%; bottom: 22%; width: 24px; }
  .pain-section .d4 { right: 8%; top: 46%; width: 110px; }
  .pain-section .d5 { left: 5%; bottom: 10%; opacity: .35; }
  .pain-section .d6 { right: 15%; bottom: 14%; width: 22px; }
  .who-section::before {
    content: "";
    position: absolute;
    right: -170px;
    top: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--orange-soft);
  }
  .who-section::after {
    content: "";
    position: absolute;
    left: -150px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: var(--teal-soft);
    opacity: .6;
  }
  .who-section .d1 { left: 10%; top: 16%; width: 26px; }
  .who-section .d2 { right: 12%; top: 30%; width: 32px; }
  .who-section .d3 { left: 8%; top: 52%; width: 28px; }
  .who-section .d4 { right: 6%; bottom: 12%; opacity: .35; }
  .who-section .d5 { left: 12%; bottom: 14%; width: 100px; }
  .who-section .d6 { right: 18%; bottom: 36%; width: 22px; }
}

/* 10. Pricing: two identical cards, coins on the special price, pointing cutout (desktop) */
.price-card {
  border: 2px solid var(--ink);
  background: linear-gradient(180deg, var(--orange-soft), var(--white) 70%);
  box-shadow: 8px 8px 0 var(--orange), var(--shadow-lg);
}
.price-card--featured::before { display: none; }
.coins {
  position: absolute;
  right: -22px;
  top: -62px;
  width: 96px;
  z-index: 3;
  transform: rotate(8deg);
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(120, 60, 20, .25));
}
@media (prefers-reduced-motion: no-preference) {
  .coins { animation: bob 3.6s ease-in-out infinite; }
}
.pricing-pointer { display: none; }
@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; align-items: stretch; max-width: 1040px; gap: 40px; }
  .coins { width: 120px; right: -34px; top: -84px; }
  .pricing-pointer {
    display: block;
    position: absolute;
    left: -64px;
    bottom: -34px;
    width: 190px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 10px 12px rgba(120, 60, 20, .25));
  }
}
@media (min-width: 900px) and (max-width: 1319px) {
  .pricing-pointer { display: none; }
}

/* Section 2: tighter, balanced spacing above and below the cards */
.pain-section .section-title { margin-bottom: clamp(20px, 3vw, 30px); }
.pain-section .callout { margin-top: clamp(28px, 4vw, 42px); }

/* Pointing cutout: bigger and lower, sized to the free space beside the card */
@media (min-width: 1320px) {
  .pricing-pointer { left: -125px; width: 175px; bottom: -50px; }
}
@media (min-width: 1400px) {
  .pricing-pointer { left: -175px; width: 215px; bottom: -70px; }
}

/* "Nyalakan suara" layer on the muted autoplay video */
.sound-btn {
  position: absolute;
  inset: 8px;
  z-index: 5;
  border: 0;
  border-radius: calc(var(--radius-lg) - 8px);
  background: transparent;
  cursor: pointer;
}
.sound-btn span {
  position: absolute;
  left: 50%;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 4px 0 var(--orange-shadow), var(--shadow);
  transform: translateX(-50%);
  white-space: nowrap;
}
.sound-btn:hover span { background: var(--orange-deep); }
@media (prefers-reduced-motion: no-preference) {
  .sound-btn span { animation: sound-pulse 1.8s ease-in-out infinite; }
}
@keyframes sound-pulse {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.06); }
}

/* Section 4: "That's why we are here!" now sits first, above the logo */
.about-grid > .punchline { margin: 0 0 14px; }
.about-grid > .btn { margin-top: clamp(24px, 3vw, 32px); }
