/* Flow State Creations — design system
   Dark base, single electric accent, generous rhythm. */

:root {
  /* Surfaces */
  --bg:          #08090c;
  --bg-elev:     #0e1015;
  --surface:     #121520;
  --surface-2:   #171b27;
  --border:      #232838;
  --border-lit:  #2f3648;

  /* Text */
  --text:        #f2f4f8;
  --text-dim:    #a3adbe;
  --text-faint:  #6b7688;

  /* Accent */
  --accent:      #22d3ee;
  --accent-hi:   #67e8f9;
  --accent-deep: #3b82f6;
  --accent-ink:  #04252c;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1160px;
  --radius: 14px;
  --radius-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

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

.narrow { max-width: 780px; }

/* Accessibility ------------------------------------------------ */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 0;
  font-weight: 600;
}
.skip:focus { left: 0; }

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

.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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__logo img { height: 38px; width: auto; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface); }
.nav__link[aria-current="page"] { color: var(--text); font-weight: 600; }

.nav__cta { margin-left: 0.5rem; }

.nav__toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav__toggle span::before { top: -5.5px; }
.nav__toggle span::after  { top: 5.5px; }

.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--border);
    padding: 1rem var(--gutter) 1.5rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 0.85rem 0.75rem; font-size: 1.05rem; }
  .nav__cta { margin: 0.5rem 0 0; justify-content: center; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
              background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-hi), var(--accent) 45%, var(--accent-deep));
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset,
              0 8px 24px -8px rgba(34, 211, 238, 0.5);
}
.btn--primary:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset,
              0 14px 34px -8px rgba(34, 211, 238, 0.65);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface);
  border-color: var(--border-lit);
  color: var(--text);
}
.btn--ghost:hover { background: var(--surface-2); border-color: #3d4659; transform: translateY(-1px); }

.btn--sm { padding: 0.6rem 1.05rem; font-size: 0.9rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.03rem; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Section furniture -------------------------------------------- */

.section { padding-block: clamp(4.5rem, 10vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--alt {
  background: var(--bg-elev);
  border-block: 1px solid var(--border);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section__head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head p { color: var(--text-dim); font-size: 1.08rem; margin-bottom: 0; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow::before { display: none; }

.lede { font-size: clamp(1.08rem, 2vw, 1.25rem); color: var(--text-dim); }

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

.hero {
  position: relative;
  padding-block: clamp(4rem, 11vw, 8rem) clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
  isolation: isolate;
}

/* Ambient glow + grid, purely decorative */
.hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -30%;
  left: 50%;
  width: min(1100px, 130vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%,
              rgba(34, 211, 238, 0.16) 0%,
              rgba(59, 130, 246, 0.09) 32%,
              transparent 66%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
}

.hero h1 { margin-bottom: 0.45em; }
.hero h1 .grad {
  background: linear-gradient(115deg, var(--accent-hi), var(--accent) 40%, var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-dim);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: var(--text-faint);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem;
  border: 1px solid var(--border-lit);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}
.pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.04); }
}

/* Hero visual: a live-ish automation pipeline ------------------- */

.flowcard {
  background: linear-gradient(160deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.85);
}

.flowcard__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.flowcard__bar .led {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--border-lit);
}
.flowcard__bar .led:first-child { background: var(--accent); }
.flowcard__bar span:last-child {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.flowstep {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.95rem;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(6px);
  animation: stepIn 0.5s var(--ease) forwards;
}
.flowstep:nth-child(1) { animation-delay: 0.15s; }
.flowstep:nth-child(2) { animation-delay: 0.45s; }
.flowstep:nth-child(3) { animation-delay: 0.75s; }
.flowstep:nth-child(4) { animation-delay: 1.05s; }

@keyframes stepIn { to { opacity: 1; transform: none; } }

.flowstep__icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.22);
  color: var(--accent);
}
.flowstep__icon svg { width: 17px; height: 17px; }

.flowstep__body { min-width: 0; }
.flowstep__body strong { display: block; font-size: 0.92rem; font-weight: 600; }
.flowstep__body span { font-size: 0.8rem; color: var(--text-faint); }

.flowstep__tick {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-family: var(--mono);
}

.flowconn {
  width: 1px;
  height: 14px;
  margin-left: 1.9rem;
  background: linear-gradient(to bottom, var(--border-lit), transparent);
}

/* Logos / trust strip ------------------------------------------ */

.trust {
  border-block: 1px solid var(--border);
  background: var(--bg-elev);
  padding-block: 2.25rem;
}
.trust__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--surface);
  font-size: 0.88rem;
  color: var(--text-dim);
  font-weight: 500;
}
.chip svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* Cards -------------------------------------------------------- */

.grid {
  display: grid;
  gap: 1.15rem;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              background 0.25s var(--ease);
}
.card:hover {
  border-color: var(--border-lit);
  background: var(--surface-2);
  transform: translateY(-3px);
}

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 21px; height: 21px; }

.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--text-dim); font-size: 0.95rem; margin-bottom: 0; }

