:root{
  --bg:#efede6;
  --bg-soft:#f5f3ec;
  --surface:#f7f5ef;
  --surface-2:#ece8dd;
  --ink:#142016;
  --ink-soft:#233125;
  --muted:#5c685c;
  --line:rgba(20,32,22,.08);
  --line-strong:rgba(20,32,22,.16);

  --dark:#111a12;
  --dark-2:#18231a;
  --dark-3:#0b120c;

  --lime:#c8f31d;
  --lime-soft:#d8f76a;
  --olive:#7f980d;
  --accent:#8cab18;

  --white:#ffffff;
  --shadow:0 22px 60px rgba(17,26,18,.08);
  --shadow-soft:0 12px 28px rgba(17,26,18,.06);

  --radius:24px;
  --radius-sm:16px;
  --max:1200px;
}

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

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at top center, rgba(200,243,29,.08), transparent 20%),
    linear-gradient(180deg, #f3f0e8 0%, #efede6 100%);
  line-height:1.65;
}

img{max-width:100%;display:block}
a{color:var(--ink);text-decoration:none}
p{margin:0 0 1rem}
ul,ol{margin:0 0 1rem;padding-left:1.15rem}
h1,h2,h3,h4{
  margin:0 0 .9rem;
  line-height:1.08;
  color:var(--ink);
  letter-spacing:-.04em;
}
h1{font-size:clamp(2.5rem, 5vw, 5.1rem)}
h2{font-size:clamp(1.9rem, 3vw, 3.25rem)}
h3{font-size:clamp(1.12rem, 2vw, 1.42rem)}
small,.eyebrow,.meta{color:var(--muted)}

.container{
  width:min(var(--max), calc(100% - 2rem));
  margin:0 auto;
}

.section{padding:86px 0}
.section-tight{padding:62px 0}

.section-dark{
  background:
    radial-gradient(circle at 20% 20%, rgba(200,243,29,.08), transparent 22%),
    radial-gradient(circle at 85% 10%, rgba(200,243,29,.05), transparent 20%),
    linear-gradient(145deg, var(--dark-3) 0%, var(--dark) 52%, #132015 100%);
  color:rgba(255,255,255,.9);
}
.section-dark h1,
.section-dark h2,
.section-dark h3{color:#fff}
.section-dark p,
.section-dark li,
.section-dark .lead,
.section-dark .eyebrow{color:rgba(255,255,255,.78)}
.section-dark .kicker{color:var(--lime)}
.section-dark .card{
  background:rgba(255,255,255,.05);
  border-color:rgba(200,243,29,.14);
  box-shadow:none;
}
.section-dark .card h3{color:#fff}
.section-dark .card p,
.section-dark .card li{color:rgba(255,255,255,.82)}
.section-dark .icon-badge{
  background:rgba(200,243,29,.08);
  border-color:rgba(200,243,29,.16);
  color:var(--lime);
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:linear-gradient(90deg, #1a2419 0%, #202a1f 50%, #1a2419 100%);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.navbar{
  min-height:82px;
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:1.25rem;
  position:relative;
}

.brand{
  display:flex;
  align-items:center;
  gap:.85rem;
  font-weight:800;
  color:#fff;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-size:1rem;
  font-weight:800;
  color:var(--lime);
  background:rgba(200,243,29,.08);
  border:1px solid rgba(200,243,29,.24);
}

.brand-text{
  font-size:1.08rem;
  color:#fff;
}
.brand-text span{color:var(--lime)}

.nav-toggle{
  display:none;
}

.menu-toggle{
  display:none;
}

.nav-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.25rem;
  min-width:0;
}

.nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:1rem 1.5rem;
  align-items:center;
  justify-content:center;
}

.nav-links a{
  color:rgba(255,255,255,.8);
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.02em;
}

.nav-links a:hover{
  color:var(--lime);
}

.nav-cta{
  display:flex;
  gap:.75rem;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  min-height:52px;
  padding:0 1.2rem;
  border-radius:14px;
  border:1px solid transparent;
  font-weight:700;
  letter-spacing:-.01em;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
  cursor:pointer;
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 34px rgba(17,26,18,.12);
}
.btn-primary{
  background:var(--lime);
  color:var(--ink);
  border-color:var(--lime);
}
.btn-primary:hover{
  background:var(--lime-soft);
  border-color:var(--lime-soft);
}
.btn-secondary{
  background:transparent;
  color:var(--ink);
  border-color:rgba(20,32,22,.16);
}
.btn-secondary:hover{
  background:#fff;
  color:var(--ink);
}
.btn-light{
  background:var(--lime);
  color:var(--ink);
  border-color:var(--lime);
}
.btn-outline{
  background:rgba(255,255,255,.04);
  color:#fff;
  border-color:rgba(255,255,255,.14);
}
.nav-cta .btn-outline{
  background:var(--lime);
  color:var(--ink);
  border-color:var(--lime);
  box-shadow:none;
}
.btn-sm{min-height:44px;padding:0 1rem;font-size:.94rem}

.hero{
  position:relative;
  overflow:hidden;
  padding:90px 0 64px;
  background:linear-gradient(180deg, #f2efe7 0%, #ece8de 100%);
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(242,239,231,.98) 0%, rgba(242,239,231,.96) 42%, rgba(242,239,231,.78) 62%, rgba(242,239,231,.34) 100%),
    url("https://xill.ai/images/hair1.jpg") center right / cover no-repeat;
  opacity:1;
}
.hero > .container{
  position:relative;
  z-index:1;
}
.hero .grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:2rem;
  align-items:center;
}
.hero-copy{max-width:720px}
.hero p{color:var(--muted)}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin-top:1.35rem;
}
.hero-note{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:1.15rem;
}
.hero-note span,
.pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  border-radius:999px;
  padding:.52rem .92rem;
  background:rgba(255,255,255,.78);
  color:var(--ink-soft);
  border:1px solid rgba(20,32,22,.09);
  font-size:.92rem;
  font-weight:600;
  backdrop-filter:blur(4px);
}

