/* Mindronix v2: light, corporate theme with a single brand blue */
:root {
  --brand: #0067b8;
  --brand-hover: #005a9e;
  --brand-dark: #004578;
  --brand-tint: #eff6fc;
  --brand-tint-2: #deecf9;

  --bg: #ffffff;
  --bg-alt: #f5f5f5;
  --text: #1b1b1b;
  --text-2: #3b3b3b;
  --muted: #5c5c5c;
  --border: #e1e1e1;
  --border-strong: #c8c8c8;
  --success: #107c10;
  --danger: #c50f1f;

  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .04);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, .12), 0 4px 12px rgba(0, 0, 0, .06);

  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); margin: 0 0 .55em; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 400; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.eyebrow {
  display: inline-block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: .75rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:active { background: var(--brand-dark); }
.btn--secondary { background: #fff; color: var(--brand); border-color: var(--brand); }
.btn--secondary:hover { background: var(--brand-tint); }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: var(--brand-tint); }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.link-arrow::after { content: "\203A"; font-size: 1.35em; line-height: 1; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.nav.is-scrolled { box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 600 1.2rem var(--font-display); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand__sub { font-weight: 400; color: var(--text-2); }
@media (max-width: 380px) { .brand { font-size: 1.05rem; gap: 8px; } }
.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a:not(.btn) {
  position: relative; color: var(--text-2); font-size: .95rem; padding: 8px 12px; border-radius: var(--radius-sm);
}
.nav__menu a:not(.btn):hover { color: var(--text); background: var(--bg-alt); text-decoration: none; }
.nav__menu a.is-active { color: var(--brand); }
.nav__menu a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px; height: 2px; background: var(--brand); }
.nav__menu .btn { margin-left: 12px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; border-radius: var(--radius-sm); }
.nav__toggle:hover { background: var(--bg-alt); }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 8px 16px 20px; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
    transform: translateY(-6px); opacity: 0; visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a:not(.btn) { padding: 12px 8px; font-size: 1rem; }
  .nav__menu a.is-active::after { display: none; }
  .nav__menu .btn { margin: 10px 0 0; }
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  background: linear-gradient(180deg, var(--brand-tint) 0%, #fff 100%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-2); max-width: 520px; margin-bottom: 2rem; }
.hero__cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 69, 120, .12)); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero__art { max-width: 620px; }
}

/* Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head p { font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.card p { margin: 0; }
.card__icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--radius); background: var(--brand-tint); margin-bottom: 20px;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature--reverse .feature__art { order: -1; }
.feature__text p { font-size: 1.08rem; }
.feature__art svg { width: 100%; height: auto; filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .08)); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature__art { order: 0; }
}

.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--text-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}
.ticks strong { color: var(--text); font-weight: 600; }

/* About */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.about__points { display: grid; gap: 16px; }
.point { display: flex; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.point__icon { flex: none; width: 40px; height: 40px; border-radius: var(--radius); background: var(--brand-tint); display: grid; place-items: center; }
.point__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.point h3 { font-size: 1.02rem; margin-bottom: 4px; }
.point p { margin: 0; font-size: .95rem; }

/* Blue band */
.band { background: var(--brand); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255, 255, 255, .85); }
.band .eyebrow { color: #fff; opacity: .85; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .25); border-bottom: 1px solid rgba(255, 255, 255, .25);
  margin: 8px 0 56px;
}
.stat { padding: 32px 16px; display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .25); }
.stat__num { font: 600 clamp(2.25rem, 4vw, 3rem)/1.1 var(--font-display); color: #fff; }
.stat__label { color: rgba(255, 255, 255, .85); font-size: .95rem; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .25); }
}
.why h3 { font-size: 1.1rem; }
.why p { margin: 0; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { position: relative; }
.step p { margin: 0; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--brand); color: var(--brand); background: #fff;
  font: 600 1rem var(--font-display); margin-bottom: 20px; position: relative; z-index: 1;
}
@media (min-width: 961px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 22px; left: 56px; right: -20px; height: 2px; background: var(--brand-tint-2);
  }
}
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Call to action band */
.cta { background: var(--brand-tint); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: 56px 0; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; font-size: 1.08rem; }

/* Contact */
.contact__email { margin-top: 28px; display: grid; gap: 4px; }
.contact__email span { font-size: .9rem; color: var(--muted); }
.contact__email a { font: 600 1.3rem var(--font-display); word-break: break-all; }

.form { padding: clamp(24px, 4vw, 36px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form label { font-size: .92rem; font-weight: 600; color: var(--text); }
.form input, .form select, .form textarea {
  width: 100%; padding: 11px 12px; font: inherit; color: var(--text);
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: #8a8a8a; }
.form textarea { resize: vertical; min-height: 128px; }
.form select {
  appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.form [aria-invalid="true"] { border-color: var(--danger); }
.form [aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--danger); }
.form__error { color: var(--danger); font-size: .92rem; margin: 0 0 14px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form__success {
  margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #f1faf1; border: 1px solid #9fd89f; border-left: 4px solid var(--success);
  display: flex; flex-direction: column; gap: 4px; font-size: .94rem; color: var(--text-2);
}
.form__success strong { color: var(--text); }
.form__note { margin: 14px 0 0; font-size: .85rem; }

/* Footer */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 56px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer__tag { margin: 12px 0 16px; max-width: 280px; }
.footer h3 { font-size: .9rem; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; font-size: .85rem; }
.footer__bottom a { color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer { padding-bottom: 84px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Legal pages */
.legal { padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 9vw, 104px); }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { padding-left: 1.25rem; display: grid; gap: 6px; margin: 0 0 1em; }
.legal__updated { color: var(--muted); font-size: .95rem; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-hover); text-decoration: none; }
.to-top:focus-visible { outline-offset: 3px; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) { .to-top { right: 16px; bottom: 16px; } }
