/* ============================================================
   hellodilly.com homepage — Job → gap → course → proof
   Light theme, accent #1B3FA0, Dilly face mascot.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&display=swap");

:root {
  --hc-bg: #eef3f9;
  --hc-bg-2: #f7f9fc;
  --hc-ink: #12162a;
  --hc-muted: rgba(18, 22, 42, 0.58);
  --hc-soft: rgba(18, 22, 42, 0.38);
  --hc-navy: #1b3fa0;
  --hc-navy-deep: #142f7a;
  --hc-line: rgba(27, 63, 160, 0.14);
  --hc-white: #ffffff;
  --hc-tile: #ffffff;
  --hc-display: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  --hc-body: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  --hc-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --hc-nav: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html body,
body {
  font-family: var(--hc-body) !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  background: var(--hc-bg);
  color: var(--hc-ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html body,
html body *:not(code):not(pre):not(.mono):not([class*="mono"]) {
  font-family: var(--hc-body) !important;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

/* Nav */
html body .dnav,
.dnav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1000 !important;
  background: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease !important;
}

body.hc-scrolled .dnav {
  background: rgba(255, 255, 255, 0.88) !important;
  -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  backdrop-filter: blur(18px) saturate(160%) !important;
  border-bottom-color: var(--hc-line) !important;
}

html body .dnav-cta,
.dnav-cta {
  background: var(--hc-navy) !important;
}

/* Hero */
.hc-hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--hc-nav) + clamp(48px, 10vh, 96px)) 24px 48px;
  overflow: hidden;
  background:
    linear-gradient(180deg,
      #9fc4e8 0%,
      #bcd6ee 34%,
      #dde9f5 66%,
      var(--hc-bg) 100%);
}

.hc-sky {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hc-haze {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(720px, 90vw);
  height: min(420px, 55vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse closest-side,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.12) 55%,
    transparent 75%);
}

.hc-cloud {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(ellipse closest-side,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0) 72%);
  filter: blur(8px);
}

.hc-cloud--a {
  width: 48vw; height: 13vw; top: 14%; left: -8%; opacity: 0.85;
  animation: hc-drift 95s linear infinite;
}
.hc-cloud--b {
  width: 36vw; height: 10vw; top: 8%; right: -6%; opacity: 0.7;
  animation: hc-drift 120s linear infinite reverse;
}
.hc-cloud--c {
  width: 58vw; height: 14vw; top: 36%; left: 16%; opacity: 0.45;
  animation: hc-drift 150s linear infinite;
}

@keyframes hc-drift {
  from { transform: translateX(-3vw); }
  to { transform: translateX(9vw); }
}

.hc-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--hc-bg));
  pointer-events: none;
  z-index: 2;
}

.hc-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(720px, 100%);
}

.hc-face-btn {
  position: relative;
  width: 148px;
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 90ms var(--hc-ease);
}

.hc-face-btn:active { transform: scale(0.96); }

.hc-face-prompt {
  position: absolute;
  left: calc(100% - 8px);
  top: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hc-navy);
  opacity: 0.85;
  transform: rotate(-6deg);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.hc-face-prompt.is-hidden { opacity: 0; }

@media (max-width: 520px) {
  .hc-face-prompt {
    left: 50%;
    top: -28px;
    transform: translateX(-50%) rotate(-4deg);
  }
}

.hc-face-orb {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, #ffffff 0%, #f4f7ff 52%, #e3e9fb 100%);
  border: 0;
  box-shadow: 0 16px 36px rgba(27, 63, 160, 0.16);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hc-face-orb canvas {
  width: 78%;
  height: 78%;
  display: block;
}

.hc-brand {
  width: min(168px, 48vw);
  height: auto;
  margin-top: 2px;
}

.hc-hero h1 {
  font-family: var(--hc-display) !important;
  font-weight: 900 !important;
  font-size: clamp(2.35rem, 6vw, 3.9rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--hc-ink);
  max-width: 12ch;
}

.hc-lede {
  max-width: 40ch;
  color: var(--hc-muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.hc-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}

.hc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.95rem 1.4rem;
  border-radius: 16px;
  border-bottom: 3px solid var(--hc-navy-deep);
  background: var(--hc-navy);
  color: var(--hc-white);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  transition: transform 0.12s ease, filter 0.12s ease, border-bottom-width 0.12s ease;
}

.hc-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hc-cta:active { transform: translateY(2px); border-bottom-width: 1px; }

.hc-cta--ghost {
  background: var(--hc-white);
  color: var(--hc-ink);
  border: 1.5px solid rgba(18, 22, 42, 0.12);
  border-bottom: 3px solid rgba(18, 22, 42, 0.16);
}

.hc-cta--ghost:hover { filter: none; background: #fff; }

.hc-note {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hc-soft);
  letter-spacing: -0.01em;
}

/* Sections */
.hc-section {
  position: relative;
  z-index: 1;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.5rem, 3.5vh, 2.5rem);
  padding: clamp(4.5rem, 10vh, 7rem) 24px;
}

