:root{
  --bg: #0b0f17;
  --panel: #101827;
  --panel-2:#0f172a;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --border: rgba(255,255,255,.10);
  --accent:#60a5fa;
  --accent2:#34d399;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
  --radius: 18px;

  --btn: rgba(255,255,255,.10);
  --btn2: rgba(255,255,255,.18);
}

[data-theme="light"]{
  --bg: #f6f7fb;
  --panel: #ffffff;
  --panel-2:#f1f5ff;
  --text:#0b1220;
  --muted:#4b5563;
  --border: rgba(0,0,0,.10);
  --accent:#2563eb;
  --accent2:#059669;
  --shadow: 0 10px 28px rgba(2,6,23,.10);
  --btn: rgba(2,6,23,.06);
  --btn2: rgba(2,6,23,.10);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 600px at 20% -10%, rgba(96,165,250,.25), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(52,211,153,.18), transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:20px; top:20px;
  width:auto;height:auto;
  background: var(--panel);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 9999;
}

.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 14px 0;
}
.brand{ display:flex; gap: 12px; align-items:center; }
.logo{
  width:42px;height:42px;
  display:grid;place-items:center;
  border-radius: 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 40%, transparent), color-mix(in srgb, var(--accent2) 35%, transparent));
  border: 1px solid var(--border);
}
.brand-name{ font-weight: 700; letter-spacing: .2px; }
.brand-role{ font-size: 13px; color: var(--muted); }

.nav{ display:flex; align-items:center; gap: 14px; }
.nav-toggle{
  display:none;
  border: 1px solid var(--border);
  background: var(--btn);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}
.nav-menu{
  display:flex;
  gap: 14px;
  align-items:center;
}
.nav-menu a{
  font-size: 14px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
}
.nav-menu a:hover{
  color: var(--text);
  background: var(--btn);
  text-decoration:none;
}

.header-actions{ display:flex; align-items:center; gap: 10px; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-weight: 600;
  cursor:pointer;
  text-decoration:none;
}
.btn:hover{ text-decoration:none; }
.btn.small{ padding: 10px 12px; border-radius: 12px; font-size: 14px; }
.btn-primary{
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 35%, var(--accent2)));
  color: white;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
}
.btn-secondary{
  background: color-mix(in srgb, var(--panel) 65%, transparent);
  border-color: var(--border);
}
.btn-ghost{
  background: var(--btn);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover{ background: var(--btn2); }

.hero{
  padding: 44px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 22px;
  align-items: start;
}
.pill{
  display:inline-flex;
  padding: 8px 12px;
  border:1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: color-mix(in srgb, var(--panel) 65%, transparent);
  margin: 0 0 14px;
  font-size: 13px;
}
.hero h1{
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.accent{ color: var(--accent); }
.lead{
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 18px;
}
.hero-cta{ display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }

.hero-metrics{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}
.metric{
  padding: 12px 14px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 130px;
}
.metric-num{ font-weight: 800; font-size: 18px; }
.metric-label{ color: var(--muted); font-size: 13px; }

.card{
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-header{ padding: 18px 18px 10px; }
.card-title{ margin:0; font-size: 18px; }
.card-subtitle{ margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.tabs{
  display:flex;
  gap: 8px;
  padding: 0 18px 12px;
}
.tab{
  border: 1px solid var(--border);
  background: var(--btn);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 10px;
  cursor:pointer;
  font-weight: 600;
  font-size: 13px;
}
.tab.active{
  background: color-mix(in srgb, var(--accent) 30%, var(--btn));
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}

.email-preview{
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--panel-2) 70%, transparent);
  font-size: 14px;
}
.email-preview .subject{
  font-weight: 800;
  margin-bottom: 10px;
}
.email-preview .meta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 10px;
}
.email-preview .body{
  white-space: pre-wrap;
  color: var(--text);
}

.card-footer{
  display:flex;
  gap: 10px;
  justify-content: space-between;
  align-items:center;
  padding: 14px 18px;
  flex-wrap: wrap;
}

.trust{ padding: 10px 0 28px; }
.trust-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.trust-item{
  display:flex;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.trust-icon{
  width:40px;height:40px;
  display:grid;place-items:center;
  border-radius: 14px;
  border:1px solid var(--border);
  background: var(--btn);
}
.trust-item h3{ margin: 0 0 2px; font-size: 16px; }
.trust-item p{ margin:0; color: var(--muted); font-size: 14px; }

.section{ padding: 46px 0; }
.section-alt{
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--panel) 35%, transparent), transparent);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head{ margin-bottom: 18px; }
.section-head h2{ margin:0 0 6px; font-size: 26px; }
.section-head p{ margin:0; color: var(--muted); }

