:root{
  --site-bg:#f4f6fb;
  --site-bg-secondary:#eef2f9;
  --site-surface:#ffffff;
  --site-surface-muted:#f3f6fb;
  --site-surface-strong:rgba(255,255,255,.82);
  --site-panel-border:rgba(15,23,35,.08);
  --site-text:#10131a;
  --site-text-strong:#0f1723;
  --site-muted:#667085;
  --site-line:#e1e6ee;
  --site-line-strong:#cfd7e3;
  --site-red:#de2840;
  --site-red-hover:#bf1c33;
  --site-shadow:0 24px 60px rgba(18,26,38,.14),0 8px 24px rgba(18,26,38,.08);
  --site-soft-shadow:0 16px 34px rgba(18,26,38,.08);
  --site-toggle-track:#f0d985;
  --site-toggle-track-border:#e7c769;
  --site-toggle-thumb:#ffffff;
  --site-toggle-icon:#7b661f;
  --site-toggle-active:#de2840;
  --site-toggle-active-glow:rgba(222,40,64,.18);
  --site-hero-bg:linear-gradient(145deg, rgba(255,255,255,.95) 0%, rgba(247,249,253,.9) 58%, rgba(255,241,243,.92) 100%);
}

html[data-theme="dark"]{
  --site-bg:#0c1017;
  --site-bg-secondary:#121826;
  --site-surface:#151b24;
  --site-surface-muted:#1d2532;
  --site-surface-strong:rgba(21,27,36,.82);
  --site-panel-border:rgba(255,255,255,.08);
  --site-text:#e8edf4;
  --site-text-strong:#f8fbff;
  --site-muted:#a3adbb;
  --site-line:#2a3443;
  --site-line-strong:#39475a;
  --site-shadow:0 28px 64px rgba(0,0,0,.42),0 12px 28px rgba(0,0,0,.24);
  --site-soft-shadow:0 20px 38px rgba(0,0,0,.24);
  --site-toggle-track:#273447;
  --site-toggle-track-border:#3a4b62;
  --site-toggle-thumb:#f8fbff;
  --site-toggle-icon:#d9e2ef;
  --site-toggle-active:#f6ce73;
  --site-toggle-active-glow:rgba(246,206,115,.18);
  --site-hero-bg:linear-gradient(145deg, rgba(24,31,42,.95) 0%, rgba(17,22,31,.92) 56%, rgba(39,18,24,.92) 100%);
}

*{box-sizing:border-box}

html,body{min-height:100%}

body{
  margin:0;
  color:var(--site-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(222,40,64,.12), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(73,117,211,.12), transparent 22%),
    linear-gradient(180deg, var(--site-bg) 0%, var(--site-bg-secondary) 100%);
  overflow-x:hidden;
}

a{
  color:var(--site-text-strong);
  text-decoration:none;
  font-size:17px;
}

a:hover{text-decoration:underline}

button,
input,
select,
textarea{
  font:inherit;
}

.theme-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:32px;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  flex:0 0 auto;
  transition:transform .18s ease;
}

.theme-toggle:hover{
  text-decoration:none;
  transform:translateY(-1px);
}

.theme-toggle:focus-visible{
  outline:none;
}