.hero-card,
.card,
.stat,
.cta-box,
.faq-item,
.media-card,
.article-card,
.legal-card{
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.hero-card{
  padding:1rem;
  background:rgba(14,22,15,.94);
  border-color:rgba(200,243,29,.1);
  box-shadow:0 20px 50px rgba(17,26,18,.18);
}
.hero-card img{
  width:100%;
  height:400px;
  object-fit:cover;
  border-radius:18px;
}
.hero-panel{
  margin-top:1rem;
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:.8rem;
}
.stat{
  padding:1rem 1rem 1.05rem;
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.08);
  box-shadow:none;
}
.stat strong{
  display:block;
  font-size:1.55rem;
  line-height:1;
  margin-bottom:.48rem;
  color:var(--lime);
}
.stat span{
  display:block;
  color:rgba(255,255,255,.8);
  font-size:.95rem;
}

.kicker{
  display:inline-block;
  margin-bottom:1rem;
  font-size:.86rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--olive);
}
.center{text-align:center}
.lead{
  font-size:1.08rem;
  color:var(--muted);
  max-width:820px;
}
.center .lead{margin-left:auto;margin-right:auto}

.grid-2{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));gap:1.4rem}
.grid-3{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:1.4rem}
.grid-4{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr));gap:1rem}

.card{
  padding:1.45rem;
}
.card h3{margin-bottom:.55rem}
.card p,
.card li{color:var(--muted)}
.card h3 a{color:inherit}
.card h3 a:hover{color:var(--olive)}

.icon-badge{
  width:54px;
  height:54px;
  border-radius:16px;
  display:grid;
  place-items:center;
  margin-bottom:1rem;
  font-weight:800;
  color:var(--olive);
  background:rgba(140,171,24,.08);
  border:1px solid rgba(140,171,24,.12);
}

