/* nextdigitools.com. Same tokens as the extension landing pages; light only. */
:root {
  --primary: #b90538;
  --primary-container: #dc2c4f;
  --secondary: #4648d4;
  --bg: #f8f9ff;
  --surface: #ffffff;
  --surface-low: #eff4ff;
  --surface-mid: #e5eeff;
  --text: #0b1c30;
  --text-muted: #5b4041;
  --line: rgba(11, 28, 48, 0.07);
  --shadow-1: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-2: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-label: 'Inter', system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--secondary);
  outline-offset: 3px;
  border-radius: 6px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
}
.skip:focus {
  left: 16px;
}
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .container { padding: 0 32px; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.header-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-header nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font: 600 14px/20px var(--font-label);
  color: var(--text-muted);
}
.site-header nav a:hover { background: var(--surface-mid); color: var(--text); }
.site-header nav .nav-cta {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
@media (max-width: 480px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero {
  padding: 64px 0;
  text-align: center;
  background:
    radial-gradient(60% 80% at 50% 0%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 70%),
    linear-gradient(to bottom, var(--surface-low), var(--bg));
}
@media (min-width: 960px) {
  .hero { padding: 104px 0 96px; }
}
.eyebrow {
  margin-bottom: 12px;
  font: 700 11px var(--font-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}
.hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--primary-container), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 17px;
  color: var(--text-muted);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  font: 600 15px/20px var(--font-label);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn:hover { transform: scale(1.02); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: #fff;
  box-shadow: 0 8px 28px rgba(185, 5, 56, 0.3);
}
.btn-ghost {
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
}

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 960px) {
  .section { padding: 96px 0; }
}
.section.alt { background: var(--surface-low); }
.section-head {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head h2,
.contact-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 800;
}
.section-head p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  color: var(--text-muted);
}

/* Featured product (Echooers) */
.product {
  --echo: #3b82f6;
  --echo-deep: #1d4ed8;
  max-width: 960px;
  margin: 0 auto 56px;
  border-radius: 1.75rem;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}
.product-banner { display: block; background: #eef4ff; }
.product-banner img { display: block; width: 100%; height: auto; }
.product-body { padding: 24px; }
@media (min-width: 640px) {
  .product-body { padding: 32px 40px 40px; }
}
.product-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.product-title img { flex: none; border-radius: 50%; }
.product-title div { flex: 1; min-width: 0; }
.product-title h3 { font-size: 22px; }
.product-title p { color: var(--text-muted); font-size: 14.5px; }
.product .ext-badge.live {
  background: color-mix(in srgb, var(--echo) 12%, transparent);
  color: var(--echo-deep);
}
.product-lead {
  max-width: 680px;
  margin-bottom: 28px;
  font-size: 16.5px;
  color: var(--text-muted);
}
.steps {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  position: relative;
  padding: 20px;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, #f1f6ff, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--echo) 14%, transparent);
}
.step-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--echo);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--echo) 35%, transparent);
}
.step-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-num {
  position: absolute;
  top: 18px;
  right: 20px;
  font: 800 28px/1 var(--font-body);
  color: color-mix(in srgb, var(--echo) 18%, transparent);
}
.step h4 { margin: 0 0 4px; font-size: 17px; }
.step p { color: var(--text-muted); font-size: 14.5px; }
.facts {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
}
.facts li {
  padding: 12px 14px;
  border-radius: 1rem;
  background: var(--surface-low);
  font-size: 14px;
  color: var(--text-muted);
}
.facts strong { display: block; color: var(--text); font-size: 14.5px; }
.product-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-blue {
  background: linear-gradient(135deg, var(--echo-deep), var(--echo));
  box-shadow: 0 8px 28px color-mix(in srgb, var(--echo) 35%, transparent);
}
@media (max-width: 480px) {
  .product-ctas { flex-direction: column; }
}
.group-title {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: 20px;
}

/* Extension cards */
.ext-grid {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}
.ext-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: box-shadow 0.2s, transform 0.2s;
}
.ext-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}
.ext-card img { flex: none; border-radius: 12px; }
.ext-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ext-text strong { font-size: 18px; }
.ext-text span { color: var(--text-muted); font-size: 14.5px; }
.ext-badge {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-mid);
  color: var(--text-muted);
  font: 700 11px var(--font-label);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ext-badge.live {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary);
}
@media (max-width: 480px) {
  .ext-card { flex-wrap: wrap; }
}

/* Approach */
.points {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .points { grid-template-columns: repeat(3, 1fr); }
}
.point {
  padding: 28px;
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.point h3 { margin-bottom: 8px; font-size: 19px; }
.point p { color: var(--text-muted); font-size: 14.5px; }

/* Contact */
.contact-row {
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-row { grid-template-columns: 1fr 560px; gap: 64px; }
}
.contact-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 1rem;
  background: var(--surface-low);
  font-size: 14px;
}
.form-card { justify-self: center; }
.form-success h2 { margin-bottom: 8px; font-size: 24px; }

/* Footer */
.site-footer {
  padding: 28px 0;
  background: var(--surface);
  box-shadow: 0 -1px 0 var(--line);
  font-size: 13.5px;
  color: var(--text-muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer nav { display: flex; gap: 20px; }
.site-footer a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
