:root{
  --bg: #FAFAF8;
  --bg-alt: #F2F1ED;
  --white: #FFFFFF;
  --ink: #0A0A0B;
  --ink-soft: #4A4A4D;
  --ink-faint: #8A8A8C;
  --accent: #FF5A36;
  --accent-dim: #FFE4DA;
  --border: rgba(10,10,11,0.12);
  --border-soft: rgba(10,10,11,0.07);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --body: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;}

.wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn--solid{ background: var(--ink); color: var(--bg); }
.btn--solid:hover{ background: #232326; }
.btn--outline{ background: transparent; border-color: var(--border); color: var(--ink); }
.btn--outline:hover{ border-color: var(--ink); }
.btn--light{ background: var(--bg); color: var(--ink); }
.btn--light:hover{ background: var(--white); }
.btn--lg{ padding: 16px 30px; font-size: 0.84rem; }

.link-plain{ font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); padding: 8px 14px; }
.link-plain:hover{ color: var(--ink); }

.btn--dashed{
  background: transparent;
  border: 1.5px dashed var(--border);
  color: var(--ink);
}
.btn--dashed:hover{ border-color: var(--ink); }

.eyebrow{
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

/* ---------- Nav ---------- */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 28px 0;
}
.nav__pill{
  max-width: 900px;
  margin: 0 auto;
  display:flex;
  align-items:center;
  gap: 32px;
  padding: 10px 10px 10px 20px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: 0 12px 30px -18px rgba(10,10,11,0.25);
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand__mark svg{ width: 28px; height: 28px; display:block; }
.brand__word{ font-family: var(--sans); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; }

.nav__dots{
  margin-left: auto; background: var(--bg-alt); border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
  gap: 3px; align-items: center; justify-items: center; padding: 13px;
  transition: background .15s ease, transform .15s ease;
}
.nav__dots:hover{ background: var(--border); }
.nav__dots span{ width: 3.5px; height: 3.5px; border-radius: 50%; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav__dots[aria-expanded="true"]{ background: var(--ink); }
.nav__dots[aria-expanded="true"] span{ background: var(--bg); }

.nav__mobile{
  display:none; flex-direction: column; gap: 4px;
  max-width: 900px; margin: 10px auto 0; padding: 12px 20px 18px;
  background: var(--white); border: 1px solid var(--border-soft); border-radius: 20px;
}
.nav__mobile a{ padding: 10px 4px; color: var(--ink-soft); font-weight: 500; }
.nav__mobile .btn{ margin-top: 8px; align-self: flex-start; }
.nav__mobile.open{ display:flex; }

/* ---------- Hero ---------- */
.hero{ position: relative; padding: 150px 0 140px; overflow: hidden; }
.hero__glow{
  position: absolute;
  top: -160px; left: -10%;
  width: 110%;
  height: 360px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(100deg,
    rgba(173, 216, 255, 0.55) 0%,
    rgba(255, 214, 165, 0.45) 35%,
    rgba(255, 200, 220, 0.4) 60%,
    rgba(250, 250, 248, 0) 85%);
  filter: blur(50px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}
.hero__content{ position: relative; z-index: 1; text-align: left; }
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  box-shadow: 0 4px 14px -8px rgba(10,10,11,0.2);
}
.hero__title{
  font-family: var(--sans);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  max-width: 720px;
  margin: 0 0 22px;
}
.hero__sub{
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 40px;
}
.hero__cta{ display:flex; gap: 12px; justify-content: flex-start; flex-wrap: wrap; }

/* ---------- Section heads ---------- */
.section-head{ max-width: 620px; margin: 0 auto 52px; text-align: center; }
.section-head h2{
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.section-head__sub{ color: var(--ink-soft); font-size: 1rem; margin-top: 16px; }

/* ---------- Services ---------- */
.services{ padding: 100px 0 20px; }
.service-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card{
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 40px 36px;
}
.service-card--featured{
  border-color: var(--ink);
  box-shadow: 0 30px 70px -35px rgba(10,10,11,0.3);
}
.service-card__num{
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}
.service-card h3{
  font-family: var(--sans);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.service-card__desc{ color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; margin-bottom: 26px; }
.service-card ul{ display:flex; flex-direction:column; gap: 12px; }
.service-card li{ font-size: 0.9rem; color: var(--ink-soft); padding-left: 22px; position:relative; }
.service-card li::before{ content:"→"; position:absolute; left:0; color: var(--accent); font-weight:700; }

/* ---------- Process ---------- */
.process{ padding: 110px 0 20px; }
.steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step{ border-top: 2px solid var(--ink); padding-top: 22px; }
.step__chip{ font-family: var(--mono); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-faint); }
.step h3{ font-family: var(--sans); font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 700; margin: 14px 0 10px; }
.step p{ color: var(--ink-soft); font-size: 0.92rem; line-height:1.6; max-width: 300px; }

/* ---------- CTA ---------- */
.cta{ padding: 90px 0 130px; }
.cta__card{ background: var(--white); border: 1px solid var(--border-soft); border-radius: 24px; padding: 80px 40px; text-align: center; }
.cta__card h2{ font-family: var(--sans); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -0.03em; line-height: 1.05; }
.cta__card > p{ color: var(--ink-soft); margin: 18px 0 30px; font-size: 1rem; max-width: 460px; margin-left:auto; margin-right:auto; }
.cta__card .btn{ margin-bottom: 16px; }
.cta__note{ font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--ink-faint); }

/* ---------- Footer ---------- */
.footer{ border-top: 1px solid var(--border-soft); padding-top: 60px; }
.footer__inner{ display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 44px; }
.footer__brand p{ color: var(--ink-faint); font-size: 0.88rem; margin-top: 16px; max-width: 260px; line-height:1.6; }
.footer__col h4{ font-family: var(--mono); font-size: 0.68rem; letter-spacing:0.1em; color: var(--ink-faint); margin-bottom: 16px; font-weight: 600; }
.footer__col a{ display:block; color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 12px; }
.footer__col a:hover{ color: var(--ink); }
.footer__bottom{ border-top: 1px solid var(--border-soft); padding: 22px 28px; color: var(--ink-faint); font-family: var(--mono); font-size: 0.72rem; }

/* ---------- Modal ---------- */
body.modal-open{ overflow: hidden; }
.modal-overlay{ display: none; position: fixed; inset: 0; z-index: 100; background: rgba(10,10,11,0.6); align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open{ display: flex; }
.modal{ position: relative; background: var(--white); border-radius: 20px; max-width: 440px; width: 100%; padding: 40px 36px; box-shadow: 0 40px 90px -20px rgba(10,10,11,0.4); }
.modal__close{ position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border: none; background: var(--bg); border-radius: 50%; font-size: 1.2rem; line-height: 1; color: var(--ink-soft); cursor: pointer; }
.modal__close:hover{ background: var(--border-soft); color: var(--ink); }
.modal h3{ font-family: var(--sans); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; margin: 8px 0 10px; }
.modal__sub{ color: var(--ink-soft); font-size: 0.92rem; line-height: 1.5; margin-bottom: 24px; }
.modal__form{ display:flex; flex-direction: column; gap: 16px; }
.modal__form label{ display:flex; flex-direction: column; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.modal__form label span{ font-weight: 400; color: var(--ink-faint); }
.modal__form input{ border: 1px solid var(--border); border-radius: 6px; padding: 11px 14px; font-family: var(--body); font-size: 0.95rem; color: var(--ink); background: var(--bg); outline: none; }
.modal__form input:focus{ border-color: var(--accent); background: var(--white); }
.modal__form .btn{ justify-content: center; margin-top: 6px; }

/* ---------- Scroll reveal ---------- */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .service-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; gap: 36px; }
  .footer__inner{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .hero{ padding-top: 64px; }
  .footer__inner{ grid-template-columns: 1fr; }
}
