/* ==========================================================================
   Workflow Studios — site styles
   Plain CSS, no build step. Light by default; dark via prefers-color-scheme.
   Type: Bricolage Grotesque (display), Hanken Grotesk (text), JetBrains Mono (labels).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;

  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --bg: #ffffff;
  --bg-soft: #f4f6f3;
  --stage: #ecf0ec;
  --surface: #ffffff;
  --ink: #0e1512;
  --ink-2: #3f4a45;
  --ink-3: #5a6660;
  --line: #e0e5e1;
  --line-strong: #c9d1cb;
  --field-border: #808c86;
  --accent: #0b6e4f;
  --accent-hover: #095c42;
  --accent-soft: #e3f1ea;
  --on-accent: #ffffff;
  --signal: #16a06b;
  --dot: rgb(14 21 18 / 0.1);
  --bezel: #0b0f0d;
  --bezel-ring: rgb(255 255 255 / 0);
  --shadow-device: 0 2px 4px rgb(14 21 18 / 0.06), 0 28px 50px -22px rgb(14 21 18 / 0.45);
  --shadow-card: 0 1px 2px rgb(14 21 18 / 0.04), 0 12px 32px -18px rgb(14 21 18 / 0.18);
  --error: #b42318;

  /* The "Why us" band stays dark in both themes. */
  --band-bg: #0e1512;
  --band-ink: #eef3f0;
  --band-ink-2: #aebab4;
  --band-accent: #4cd6a0;
  --band-line: rgb(255 255 255 / 0.1);

  --tumaleo-navy: #000923;
  --tumaleo-yellow: #fbfe55;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 9vw, 136px);
  --header-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f0d;
    --bg-soft: #0f1613;
    --stage: #131c18;
    --surface: #0f1613;
    --ink: #e9eeeb;
    --ink-2: #b5c0ba;
    --ink-3: #8f9c95;
    --line: #1f2a25;
    --line-strong: #2e3b35;
    --field-border: #61706a;
    --accent: #4cd6a0;
    --accent-hover: #74e3b8;
    --accent-soft: rgb(76 214 160 / 0.12);
    --on-accent: #06120d;
    --signal: #3ccb8f;
    --dot: rgb(233 238 235 / 0.075);
    --bezel: #050807;
    --bezel-ring: rgb(255 255 255 / 0.14);
    --shadow-device: 0 28px 50px -22px rgb(0 0 0 / 0.8);
    --shadow-card: none;
    --error: #ff8a80;
    --band-bg: #111a16;
    --band-line: rgb(255 255 255 / 0.08);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  /* keep the footer at the bottom of short pages */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
