/* ==========================================================================
   Prock Solution — Design System
   Fonts: Sora (display) + Inter (body), loaded from Google Fonts in <head>.
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #060a14;
  --navy-900: #0b1220;
  --navy-800: #111a2e;
  --navy-700: #1a2540;
  --navy-600: #253352;

  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.08);

  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --bg-3: #eef2f9;

  --accent: #4f8cff;
  --accent-2: #22d3ee;
  --accent-3: #8b5cf6;
  --accent-ink: #1d4ed8;
  --success: #10b981;

  --grad: linear-gradient(135deg, #22d3ee 0%, #4f8cff 50%, #8b5cf6 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(79, 140, 255, 0.14), rgba(139, 92, 246, 0.14));

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1200px;
  --nav-h: 76px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--nav-h) + 0.5rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(79, 140, 255, 0.25); }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--navy-900); color: var(--muted-2); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.section-head { max-width: 680px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); }
.section--dark .section-head p { color: var(--muted-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section--dark .eyebrow { color: var(--accent-2); }

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

.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(15, 23, 42, 0.55); }
.btn--grad {
  color: #fff;
  background: var(--grad);
  background-size: 200% 200%;
  box-shadow: 0 10px 30px -10px rgba(79, 140, 255, 0.7);
}
.btn--grad:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 36px -12px rgba(79, 140, 255, 0.8); }
.btn--ghost {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: #fff;
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.section--dark .btn--ghost, .hero .btn--ghost, .footer .btn--ghost {
  color: #fff; background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18);
}
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--accent-ink);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav--dark { color: #fff; }
.nav.is-scrolled {
  background: rgba(11, 18, 32, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-color: var(--line-dark);
  color: #fff;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav__menu { display: flex; align-items: center; gap: 1.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand__mark { width: 38px; height: 38px; }
.brand span em { font-style: normal; color: var(--accent); }

.nav__links { display: flex; align-items: center; gap: 0.25rem; }
.nav__links > li { position: relative; }
.nav__links a, .nav__links button.nav__drop-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.55rem 0.9rem; border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  opacity: 0.9;
}
.nav__links a:hover, .nav__links button.nav__drop-btn:hover, .nav__links a.is-active { background: rgba(255, 255, 255, 0.1); opacity: 1; }
.nav--light .nav__links a:hover, .nav--light .nav__links button.nav__drop-btn:hover, .nav--light .nav__links a.is-active { background: var(--bg-3); }
.nav.is-scrolled .nav__links a:hover, .nav.is-scrolled .nav__links button.nav__drop-btn:hover, .nav.is-scrolled .nav__links a.is-active { background: rgba(255, 255, 255, 0.1); }
.nav__drop-btn svg { width: 14px; height: 14px; transition: transform 0.25s; }
.nav__drop {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 300px; padding: 0.5rem;
  background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}
.nav__links > li:hover .nav__drop, .nav__links > li:focus-within .nav__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__links > li:hover .nav__drop-btn svg { transform: rotate(180deg); }
.nav__drop a { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.75rem; border-radius: var(--radius-sm); opacity: 1; }
.nav__drop a:hover { background: var(--bg-2); }
.nav__drop a i { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--grad-soft); color: var(--accent-ink); }
.nav__drop a i svg { width: 18px; height: 18px; }
.nav__drop a strong { display: block; font-size: 0.92rem; color: var(--ink); font-weight: 600; }
.nav__drop a small { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav--dark .nav__cta .btn--primary, .nav.is-scrolled .nav__cta .btn--primary { background: #fff; color: var(--ink); box-shadow: none; }
.nav--dark .nav__cta .btn--primary:hover, .nav.is-scrolled .nav__cta .btn--primary:hover { background: var(--bg-2); }

.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background 0.2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.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: 960px) {
  .nav__toggle { display: grid; }
  .nav__menu {
    position: fixed; inset: var(--nav-h) 0 0 0;
    background: var(--navy-900); color: #fff;
    padding: 1.5rem 1.25rem 2.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex; flex-direction: column; gap: 1.5rem;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav.menu-open { background: var(--navy-900); color: #fff; border-color: var(--line-dark); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .nav__links a, .nav__links button.nav__drop-btn { width: 100%; padding: 0.9rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; box-shadow: none; background: rgba(255, 255, 255, 0.04); border-color: var(--line-dark); color: #fff; margin: 0.25rem 0 0.5rem; }
  .nav__drop a strong { color: #fff; }
  .nav__drop a small { color: var(--muted-2); }
  .nav__drop a:hover { background: rgba(255, 255, 255, 0.06); }
  .nav__drop-btn { display: none !important; }
  .nav__drop-label { display: block; padding: 0.9rem 1rem 0.35rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
  .nav__cta { flex-direction: column; align-items: stretch; }
  .nav__cta .btn { width: 100%; }
}
@media (min-width: 961px) { .nav__drop-label { display: none; } }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: var(--muted-2);
  padding: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)) 0 clamp(4rem, 8vw, 7rem);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -300px; top: -350px;
  background: radial-gradient(closest-side, rgba(79, 140, 255, 0.35), rgba(139, 92, 246, 0.15) 50%, transparent 75%);
  filter: blur(20px);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-60px, 50px); } }

.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.hero__inner > *, .split > *, .page-hero__inner > *, .contact-grid > *, .cta > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 560px; color: var(--muted-2); margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.75rem; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark);
  margin-bottom: 1.5rem;
}
.hero__pill b { display: inline-grid; place-items: center; padding: 0.15rem 0.55rem; border-radius: 999px; background: var(--grad); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; }
.hero__proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; max-width: 600px; }
.hero__proof div strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: -0.02em; line-height: 1; margin-bottom: 0.3rem; }
.hero__proof div span { font-size: 0.85rem; color: var(--muted-2); }

/* Hero visual — pure CSS composition */
.hero__visual { position: relative; min-height: 520px; }
.hv-card {
  position: absolute;
  background: rgba(17, 26, 46, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff;
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hv-code { left: 0; top: 40px; width: 62%; padding: 1rem 1.15rem 1.25rem; animation-delay: -1s; }
.hv-code__bar { display: flex; gap: 6px; margin-bottom: 0.9rem; }
.hv-code__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); }
.hv-code__bar i:nth-child(1) { background: #ff5f57; } .hv-code__bar i:nth-child(2) { background: #febc2e; } .hv-code__bar i:nth-child(3) { background: #28c840; }
.hv-code pre { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.78rem; line-height: 1.7; color: #cbd5e1; white-space: pre; overflow: hidden; }
.hv-code pre .k { color: #c084fc; } .hv-code pre .f { color: #67e8f9; } .hv-code pre .s { color: #86efac; } .hv-code pre .c { color: #64748b; }

.hv-phone {
  right: 0; top: 0; width: 200px; height: 400px;
  border-radius: 34px; padding: 12px;
  background: linear-gradient(160deg, #1f2a44, #0b1220);
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation-delay: -3s;
}
.hv-phone__screen { height: 100%; border-radius: 24px; background: linear-gradient(170deg, #111a2e, #0b1220); overflow: hidden; padding: 1.4rem 0.9rem 0.9rem; position: relative; }
.hv-phone__notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 60px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); }
.hv-phone__hello { font-family: var(--font-display); font-size: 0.72rem; color: var(--muted-2); margin-top: 0.4rem; }
.hv-phone__bal { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin: 0.15rem 0 0.8rem; }
.hv-phone__chart { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-bottom: 0.9rem; }
.hv-phone__chart i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); opacity: 0.85; animation: grow 1.4s var(--ease) both; transform-origin: bottom; }
.hv-phone__chart i:nth-child(1) { height: 40%; animation-delay: 0.1s; } .hv-phone__chart i:nth-child(2) { height: 65%; animation-delay: 0.2s; } .hv-phone__chart i:nth-child(3) { height: 50%; animation-delay: 0.3s; } .hv-phone__chart i:nth-child(4) { height: 85%; animation-delay: 0.4s; } .hv-phone__chart i:nth-child(5) { height: 60%; animation-delay: 0.5s; } .hv-phone__chart i:nth-child(6) { height: 100%; animation-delay: 0.6s; background: var(--grad); opacity: 1; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.hv-phone__row { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0; border-top: 1px solid var(--line-dark); font-size: 0.66rem; color: var(--muted-2); }
.hv-phone__row i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255, 255, 255, 0.08); }
.hv-phone__row b { margin-left: auto; color: #fff; font-weight: 600; }

.hv-tenant { left: 8%; bottom: 0; width: 60%; padding: 1rem 1.15rem; animation-delay: -5s; }
.hv-tenant__head { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; margin-bottom: 0.75rem; }
.hv-tenant__head span { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--muted-2); }
.hv-tenant__head b { color: var(--success); font-weight: 600; display: inline-flex; align-items: center; gap: 0.35rem; }
.hv-tenant__head b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); } 70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); } }
.hv-tenant__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.hv-tenant__stats div { padding: 0.6rem 0.7rem; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.hv-tenant__stats small { display: block; font-size: 0.62rem; color: var(--muted-2); margin-bottom: 0.2rem; }
.hv-tenant__stats strong { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; }
.hv-tenant__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); margin-top: 0.85rem; overflow: hidden; }
.hv-tenant__bar i { display: block; height: 100%; width: 92%; background: var(--grad); border-radius: 6px; animation: bar 1.6s var(--ease) both; transform-origin: left; }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 1080px) { .hv-phone { width: 180px; height: 360px; } }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { min-height: 480px; max-width: 560px; margin: 1rem auto 0; width: 100%; }
}
@media (max-width: 520px) {
  .hero__visual { min-height: 420px; }
  .hv-code { width: 68%; } .hv-phone { width: 150px; height: 300px; }
  .hv-tenant { width: 70%; left: 0; }
  .hv-code pre { font-size: 0.68rem; }
}

