/* ============================================================
   Humble — /home2 landing page
   Self-contained design system for this page only. Tokens and
   component classes below are scoped to this page's markup and
   are not shared with the rest of humbleai.com (css/styles.css
   uses a different token set / visual language).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;0,600;1,400;1,500&family=JetBrains+Mono:wght@400;500&family=Manrope:wght@500;600;700&family=Bangers&family=Patrick+Hand&display=swap');

:root {
  /* Purple — the brand anchor. #4705D0 is the Humble logo purple. */
  --purple-50:  #F2ECFF;
  --purple-100: #E1D3FF;
  --purple-200: #C2A7FF;
  --purple-300: #9E76FF;
  --purple-400: #7A46F0;
  --purple-500: #4705D0;
  --purple-600: #3A03AA;
  --purple-700: #2D0287;
  --purple-800: #1D0059;
  --purple-900: #10002F;

  /* Pink — the warm, soft counterpart. #FEBBCC is the mascot pink. */
  --pink-50:  #FFF5F8;
  --pink-100: #FFE6EE;
  --pink-200: #FFD3E0;
  --pink-300: #FEBBCC;
  --pink-400: #F597AE;
  --pink-500: #E76E8E;
  --pink-600: #C14A6B;

  /* Neutral / paper */
  --paper:     #FCFAF7;
  --paper-2:   #F5F1EA;
  --ink:       #1A1530;
  --ink-2:     #47425E;
  --ink-3:     #7A7690;
  --line:      #EBE4D9;
  --line-2:    #D8D0C2;

  --success: #2F8A5F;
  --warning: #C97B1A;
  --error:   #C74545;

  --bg:         var(--paper);
  --bg-elev:    #FFFFFF;
  --bg-sunken:  var(--paper-2);

  --fg:         var(--ink);
  --fg-muted:   var(--ink-2);
  --fg-subtle:  var(--ink-3);

  --accent:       var(--purple-500);
  --accent-hover: var(--purple-600);
  --accent-soft:  var(--purple-50);

  --border:        var(--line);
  --border-strong: var(--line-2);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-2xl: 40px;
  --radius-pill: 999px;

  --shadow-sm:  0 1px 2px rgba(26, 21, 48, 0.04), 0 1px 1px rgba(26, 21, 48, 0.03);
  --shadow-md:  0 4px 12px rgba(26, 21, 48, 0.06), 0 1px 3px rgba(26, 21, 48, 0.04);
  --shadow-lg:  0 12px 32px rgba(26, 21, 48, 0.08), 0 2px 6px rgba(26, 21, 48, 0.04);
  --shadow-brand: 0 8px 24px rgba(71, 5, 208, 0.18);

  --font-display: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-serif:   "Newsreader", Georgia, "Times New Roman", serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --t-h1: clamp(36px, 4.2vw, 60px);
  --t-h2: clamp(28px, 3vw, 40px);
}

#home2 { background: var(--bg); color: var(--fg); }
#home2 * { box-sizing: border-box; }
/* css/styles.css sets a global `section { max-width:1200px; margin:0 auto }`
   for the site's contained layouts — override it so this page's full-bleed
   section backgrounds span the viewport as designed. */
#home2 section { max-width: none; margin: 0; padding: 0; }
#home2 {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#home2 h1, #home2 h2, #home2 h3, #home2 h4 {
  font-family: var(--font-display);
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-weight: 600;
  text-wrap: pretty;
  margin: 0;
}
#home2 h1 { font-size: var(--t-h1); font-weight: 700; }
#home2 h2 { font-size: var(--t-h2); line-height: 1.22; }
#home2 h3 { font-size: 24px; line-height: 1.22; }
#home2 h4 { font-size: 20px; line-height: 1.22; font-weight: 500; }

#home2 p { font-size: 16px; line-height: 1.55; color: var(--fg); margin: 0; }
#home2 a { color: var(--accent); text-underline-offset: 2px; transition: color 160ms ease; }
#home2 a:hover { color: var(--accent-hover); }
#home2 ::selection { background: var(--pink-300); color: var(--purple-800); }