.theme-toggle-track{
  position:relative;
  width:58px;
  height:32px;
  border-radius:999px;
  border:1px solid var(--site-toggle-track-border);
  background:var(--site-toggle-track);
  box-shadow:var(--site-soft-shadow);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 8px;
  overflow:hidden;
  transition:background .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.theme-toggle:focus-visible .theme-toggle-track{
  box-shadow:0 0 0 4px var(--site-toggle-active-glow),var(--site-soft-shadow);
}

.theme-toggle-icon{
  position:relative;
  z-index:1;
  font-size:12px;
  line-height:1;
  color:var(--site-toggle-icon);
  transition:color .18s ease,opacity .18s ease;
}

.theme-toggle-thumb{
  position:absolute;
  top:3px;
  left:3px;
  width:24px;
  height:24px;
  border-radius:50%;
  background:var(--site-toggle-thumb);
  box-shadow:0 8px 18px rgba(15,23,35,.18);
  transition:transform .22s cubic-bezier(.4,0,.2,1),background .18s ease;
}

html[data-theme="light"] .theme-toggle-icon-sun{
  opacity:1;
}

html[data-theme="light"] .theme-toggle-icon-moon{
  opacity:.45;
}

html[data-theme="light"] .theme-toggle-track{
  background:linear-gradient(180deg, #f7e5a2 0%, #edcb6b 100%);
}

html[data-theme="dark"] .theme-toggle-icon-sun{
  opacity:.38;
}

html[data-theme="dark"] .theme-toggle-icon-moon{
  opacity:1;
}

html[data-theme="dark"] .theme-toggle-track{
  background:linear-gradient(180deg, #31425a 0%, #233146 100%);
}

html[data-theme="dark"] .theme-toggle-thumb{
  transform:translateX(26px);
}

.theme-toggle-label{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.topbar{
  width:min(1180px, calc(100% - 40px));
  margin:18px auto 0;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 24px;
  flex-wrap:wrap;
  border:1px solid var(--site-panel-border);
  border-radius:24px;
  background:var(--site-surface-strong);
  backdrop-filter:blur(18px);
  box-shadow:var(--site-soft-shadow);
}

.nav-left,
.nav-right,
.topbar-tools{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.topbar-tools{
  justify-content:flex-end;
}

.nav-left a,
.nav-right a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  color:var(--site-text-strong);
  font-size:15px;
  font-weight:600;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}

.nav-left a:hover,
.nav-right a:hover{
  background:var(--site-surface-muted);
  text-decoration:none;
  transform:translateY(-1px);
}

.page-shell{
  width:min(1180px,100%);
  min-height:calc(100vh - 172px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:0 20px 64px;
}

.hero{
  width:min(100%,1060px);
  margin-top:46px;
  padding:42px 0 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.logo{
  margin:0 0 24px;
  font-weight:400;
  font-size:clamp(60px,8vw,88px);
  letter-spacing:-.08em;
  color:var(--site-text-strong);
  text-align:center;
}

.logo strong{
  font-weight:400;
  color:var(--site-red);
}

.search-card{
  width:min(880px,100%);
  min-height:74px;
  border:1px solid var(--site-line);
  border-radius:38px;
  background:var(--site-surface);
  box-shadow:0 24px 48px rgba(18,26,38,.14),0 8px 20px rgba(18,26,38,.08);
  display:flex;
  align-items:center;
  gap:16px;
  padding:14px 18px 14px 22px;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.search-card:focus-within{
  border-color:var(--site-red);
  box-shadow:0 0 0 4px rgba(222,40,64,.12),0 24px 48px rgba(18,26,38,.16),0 8px 20px rgba(18,26,38,.08);
  transform:translateY(-1px);
}

.plus{
  flex:0 0 auto;
  font-size:34px;
  font-weight:300;
  border:0;
  background:transparent;
  color:var(--site-muted);
  padding:0 6px 2px 0;
  cursor:pointer;
}

.search-card input{
  flex:1 1 260px;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  color:var(--site-text);
  font-size:clamp(21px,3vw,25px);
}

.search-card input::placeholder{
  color:var(--site-muted);
}

.actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
  margin-top:28px;
}

.actions button,
.actions a{
  min-height:54px;
  border:1px solid var(--site-line);
  border-radius:16px;
  background:var(--site-surface);
  color:var(--site-text-strong);
  padding:0 24px;
  font-size:17px;
  font-weight:700;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:var(--site-soft-shadow);
  transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.actions button:hover,
.actions a:hover{
  text-decoration:none;
  transform:translateY(-1px);
  border-color:var(--site-line-strong);
}

.actions .primary-action{
  background:var(--site-red);
  border-color:var(--site-red);
  color:#ffffff;
}

.actions .primary-action:hover{
  background:var(--site-red-hover);
  border-color:var(--site-red-hover);
}

.trust-copy{
  width:min(760px,100%);
  margin-top:12px;
  padding:0 12px;
  text-align:center;
  color:var(--site-muted);
  font-size:18px;
  line-height:1.7;
}

.trust-copy p{margin:0}
.trust-copy p+p{margin-top:10px}

.search-hubs{
  width:min(1080px,100%);
  margin-top:34px;
  display:grid;
  gap:20px;
}

.search-hubs-head{
  width:min(760px,100%);
  margin:0 auto;
  text-align:center;
}

.search-hubs-kicker{
  margin:0 0 8px;
  color:var(--site-red);
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.search-hubs-head h2{
  margin:0;
  color:var(--site-text-strong);
  font-size:clamp(28px,4vw,40px);
  letter-spacing:-.06em;
}

.search-hubs-head p:last-child{
  margin:10px 0 0;
  color:var(--site-muted);
  font-size:16px;
  line-height:1.7;
}

.search-hub-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}

.search-hub-card{
  display:grid;
  gap:10px;
  min-height:148px;
  padding:20px;
  border:1px solid var(--site-panel-border);
  border-radius:24px;
  background:var(--site-surface-strong);
  box-shadow:var(--site-soft-shadow);
  backdrop-filter:blur(16px);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.search-hub-card:hover{
  text-decoration:none;
  transform:translateY(-2px);
  border-color:var(--site-line-strong);
  background:var(--site-surface);
}

.search-hub-card strong{
  color:var(--site-text-strong);
  font-size:18px;
  letter-spacing:-.03em;
}

.search-hub-card span{
  color:var(--site-muted);
  font-size:14px;
  line-height:1.65;
}

.footer{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto 20px;
  border:1px solid var(--site-panel-border);
  border-radius:24px;
  background:var(--site-surface-strong);
  box-shadow:var(--site-soft-shadow);
  backdrop-filter:blur(18px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
  padding:18px 24px;
}

.footer nav{
  display:flex;
  flex-wrap:wrap;
  gap:16px 22px;
}

.footer a,
.footer p{
  font-size:15px;
  color:var(--site-muted);
  margin:0;
}

.suggest-box{
  width:min(820px,100%);
  margin-top:14px;
  background:var(--site-surface);
  border:1px solid var(--site-line);
  border-radius:22px;
  box-shadow:var(--site-shadow);
  overflow:hidden;
  display:none;
}

.suggest-item{
  padding:15px 22px;
  cursor:pointer;
  font-size:17px;
  color:var(--site-text-strong);
}

.suggest-item:hover{
  background:var(--site-surface-muted);
}

@media(max-width:980px){
  .topbar{
    width:calc(100% - 32px);
    margin-top:16px;
    padding:14px 16px;
  }

  .page-shell{
    padding:0 16px 54px;
  }

  .hero{
    margin-top:38px;
    padding:38px 0 22px;
  }
}

@media(max-width:760px){
  a{
    font-size:15px;
  }

  .topbar{
    width:calc(100% - 24px);
    padding:12px;
    gap:10px;
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    align-items:center;
  }

  .nav-left,
  .topbar-tools{
    width:auto;
    min-width:0;
    flex-wrap:nowrap;
  }

  .nav-left{
    gap:6px;
  }

  .nav-right{
    flex:0 0 auto;
    width:auto;
  }

  .topbar-tools{
    margin-left:auto;
    gap:8px;
    justify-content:flex-end;
  }

  .nav-left a,
  .nav-right a{
    min-height:34px;
    padding:0 10px;
    font-size:13px;
    white-space:nowrap;
  }

  .hero{
    margin-top:28px;
    padding:32px 0 20px;
  }

  .logo{
    margin-bottom:22px;
  }

  .search-card{
    width:100%;
    display:grid;
    grid-template-columns:auto minmax(0, 1fr);
    gap:12px;
    padding:14px 16px;
  }

  .plus{
    font-size:32px;
    padding-right:4px;
  }

  .search-card input{
    min-width:0;
  }

  .actions{
    width:100%;
    gap:12px;
  }

  .actions button,
  .actions a{
    flex:1 1 220px;
  }

  .trust-copy{
    padding:0 6px;
    font-size:15px;
  }

  .search-hub-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .footer{
    width:calc(100% - 24px);
    align-items:flex-start;
    padding:16px;
  }
}

@media(max-width:540px){
  .topbar{
    width:calc(100% - 16px);
    margin-top:10px;
    padding:10px;
  }

  .nav-left,
  .nav-right,
  .topbar-tools{
    gap:6px;
    width:auto;
    flex-wrap:nowrap;
  }

  .nav-left a,
  .nav-right a{
    min-height:32px;
    padding:0 8px;
    font-size:12px;
  }

  .page-shell{
    padding:0 12px 42px;
  }

  .hero{
    margin-top:20px;
    padding:24px 0 18px;
  }

  .search-card input{
    flex-basis:180px;
    font-size:20px;
  }

  .actions button,
  .actions a{
    width:100%;
  }

  .trust-copy{
    width:100%;
    padding:0;
  }

  .search-hub-grid{
    grid-template-columns:minmax(0,1fr);
  }

  .footer{
    width:calc(100% - 16px);
    padding:14px 12px 18px;
  }
}
