/* Tasko — playful multi-color palette (aligned with in-app task card tints) */
:root {
  --cream: #fff8f0;
  --cream-panel: #ffe8c8;
  --cream-dark: #f5c98a;
  --brown: #4a2f14;
  --brown-muted: #7a5c38;
  --orange: #ff7a18;
  --orange-deep: #e85d00;
  --coral: #ff6b9d;
  --pink: #f06595;
  --magenta: #cc5de8;
  --purple: #845ef7;
  --sky: #4dabf7;
  --blue: #228be6;
  --mint: #38d9a9;
  --lime: #94d82d;
  --green: #40c057;
  --yellow: #ffd43b;
  --gold: #ffc947;
  --teal: #0b4f4f;
  --teal-mid: #2f9e9e;
  --teal-accent: #63e6be;
  --teal-light: #e3fafc;
  --gift-dark: #1a212b;
  --white: #ffffff;
  --shadow: 0 14px 44px rgba(74, 47, 20, 0.14);
  --shadow-soft: 0 8px 28px rgba(74, 47, 20, 0.1);
  --shadow-color: 0 12px 32px rgba(0, 0, 0, 0.12);
  --radius: 20px;
  --radius-pill: 999px;
  --font-display: "Fredoka", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --max: 1120px;
  --grad-hero: linear-gradient(
    135deg,
    #fff4e6 0%,
    #ffe3f1 28%,
    #dbe4ff 55%,
    #d3f9d8 82%,
    #fff9db 100%
  );
  --grad-cta: linear-gradient(
    120deg,
    #ff922b 0%,
    #ff6b6b 35%,
    #cc5de8 70%,
    #4dabf7 100%
  );
  --grad-footer: linear-gradient(
    135deg,
    #1864ab 0%,
    #5f3dc4 45%,
    #087f5b 100%
  );
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--brown);
  background: var(--grad-hero);
  background-attachment: fixed;
}

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

a {
  color: var(--white);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 236, 217, 0.92) 50%,
    rgba(231, 245, 255, 0.92) 100%
  );
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(255, 146, 43, 0.25);
  box-shadow: 0 4px 24px rgba(255, 107, 107, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brown);
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brown-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: linear-gradient(135deg, #ffe8cc, #ffd8e8);
  color: var(--brown);
  text-decoration: none;
}