/* --------------------------------------------------------------------------
   Logo / technology strip
   -------------------------------------------------------------------------- */
.strip { padding: 2rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip__label { text-align: center; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 1.25rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.tech { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--ink-2); white-space: nowrap; }
.tech i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); color: var(--accent-ink); }
.tech i svg { width: 18px; height: 18px; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity 0.35s; }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--accent-ink); margin-bottom: 1.5rem;
  border: 1px solid rgba(79, 140, 255, 0.15);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); }
.card__list { margin: 1.25rem 0 1.5rem; display: grid; gap: 0.55rem; }
.card__list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; color: var(--ink-2); }
.card__list li::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--grad-soft) center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4ed8' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"), var(--grad-soft);
  background-size: 10px, cover;
}
.card--dark { background: var(--navy-800); border-color: var(--line-dark); }
.card--dark h3 { color: #fff; } .card--dark p, .card--dark .card__list li { color: var(--muted-2); }
.card--dark .card__icon { background: rgba(255, 255, 255, 0.06); color: var(--accent-2); border-color: var(--line-dark); }

.service-card { display: flex; flex-direction: column; }
.service-card .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------------------
   Feature split (image + text)
   -------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }
.split__media {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background: var(--navy-900); aspect-ratio: 4 / 3.3;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg);
}
.split__media::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(79, 140, 255, 0.45), transparent 55%), radial-gradient(circle at 80% 90%, rgba(139, 92, 246, 0.4), transparent 55%); }
.split__media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 40px 40px; }
.split__media > * { position: relative; z-index: 1; }
.feature-list { display: grid; gap: 1.25rem; margin-top: 2rem; }
.feature-list li { display: flex; gap: 1rem; }
.feature-list li i { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); color: var(--accent-ink); }
.feature-list li i svg { width: 20px; height: 20px; }
.feature-list li strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.02rem; margin-bottom: 0.2rem; }
.feature-list li span { color: var(--muted); font-size: 0.95rem; }
.section--dark .feature-list li strong { color: #fff; }
.section--dark .feature-list li span { color: var(--muted-2); }
.section--dark .feature-list li i { background: rgba(255, 255, 255, 0.06); color: var(--accent-2); }

/* Mock UI inside split media */
.mock { position: absolute; inset: 12%; display: grid; gap: 0.75rem; align-content: start; }
.mock__win { background: rgba(17, 26, 46, 0.9); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 1rem; color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); }
.mock__row { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; color: var(--muted-2); padding: 0.5rem 0; border-bottom: 1px solid var(--line-dark); }
.mock__row:last-child { border: 0; }
.mock__row i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; }
.mock__row i.warn { background: #f59e0b; } .mock__row i.info { background: var(--accent); }
.mock__row b { margin-left: auto; color: #fff; font-weight: 500; font-size: 0.75rem; }
.mock__title { font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.4rem; display: flex; justify-content: space-between; }
.mock__title span { color: var(--muted-2); font-weight: 400; font-size: 0.72rem; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mock__kpis div { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); border-radius: 10px; padding: 0.65rem; }
.mock__kpis small { display: block; font-size: 0.62rem; color: var(--muted-2); } .mock__kpis strong { font-family: var(--font-display); font-size: 1rem; }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-dark) 20%, var(--line-dark) 80%, transparent); }
.step { position: relative; padding-top: 0.5rem; }
.step__num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  background: var(--navy-800); color: #fff; border: 1px solid var(--line-dark);
  margin-bottom: 1.25rem; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--navy-900);
}
.step__num::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.step h3 { font-size: 1.15rem; color: #fff; }
.step p { color: var(--muted-2); font-size: 0.95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { padding: 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-align: left; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin-bottom: 0.5rem; }
.stat span { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   Work / case studies
   -------------------------------------------------------------------------- */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .work, .work--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .work, .work--4 { grid-template-columns: 1fr; } }
.work-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-card__thumb { aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--navy-900); display: grid; place-items: center; }
.work-card__thumb::before { content: ""; position: absolute; inset: 0; background: var(--g, radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.5), transparent 50%), radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.55), transparent 55%)); transition: transform 0.6s var(--ease); }
.work-card:hover .work-card__thumb::before { transform: scale(1.08); }
.work-card__thumb .mock__win { position: relative; width: 78%; }
.work-card__body { padding: 1.5rem 1.6rem 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.work-card__tag { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); }
.work-card h3 { font-size: 1.2rem; margin: 0; }
.work-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.work-card__meta { margin-top: auto; padding-top: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.chip { font-size: 0.75rem; font-weight: 500; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.section--dark .chip { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); color: var(--muted-2); }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.quote__stars { display: flex; gap: 3px; color: #f59e0b; }
.quote__stars svg { width: 16px; height: 16px; }
.quote blockquote { margin: 0; font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.quote figcaption strong { display: block; font-size: 0.95rem; color: var(--ink); }
.quote figcaption span { font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.faq__item[open] { border-color: rgba(79, 140, 255, 0.4); box-shadow: var(--shadow); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); transition: transform 0.3s var(--ease), background 0.3s; }
.faq__item summary i svg { width: 14px; height: 14px; }
.faq__item[open] summary i { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__body { padding: 0 1.4rem 1.3rem; color: var(--muted); }
.faq__body p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-xl);
  background: var(--navy-900); color: var(--muted-2);
  padding: clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 2rem; align-items: center;
  border: 1px solid var(--line-dark);
}
.cta::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -250px; background: radial-gradient(closest-side, rgba(79, 140, 255, 0.4), transparent); filter: blur(10px); }
.cta::after { content: ""; position: absolute; width: 400px; height: 400px; left: -150px; bottom: -220px; background: radial-gradient(closest-side, rgba(139, 92, 246, 0.35), transparent); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; margin-bottom: 0.75rem; }
.cta p { font-size: 1.1rem; max-width: 520px; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta__actions { justify-content: flex-start; } }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--navy-950); color: var(--muted-2); padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; border-top: 1px solid var(--line-dark); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer__about { max-width: 340px; font-size: 0.95rem; }
.footer h4 { color: #fff; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 0.75rem; font-size: 0.95rem; }
.footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-2); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; }
.footer__social { display: flex; gap: 0.5rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.footer__social a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.2); }
.footer__social svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--navy-900); color: var(--muted-2);
  padding: calc(var(--nav-h) + clamp(3.5rem, 7vw, 6rem)) 0 clamp(3.5rem, 6vw, 5rem);
}
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 100%); }
.page-hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px; background: radial-gradient(closest-side, rgba(79, 140, 255, 0.32), rgba(139, 92, 246, 0.12) 50%, transparent 75%); filter: blur(20px); }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.75rem); max-width: 820px; }
.page-hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 640px; margin-bottom: 2rem; }
.page-hero .eyebrow { color: var(--accent-2); }
.page-hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; } .page-hero__inner > :last-child { display: none; } }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; font-size: 0.85rem; margin-bottom: 1.5rem; color: var(--muted-2); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.6; }

