:root{
  --bg: #ffffff;
  --bg-alt: #C4BDB2;
  --ink: #0b0b0b;
  --muted: #4c4c4c;
  --hairline: #dedede;
  --bg-med:#E3DCD1;
  --bg-dark: #757067;

  --wrap: 1200px;
  --narrow: 980px;

  --display: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--body);
  color:var(--ink);
  background:var(--bg);
}

/* Accessibility */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Layout helpers */
.wrap{
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}
.narrow{
  width: min(var(--narrow), 100%);
}
.center{ text-align:center; }

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.small{ font-size: 13px; color: var(--muted); }

/* =========================
   BUTTONS (square only)
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 14px 18px;
  border: 1px solid var(--hairline);
  background: transparent;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 0;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); text-decoration:none; }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--ink);
  color:#fff;
  border-color: var(--ink);
}
.btn-primary:hover{ background:#111; border-color:#111; }

.btn-secondary{
  background: transparent;
  color: var(--ink);
}
.btn-large{ padding: 16px 22px; font-size: 16px; }

/* =========================
   HEADER
   ========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #E3DCD1;
  padding: 14px 0;
  border-bottom: 10px solid var(--muted);
  box-shadow: 0 20px 10px rgba(0,0,0,.06);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo{
  width: 180px;
  height: auto;
  display: block;
}

.header__nav{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: .01em;
}

.header__nav a{
  padding: 10px 12px;
  border: 1px solid var(--bg-alt);
  text-decoration: none;
  color: var(--ink);
}

.header__nav a:hover{
  background: #000;
  color: #fff;
  border-color: #000;
  text-decoration: none;
}

.header__toggle{
  display: none;
  border: 1px solid var(--hairline);
  background: transparent;
  padding: 12px 14px;
  font-family: var(--display);
  font-weight: 700;
  cursor: pointer;
}

/* Mobile nav behavior */
@media (max-width: 860px){
  .nav-toggle{ 
    display: inline-flex; 
    width: 100%; 
    max-width: 520px; 
    justify-content: center;
  }
  
  .brand-nav{ 
    display: none; 
    width: 100%;
    margin-top: 14px;
  }
  
  .brand-nav.is-open{ 
    display: flex; 
    flex-direction: column;
  }

  .brand-header.is-scrolled .brand-header__inner{
    flex-direction: column;
    align-items: center;
  }
  
  .brand-header.is-scrolled .brand-nav{
    justify-content: center;
    width: 100%;
  }
}

/* Mobile nav behavior */
@media (max-width: 860px){
  .header__toggle{ 
    display: inline-flex; 
    justify-content: center;
  }
  
  .header__nav{ 
    display: none; 
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-top: 1px solid var(--hairline);
    padding: 20px;
    flex-direction: column;
  }
  
  .header__nav.is-open{ 
    display: flex;
  }
  
  .header__inner{
    flex-wrap: wrap;
  }
}

/* =========================
   HERO (editorial, big)
   ========================= */
.hero{
  padding: 56px 0 24px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: start;
}
.hero__text h1{
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  margin: 0 0 18px;
}
.hero-lead{
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.hero-meta{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}

.hero-image{
  margin:0;
  border: 1px solid var(--hairline);
  background: #fff;
}
.hero-image img{
  width:100%;
  height:auto;
  display:block;
}

@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
}

/* =========================
   Rail + Divider
   ========================= */
.rail{
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 900;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--hairline);
  padding: 10px;
}
.rail a{
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing:.06em;
  text-transform: uppercase;
  padding: 8px 10px;
  border: 1px solid var(--hairline);
}
.rail a:hover{
  background:#000;
  color:#fff;
  border-color:#000;
  text-decoration:none;
}
@media (max-width: 1100px){
  .rail{ display:none; }
}

.divider{
  padding: 70px 0 10px;
}
.divider span{
  display:block;
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}

/* =========================
   Section heads
   ========================= */
