/* ==========================================================================
   Vawnai
   Theme: blue / black / white
   ========================================================================== */

:root {
  /* Core palette */
  --black:        #07090D;
  --ink:          #0C1017;
  --ink-2:        #121824;
  --ink-3:        #1A2333;
  --line:         #232E42;

  --white:        #FFFFFF;
  --off-white:    #F5F7FB;
  --grey-100:     #E4E9F2;
  --grey-300:     #B4BECE;
  --grey-500:     #7C8AA0;

  --blue:         #2E6BFF;
  --blue-bright:  #4F8AFF;
  --blue-deep:    #0B3FA8;
  --blue-tint:    #EAF1FF;

  /* Roles */
  --bg:           var(--white);
  --fg:           var(--ink);
  --muted:        #55637A;
  --accent:       var(--blue);

  /* Layout */
  --wrap:         1160px;
  --wrap-narrow:  760px;
  --radius:       14px;
  --radius-lg:    22px;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(7, 9, 13, .06), 0 4px 12px rgba(7, 9, 13, .05);
  --shadow-md: 0 2px 6px rgba(7, 9, 13, .07), 0 18px 40px rgba(7, 9, 13, .09);
  --shadow-blue: 0 14px 34px rgba(46, 107, 255, .28);
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .55em;
  line-height: 1.15;
  letter-spacing: -0.021em;
  font-weight: 700;
  color: var(--ink);
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); letter-spacing: -0.032em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); letter-spacing: -0.026em; }
h3 { font-size: clamp(1.16rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
li:last-child { margin-bottom: 0; }

hr { border: 0; border-top: 1px solid var(--grey-100); margin: 3rem 0; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.section--dark {
  background: var(--black);
  color: var(--grey-300);
}
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--tinted { background: var(--off-white); }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.section--dark .section-head p { color: var(--grey-300); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.section--dark .eyebrow { color: var(--blue-bright); }

.lede {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
}
.section--dark .lede { color: var(--grey-300); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .92rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: .97rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease,
              border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--primary:hover { background: var(--blue-bright); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: var(--grey-100);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-deep); }

.btn--on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
}
.btn--on-dark:hover { border-color: var(--white); background: rgba(255,255,255,.06); color: var(--white); }

.btn--white { background: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--blue-tint); color: var(--blue-deep); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  color: var(--blue-deep);
}
.arrow-link span { transition: transform .18s ease; }
.arrow-link:hover span { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--grey-100);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }

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

.nav a {
  padding: .55rem .85rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .16s ease, background-color .16s ease;
}
.nav a:hover { color: var(--ink); background: var(--off-white); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav .btn { margin-left: .6rem; padding: .68rem 1.25rem; }
.nav .btn:hover { background: var(--blue-bright); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--grey-100);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  position: relative;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: 1rem 24px 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--grey-100);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .6rem; font-size: 1.02rem; }
  .nav .btn { margin: .6rem 0 0; justify-content: center; padding: .9rem 1.25rem; }
  .site-header__inner { position: relative; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--grey-300);
  padding: clamp(4rem, 10vw, 7.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle at center,
              rgba(46, 107, 255, .38) 0%,
              rgba(46, 107, 255, .10) 45%,
              transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero h1 { color: var(--white); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--blue-bright); }

.hero__lede {
  max-width: 56ch;
  font-size: clamp(1.06rem, 1.9vw, 1.3rem);
  color: var(--grey-300);
}

.hero--page { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.hero--page h1 { max-width: 20ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.10);
}
.hero__meta div { min-width: 150px; }
.hero__meta dt {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: .3rem;
}
.hero__meta dd { margin: 0; color: var(--white); font-weight: 500; font-size: .97rem; }

.breadcrumb {
  font-size: .85rem;
  color: var(--grey-500);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--grey-300); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span { padding: 0 .45rem; opacity: .5; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.9rem;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card--link:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 107, 255, .35);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 23px; height: 23px; }

.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card .arrow-link { margin-top: auto; padding-top: 1.4rem; }

.card__stretch::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.card--dark {
  background: var(--ink-2);
  border-color: var(--line);
}
.card--dark p { color: var(--grey-300); }
.card--dark .card__icon { background: rgba(46, 107, 255, .16); color: var(--blue-bright); }