main { flex: 1 0 auto; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, figure, dl, dd, blockquote { margin: 0; }
ul[class], ol[class], nav ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

::selection { background: var(--accent); color: var(--on-accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 12px; top: -64px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.7vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 700;
}

h3 {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 650;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
/* Hollow ring: the "start" node from the logo. */
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 2px solid currentColor;
  flex: none;
}

.lead {
  max-width: 38em;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }

.btn-quiet { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.text-link:hover { text-decoration: underline; }
.text-link:hover svg { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header {
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.5) blur(16px);
    backdrop-filter: saturate(1.5) blur(16px);
  }
}
.site-header.is-scrolled,
.site-header.menu-open { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand-mark { width: 42px; height: auto; flex: none; color: var(--ink); }
.brand-mark .mark-dot { fill: var(--signal); }
.brand-name span { font-weight: 500; color: var(--ink-3); }

.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.site-nav a:hover { color: var(--ink); background: var(--bg-soft); }
.site-nav .nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: var(--ink); color: var(--bg); opacity: 0.88; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle-bars { position: relative; width: 22px; height: 14px; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, top 0.2s, bottom 0.2s;
}
.nav-toggle-bars::before { top: 2px; }
.nav-toggle-bars::after { bottom: 2px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { bottom: 6px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  /* Without JavaScript the links simply wrap under the logo. */
  .no-js .header-inner { flex-wrap: wrap; padding-block: 8px; }
  .no-js .site-nav a { padding: 0 12px; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 8px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgb(0 0 0 / 0.25);
  }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav a {
    display: flex;
    min-height: 56px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .js .site-nav a:hover { background: transparent; color: var(--accent); }
  .js .site-nav .nav-cta {
    justify-content: center;
    margin: 20px 0 0;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    letter-spacing: 0;
  }
  .js .site-nav .nav-cta:hover { color: var(--bg); }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(72px, 8vw, 120px); }

.hero-grid { display: grid; gap: 48px; align-items: center; }

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.65rem, 1.55rem + 3.7vw, 4.75rem);
  line-height: 0.99;
  letter-spacing: -0.038em;
  font-weight: 740;
}
.hero h1 em { font-style: normal; color: var(--accent); }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  flex: none;
}
.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--signal);
  animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-sub {
  margin-top: 24px;
  max-width: 33em;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 559px) {
  .hero-actions .btn,
  .page-actions .btn,
  .form-foot .btn { flex: 1 1 100%; }
}

.hero-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 36px;
  color: var(--ink-3);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.hero-proof strong { color: var(--ink); font-weight: 600; }

.icon-stack { display: flex; gap: 6px; }
.icon-stack img {
  width: 38px; height: 38px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}

/* Device frames. Sizes scale with the frame width (container units), with px fallbacks. */
.device { position: absolute; margin: 0; container-type: inline-size; }
.device-frame {
  position: relative;
  padding: 6px;
  border-radius: 28px;
  background: var(--bezel);
  box-shadow: 0 0 0 1px var(--bezel-ring), var(--shadow-device);
}
.device-frame img { width: 100%; border-radius: 22px; background: #fff; }
@supports (width: 1cqi) {
  .device-frame { padding: 2.6cqi; border-radius: 12.5cqi; }
  .device-frame img { border-radius: 10.2cqi; }
  .device--tablet .device-frame { padding: 1.25cqi; border-radius: 3.4cqi; }
  .device--tablet .device-frame img { border-radius: 2.3cqi; }
}

/* Dot-grid "canvas" behind product shots. */
.stage {
  position: relative;
  overflow: hidden;
  background-color: var(--stage);
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.4px);
  background-size: 20px 20px;
  background-position: 10px 10px;
}

.hero-visual { position: relative; }
.hero-stage {
  aspect-ratio: 1 / 0.94;
  border-radius: var(--radius-xl);
}
.hero-stage .device { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-stage .d-main { left: 32%; top: 7%; width: 36%; z-index: 2; animation-delay: 0.05s; }
.hero-stage .d-left { left: 2.5%; top: 29%; width: 30.5%; z-index: 1; animation-delay: 0.18s; }
.hero-stage .d-right { left: 67%; top: 29%; width: 30.5%; z-index: 1; animation-delay: 0.28s; }

.hero-caption {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 0.875rem;
}

@media (min-width: 1020px) {
  .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: 56px; }
  .hero-copy { padding-bottom: 28px; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section + .section { padding-top: 0; }
.section.why,
.section.why + .section { padding-top: var(--section-y); }

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head h2 { max-width: 15em; }
.section-title { display: grid; gap: 18px; justify-items: start; }
@media (min-width: 1020px) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    column-gap: 64px;
  }
  .section-head--split .lead { padding-bottom: 6px; }
}

/* ---------- Work ---------- */
.work-list { display: grid; gap: 20px; }

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.app-id { display: flex; align-items: center; gap: 16px; }
.app-icon {
  width: 60px; height: 60px;
  flex: none;
  border-radius: 15px;
  box-shadow: 0 0 0 1px var(--line);
}
.app-kind {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.app-id h3 { font-size: 1.5rem; }
.app-desc { color: var(--ink-2); }

.app-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  padding-top: 4px;
}
.pkg {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-3);
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}
.play-link:hover { opacity: 0.86; }
.play-link svg { width: 16px; height: 16px; }
.play-link .live-dot { width: 7px; height: 7px; }