.media-card{
  overflow:hidden;
  background:rgba(255,255,255,.76);
}
.media-card img{
  width:100%;
  height:100%;
  min-height:320px;
  object-fit:cover;
}
.media-content{
  padding:1.4rem;
}
.media-caption{
  color:var(--muted);
  font-size:.96rem;
}

.cta-box{
  padding:2rem;
  background:
    linear-gradient(135deg, rgba(200,243,29,.08), rgba(255,255,255,.8)),
    var(--surface);
}
.cta-box p{color:var(--muted)}
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
  margin-top:1.2rem;
}

.steps{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1.2rem;
}
.step{
  padding:1.35rem;
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.72);
  box-shadow:var(--shadow-soft);
}
.step-number{
  width:42px;
  height:42px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:800;
  margin-bottom:.9rem;
  color:var(--olive);
  background:rgba(140,171,24,.08);
  border:1px solid rgba(140,171,24,.12);
}
.step p{color:var(--muted)}

.feature-list{
  display:grid;
  gap:.8rem;
  margin-top:1.1rem;
}
.feature-list li{
  list-style:none;
  position:relative;
  padding-left:1.4rem;
  margin:0;
  color:var(--muted);
}
.feature-list li::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--olive);
  position:absolute;
  left:0;
  top:.62rem;
}

.page-hero{
  padding:62px 0 40px;
  background:
    linear-gradient(180deg, rgba(245,243,236,.96), rgba(239,237,230,.96));
  border-bottom:1px solid var(--line);
}
.breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin-bottom:1rem;
  font-size:.94rem;
  color:var(--muted);
}
.breadcrumbs a{color:var(--muted)}
.page-hero .lead{max-width:900px}

.article-wrap{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:1.5rem;
}
.article-card{
  padding:1.7rem;
  background:rgba(255,255,255,.72);
}
.article-card p,
.article-card li{color:var(--muted)}
.article-card h2{margin-top:1.75rem;margin-bottom:.8rem}
.article-card h3{margin-top:1.2rem}
.article-card blockquote{
  margin:1.4rem 0;
  padding:1rem 1.2rem;
  border-left:4px solid var(--olive);
  background:rgba(140,171,24,.06);
  border-radius:0 16px 16px 0;
  color:var(--ink);
}
.article-card .feature-list{margin-bottom:1rem}

.sidebar{
  display:grid;
  gap:1rem;
  align-content:start;
}
.sidebar .card{padding:1.25rem}
.sidebar h3{margin-bottom:.6rem}
.sidebar a{
  color:var(--ink);
  font-weight:600;
}
.sidebar ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:.65rem;
}
.sidebar li{
  padding-bottom:.65rem;
  border-bottom:1px solid var(--line);
}
.sidebar li:last-child{border-bottom:none;padding-bottom:0}

.faq-grid{
  display:grid;
  gap:1rem;
  margin-top:1.4rem;
}
.faq-item{
  padding:1rem 1.15rem;
  background:rgba(255,255,255,.76);
}
.faq-item summary{
  list-style:none;
  cursor:pointer;
  font-weight:700;
  color:var(--ink);
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item p{
  margin-top:.8rem;
  color:var(--muted);
}

.banner{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.banner img{
  width:100%;
  height:340px;
  object-fit:cover;
}
.banner-caption{
  padding:1rem 1.2rem;
  background:#fff;
  color:var(--muted);
}

.compare{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:1.2rem;
}

.notice{
  padding:1rem 1.1rem;
  border-radius:18px;
  border:1px solid rgba(140,171,24,.18);
  background:rgba(200,243,29,.08);
  color:var(--ink-soft);
}

.mini-links{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}
.mini-links a{
  display:inline-flex;
  padding:.52rem .8rem;
  border-radius:999px;
  border:1px solid var(--line-strong);
  color:var(--ink);
  background:#fff;
  font-weight:600;
  font-size:.93rem;
}

.site-footer{
  margin-top:24px;
  background:linear-gradient(180deg, #050905 0%, #0b120c 100%);
  color:rgba(255,255,255,.8);
  border-top:1px solid rgba(255,255,255,.06);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr 1fr;
  gap:1.5rem;
  padding:68px 0 30px;
}
.footer-grid h3{
  color:var(--lime);
  font-size:1rem;
  margin-bottom:.8rem;
}
.footer-grid p{color:rgba(255,255,255,.7)}
.footer-links{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.6rem;
}
.footer-links a{color:rgba(255,255,255,.8)}
.footer-links a:hover{color:var(--lime)}
.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  padding:18px 0 28px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.62);
  font-size:.95rem;
}
.footer-bottom a{color:rgba(255,255,255,.84)}

.legal-card{
  padding:1.7rem;
  background:rgba(255,255,255,.72);
}
.legal-card p,
.legal-card li{color:var(--muted)}
.legal-card h2{margin-top:1.4rem}

.table-wrap{
  overflow:auto;
  border:1px solid var(--line);
  border-radius:18px;
}
table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
}
th,td{
  padding:1rem;
  border-bottom:1px solid var(--line);
  text-align:left;
  vertical-align:top;
}
th{
  background:rgba(140,171,24,.06);
  color:var(--ink);
  font-size:.95rem;
}
tr:last-child td{border-bottom:none}