.hc-section h2 {
  font-family: var(--hc-display) !important;
  font-weight: 900 !important;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: var(--hc-ink);
}

.hc-section .hc-sub {
  max-width: 42ch;
  margin-top: -0.35rem;
  color: var(--hc-muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

/* How it works — three steps */
.hc-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(980px, 100%);
  text-align: center;
}

.hc-step {
  background: var(--hc-tile);
  border-radius: 28px;
  padding: 28px 22px 30px;
  border: 1px solid var(--hc-line);
  box-shadow: 0 8px 24px rgba(27, 63, 160, 0.05);
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
}

.hc-step-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 4px;
}

.hc-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hc-step h3 {
  font-family: var(--hc-display) !important;
  font-weight: 800 !important;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--hc-ink);
  max-width: 14ch;
}

.hc-step p {
  color: var(--hc-muted);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
  max-width: 28ch;
}

@media (max-width: 800px) {
  .hc-steps {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* Product screen tiles */
.hc-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 720px;
}

.hc-tile {
  width: 148px;
  aspect-ratio: 1;
  border-radius: 28px;
  overflow: hidden;
  background: #0f1324;
  border: 1px solid rgba(18, 22, 42, 0.16);
  box-shadow: 0 10px 28px rgba(18, 22, 42, 0.08);
  transition: transform 0.2s var(--hc-ease);
}

.hc-tile:hover { transform: translateY(-3px); }

.hc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 640px) {
  .hc-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(360px, 100%);
    gap: 12px;
  }
  .hc-tile { width: 100%; }
}

/* Courses honesty */
.hc-courses {
  background: var(--hc-bg-2);
}

.hc-courses-icon {
  width: 72px;
  height: 72px;
}

.hc-courses-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hc-courses p {
  max-width: 34ch;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--hc-ink);
}

/* Close */
.hc-close {
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(159, 196, 232, 0.55), transparent 70%),
    var(--hc-bg);
}

.hc-notify {
  width: min(420px, 100%);
  display: none;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 4px;
}

.hc-notify.is-open { display: grid; }

.hc-notify-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.hc-notify-row input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(18, 22, 42, 0.12);
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--hc-ink);
  outline: none;
}

.hc-notify-row input[type="email"]:focus-visible {
  border-color: rgba(27, 63, 160, 0.4);
}

.hc-notify-row button {
  padding: 12px 16px;
  border-radius: 14px;
  border-bottom: 3px solid var(--hc-navy-deep);
  background: var(--hc-navy);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hc-notify-msg {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--hc-soft);
}

.hc-notify-msg.is-error { color: #b42318; }
.hc-notify-msg.is-success { color: #1f7a3f; }

.hc-linkish {
  background: none;
  border: 0;
  color: var(--hc-navy);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: -0.015em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Motion */
.hc-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--hc-ease), transform 0.7s var(--hc-ease);
}

.hc-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Footer */
.hc-footer,
.rv2-footer {
  position: relative;
  z-index: 1;
  background: #0f1324;
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 1.5rem 2rem;
}

.rv2-footer-grid {
  max-width: 980px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.rv2-footer-col p {
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.rv2-footer-col a {
  display: block;
  padding: 0.28rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.rv2-footer-col a:hover { color: #fff; }

.rv2-footer-legal {
  max-width: 980px;
  margin: 0 auto 1.25rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
}

.rv2-footer-bottom {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.1rem;
}

.rv2-footer-bottom a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .rv2-footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Inner pages sharing craft chrome */
.hc-page {
  padding: calc(var(--hc-nav) + 3rem) 24px 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.hc-page h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hc-page p {
  color: var(--hc-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.hc-page a.inline {
  color: var(--hc-navy);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