#home2 img { max-width: 100%; }

/* Custom Humble cursor, matching the design export */
#home2 a, #home2 button, #home2 .tour-trigger, #home2 [data-tour] {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30"><path d="M6 2 L6 20 L10.2 16.4 L13 23 L16.4 21.5 L13.6 15 L19 15 Z" fill="%231A1530" stroke="white" stroke-width="1.6" stroke-linejoin="round"/><rect x="17" y="1" width="12" height="12" rx="4" fill="%234705D0" stroke="white" stroke-width="1.5"/><text x="23" y="10.5" text-anchor="middle" font-family="sans-serif" font-weight="800" font-size="8" fill="%23FEBBCC">H</text></svg>') 6 2, pointer;
}

#home2 .site { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { #home2 .site { padding: 0 20px; } }

/* ---- Hero ---- */
#home2 .hero { max-width: none; padding: 80px 0 48px; text-align: center; position: relative; overflow: hidden; background: var(--purple-500); }
#home2 .hero h1 { font-size: clamp(44px, 6vw, 84px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; text-wrap: balance; margin: 0 auto 24px; max-width: 16ch; }
#home2 .hero .rotator { display: inline-block; position: relative; min-width: 1px; }
#home2 .hero p.sub { font-size: 19px; color: rgba(252,250,247,0.72); max-width: 56ch; margin: 0 auto 32px; line-height: 1.5; text-wrap: pretty; }
#home2 .hero .actions { display: flex; gap: 12px; justify-content: center; margin-bottom: 24px; flex-wrap: wrap; }
#home2 .hero-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
#home2 .hero-form input { flex: 2; min-width: 0; padding: 14px 16px; border: none; font-size: 15px; font-family: inherit; background: transparent; color: var(--fg); }
#home2 .hero-form input:focus { outline: 2px solid var(--pink-300); outline-offset: -2px; }
#home2 .hero-form button { font-size: 15px; font-weight: 700; padding: 14px 22px; white-space: nowrap; border: none; border-radius: 0; cursor: pointer; background: var(--pink-300); color: var(--purple-600); font-family: inherit; }
#home2 .hero-form button:hover { background: var(--pink-200); }
#home2 .hero-cta { display: inline-block; font-size: 15px; font-weight: 700; padding: 16px 32px; white-space: nowrap; border: none; border-radius: 14px; cursor: pointer; background: var(--pink-300); color: var(--purple-600); font-family: inherit; text-decoration: none; }
#home2 .hero-cta:hover { background: var(--pink-200); }
#home2 .hero .promise { color: rgba(252,250,247,0.6); font-size: 14px; }
#home2 .hero-mascots { position: absolute; inset: -40px -120px 0; overflow: hidden; pointer-events: none; z-index: 0; }
#home2 .hero-mascot { position: absolute; background: var(--ink); -webkit-mask-image: url('assets/humble-mascot-solid.png'); mask-image: url('assets/humble-mascot-solid.png'); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }

#home2 .eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 16px; display: block; }

/* ---- Real tool-logo badges (scattered-tools illustrations) ---- */
#home2 .tool-icon { background: #FFFFFF; border-radius: 12px; box-shadow: 0 8px 18px rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; }
#home2 .tool-icon img { display: block; }
#home2 .tool-badge { position: absolute; top: -6px; right: -6px; color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #16171C; }

/* ---- Platform strip ---- */
#home2 .platform-strip { background: var(--paper); border-bottom: 1px solid var(--border); padding: 14px 0; }
#home2 .platform-strip .site { display: flex; justify-content: center; align-items: center; gap: 40px; flex-wrap: wrap; }
#home2 .platform-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; color: var(--fg-subtle); text-decoration: none; }
#home2 a.platform-item:hover { color: var(--fg); }
#home2 .platform-sep { width: 1px; height: 16px; background: var(--border); }

