/* Sleeple homepage — light premium palette override.
   Loaded after home.css. Dark mode keeps the original night treatment. */
html:not([data-theme="dark"]) body.home-page{
  --hp-paper:#f7f9ff;
  --hp-paper-2:#eef4ff;
  --hp-ink:#17223b;
  --hp-text:#4a5a73;
  --hp-muted:#71819a;
  --hp-line:rgba(72,96,150,.16);
  --hp-blue:#4568d4;
  --hp-blue-2:#6f88e8;
  --hp-cyan:#58c9c3;
  --hp-glow:rgba(69,104,212,.18);
  background:#f7f9ff;
  color:#17223b;
}

html:not([data-theme="dark"]) body.home-page .site-header{
  background:rgba(249,251,255,.82);
  border-bottom-color:rgba(70,92,142,.11);
  box-shadow:0 10px 30px rgba(36,61,115,.04);
}
html:not([data-theme="dark"]) body.home-page .site-header.home-header-scrolled{
  background:rgba(255,255,255,.95);
  border-bottom-color:rgba(70,92,142,.15);
  box-shadow:0 16px 42px rgba(36,61,115,.09);
}
html:not([data-theme="dark"]) body.home-page .site-header::after{
  background:linear-gradient(90deg,transparent 4%,rgba(69,104,212,.24) 50%,transparent 96%);
}
html:not([data-theme="dark"]) body.home-page .site-header .logo,
html:not([data-theme="dark"]) body.home-page .site-header .logo-text{color:#17223b}
html:not([data-theme="dark"]) body.home-page .site-header .logo-svg{color:#4568d4}
html:not([data-theme="dark"]) body.home-page .main-nav .sleeple-primary-nav a{color:#506079}
html:not([data-theme="dark"]) body.home-page .main-nav .sleeple-primary-nav a:hover,
html:not([data-theme="dark"]) body.home-page .main-nav .sleeple-primary-nav a:focus-visible,
html:not([data-theme="dark"]) body.home-page .main-nav .sleeple-primary-nav a[aria-current="page"]{
  color:#28479f;
  background:#edf2ff;
  border-color:#dce5fb;
}
html:not([data-theme="dark"]) body.home-page .main-nav .sleeple-primary-nav .nav-start{
  color:#fff;
  background:linear-gradient(135deg,#5576dc,#3f60ca);
  border-color:rgba(69,104,212,.14);
  box-shadow:0 10px 24px rgba(69,104,212,.18);
}
html:not([data-theme="dark"]) body.home-page .lang-btn,
html:not([data-theme="dark"]) body.home-page #search-trigger,
html:not([data-theme="dark"]) body.home-page #theme-toggle{
  color:#243652!important;
  background:transparent!important;
}
html:not([data-theme="dark"]) body.home-page .lang-btn:hover,
html:not([data-theme="dark"]) body.home-page #search-trigger:hover,
html:not([data-theme="dark"]) body.home-page #theme-toggle:hover,
html:not([data-theme="dark"]) body.home-page .lang-btn:focus-visible,
html:not([data-theme="dark"]) body.home-page #search-trigger:focus-visible,
html:not([data-theme="dark"]) body.home-page #theme-toggle:focus-visible{
  border-color:#dce5f6!important;
  background:#f0f4fc!important;
}
html:not([data-theme="dark"]) body.home-page .lang-menu{
  border-color:#dfe7f5;
  background:#fff;
  box-shadow:0 24px 60px rgba(39,62,111,.14);
}
html:not([data-theme="dark"]) body.home-page .lang-option{color:#34445f}
html:not([data-theme="dark"]) body.home-page .lang-option:hover{color:#24479e;background:#f2f5fc}
html:not([data-theme="dark"]) body.home-page .mobile-menu-toggle span{background:#17223b}

html:not([data-theme="dark"]) body.home-page .hero-section{
  color:#17223b;
  background:
    radial-gradient(circle at 82% 22%,rgba(93,127,224,.18),transparent 31%),
    radial-gradient(circle at 11% 82%,rgba(88,201,195,.13),transparent 28%),
    linear-gradient(145deg,#f9fbff 0%,#eef4ff 52%,#f8fbff 100%);
}
html:not([data-theme="dark"]) body.home-page .hero-section::before{
  background-image:
    linear-gradient(rgba(79,105,165,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(79,105,165,.055) 1px,transparent 1px);
}
html:not([data-theme="dark"]) body.home-page .hero-section::after{
  border-color:rgba(69,104,212,.08);
  box-shadow:0 0 0 8vw rgba(69,104,212,.018),0 0 0 16vw rgba(88,201,195,.015);
}
html:not([data-theme="dark"]) body.home-page .hero-eyebrow{color:#4568d4}
html:not([data-theme="dark"]) body.home-page .hero-title{color:#17223b}
html:not([data-theme="dark"]) body.home-page .hero-title .hero-accent{
  background:linear-gradient(100deg,#294ca8 0%,#5578d9 52%,#2faaa3 100%);
  -webkit-background-clip:text;background-clip:text;
}
html:not([data-theme="dark"]) body.home-page .hero-desc{color:#53627a}
html:not([data-theme="dark"]) body.home-page .hero-trust{border-top-color:rgba(72,96,150,.14)}
html:not([data-theme="dark"]) body.home-page .hero-trust strong{color:#17223b}
html:not([data-theme="dark"]) body.home-page .hero-trust span{color:#71819a}
html:not([data-theme="dark"]) body.home-page .hero-visual{
  border-color:rgba(71,97,158,.16);
  background:linear-gradient(145deg,#29479d 0%,#496bd0 52%,#6d8ce0 100%);
  box-shadow:0 30px 82px rgba(55,82,154,.2),inset 0 1px 0 rgba(255,255,255,.22);
}
html:not([data-theme="dark"]) body.home-page .hero-module{
  border-color:rgba(255,255,255,.24);
  background:rgba(25,45,102,.46);
  box-shadow:0 16px 42px rgba(20,41,96,.16);
}
html:not([data-theme="dark"]) body.home-page .btn-ghost{
  color:#2b4fa9;
  border-color:#ccd9f5;
  background:rgba(255,255,255,.72);
}
html:not([data-theme="dark"]) body.home-page .btn-ghost:hover{
  color:#24479e;
  border-color:#b9c9ed;
  background:#fff;
}

html:not([data-theme="dark"]) body.home-page .start-card:first-child{
  color:#17223b;
  border-color:#d3def5;
  background:linear-gradient(145deg,#e9f0ff,#f5f8ff);
}
html:not([data-theme="dark"]) body.home-page .start-card:first-child h3{color:#17223b}
html:not([data-theme="dark"]) body.home-page .start-card:first-child p{color:#52627b}
html:not([data-theme="dark"]) body.home-page .start-card:first-child .start-number{
  color:#4568d4;border-color:#ccd9f2;background:#fff;
}
html:not([data-theme="dark"]) body.home-page .start-card:first-child .start-action{color:#4568d4}

html:not([data-theme="dark"]) body.home-page .tools-section{
  color:#17223b;
  background:linear-gradient(180deg,#eef4ff 0%,#f8faff 100%);
}
html:not([data-theme="dark"]) body.home-page .tools-section .section-kicker{color:#4568d4}
html:not([data-theme="dark"]) body.home-page .tools-section .section-heading{color:#17223b}
html:not([data-theme="dark"]) body.home-page .tools-section .section-copy{color:#52627b}
html:not([data-theme="dark"]) body.home-page .tools-stage{
  border-color:#d7e1f4;
  background:linear-gradient(145deg,rgba(235,242,255,.9),rgba(249,251,255,.96));
  box-shadow:0 26px 72px rgba(49,76,137,.09);
}
html:not([data-theme="dark"]) body.home-page .tool-card{
  color:#17223b;
  border-color:#d9e3f4;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y),rgba(88,201,195,.10),transparent 36%),
    rgba(255,255,255,.88);
  box-shadow:0 14px 36px rgba(48,75,132,.07);
}
html:not([data-theme="dark"]) body.home-page .tool-card:not(.tool-card--lead) h3{color:#17223b}
html:not([data-theme="dark"]) body.home-page .tool-card:not(.tool-card--lead) p{color:#58677e}
html:not([data-theme="dark"]) body.home-page .tool-card:not(.tool-card--lead) .tool-index{
  color:#4568d4;border-color:#d3def1;background:#f6f8ff;
}
html:not([data-theme="dark"]) body.home-page .tool-card:not(.tool-card--lead) .tool-time{color:#7a879b}
html:not([data-theme="dark"]) body.home-page .tool-card:not(.tool-card--lead) .card-arrow{color:#4568d4}
html:not([data-theme="dark"]) body.home-page .tool-card--lead{
  color:#fff;
  border-color:rgba(69,104,212,.16);
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y),rgba(113,224,215,.18),transparent 40%),
    linear-gradient(145deg,#3858b3,#5876d5);
}
html:not([data-theme="dark"]) body.home-page .tool-card--lead h3{color:#fff}
html:not([data-theme="dark"]) body.home-page .tool-card--lead p{color:#e7edff}
html:not([data-theme="dark"]) body.home-page .tool-card--lead .tool-index{color:#fff;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1)}
html:not([data-theme="dark"]) body.home-page .tool-card--lead .tool-time{color:#d8e2ff}
html:not([data-theme="dark"]) body.home-page .tool-card--lead .card-arrow{color:#fff}

html:not([data-theme="dark"]) body.home-page .guides-stage{
  border-color:#d6e0f2;
  background:linear-gradient(145deg,#edf3ff,#f9fbff);
  box-shadow:0 26px 72px rgba(48,75,132,.09);
}
html:not([data-theme="dark"]) body.home-page .guide-card{
  color:#17223b;
  border-color:#d9e3f4;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y),rgba(83,115,215,.08),transparent 38%),
    rgba(255,255,255,.9);
  box-shadow:0 14px 36px rgba(48,75,132,.06);
}
html:not([data-theme="dark"]) body.home-page .guide-card:first-child{background:linear-gradient(145deg,#e8efff,#f7f9ff)}
html:not([data-theme="dark"]) body.home-page .guide-card h3{color:#17223b}
html:not([data-theme="dark"]) body.home-page .guide-card p{color:#596980}
html:not([data-theme="dark"]) body.home-page .guide-meta{color:#77859a}
html:not([data-theme="dark"]) body.home-page .guide-meta strong,
html:not([data-theme="dark"]) body.home-page .guide-card .card-arrow{color:#4568d4}

html:not([data-theme="dark"]) body.home-page .diary-shell{
  color:#17223b;
  border-color:#d3def1;
  background:
    radial-gradient(circle at 88% 15%,rgba(91,125,221,.16),transparent 30%),
    radial-gradient(circle at 6% 90%,rgba(88,201,195,.11),transparent 26%),
    linear-gradient(140deg,#edf3ff,#f9fbff 72%);
  box-shadow:0 28px 72px rgba(48,75,132,.09);
}
html:not([data-theme="dark"]) body.home-page .diary-shell::after{border-color:rgba(69,104,212,.12)}
html:not([data-theme="dark"]) body.home-page .diary-copy h2{color:#17223b}
html:not([data-theme="dark"]) body.home-page .diary-copy p{color:#56667e}
html:not([data-theme="dark"]) body.home-page .diary-preview{
  border-color:#d9e3f4;
  background:rgba(255,255,255,.72);
}
html:not([data-theme="dark"]) body.home-page .diary-day{border-color:#dde5f2;background:#f8faff}
html:not([data-theme="dark"]) body.home-page .diary-day strong{color:#34445f}

html:not([data-theme="dark"]) body.home-page .final-section{
  color:#17223b;
  background:
    radial-gradient(circle at 50% 120%,rgba(69,104,212,.16),transparent 43%),
    linear-gradient(180deg,#eef4ff,#f9fbff);
}
html:not([data-theme="dark"]) body.home-page .final-inner::before{
  border-color:rgba(69,104,212,.08);
  box-shadow:0 0 0 90px rgba(69,104,212,.012),0 0 0 180px rgba(88,201,195,.01);
}
html:not([data-theme="dark"]) body.home-page .final-inner .section-kicker{color:#4568d4}
html:not([data-theme="dark"]) body.home-page .final-inner .section-heading{color:#17223b}
html:not([data-theme="dark"]) body.home-page .final-inner .section-copy{color:#56667e}
html:not([data-theme="dark"]) body.home-page .final-note{color:#7b889b}

html:not([data-theme="dark"]) body.home-page .site-footer{
  color:#5e6d83;
  border-top-color:#dce5f2;
  background:#f8faff;
}
html:not([data-theme="dark"]) body.home-page .footer-brand .logo-text,
html:not([data-theme="dark"]) body.home-page .footer-links h4{color:#17223b}
html:not([data-theme="dark"]) body.home-page .footer-brand p,
html:not([data-theme="dark"]) body.home-page .footer-links a{color:#65758b}
html:not([data-theme="dark"]) body.home-page .footer-links a:hover,
html:not([data-theme="dark"]) body.home-page .footer-links a:focus-visible{color:#3156b8}
html:not([data-theme="dark"]) body.home-page .footer-bottom{border-color:#dce5f2;color:#7b889b}