/* Checklist grid used on service pages */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .checks { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 0.9rem; padding: 1.25rem 1.35rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.check:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.check i { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-soft); color: var(--accent-ink); }
.check i svg { width: 17px; height: 17px; }
.check strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1rem; margin-bottom: 0.2rem; }
.check span { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }

/* Tech stack pills */
.stack { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.stack span { padding: 0.55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; color: var(--ink-2); }
.section--dark .stack span { background: rgba(255, 255, 255, 0.05); border-color: var(--line-dark); color: #fff; }

/* Pricing / engagement models */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2.25rem 2rem; display: flex; flex-direction: column; }
.plan--featured { background: var(--navy-900); border-color: var(--navy-900); color: var(--muted-2); box-shadow: var(--shadow-lg); }
.plan--featured h3, .plan--featured .plan__price { color: #fff; }
.plan__badge { position: absolute; top: -13px; left: 2rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.plan h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.plan__desc { color: var(--muted); font-size: 0.95rem; min-height: 3em; }
.plan--featured .plan__desc { color: var(--muted-2); }
.plan__price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin: 1rem 0 1.5rem; }
.plan__price small { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.plan .card__list { margin: 0 0 2rem; }
.plan--featured .card__list li { color: #e2e8f0; }
.plan .btn { margin-top: auto; }

/* --------------------------------------------------------------------------
   About page bits
   -------------------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .values { grid-template-columns: 1fr; } }
.value { padding: 2rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.value__num { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--accent-ink); letter-spacing: 0.1em; margin-bottom: 1rem; }
.value h3 { font-size: 1.2rem; }
.value p { color: var(--muted); margin: 0; }

.timeline { position: relative; display: grid; gap: 2rem; padding-left: 2rem; border-left: 1px solid var(--line-dark); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-2rem - 6px); top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 5px var(--navy-900); }
.timeline strong { display: block; font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin-bottom: 0.25rem; }
.timeline span { color: var(--muted-2); font-size: 0.95rem; }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team { grid-template-columns: 1fr; } }
.member { text-align: center; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.member__avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1.25rem; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; box-shadow: 0 10px 25px -10px rgba(79, 140, 255, 0.7); }
.member strong { display: block; font-family: var(--font-display); color: var(--ink); font-size: 1.05rem; }
.member span { color: var(--accent-ink); font-size: 0.85rem; font-weight: 500; }
.member p { color: var(--muted); font-size: 0.92rem; margin: 0.75rem 0 0; }

/* --------------------------------------------------------------------------
   Contact page
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 1rem; }
.contact-info a.card, .contact-info .card { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.contact-info .card__icon { width: 46px; height: 46px; margin: 0; border-radius: 12px; flex: none; }
.contact-info .card__icon svg { width: 20px; height: 20px; }
.contact-info strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: 0.2rem; }
.contact-info span { color: var(--muted); font-size: 0.95rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.25rem; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-2); font: inherit; color: var(--ink); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.15); }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; }
.field .error { display: none; font-size: 0.8rem; color: #dc2626; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #dc2626; }
.field.is-invalid .error { display: block; }
.form__note { font-size: 0.85rem; color: var(--muted); margin: 1rem 0 0; }
.form__success { display: none; padding: 1.25rem 1.5rem; border-radius: var(--radius); background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.35); color: #065f46; margin-bottom: 1.25rem; }
.form__success.is-visible { display: block; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.checkbox-group label { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg-2); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.checkbox-group input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.checkbox-group label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > :nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > :nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > :nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > :nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > :nth-child(6) { transition-delay: 0.40s; }

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

/* Skip link + misc */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; padding: 0.75rem 1rem; background: #fff; color: var(--ink); border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