/* Featured apps (WezYoMenu, TumaLeo) */
.feature { display: grid; }
.feature-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(28px, 4.2vw, 60px);
}
.feature-body .app-id h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -0.035em; }
.feature-body .app-icon { width: 68px; height: 68px; border-radius: 17px; }
.feature-body .app-desc { font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); max-width: 30em; }
.feature-body .app-links { margin-top: 10px; }

.ticks {
  display: grid;
  gap: 10px 24px;
  color: var(--ink-2);
}
.ticks li { display: flex; align-items: center; gap: 10px; }
.ticks svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
@media (min-width: 520px) { .ticks { grid-template-columns: repeat(2, minmax(0, max-content)); } }

.feature-stage { order: -1; aspect-ratio: 1 / 0.9; }
.feature-stage .d-a { left: 11%; top: 13%; width: 37%; z-index: 1; }
.feature-stage .d-b { left: 50%; top: 7%; width: 39%; z-index: 2; }

@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
  .feature-body { justify-content: center; }
  .feature-stage { order: 0; aspect-ratio: auto; min-height: 540px; }
  .feature-stage .d-a { left: 12%; top: 12%; width: 35%; }
  .feature-stage .d-b { left: 50%; top: 7%; width: 37%; }
  .feature--reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .feature--reverse .feature-stage { order: -1; min-height: 420px; }
}

/* Platform apps (WezYoRider, WezYoOrders, WezYoManager) */
.platform { margin-top: 24px; }
.platform-intro {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 28px 0 20px;
  color: var(--ink-2);
}
.platform-intro::before {
  content: "";
  width: 28px; height: 2px;
  margin-top: 0.8em;
  background: var(--line-strong);
  flex: none;
}
.platform-intro strong { color: var(--ink); font-weight: 600; }

.app-grid { display: grid; gap: 20px; }
@media (min-width: 1020px) { .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.app-card { display: flex; flex-direction: column; }
.app-card-stage { height: 320px; border-bottom: 1px solid var(--line); }
.app-card-stage .device--phone { left: 50%; top: 34px; width: min(58%, 230px); transform: translateX(-50%); }
.app-card-stage .device--tablet { left: 26px; top: 34px; width: max(150%, 560px); }
.app-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 26px 28px 30px;
}
@media (min-width: 640px) and (max-width: 1019px) {
  /* Wide single-column cards: picture beside the text. */
  .app-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .app-card-stage { order: 2; height: auto; min-height: 340px; border-bottom: 0; border-left: 1px solid var(--line); }
  .app-card-body { justify-content: center; padding: 32px; }
  .app-card-stage .device--tablet { width: 190%; }
}

/* TumaLeo */
.tumaleo-stage {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 34px;
  padding: 48px 32px;
  background: var(--tumaleo-navy);
  aspect-ratio: auto;
  min-height: 300px;
}
.tumaleo-stage .tl-wordmark { width: min(78%, 400px); }
.tl-route { width: min(88%, 420px); color: rgb(255 255 255 / 0.7); }
.tl-route svg { width: 100%; height: auto; }
.tl-route p {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.82);
}

/* Coming soon */
.soon {
  display: grid;
  gap: 22px;
  margin-top: 20px;
  padding: clamp(24px, 3vw, 36px);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-xl);
}
.soon-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.soon-list { display: grid; gap: 18px; }
.soon-list li { display: grid; gap: 4px; }
.soon-list strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.soon-list span { color: var(--ink-2); }
@media (min-width: 900px) {
  .soon { grid-template-columns: 170px minmax(0, 1fr); align-items: start; }
  .soon-title { padding-top: 6px; }
  .soon-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .soon-list li { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--line);
}
@media (min-width: 680px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(26px, 3vw, 38px);
  background: var(--bg);
}
.service-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}
.service-icon svg { width: 26px; height: 26px; }
.service p { color: var(--ink-2); }

/* ---------- Process ---------- */
.process { background: var(--bg); }
.steps { display: grid; counter-reset: step; }
.step { position: relative; padding: 0 0 40px 52px; }
.step::before {
  /* the connector to the next step */
  content: "";
  position: absolute;
  left: 12px; top: 28px; bottom: 4px;
  width: 2px;
  background: var(--line-strong);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step-node {
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--bg);
}
.step:last-child .step-node { border-color: var(--signal); background: var(--signal); }
.step:last-child .step-node::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--signal);
  animation: ripple 2.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.step-num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-3);
}
.step h3 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); letter-spacing: -0.03em; }
.step p { margin-top: 8px; color: var(--ink-2); max-width: 26em; }