.cards-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.service-card{
  padding: 18px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.service-card h3{ margin:0 0 2px; }
.muted{ color: var(--muted); }
.service-card ul{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.service-card-footer{
  margin-top: 14px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
}
.tag{
  font-size: 12px;
  padding: 6px 10px;
  border:1px solid var(--border);
  border-radius: 999px;
  background: var(--btn);
  color: var(--muted);
}

.work-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-card{
  padding: 18px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.work-top{
  display:flex;
  justify-content: space-between;
  gap: 12px;
  align-items:flex-start;
}
.badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--accent) 20%, var(--btn));
  color: var(--text);
  white-space: nowrap;
}
.work-actions{ margin-top: 12px; }

.samples-toolbar{
  display:flex;
  gap: 10px;
  align-items:center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.search-wrap input, .filter-wrap select{
  width: min(420px, 90vw);
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  color: var(--text);
  outline: none;
}
.filter-wrap select{ width: 220px; }

.samples-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sample-card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  overflow:hidden;
}
.sample-card-head{
  padding: 14px 16px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
.sample-card h3{ margin:0; font-size: 16px; }
.sample-meta{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}
.sample-card-body{
  padding: 14px 16px;
}
.sample-subject{
  font-weight: 800;
  margin-bottom: 8px;
}
.sample-body{
  white-space: pre-wrap;
  color: var(--text);
  font-size: 14px;
}
.sample-card-footer{
  padding: 12px 16px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  border-top: 1px solid var(--border);
}

.steps{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding-left: 18px;
}
.steps li{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.steps h3{ margin:0 0 6px; font-size: 16px; }
.steps p{ margin:0; color: var(--muted); font-size: 14px; }

.quotes-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.quote{
  margin:0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.quote blockquote{
  margin:0 0 10px;
  color: var(--text);
}
.quote figcaption{
  color: var(--muted);
  font-size: 13px;
}

.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items:start;
}
.contact-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.mini-card{
  padding: 12px;
  border:1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
}
.mini-title{
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.form{
  padding: 18px;
  border:1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: color-mix(in srgb, var(--panel) 75%, transparent);
  box-shadow: var(--shadow);
}
.form-row{ display:flex; flex-direction:column; gap: 6px; margin-bottom: 12px; }
label{ font-weight: 600; font-size: 14px; }
input, select, textarea{
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--panel-2) 65%, transparent);
  color: var(--text);
  outline: none;
}
textarea{ resize: vertical; min-height: 120px; }
.form-actions{ display:flex; gap: 10px; flex-wrap: wrap; }
.form-hint{ margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.footer{
  padding: 18px 0 36px;
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.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;
}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .trust-grid{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: 1fr; }
  .work-grid{ grid-template-columns: 1fr; }
  .samples-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; padding-left: 18px; }
  .quotes-grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-cards{ grid-template-columns: 1fr; }

  .nav-toggle{ display:inline-flex; }
  .nav-menu{
    display:none;
    position:absolute;
    right: 20px;
    top: 70px;
    background: color-mix(in srgb, var(--panel) 85%, transparent);
    border:1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
  }
  .nav-menu.open{ display:flex; }
}