@media (max-width:1100px){
  .hero .grid,
  .article-wrap,
  .footer-grid{
    grid-template-columns:1fr;
  }
  .grid-4{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (max-width:860px){
  .navbar{
    grid-template-columns:auto auto;
    min-height:74px;
    padding:14px 0;
  }

  .menu-toggle{
    display:inline-flex;
    width:48px;
    height:48px;
    border-radius:14px;
    align-items:center;
    justify-content:center;
    gap:4px;
    flex-direction:column;
    cursor:pointer;
    border:1px solid rgba(255,255,255,.10);
    background:rgba(255,255,255,.04);
    justify-self:end;
  }

  .menu-toggle span{
    width:20px;
    height:2px;
    border-radius:999px;
    background:#fff;
    transition:transform .2s ease, opacity .2s ease;
  }

  .nav-toggle:checked + .menu-toggle span:nth-child(1){
    transform:translateY(6px) rotate(45deg);
  }

  .nav-toggle:checked + .menu-toggle span:nth-child(2){
    opacity:0;
  }

  .nav-toggle:checked + .menu-toggle span:nth-child(3){
    transform:translateY(-6px) rotate(-45deg);
  }

  .nav-panel{
    position:absolute;
    top:calc(100% + 10px);
    left:0;
    right:0;
    display:block;
    background:linear-gradient(180deg, #132015 0%, #0d170f 100%);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    box-shadow:0 22px 60px rgba(0,0,0,.24);
    max-height:0;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(-10px);
    padding:0 1rem;
    transition:max-height .28s ease, opacity .2s ease, transform .2s ease, padding .2s ease;
  }

  .nav-toggle:checked ~ .nav-panel{
    max-height:520px;
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
    padding:1rem;
  }

  .nav-links{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    justify-content:stretch;
  }

  .nav-links a{
    display:block;
    width:100%;
    padding:.9rem 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:1rem;
  }

  .nav-cta{
    padding-top:1rem;
  }

  .nav-cta .btn{
    width:100%;
  }

  .grid-3,
  .steps,
  .grid-2,
  .compare{
    grid-template-columns:1fr;
  }
}

@media (max-width:640px){
  .section{padding:68px 0}
  .hero{padding:74px 0 50px}
  .hero::before{
    background:
      linear-gradient(180deg, rgba(242,239,231,.96) 0%, rgba(242,239,231,.92) 50%, rgba(242,239,231,.88) 100%),
      url("https://xill.ai/images/hair1.jpg") center / cover no-repeat;
  }
  .hero-card img{height:300px}
  .banner img{height:240px}
  .grid-4{grid-template-columns:1fr}
  .cta-actions,
  .hero-actions{flex-direction:column;align-items:stretch}
  .btn{width:100%}
}