.nav-links a:nth-child(1):hover { background: #ffd8a8; }
.nav-links a:nth-child(2):hover { background: #ffc9c9; }
.nav-links a:nth-child(3):hover { background: #d0ebff; }
.nav-links a:nth-child(4):hover { background: #e5dbff; }
.nav-links a:nth-child(5):hover { background: #d3f9d8; }
.nav-links a:nth-child(6):hover { background: #ffec99; }

.lang-toggle {
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--brown);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ff922b, #ff6b6b, #cc5de8);
  color: var(--white) !important;
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none !important;
  box-shadow: 0 4px 18px rgba(255, 107, 107, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(253, 109, 0, 0.45);
  text-decoration: none !important;
}

.menu-btn {
  display: none;
  border: none;
  background: linear-gradient(135deg, #ffd8a8, #ffc9c9);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.4rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 72px;
  background:
    linear-gradient(
      125deg,
      rgba(255, 212, 159, 0.88) 0%,
      rgba(255, 180, 216, 0.75) 35%,
      rgba(165, 216, 255, 0.7) 65%,
      rgba(178, 242, 187, 0.82) 100%
    ),
    url("../images/taskwall_header.jpg") center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  width: 280px;
  height: 280px;
  top: -60px;
  right: 8%;
  background: radial-gradient(circle, #ff922b, transparent 70%);
}

.hero::after {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: -40px;
  background: radial-gradient(circle, #748ffc, transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, rgba(255, 217, 61, 0.9), rgba(255, 146, 43, 0.85));
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #7c2d12;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255, 146, 43, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 16px;
  background: linear-gradient(120deg, #e8590c, #c2255c, #7048e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 28px;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #ff922b, #ff6b6b);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 107, 107, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(204, 93, 232, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: #7048e8;
  border: 2px solid #b197fc;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brown-muted);
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-trust span:nth-child(1) { border-color: #ffc9c9; background: #fff5f5; }
.hero-trust span:nth-child(2) { border-color: #b2f2bb; background: #ebfbee; }
.hero-trust span:nth-child(3) { border-color: #a5d8ff; background: #e7f5ff; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  width: min(100%, 320px);
  filter: drop-shadow(var(--shadow));
  animation: float 4s ease-in-out infinite;
}

.hero-giraffe {
  position: absolute;
  right: -8%;
  bottom: -4%;
  width: 42%;
  max-width: 160px;
  animation: float 5s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* —— Sections —— */
section {
  padding: 72px 0;
}

#philosophy {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 236, 217, 0.45));
}

#features.feature-band {
  background: linear-gradient(135deg, #e7f5ff 0%, #d0ebff 50%, #e5dbff 100%);
}

#referral.referral-band {
  background: linear-gradient(135deg, #fff4e6 0%, #ffe8cc 40%, #ffd8e8 100%);
}

#ur-collectibles {
  background: linear-gradient(135deg, #f3f0ff 0%, #ffe3e3 50%, #fff9db 100%);
}

section:not([class]):not([id]) {
  background: linear-gradient(180deg, rgba(235, 251, 255, 0.7), rgba(255, 244, 230, 0.6));
}

#modules.feature-band {
  background: linear-gradient(135deg, #d3f9d8 0%, #fff3bf 50%, #ffd8a8 100%);
}

#roadmap.feature-band.beige-light {
  background: linear-gradient(135deg, #e7f5ff 0%, #ffec99 50%, #ffc9c9 100%);
}

#download {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(231, 245, 255, 0.85));
}

#support.support-section {
  background: linear-gradient(135deg, #fff5f5 0%, #f3f0ff 50%, #e6fcf5 100%);
}

.section-label {
  display: inline-block;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  color: var(--orange-deep);
  margin-bottom: 10px;
  box-shadow: 0 2px 10px rgba(255, 146, 43, 0.15);
}

#features .section-label { color: #1864ab; background: #d0ebff; }
#referral .section-label { color: #c2255c; background: #ffd8e8; }
#ur-collectibles .section-label { color: #862e9c; background: #e599f7; }
.feature-band.teal .section-label { color: #fff; background: rgba(255, 255, 255, 0.2); }
#roadmap .section-label { color: #2b8a3e; background: #b2f2bb; }
#support .section-label { color: #7048e8; background: #e5dbff; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--brown);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--brown-muted);
  max-width: 42rem;
  margin: 0 0 40px;
}

/* Philosophy cards */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.philosophy-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s, box-shadow 0.25s;
}

.philosophy-card:nth-child(1) {
  background: linear-gradient(160deg, #fff, #ebfbee);
  border-color: rgba(64, 192, 87, 0.35);
}

.philosophy-card:nth-child(2) {
  background: linear-gradient(160deg, #fff, #fff4e6);
  border-color: rgba(255, 146, 43, 0.35);
}

.philosophy-card:nth-child(3) {
  background: linear-gradient(160deg, #fff, #e7f5ff);
  border-color: rgba(34, 139, 230, 0.35);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(132, 94, 247, 0.18);
}

.philosophy-card:nth-child(1):hover { box-shadow: 0 16px 40px rgba(64, 192, 87, 0.22); }
.philosophy-card:nth-child(2):hover { box-shadow: 0 16px 40px rgba(255, 146, 43, 0.22); }
.philosophy-card:nth-child(3):hover { box-shadow: 0 16px 40px rgba(34, 139, 230, 0.22); }

.philosophy-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--brown);
}

.philosophy-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brown-muted);
}

/* Feature blocks */
.feature-band {
  background: var(--cream-panel);
}

#care.feature-band.beige-light {
  background: linear-gradient(135deg, #fff0f6 0%, #e7f5ff 50%, #fff9db 100%);
}

.feature-shot-dark {
  background: linear-gradient(135deg, #1864ab, #5f3dc4, #087f5b) !important;
  padding: 20px;
}

.feature-shot-dark > img {
  object-fit: contain;
}

.feature-band.teal {
  background: linear-gradient(
    135deg,
    #1864ab 0%,
    #5f3dc4 45%,
    #087f5b 100%
  );
  color: var(--teal-light);
}

.feature-band.teal .section-title,
.feature-band.teal .section-lead,
.feature-band.teal h3 {
  color: var(--white);
}

.feature-band.teal .section-lead {
  opacity: 0.85;
}

.feature-band.teal .section-label {
  color: var(--gold);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-color);
  background: linear-gradient(145deg, #fff, #f8f0fc);
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.feature-shot > img {
  border-radius: calc(var(--radius) - 8px);
  width: 100%;
  object-fit: cover;
}

.feature-shot-reward {
  background: rgba(255, 255, 255, 0.08);
  padding: 24px;
}

.reward-icons {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: center;
  align-items: center;  
}

.reward-icons img {
  display: block;
  object-fit: contain;
  max-height: 200px;
}

@media (min-width: 961px) {
  .feature-shot-reward {
    padding: 0 !important;
  }

  .reward-icons {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    align-items: center;
    justify-content: center;
  }

  .reward-icons img {
    transform: none !important;
    width: auto !important;
    height: auto !important;
    max-height: 200px;
    margin: 0;
  }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  font-weight: 800;
}

.feature-list li:nth-child(1)::before { color: #ff6b6b; }
.feature-list li:nth-child(2)::before { color: #ffd43b; }
.feature-list li:nth-child(3)::before { color: #40c057; }
.feature-list li:nth-child(4)::before { color: #748ffc; }
.feature-list li:nth-child(5)::before { color: #cc5de8; }

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffe8cc, #ffd8e8);
  color: #c2255c;
  font-weight: 800;
  font-size: 0.78rem;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.feature-band.teal .highlight-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #fff9db;
  border-color: rgba(255, 255, 255, 0.35);
}

.feature-band.teal .feature-list li:nth-child(1)::before { color: #ffd43b; }
.feature-band.teal .feature-list li:nth-child(2)::before { color: #69db7c; }
.feature-band.teal .feature-list li:nth-child(3)::before { color: #ff8787; }
.feature-band.teal .feature-list li:nth-child(4)::before { color: #74c0fc; }
.feature-band.teal .feature-list li:nth-child(5)::before { color: #ffa8a8; }

/* Module cards */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  border-radius: var(--radius);
  padding: 28px 22px;
  min-height: 100%;
}

.module-card.kid {
  background: linear-gradient(160deg, #fff, #b2f2bb 120%);
  border: 2px solid rgba(64, 192, 87, 0.45);
  box-shadow: 0 8px 28px rgba(64, 192, 87, 0.15);
}

.module-card.reward {
  background: linear-gradient(160deg, #fff, #ffd8a8 120%);
  border: 2px solid rgba(255, 146, 43, 0.45);
  box-shadow: 0 8px 28px rgba(255, 146, 43, 0.15);
}

.module-card.parent {
  background: linear-gradient(160deg, #fff, #a5d8ff 120%);
  border: 2px solid rgba(34, 139, 230, 0.4);
  box-shadow: 0 8px 28px rgba(34, 139, 230, 0.15);
}

.module-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 12px 0 10px;
}

.node-icon-row,
.module-icon-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.module-icon-row img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.module-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--brown-muted);
}

.module-card li {
  margin-bottom: 8px;
}

/* Tech & langs */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-item {
  text-align: center;
  padding: 22px 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}

.tech-item:nth-child(1) {
  background: linear-gradient(160deg, #fff, #e7f5ff);
  border-color: #74c0fc;
}

.tech-item:nth-child(2) {
  background: linear-gradient(160deg, #fff, #fff3bf);
  border-color: #ffd43b;
}

.tech-item:nth-child(3) {
  background: linear-gradient(160deg, #fff, #d3f9d8);
  border-color: #69db7c;
}

.tech-item:nth-child(4) {
  background: linear-gradient(160deg, #fff, #f3d9fa);
  border-color: #da77f2;
}

.tech-item:hover {
  transform: translateY(-4px);
}

.tech-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--brown);
}

.tech-item span {
  font-size: 0.85rem;
  color: var(--brown-muted);
}

.lang-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.lang-chip {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 2px solid transparent;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
}

.lang-chip:nth-child(1) { background: #fff5f5; border-color: #ffa8a8; }
.lang-chip:nth-child(2) { background: #fff9db; border-color: #ffe066; }
.lang-chip:nth-child(3) { background: #e7f5ff; border-color: #74c0fc; }
.lang-chip:nth-child(4) { background: #f3f0ff; border-color: #b197fc; }
.lang-chip:nth-child(5) { background: #ebfbee; border-color: #8ce99a; }
.lang-chip:nth-child(6) { background: #fff0f6; border-color: #ffdeeb; }

/* CTA */
.cta-band {
  background: var(--grad-cta);
  color: var(--white);
  text-align: center;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2), transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(255, 217, 61, 0.25), transparent 45%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.cta-band p,
.cta-band .btn-secondary {
  position: relative;
  z-index: 1;
}

.cta-band p {
  opacity: 0.92;
  max-width: 32rem;
  margin: 0 auto 28px;
}

.cta-band .btn-secondary {
  background: var(--white);
  color: var(--orange-deep);
  border: none;
}

/* Referral & UR */
.referral-band {
  background: linear-gradient(135deg, #fff4e6 0%, #ffd8e8 100%);
}

.referral-shot {
  position: relative;
}

.referral-badge-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.referral-badge-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.content-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--brown-muted);
  font-style: italic;
}

.ur-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.ur-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 2px solid rgba(204, 93, 232, 0.25);
  box-shadow: 0 10px 32px rgba(132, 94, 247, 0.12);
  overflow: hidden;
}

.ur-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ffd43b, #69db7c, #4dabf7, #cc5de8);
}

.ur-card-theme {
  border-color: rgba(255, 146, 43, 0.35);
  box-shadow: 0 10px 32px rgba(255, 146, 43, 0.15);
}

.ur-card img {
  border-radius: calc(var(--radius) - 8px);
  margin: 0 auto 16px;
  object-fit: cover;
}

.ur-card-theme img {
  width: 100%;
  max-height: 160px;
}

.ur-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.ur-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brown-muted);
}

.ur-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffd15c, #fd6d00);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.ur-badge-rainbow {
  background: linear-gradient(90deg, #ff6b6b, #ffd15c, #69db7c, #4dabf7, #cc5de8);
}

/* Roadmap */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.roadmap-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 22px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}

.roadmap-card:nth-child(1) {
  background: linear-gradient(160deg, #fff, #e7f5ff);
  border-color: #74c0fc;
}

.roadmap-card:nth-child(2) {
  background: linear-gradient(160deg, #fff, #fff3bf);
  border-color: #ffd43b;
}

.roadmap-card:nth-child(3) {
  background: linear-gradient(160deg, #fff, #f3d9fa);
  border-color: #da77f2;
}

.roadmap-card:nth-child(4) {
  background: linear-gradient(160deg, #fff, #d3f9d8);
  border-color: #69db7c;
}

.roadmap-card:hover {
  transform: translateY(-4px);
}

.roadmap-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 10px;
}

.roadmap-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.roadmap-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--brown-muted);
}

.roadmap-footnote {
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--brown-muted);
  text-align: center;
}

/* Support / founder letter */
.support-section {
  background: linear-gradient(135deg, #fff5f5 0%, #f3f0ff 50%, #e6fcf5 100%);
}

.support-letter {
  margin: 0 0 28px;
  padding: 28px 32px;
  border-left: 5px solid transparent;
  border-image: linear-gradient(180deg, #ff922b, #ff6b6b, #cc5de8, #4dabf7) 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 236, 217, 0.65));
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--brown);
  white-space: pre-line;
  box-shadow: 0 12px 36px rgba(132, 94, 247, 0.12);
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */
.site-footer {
  background: var(--grad-footer);
  color: rgba(255, 255, 255, 0.92);
  padding: 40px 0 28px;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 48px;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
}

.footer-copy {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.85;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .feature-row,
  .philosophy-grid,
  .modules-grid,
  .ur-showcase,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

  .feature-row.reverse {
    direction: ltr;
  }

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

  .hero-giraffe {
    right: 0;
    width: 35%;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(180deg, #fff, #ffe8cc);
    padding: 16px 20px 20px;
    border-bottom: 2px solid rgba(255, 146, 43, 0.25);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    padding-top: 32px;
  }

  section {
    padding: 52px 0;
  }
}

/* —— v4: v3 layout blocks with v1 palette —— */
.center { text-align: center; }
.center .section-title,
.center .section-lead { margin-left: auto; margin-right: auto; }

.hero h1 .line-plain { display: block; color: var(--brown); background: none; -webkit-text-fill-color: currentColor; }
.hero h1 .gradient-text {
  display: block;
  background: linear-gradient(120deg, #e8590c, #c2255c, #7048e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-bar { padding: 18px 0; background: rgba(255, 255, 255, 0.45); }
.trust-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.trust-item, .trust-chip {
  background: rgba(255, 255, 255, 0.88);
  border: 2px solid rgba(255, 146, 43, 0.18);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
  font-weight: 800;
  font-size: 0.88rem;
  box-shadow: var(--shadow-soft);
}

.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  min-height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}
.pain-card:nth-child(1) { background: linear-gradient(160deg, #fff, #fff5f5); border-color: #ffc9c9; }
.pain-card:nth-child(2) { background: linear-gradient(160deg, #fff, #e7f5ff); border-color: #a5d8ff; }
.pain-card:nth-child(3) { background: linear-gradient(160deg, #fff, #fff9db); border-color: #ffe066; }
.pain-card:nth-child(4) { background: linear-gradient(160deg, #fff, #f3f0ff); border-color: #d0bfff; }
.pain-emoji { font-size: 2.4rem; margin-bottom: 10px; }
.pain-card h3 { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.3; margin: 0; }

#problem { background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 236, 217, 0.5)); }
#why.solution-band { background: linear-gradient(135deg, #fff4e6 0%, #ffd8e8 45%, #d0ebff 100%); }
#parents.parent-band { background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(231, 245, 255, 0.85)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 22px; }
.benefit-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: calc(var(--radius) - 4px);
  padding: 18px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}
.benefit-card h3 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 6px; }
.benefit-card p { margin: 0; font-size: 0.92rem; color: var(--brown-muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 2px solid transparent;
  box-shadow: var(--shadow-soft);
}
.step-card:nth-child(1) { border-color: #ffc9c9; background: linear-gradient(160deg, #fff, #fff5f5); }
.step-card:nth-child(2) { border-color: #ffe066; background: linear-gradient(160deg, #fff, #fff9db); }
.step-card:nth-child(3) { border-color: #b197fc; background: linear-gradient(160deg, #fff, #f3f0ff); }
.step-card:nth-child(4) { border-color: #8ce99a; background: linear-gradient(160deg, #fff, #ebfbee); }
.step-num {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff922b, #ff6b6b, #cc5de8);
  color: white; font-weight: 900; margin-bottom: 12px;
}
.step-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 0 0 8px; }
.step-card p { margin: 0; font-size: 0.92rem; color: var(--brown-muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}
.feature-card img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 12px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.12rem; margin: 0 0 8px; }
.feature-card p { margin: 0; font-size: 0.92rem; color: var(--brown-muted); }

#promise.promise-band {
  background: linear-gradient(135deg, #1864ab 0%, #5f3dc4 45%, #087f5b 100%);
  color: var(--white);
}
#promise.promise-band .section-label { background: rgba(255, 255, 255, 0.18); color: #fff9db; }
#promise.promise-band .section-title,
#promise.promise-band .section-lead { color: var(--white); }
#promise.promise-band .section-lead { opacity: 0.9; }
.promise-card {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 28px;
}
.promise-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0 0 12px; }
.promise-list { display: grid; gap: 10px; }
.promise-list div {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
}

.pricing-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; align-items: stretch; }
.price-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 2px solid rgba(255, 146, 43, 0.2);
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.price-card.featured {
  border-color: rgba(255, 107, 107, 0.55);
  transform: translateY(-6px);
  background: linear-gradient(160deg, #fff, #fff0f6);
  box-shadow: 0 16px 40px rgba(255, 107, 107, 0.18);
}
.price-card h3 { font-family: var(--font-display); margin: 0 0 8px; }
.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; margin: 8px 0; color: var(--orange-deep); }
.price small { font-size: 0.85rem; color: var(--brown-muted); }
.ad-note {
  margin-top: 24px; padding: 20px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.85);
  border: 2px dashed rgba(255, 146, 43, 0.45);
  color: var(--brown-muted); font-weight: 700; line-height: 1.65; text-align: left;
}

.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.faq-item {
  background: var(--white);
  border-radius: calc(var(--radius) - 2px);
  padding: 20px 22px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
}
.faq-item h3 { font-size: 1.02rem; margin: 0 0 8px; }
.faq-item p { margin: 0; font-size: 0.92rem; color: var(--brown-muted); }

.story-card {
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 236, 217, 0.75));
  border: 2px solid rgba(255, 146, 43, 0.25);
  box-shadow: var(--shadow);
}
.story-card p { font-size: 1.05rem; line-height: 1.75; color: var(--brown-muted); margin: 16px 0 0; }

#pricing { background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 243, 191, 0.45)); }
#faq { background: linear-gradient(180deg, rgba(231, 245, 255, 0.55), rgba(255, 255, 255, 0.65)); }
#story { background: linear-gradient(180deg, rgba(255, 244, 230, 0.55), rgba(243, 240, 255, 0.45)); }

.lang-select {
  border: 2px solid var(--cream-dark);
  border-radius: var(--radius-pill);
  padding: 7px 12px;
  background: linear-gradient(135deg, #fff9db, #d0ebff);
  color: var(--brown);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .split, .trust-strip, .pain-grid, .steps, .feature-grid, .pricing-wrap { grid-template-columns: 1fr; }
  .faq-grid, .benefits { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .trust-strip, .pain-grid, .steps, .feature-grid, .pricing-wrap { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}