/* Numbered process steps */

.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.steps--2col { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.step {
  counter-increment: step;
  position: relative;
  padding: 1.6rem 1.75rem 1.6rem 4.6rem;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  background: var(--white);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.7rem;
  top: 1.6rem;
  font-size: .95rem;
  font-weight: 800;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

.section--dark .step { background: var(--ink-2); border-color: var(--line); }
.section--dark .step p { color: var(--grey-300); }
.section--dark .step::before { color: var(--blue-bright); }

/* Checklist */

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin: 0;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--blue);
  border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.checklist strong { color: var(--ink); font-weight: 600; }
.section--dark .checklist li { color: var(--grey-300); }
.section--dark .checklist strong { color: var(--white); }
.section--dark .checklist li::before { border-color: var(--blue-bright); }

/* Stat strip */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.stat__value {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat__label { font-size: .95rem; color: var(--grey-300); margin: 0; }

/* Split layout */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.split--center { align-items: center; }

/* Panel */

.panel {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--grey-100);
}
.panel--blue {
  background: linear-gradient(150deg, var(--blue-deep), var(--blue));
  border: 0;
  color: #fff;
}
.panel--blue h2, .panel--blue h3 { color: #fff; }
.panel--blue p { color: rgba(255,255,255,.88); }

.panel--outline { background: transparent; }

/* Tag row */

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.tags li {
  margin: 0;
  padding: .38rem .8rem;
  border-radius: 999px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  font-size: .84rem;
  font-weight: 600;
}
.section--dark .tags li { background: rgba(46,107,255,.16); color: var(--blue-bright); }

/* Prose (service body copy) */

.prose h2 { margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }
.prose > p { color: var(--muted); }
.prose > ul { color: var(--muted); }

/* Sticky sidebar for service pages */

.layout-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .layout-aside { grid-template-columns: 1fr; }
}
.aside-sticky { position: sticky; top: 100px; display: grid; gap: 1.25rem; }
@media (max-width: 900px) { .aside-sticky { position: static; } }

.aside-card {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  background: var(--white);
}
.aside-card h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .9rem;
}
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li { font-size: .94rem; color: var(--muted); margin-bottom: .5rem; }
.aside-card a { color: var(--muted); text-decoration: none; }
.aside-card a:hover { color: var(--blue-deep); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form { display: grid; gap: 1.25rem; }

.field { display: grid; gap: .45rem; }

.field label {
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
}
.field .hint { font-size: .84rem; color: var(--grey-500); font-weight: 400; }
.field .req { color: var(--blue); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .82rem .95rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--grey-100);
  border-radius: 10px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 160px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(46, 107, 255, .14);
}

.field input::placeholder,
.field textarea::placeholder { color: #A9B4C6; }

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.consent {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--muted);
}
.consent input { width: 18px; height: 18px; margin-top: .22rem; flex: none; }

/* Honeypot: hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: .95rem;
  border: 1px solid;
}
.alert--error { background: #FFF1F1; border-color: #F5C2C2; color: #8A1F1F; }
.alert--ok    { background: var(--blue-tint); border-color: #BBD1FF; color: var(--blue-deep); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--grey-300);
  padding: clamp(3.25rem, 7vw, 5.5rem) 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center,
              rgba(46, 107, 255, .34) 0%, transparent 68%);
  pointer-events: none;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--grey-300); max-width: 52ch; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: var(--grey-500);
  padding: 3.5rem 0 2rem;
  font-size: .93rem;
}
.site-footer .brand { color: var(--white); }
.site-footer .brand:hover { color: var(--white); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(auto-fit, minmax(160px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer-grid p { color: var(--grey-500); max-width: 34ch; margin-top: 1.1rem; }

.site-footer h4 {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: var(--grey-300); text-decoration: none; }
.site-footer a:hover { color: var(--blue-bright); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: .87rem;
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { color: #000; font-size: 12pt; }
  .hero { background: #fff; color: #000; padding: 0 0 1rem; }
  .hero h1, .hero__lede { color: #000; }
}