.card__num {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  margin-bottom: 0.9rem;
  display: block;
  letter-spacing: 0.1em;
}

/* Service detail blocks ---------------------------------------- */

.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--border);
}
.service:last-child { border-bottom: 0; }
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 2rem; }
  .service__media { order: -1; }
}

.service__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: rgba(34, 211, 238, 0.07);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.service h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
.service p { color: var(--text-dim); }

.ticklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.ticklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--text-dim);
}
.ticklist svg {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.service__media {
  background: linear-gradient(160deg, var(--surface), var(--bg-elev));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8);
}

/* Mini chat / voice mock */
.mock { display: grid; gap: 0.7rem; }
.bubble {
  max-width: 82%;
  padding: 0.7rem 0.95rem;
  border-radius: 13px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.bubble--them {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text-dim);
}
.bubble--us {
  margin-left: auto;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink);
  border-bottom-right-radius: 4px;
  font-weight: 500;
}
.mock__meta {
  font-family: var(--mono);
  font-size: 0.71rem;
  color: var(--text-faint);
  text-align: center;
  padding-top: 0.4rem;
}

/* Stats -------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.stat {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat__num {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-hi), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}
.stat__label { font-size: 0.9rem; color: var(--text-dim); }

/* Process steps ------------------------------------------------ */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.15rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.85rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--text-dim); margin: 0; }

/* Quote / callout ---------------------------------------------- */

.callout {
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 1.75rem;
  color: var(--text-dim);
  font-size: 1rem;
}
.callout strong { color: var(--text); }
.callout p:last-child { margin-bottom: 0; }

/* FAQ ---------------------------------------------------------- */

.faq { display: grid; gap: 0.7rem; }

details.qa {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}
details.qa:hover { border-color: var(--border-lit); }
details.qa[open] { background: var(--surface-2); }

details.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-right: 1.8px solid var(--text-faint);
  border-bottom: 1.8px solid var(--text-faint);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease), border-color 0.2s;
}
details.qa[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--accent);
}
details.qa .qa__body {
  padding: 0 1.4rem 1.3rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
details.qa .qa__body p:last-child { margin-bottom: 0; }

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

.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--border-lit);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--surface-2), var(--bg-elev));
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -50% -10% auto;
  height: 130%;
  background: radial-gradient(ellipse at 50% 0%,
              rgba(34, 211, 238, 0.16), transparent 62%);
  pointer-events: none;
}
.cta h2 { margin-bottom: 0.5em; }
.cta p { color: var(--text-dim); max-width: 52ch; margin-inline: auto; }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 1.75rem;
}

/* Contact ------------------------------------------------------ */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}

.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.field { margin-bottom: 1.15rem; }
.field:last-of-type { margin-bottom: 1.5rem; }

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.field .hint {
  font-weight: 400;
  color: var(--text-faint);
  font-size: 0.83rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-lit);
  border-radius: 9px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.14);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%236b7688' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 13px;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field select option { background: var(--bg-elev); color: var(--text); }

/* Honeypot — hidden from humans, tempting to bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.13);
}
.field .err {
  display: none;
  color: #fca5a5;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}
.field input[aria-invalid="true"] ~ .err,
.field textarea[aria-invalid="true"] ~ .err { display: block; }

.form__foot {
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 1rem 0 0;
  text-align: center;
}

.formmsg {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: 9px;
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  border: 1px solid transparent;
}
.formmsg.is-shown { display: block; }
.formmsg--ok {
  background: rgba(34, 211, 238, 0.09);
  border-color: rgba(34, 211, 238, 0.32);
  color: var(--accent-hi);
}
.formmsg--err {
  background: rgba(248, 113, 113, 0.09);
  border-color: rgba(248, 113, 113, 0.32);
  color: #fca5a5;
}

/* Button loading state */
.btn.is-busy { pointer-events: none; opacity: 0.75; }
.btn.is-busy .btn__label::after {
  content: "";
  display: inline-block;
  width: 13px; height: 13px;
  margin-left: 0.6rem;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Direct contact panel */
.reach { display: grid; gap: 0.85rem; }

.reach__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
              transform 0.2s var(--ease);
}
.reach__item:hover {
  border-color: var(--border-lit);
  background: var(--surface-2);
  transform: translateY(-2px);
}
.reach__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.09);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--accent);
}
.reach__icon svg { width: 19px; height: 19px; }
.reach__text { min-width: 0; }
.reach__text small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}
.reach__text strong {
  font-size: 1rem;
  font-weight: 600;
  word-break: break-word;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
  padding-block: clamp(3rem, 6vw, 4rem) 2rem;
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

.footer__brand img { height: 40px; margin-bottom: 1rem; }
.footer__brand p {
  color: var(--text-faint);
  font-size: 0.92rem;
  max-width: 34ch;
  margin: 0;
}

.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer__col a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.93rem;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

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

/* Content is visible by default and JS opts in to the animation, so a
   crawler or a visitor whose JS fails still sees the whole page rather
   than an empty one. The .js class is set by an inline script in <head>. */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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