/* ---- Dark mascot-field sections shared look ---- */
#home2 .mascot-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
#home2 .mascot-field span, #home2 .mascot-field div { position: absolute; background: #202939; -webkit-mask-image: url('assets/humble-mascot-solid.png'); mask-image: url('assets/humble-mascot-solid.png'); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

/* ---- Who Humble is for ---- */
#home2 .who-for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
/* Grid items don't shrink below their content's intrinsic width by
   default, and these pills use white-space:nowrap — without min-width:0
   a long label like "Programme managers" forces its card wider than its
   own grid column (same class of bug fixed elsewhere on this page). */
#home2 .who-for-grid > div { min-width: 0; }
#home2 .who-for-cta { transition: all 180ms ease; }
#home2 .who-for-cta:hover { background: var(--pink-200) !important; transform: translateY(-1px); }
#home2 .who-for-cta:active { transform: translateY(0) scale(0.98); background: var(--pink-400) !important; }
@media (max-width: 900px) {
  #home2 .who-for-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  /* Even a shrunk card can be narrower than a long pill's unwrapped
     width at this font size — let them wrap instead of overflowing. */
  #home2 .who-for-pill { white-space: normal !important; }
}

/* ---- Testimonials grid ---- */
#home2 .testimonial-grid { display: grid; grid-template-columns: repeat(7,1fr); grid-auto-rows: minmax(90px,auto); gap: 16px; margin: 0 -40px; }
@media (max-width: 900px) { #home2 .testimonial-grid { grid-template-columns: 1fr; margin: 0; } #home2 .testimonial-grid > div { grid-column: auto !important; grid-row: auto !important; } }
#home2 .testimonial-card { background: var(--paper); border-radius: 20px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
#home2 .testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--purple-700); }

/* ---- Trio feature cards ("Humble works where you work") ---- */
#home2 .section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
#home2 .section-head h2 { margin: 0 0 16px; }
#home2 .section-head p { color: var(--fg-muted); font-size: 17px; max-width: 60ch; line-height: 1.5; margin: 0 auto; }
#home2 .trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 900px) { #home2 .trio { grid-template-columns: 1fr; } }
#home2 .feat { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: all 200ms ease; }
#home2 .feat:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* ---- "Connect a note to anything" diagram ---- */
#home2 .connect-stage-holder { width: 700px; max-width: 100%; }
#home2 .connect-stage { position: relative; width: 700px; height: 790px; font-family: 'Manrope', sans-serif; }
#home2 .connect-stage svg.cn-connectors,
#home2 .connect-stage svg.cn-arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#home2 .cn-connectors { z-index: 0; }
#home2 .cn-connectors path { fill: none; stroke: rgba(252,250,247,0.28); stroke-width: 2; }
#home2 .cn-arrows { z-index: 4; }
#home2 .cn-arrows path { fill: none; stroke: var(--pink-300); stroke-width: 2; stroke-linecap: round; }
#home2 .cn-arrow-group { opacity: 0; transition: opacity 0.2s ease; }
#home2 .cn-arrow-group.is-visible { opacity: 1; }
#home2 .cn-hint { position: absolute; top: -34px; left: 340px; width: 300px; margin: 0; font-size: 12px; color: rgba(252,250,247,0.5); }
@keyframes cnDotPulse {
  0% { box-shadow: 0 6px 18px rgba(71, 5, 208, 0.6), 0 0 0 0 rgba(254, 187, 204, 0.45); }
  70% { box-shadow: 0 6px 18px rgba(71, 5, 208, 0.6), 0 0 0 16px rgba(254, 187, 204, 0); }
  100% { box-shadow: 0 6px 18px rgba(71, 5, 208, 0.6), 0 0 0 0 rgba(254, 187, 204, 0); }
}
#home2 .cn-dot { position: absolute; top: 368px; left: 270px; width: 52px; height: 52px; border-radius: 50%; background: var(--purple-500); border: 2px solid rgba(252,250,247,0.35); display: flex; align-items: center; justify-content: center; z-index: 2; box-shadow: 0 6px 18px rgba(71, 5, 208, 0.6); animation: cnDotPulse 2.2s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { #home2 .cn-dot { animation: none; } }
#home2 .cn-label { position: absolute; top: 426px; left: 261px; width: 70px; text-align: center; line-height: 1.35; margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(252,250,247,0.55); z-index: 3; }
#home2 .connect-card { position: absolute; background: #FDFEFC; border: 1px solid #DAD2CE; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); z-index: 1; transition: transform 200ms ease, box-shadow 200ms ease; }
#home2 .connect-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
#home2 .connect-card .cn-head { display: flex; align-items: center; gap: 8px; padding: 10px 16px; transition: background 0.5s ease; }
#home2 .connect-card .cn-head svg { flex-shrink: 0; }
#home2 .connect-card .cn-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#home2 .cn-share { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--ink); white-space: nowrap; flex-shrink: 0; }
#home2 .connect-card .cn-body { padding: 14px 16px 16px; }
#home2 .connect-card .cn-body p { margin: 0 0 8px; font-size: 13px; line-height: 1.5; color: var(--fg-muted); }
#home2 .connect-card .cn-meta { margin: 0; font-size: 11.5px; color: var(--fg-subtle); }
#home2 .connect-card .cn-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
#home2 .cn-foot .cn-pills { display: flex; gap: 8px; flex-wrap: wrap; }
#home2 .cn-pill { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 13px; font-size: 12px; font-weight: 600; color: var(--ink); }
#home2 .cn-chip { background: #FDFEFC; border: 1px solid #DAD2CE; border-radius: 999px; padding: 4px 11px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
#home2 .cn-shared { font-size: 11.5px; font-weight: 600; color: var(--fg-muted); text-align: right; }
#home2 .cn-linkrow { display: flex; align-items: center; gap: 7px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--purple-500); }
#home2 .cn-linkrow svg { flex-shrink: 0; }
#home2 .cn-heading { position: absolute; margin: 0; font-family: 'Patrick Hand', 'Segoe Print', 'Bradley Hand', cursive; font-size: 19px; line-height: 1.2; z-index: 3; }
#home2 .cn-note { position: absolute; margin: 0; font-family: 'Patrick Hand', 'Segoe Print', 'Bradley Hand', cursive; font-size: 17px; line-height: 1.35; color: var(--pink-300); z-index: 3; }
#home2 .cn-callout { position: absolute; margin: 0; font-family: 'Patrick Hand', 'Segoe Print', 'Bradley Hand', cursive; font-size: 19px; line-height: 1.35; z-index: 5; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; }
#home2 .cn-callout.is-visible { opacity: 1; }
#home2 .cn-mini { position: absolute; width: 22px; height: 22px; background: #FDFEFC; border: 1px solid #DAD2CE; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1; }
#home2 .cn-mini svg { width: 11px; height: 11px; }
#home2 .cn-mini-note { background: #F3ECA6; border-color: #E4D97A; }
#home2 .cn-mini-task { background: #C7E8C0; border-color: #A8D89E; }
#home2 .cn-mini-person { background: #BEE3F5; border-color: #98CDEA; }
#home2 .cn-mini-line { position: absolute; height: 1px; background: rgba(252,250,247,0.35); transform-origin: 0 0; z-index: 0; }
#home2 .connect-pill { display: inline-flex; align-items: center; gap: 0.3em; background: #F3ECA6; color: var(--purple-800); border-radius: 0.35em; padding: 0.04em 0.38em 0.08em 0.3em; font-size: 0.86em; line-height: 1.15; vertical-align: baseline; transition: background 0.5s ease; }
#home2 .connect-pill svg { width: 0.72em; height: 0.72em; flex-shrink: 0; }
#home2 .feat h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
#home2 .feat p { color: var(--fg-muted); line-height: 1.55; font-size: 15px; }
#home2 .feat-thumb { background: var(--paper); border-radius: 20px 20px 0 0; padding: 20px; margin: -28px -28px 20px; height: 220px; display: flex; align-items: center; justify-content: center; }

/* ---- Empowered strip cards ---- */
#home2 .info-card { background: #22252A; border-radius: 24px; padding: 32px; min-height: 230px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
#home2 .info-card h3 { margin: 0 0 14px; min-height: 60px; display: flex; align-items: flex-start; font-family: var(--font-display); font-weight: 700; font-size: 23px; color: #FCFAF7; position: relative; z-index: 1; max-width: 220px; }
#home2 .info-card p { margin: 0; color: rgba(252,250,247,0.85); font-size: 15px; line-height: 1.55; position: relative; z-index: 1; }
#home2 .info-card a { margin-top: auto; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; position: relative; z-index: 1; display: inline-block; padding-top: 20px; }

/* ---- Softer software icon grid ---- */
#home2 .calm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
#home2 .calm-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }

/* ---- "One connected space" home tour mock ---- */
#home2 .tour-shell { display: flex; background: #FDFEFC; border: 1px solid #DAD2CE; border-radius: 20px; box-shadow: var(--shadow-md); overflow: visible; font-family: 'Manrope', sans-serif; position: relative; }
#home2 .tour-backdrop { position: absolute; inset: 0; background: rgba(253,254,252,0.45); backdrop-filter: blur(0px); border-radius: 20px; opacity: 0; visibility: hidden; transition: opacity .4s ease, backdrop-filter .4s ease, visibility .4s; z-index: 70; pointer-events: none; }
#home2 .tour-backdrop.is-open { opacity: 1; visibility: visible; backdrop-filter: blur(5px); pointer-events: auto; }
#home2 .tour-sidebar { width: 190px; flex-shrink: 0; background: #F6F5F0; border-right: 1px solid #DAD2CE; padding: 20px 16px; display: flex; flex-direction: column; gap: 22px; border-radius: 20px 0 0 20px; }
#home2 .tour-brand { display: flex; align-items: center; gap: 8px; }
#home2 .tour-brand img { width: 22px; height: 22px; border-radius: 6px; display: block; }
#home2 .tour-brand span { font-weight: 800; font-size: 16px; color: #4705D0; }
#home2 .tour-nav { display: flex; flex-direction: column; gap: 4px; }
#home2 .tour-navitem { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #655C56; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.16s ease; background: transparent; border: none; text-align: left; font-family: inherit; }
#home2 .tour-navitem:hover { background: #F0EDE6; }
#home2 .tour-navitem.is-cur { background: #E1D3FF; color: #4705D0; font-weight: 700; }
#home2 .tour-navitem.is-cur:hover { background: #D5C2FC; }
#home2 .tour-main { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; border-radius: 0 20px 20px 0; }
#home2 .tour-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#home2 .tour-clock { border: 1px solid #DAD2CE; border-radius: 14px; padding: 16px 18px; }
#home2 .tour-clock .time { font-size: 26px; font-weight: 800; color: #1D2939; }
#home2 .tour-clock .date { font-size: 13px; color: #655C56; margin-top: 2px; }
#home2 .tour-trigger { border-radius: 14px; overflow: hidden; border: 1px solid #DAD2CE; cursor: pointer; transition: box-shadow 0.15s ease, transform 0.15s ease; background: none; padding: 0; text-align: left; font: inherit; display: block; width: 100%; }
#home2 .tour-trigger:hover { box-shadow: 0 6px 18px rgba(71,5,208,0.22); transform: translateY(-2px); }
#home2 .tour-trigger .head { padding: 10px 16px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #1D2939; position: relative; }
#home2 .tour-trigger .body { padding: 12px 16px; font-size: 13px; color: #47425E; background: #FDFEFC; position: relative; }
#home2 .tour-dot { position: absolute; top: 2px; right: 6px; width: 9px; height: 9px; border-radius: 50%; background: #4705D0; border: 1.5px solid #FDFEFC; animation: hdtPulse 2s infinite; }
#home2 .tour-pills { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 16px 14px; background: #FDFEFC; }
#home2 .tour-pill { white-space: nowrap; border: 1px solid #DAD2CE; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; color: #1D2939; }
#home2 .tour-cal-item { border: 1px solid #DAD2CE; border-radius: 10px; padding: 9px 12px; font-size: 13px; color: #1D2939; position: relative; }
#home2 .tour-task-col { font-size: 11px; font-weight: 700; color: #655C56; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
#home2 .tour-task-item { display: flex; align-items: center; gap: 8px; border: 1px solid #DAD2CE; border-radius: 10px; padding: 9px 12px; font-size: 13px; color: #1D2939; position: relative; }
#home2 .tour-task-check { width: 14px; height: 14px; border: 1.5px solid #98918A; border-radius: 4px; flex-shrink: 0; }

#home2 .tour-pop {
  position: absolute; top: 50%; left: 50%; max-width: 78vw; background: #FDFEFC; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(30,8,93,0.35); padding: 16px; z-index: 80; text-align: left; cursor: pointer;
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%,-50%) scale(1.19);
}
#home2 .tour-pop.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%,-50%) scale(1.4); }
#home2 .tour-pop-head { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #1D2939; padding: 10px 14px; border-radius: 14px 14px 0 0; margin: -16px -16px 12px; }
#home2 .tour-pop p { font-size: 12px; color: #1D2939; line-height: 1.5; margin: 0 0 8px; }
#home2 .tour-tag { font-size: 10.5px; font-weight: 600; color: #655C56; border: 1px dashed #DAD2CE; border-radius: 14px; padding: 3px 9px; }