.section-head{
  margin: 0 0 28px;
}
.section-head h2{
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 3.2vw, 52px);
  margin: 0 0 10px;
}
.section-sub{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* =========================
   WHY mega section
   ========================= */
.mega{
  padding: 70px 0 90px;
}
.mega__head{
  margin-bottom: 32px;
}
.mega__title{
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1.06;
  margin: 0 0 10px;
}
.mega__lead{
  margin: 0;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.7;
}

/* pull grid (3 wide instead of 4) */
.pull-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 34px 0;
}
.pull{
  border: 1px solid var(--hairline);
  padding: 22px;
  background:#fff;
}
.pull__big{
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 6px;
}
.pull__small{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 980px){
  .pull-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .pull-grid{ grid-template-columns: 1fr; }
}

/* challenge/solution panels */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0;
}
@media (max-width: 980px){
  .two-col{ grid-template-columns: 1fr; }
}

.panel{
  border: 1px solid var(--hairline);
  padding: 28px;
}
.panel h3{
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
}
.panel__sub{
  margin: 0 0 16px;
  color: var(--muted);
}
.panel--light{
  background:#fff;
}
.panel--ink{
  background:#0b0b0b;
  color:#fff;
  border-color:#0b0b0b;
}
.panel--ink .panel__sub{ color: rgba(255,255,255,.75); }

/* large lists */
.big-list{
  margin: 0;
  padding-left: 18px;
  display:grid;
  gap: 10px;
  font-size: 16px;
  line-height: 1.55;
}
.big-list--invert{ color: rgba(255,255,255,.92); }

/* CTA strip */
.cta-strip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  border: 1px solid var(--hairline);
  padding: 22px;
  background: var(--bg-alt);
  margin-top: 32px;
}
.cta-strip h3{
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  margin: 0 0 6px;
}
.cta-strip p{ margin:0; color: var(--muted); }
.cta-strip__actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 860px){
  .cta-strip{ flex-direction: column; align-items: flex-start; }
}

/* =========================
   Advantages (accordion)
   ========================= */