@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .step { padding: 54px 28px 0 0; }
  .step::before { left: 34px; right: 8px; top: 12px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Why us (dark band) ---------- */
.why {
  background: var(--band-bg);
  color: var(--band-ink);
  border-block: 1px solid var(--band-line);
}
.why h2, .why h3 { color: var(--band-ink); }
.why .eyebrow { color: var(--band-accent); }
.why-grid { display: grid; gap: 44px; }
.why-head { display: grid; gap: 18px; align-content: start; }
.why-head p { color: var(--band-ink-2); max-width: 26em; font-size: 1.125rem; }
.why-list { display: grid; gap: 0; }
.why-item {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--band-line);
}
.why-item:first-child { border-top: 0; padding-top: 0; }
.why-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3125rem;
}
.why-item h3::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--band-accent);
  flex: none;
}
.why-item p { color: var(--band-ink-2); padding-left: 22px; }
@media (min-width: 700px) {
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .why-item:nth-child(2) { border-top: 0; padding-top: 0; }
}
@media (min-width: 1020px) {
  .why-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 44px; }
.contact-copy { display: grid; gap: 20px; align-content: start; }
.contact-meta { display: grid; gap: 18px; margin-top: 12px; }
.contact-meta div { display: grid; gap: 2px; }
.contact-meta dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.contact-meta dd { font-size: 1.125rem; font-weight: 500; overflow-wrap: anywhere; }
.contact-meta a { display: inline-block; padding-block: 4px; color: var(--accent); text-decoration: underline; }
.contact-meta a:hover { text-decoration-thickness: 2px; }

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 3.6vw, 44px);
}

.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: var(--ink-3); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent);
}
.field input:focus-visible,
.field textarea:focus-visible { outline: 2px solid transparent; }
.field-hint { margin-top: -2px; color: var(--ink-3); font-size: 0.875rem; }

.hp {
  position: absolute !important;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form-note { color: var(--ink-3); font-size: 0.875rem; }
.form-note a { color: var(--ink-2); }
.form-error {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid color-mix(in srgb, var(--error) 40%, transparent);
  color: var(--error);
  font-size: 0.9375rem;
}
.form-error a { color: inherit; font-weight: 600; }

.form-success { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.form-success:focus { outline: none; }
.success-mark {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.success-mark svg { width: 28px; height: 28px; }
.form-success h3 { font-size: 1.75rem; letter-spacing: -0.03em; }
.form-success p { color: var(--ink-2); }

@media (min-width: 1020px) {
  .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; }
  .contact-copy { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Footer ---------- */
.site-footer { padding-block: 36px 48px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; gap: 14px; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }
.legal { color: var(--ink-3); font-size: 0.875rem; }
@media (min-width: 900px) {
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer-nav { justify-self: end; }
  .legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
}

/* ---------- Simple pages (privacy, thanks, 404) ---------- */
.page { padding-block: clamp(48px, 7vw, 104px) var(--section-y); }
.page-head { display: grid; gap: 18px; max-width: 44rem; }
.page h1 {
  font-size: clamp(2.5rem, 1.7rem + 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.page .updated { color: var(--ink-3); font-size: 0.9375rem; }
.prose { max-width: 44rem; margin-top: 44px; }
.prose h2 {
  margin-top: 40px;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  letter-spacing: -0.03em;
}
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}
@keyframes ripple {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .live-dot::after,
  .step:last-child .step-node::after { display: none; }
}

@media (forced-colors: active) {
  .device-frame, .card, .service-grid, .soon { border: 1px solid CanvasText; }
  .live-dot, .step-node { forced-color-adjust: none; }
}

@media print {
  .site-header, .hero-visual, .feature-stage, .app-card-stage, .contact-card, .nav-toggle { display: none !important; }
  .why { background: none; color: #000; }
}