/* ---- Closing CTA ---- */
#home2 .closing-form { display: flex; gap: 0; max-width: 480px; background: #FCFAF7; border: none; border-radius: 16px; overflow: hidden; position: relative; z-index: 1; }
#home2 .closing-form input { flex: 1; min-width: 0; padding: 19px 20px; border: none; font-size: 16px; font-family: inherit; background: transparent; color: #1A1530; }
#home2 .closing-form input:focus { outline: 2px solid var(--purple-500); outline-offset: -2px; }
#home2 .closing-form button { font-size: 16px; font-weight: 600; padding: 19px 26px; white-space: nowrap; border: none; border-radius: 0; cursor: pointer; background: #1A1530; color: #FEBBCC; font-family: inherit; }
#home2 .closing-form button:hover { background: #2A1350; }
#home2 .closing-cta { display: inline-block; font-size: 16px; font-weight: 600; padding: 19px 32px; white-space: nowrap; border: none; border-radius: 16px; cursor: pointer; background: #1A1530; color: #FEBBCC; font-family: inherit; text-decoration: none; position: relative; z-index: 1; }
#home2 .closing-cta:hover { background: #2A1350; }

/* ---- Utility: heading rotator rise-in ---- */
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
#home2 .rotator span { display: inline-block; animation: rise 380ms ease; }