.advantages{
  padding: 90px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.accordion{
  display:grid;
  gap: 12px;
}
details{
  border: 1px solid var(--hairline);
  background:#fff;
  padding: 0;
}
summary{
  list-style:none;
  cursor:pointer;
  padding: 18px 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  position: relative;
  padding-right: 50px;
}
summary::-webkit-details-marker{ display:none; }
summary::after{
  content: '▼';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: transform 0.2s ease;
}
details[open] summary::after{
  transform: translateY(-50%) rotate(180deg);
}
.accordion__body{
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.7;
}
.accordion__body p{
  margin: 0 0 12px;
}
.accordion__body p:last-child{
  margin-bottom: 0;
}
.micro-note{
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.micro-note.center{ text-align:center; }

/* =========================
   Features (4 wide grid)
   ========================= */
.features{
  padding: 100px 0;
}
.section-head.center{ text-align:center; }

.feature-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.feature-card{
  border: 1px solid var(--hairline);
  padding: 26px;
  background:#fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.2s ease;
}
.feature-card:hover{
  background: #E3DCD1;
  text-decoration: none;
}
.feature-card h3{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
.feature-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 980px){
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .feature-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Industries (4 wide)
   ========================= */
.industries{
  padding: 90px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.industry-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.industry-card{
  border: 1px solid var(--hairline);
  padding: 26px;
  background:#fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.2s ease;
}
.industry-card:hover{
  background: #E3DCD1;
  text-decoration: none;
}
.industry-card h3{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
.industry-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
@media (max-width: 980px){
  .industry-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .industry-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Pricing
   ========================= */
.pricing{
  padding: 100px 0;
}

.pricing-section-title{
  font-family: var(--display);
  font-weight: 900;
  font-size: 32px;
  text-align: center;
  margin: 40px 0 10px;
}

.pricing-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.pricing-grid--three{
  grid-template-columns: repeat(3, 1fr);
}

.price-card{
  border: 1px solid var(--hairline);
  padding: 26px;
  background:#fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: background 0.2s ease, transform 0.2s ease;
}
.price-card:hover{
  background: #E3DCD1;
}
.price-card--featured{
  border-color:#000;
  border-width: 2px;
  background: var(--bg-alt);
}
.price-card--featured:hover{
  transform: scale(1.05);
  background: var(--bg-alt);
}
.price-card .btn{ 
  width: 100%;
  margin-top: auto;
}

.badge{
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 6px 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tier{
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}
.tagline{
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
}
.desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.price{
  margin: 0;
  display:flex;
  align-items: baseline;
  gap: 10px;
}
.money{
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.per{
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .02em;
}
.check{
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--ink);
  display:grid;
  gap: 8px;
  line-height: 1.5;
  font-size: 14px;
}
.check li{ 
  color: var(--ink);
}

/* Agency Card */
.agency-card{
  text-align: center;
  border: 2px solid #000;
  padding: 40px;
  background: var(--bg-alt);
  margin: 0 auto;
  max-width: 600px;
}
.agency-card h3{
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  margin: 0 0 16px;
}
.agency__price{
  font-family: var(--display);
  font-weight: 900;
  font-size: 48px;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.agency__sub{
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 1100px){
  .pricing-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px){
  .pricing-grid{ grid-template-columns: 1fr; }
}

/* =========================
   FAQ
   ========================= */
.faq{
  padding: 90px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--hairline);
}
.faq-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.faq-item{
  border: 1px solid var(--hairline);
  padding: 26px;
  background:#fff;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.2s ease;
}
.faq-item:hover{
  background: #E3DCD1;
  text-decoration: none;
}
.faq-item h3{
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
}
.faq-item p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 900px){
  .faq-grid{ grid-template-columns: 1fr; }
}

/* =========================
   Final section
   ========================= */
.final{
  padding: 110px 0;
}
.final h2{
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 3.5vw, 54px);
  margin: 0 0 10px;
}
.final p{
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================
   Footer (trust 4-wide)
   ========================= */
.footer{
  border-top: 10px solid var(--muted);
  padding: 60px 0 40px;
  background: #E3DCD1;
}
.trust{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.trust__item{
  border: 1px solid var(--hairline);
  padding: 22px;
  background: #fff;
}
.trust__title{
  font-family: var(--display);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
}
.trust__num{
  font-size: 26px;
  letter-spacing: -0.01em;
}
.trust__desc{
  color: var(--muted);
  line-height: 1.6;
}
@media (max-width: 1100px){
  .trust{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .trust{ grid-template-columns: 1fr; }
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
  margin-top: 10px;
}
.footer-col h3{
  font-family: var(--display);
  font-weight: 900;
  margin: 0 0 10px;
  font-size: 16px;
}
.footer-logo{
  width: min(240px, 100%);
  height:auto;
  display:block;
  margin-bottom: 12px;
}
.footer-desc{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 8px;
}
.footer-links a{
  color: var(--ink);
  text-decoration:none;
}
.footer-links a:hover{ text-decoration: underline; }

.badges{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.footer .badge{
  border: 1px solid var(--hairline);
  padding: 8px 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  position: static;
  transform: none;
}

.footer-bottom{
  border-top: 1px solid var(--hairline);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p{
  margin: 0;
}
.footer-bottom__links a{
  color: var(--muted);
  text-decoration:none;
}
.footer-bottom__links a:hover{ text-decoration: underline; }

@media (max-width: 1100px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   Floating to-top arrow
   ========================= */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  display:grid;
  place-items:center;
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,.95);
  font-family: var(--display);
  font-weight: 900;
  border-radius: 0;
  z-index: 950;
}
.to-top:hover{
  background:#000;
  color:#fff;
  border-color:#000;
  text-decoration:none;
}