@keyframes hdtPulse { 0% { box-shadow: 0 0 0 0 rgba(71,5,208,0.5); } 70% { box-shadow: 0 0 0 7px rgba(71,5,208,0); } 100% { box-shadow: 0 0 0 0 rgba(71,5,208,0); } }
@keyframes flowLeak1 { 0% { transform: translate(-55px,45px); opacity: 1; } 14% { transform: translate(0,0); opacity: 1; } 19% { transform: translate(0,70px); opacity: 0; } 20%, 100% { transform: translate(0,70px); opacity: 0; } }
@keyframes flowLeak2 { 0%, 21% { transform: translate(-55px,-50px); opacity: 0; } 22% { transform: translate(-55px,-50px); opacity: 1; } 37% { transform: translate(0,0); opacity: 1; } 41% { transform: translate(0,70px); opacity: 0; } 42%, 100% { transform: translate(0,70px); opacity: 0; } }
@keyframes flowLeak3 { 0%, 43% { transform: translate(-55px,45px); opacity: 0; } 44% { transform: translate(-55px,45px); opacity: 1; } 59% { transform: translate(0,0); opacity: 1; } 63% { transform: translate(0,70px); opacity: 0; } 64%, 100% { transform: translate(0,70px); opacity: 0; } }
@keyframes flowLeak4 { 0%, 65% { transform: translate(-12px,-75px); opacity: 0; } 66% { transform: translate(-12px,-75px); opacity: 1; } 77% { transform: translate(0,0); opacity: 1; } 81% { transform: translate(0,70px); opacity: 0; } 82%, 100% { transform: translate(0,70px); opacity: 0; } }
@keyframes energyDrain { 0%, 19% { clip-path: inset(0 0 100% 0); } 20%, 41% { clip-path: inset(0 0 80% 0); } 42%, 63% { clip-path: inset(0 0 60% 0); } 64%, 81% { clip-path: inset(0 0 40% 0); } 82%, 100% { clip-path: inset(0 0 20% 0); } }
@keyframes energyGrow { 0% { transform: scale(0.6); } 20% { transform: scale(0.6); } 25% { transform: scale(0.75); } 45% { transform: scale(0.75); } 50% { transform: scale(0.9); } 70% { transform: scale(0.9); } 75% { transform: scale(1.05); } 95% { transform: scale(1.05); } 100% { transform: scale(0.6); } }
@keyframes energyEyeDots { 0%, 89% { opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes energyEyeHappy { 0%, 89% { opacity: 0; } 90%, 100% { opacity: 1; } }

/* These looping motion flourishes (leaking-data dots, the energy-drain
   reveal, the traveling SVG dots and the growing/blinking mascot) read
   fine at desktop size but are wasted or visually confusing once their
   illustration gets compressed into a mobile layout — same treatment for
   anyone who's asked their OS to reduce motion. `.motion-decor` elements
   are purely decorative (no meaningful "static" look) so they're hidden
   outright; `.motion-freeze` elements (the mascot body) stay visible and
   just stop animating, with the eye groups pinned to one consistent
   expression instead of both rendering on top of each other. */
@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  #home2 .motion-decor { display: none !important; }
  #home2 .motion-freeze { animation: none !important; }
  #home2 .energy-eyes-dots { animation: none !important; opacity: 1 !important; }
  #home2 .energy-eyes-happy { animation: none !important; opacity: 0 !important; }
}

/* Grid items default to min-width:auto, so a fixed-width decorative child
   (e.g. the 520px-wide flow diagram) can force its whole grid track — and
   any text sharing that track — wider than the viewport. Letting grid
   items shrink below their content's intrinsic size fixes that. */
#home2 .grid-2col > * { min-width: 0; }
#home2 .info-cards-3col { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) {
  #home2 .grid-2col { grid-template-columns: 1fr !important; }
  #home2 .info-cards-3col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  /* The hero's line-break spans use inline white-space:nowrap so words
     don't break awkwardly at desktop sizes — on narrow phones that just
     pushes the line off-screen instead, so let it wrap here. */
  #home2 .hero h1 span { white-space: normal !important; }
  #home2 .tour-shell { flex-direction: column; }
  #home2 .tour-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #DAD2CE; border-radius: 20px 20px 0 0; }
  #home2 .tour-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  #home2 .tour-main { border-radius: 0 0 20px 20px; }
  #home2 .tour-row-2 { grid-template-columns: 1fr; }
  #home2 .tour-pop { width: min(280px, 84vw) !important; }
}
#home2 .cn-main .cn-head { padding: 10px 14px; }
#home2 .cn-main .cn-body { padding: 12px 14px 14px; }
#home2 .cn-main .cn-foot { padding: 12px 14px; }
