/* =========================================================
   DATA CLASSIFICATION & GOVERNANCE PLATFORM
   Landing page styles
   Aesthetic: refined enterprise, editorial serif headlines,
   deep navy + electric blue, white-first, generous spacing.
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand palette */
  --navy-950: #061226;
  --navy-900: #0b1f3a;
  --navy-800: #102a4c;
  --navy-700: #1a3a66;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --blue-100: #dbeafe;
  --blue-50:  #eff6ff;
  --teal-600: #0f766e;
  --teal-100: #ccfbf1;
  --teal-50:  #f0fdfa;
  --amber-600: #b45309;
  --amber-100: #fef3c7;
  --amber-50:  #fffbeb;

  /* Neutrals */
  --ink-950: #0a1226;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-300: #cbd5e1;
  --ink-200: #e2e8f0;
  --ink-100: #f1f5f9;
  --ink-50:  #f8fafc;
  --white:   #ffffff;

  /* Surfaces */
  --bg:        var(--white);
  --bg-alt:    #fafbfd;
  --bg-dark:   var(--navy-900);
  --surface:   var(--white);
  --border:    #e6ebf2;
  --border-strong: #d6deeb;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Geist", "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    8px;
  --radius-lg: 8px;
  --radius-xl: 8px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow:    0 4px 14px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(11, 31, 58, 0.18), 0 10px 24px -12px rgba(11, 31, 58, 0.12);
  --shadow-xl: 0 40px 80px -30px rgba(11, 31, 58, 0.28), 0 18px 40px -18px rgba(11, 31, 58, 0.16);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --accent-gradient: linear-gradient(90deg, var(--blue-500), var(--teal-600), var(--amber-600));
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-preview-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* Selection */
::selection { background: var(--navy-900); color: var(--white); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              color 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 1px 2px rgba(11,31,58,0.2), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn--primary:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: 0 8px 22px -8px rgba(11,31,58,0.4); }
.btn--secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn--secondary:hover { border-color: var(--navy-900); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--ink-50); border-color: var(--ink-300); }
.btn--xl { padding: 18px 30px; font-size: 1rem; }

/* ---------- Top Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0;
}
.nav__brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(2, 7px);
  grid-template-rows: repeat(2, 7px);
  gap: 3px;
}
.nav__brand-mark .dot {
  width: 7px; height: 7px;
  background: var(--ink-300);
  border-radius: 2px;
}
.nav__brand-mark .dot.active { background: var(--blue-500); }
.nav__brand-text {
  font-size: 0.95rem;
  color: var(--ink-900);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-500);
  letter-spacing: 0;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.nav__links a {
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav__links a:hover { color: var(--ink-900); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { font-size: 0.88rem; padding: 10px 18px; }

.nav__menu {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
}
.nav__menu span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink-900);
}

/* ---------- Section Frame ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-900); color: var(--white); }

.section__header {
  max-width: 760px;
  margin-bottom: 64px;
  position: relative;
}
.section__header::after {
  content: "";
  display: block;
  width: min(260px, 58vw);
  height: 3px;
  margin-top: 28px;
  background:
    linear-gradient(90deg, var(--blue-500) 0 24%, transparent 24% 30%, var(--teal-600) 30% 68%, transparent 68% 74%, var(--amber-600) 74% 100%);
  border-radius: 999px;
}
.section__header--center {
  text-align: center;
  margin: 0 auto 64px;
}
.section__header--center::after {
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  margin-bottom: 20px;
}
.section__eyebrow--light { color: var(--blue-400); }

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.2rem;
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--ink-900);
  margin: 0 0 22px;
}
.section__title em {
  font-style: italic;
  color: var(--blue-600);
  font-weight: 500;
}
.section__title--light { color: var(--white); }
.section__title--light em { color: var(--blue-400); }

.section__lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 64ch;
  margin: 0;
}
.section__lede--light { color: rgba(255,255,255,0.72); }

.section__note {
  margin: 40px 0 0;
  max-width: 76ch;
  color: var(--ink-700);
  font-size: 1.04rem;
  line-height: 1.7;
  border-left: 3px solid var(--teal-600);
  padding: 18px 22px;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 12px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  margin-bottom: 32px;
  max-width: 100%;
  white-space: normal;
}
.badge__pulse {
  width: 7px; height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  position: relative;
}
.badge__pulse::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--blue-500);
  opacity: 0.25;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(0.7); opacity: 0.4; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 64px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* Subtle grid behind the hero */
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 58%, transparent 100%);
}
.hero__glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10), rgba(15, 118, 110, 0.06), transparent 72%);
  filter: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  padding-top: 30px;
  position: relative;
}
.hero__inner::before {
  content: "";
  position: absolute;
  top: 132px;
  left: calc(50% - 50px);
  width: 108px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-500), var(--teal-600), transparent);
  opacity: 0.7;
  pointer-events: none;
}
.hero__copy {
  min-width: 0;
  max-width: 100%;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 4.25rem;
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--ink-900);
  margin: 0 0 28px;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero__title em {
  font-style: italic;
  color: var(--blue-600);
  font-weight: 500;
}

.hero__lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--ink-600);
  max-width: 56ch;
  margin: 0 0 36px;
  overflow-wrap: break-word;
}

.hero__subtitle {
  font-size: 1.32rem;
  line-height: 1.55;
  color: var(--ink-900);
  max-width: 58ch;
  margin: 0 0 18px;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 36px;
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.hero__stats dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.hero__stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--ink-900);
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

/* Hero developer card */
.hero__card {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
}
.hero__card-frame {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 2;
  overflow: hidden;
}
.hero__card-frame::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0.9;
}
.hero__card-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, #eaf1fb 0%, #f3f6fc 60%, #fafbfd 100%);
}
.hero__card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hero__card-flag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 10px 6px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--ink-700);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
}
.hero__card-flag-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}

.hero__card-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px 8px 6px;
}
.hero__card-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}
.hero__card-name h3 {
  margin: 4px 0 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-900);
}
.hero__card-role {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-600);
}

.hero__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hero__card-tags li {
  padding: 7px 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: linear-gradient(180deg, var(--white), var(--ink-50));
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--ink-700);
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-xs);
}

/* Floating chips around photo */
.float-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
  animation: floaty 5s ease-in-out infinite;
}
.float-chip__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.float-chip__value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-900);
}
.float-chip--a { top: 28%; left: -36px; animation-delay: 0s; }
.float-chip--b { top: 56%; left: -20px; animation-delay: -1.5s; }
.float-chip--b .float-chip__value::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: 1px;
}
.float-chip--c { bottom: -18px; right: 24px; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Hero trust strip */
.hero__trust {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero__trust p {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}
.hero__trust ul {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: var(--ink-700);
}
.hero__trust li:nth-child(even) { color: var(--ink-300); }

/* =========================================================
   PROBLEM
   ========================================================= */
.problems {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.problems--cost {
  grid-template-columns: repeat(4, 1fr);
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--blue-500));
  opacity: 0.85;
}
.problem-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.problem-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal-600);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0;
  color: var(--ink-900);
  margin: 0 0 10px;
}
.problem-card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* =========================================================
   MARKET
   ========================================================= */
.market {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.market__paragraph {
  font-size: 1.04rem;
  color: var(--ink-700);
  line-height: 1.7;
  margin: 0 0 18px;
}
.market__panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky;
  top: 100px;
  overflow: hidden;
}
.market__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,23,42,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(135deg, black, transparent 70%);
  -webkit-mask-image: linear-gradient(135deg, black, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.market__panel > * { position: relative; z-index: 1; }
.market__panel h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 18px;
  color: var(--ink-900);
}
.market__panel ul { display: flex; flex-direction: column; gap: 18px; }
.market__panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  font-size: 0.96rem;
  color: var(--ink-700);
  line-height: 1.55;
}
.market__panel-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  align-self: start;
}

/* =========================================================
   SOLUTION (DARK)
   ========================================================= */
.section--dark {
  background:
    linear-gradient(135deg, rgba(37,99,235,0.18), transparent 42%),
    linear-gradient(315deg, rgba(15,118,110,0.14), transparent 48%),
    var(--navy-900);
}

.solution-brief {
  display: grid;
  grid-template-columns: 0.9fr 1.35fr 0.9fr;
  gap: 16px;
  align-items: stretch;
}
.solution-card {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 30px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 70px -42px rgba(0,0,0,0.55);
}
.solution-card > span {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-100);
  background: rgba(15,118,110,0.18);
  border: 1px solid rgba(204,251,241,0.22);
  border-radius: 6px;
  padding: 5px 8px;
}
.solution-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: 0;
}
.solution-card p,
.solution-card li {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.62;
}
.solution-card p { margin: 0; }
.solution-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solution-card li {
  position: relative;
  padding-left: 20px;
}
.solution-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
}
.solution-card--process {
  background: rgba(255,255,255,0.07);
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.solution-item {
  padding: 28px 26px;
  border-right: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,0.015);
  transition: background 0.3s var(--ease);
}
.solution-item:hover { background: rgba(255,255,255,0.04); }
.solution-grid > .solution-item:nth-child(4n)        { border-right: 0; }
.solution-grid > .solution-item:nth-last-child(-n+4) { border-bottom: 0; }

.solution-item span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue-400);
  letter-spacing: 0.02em;
}
.solution-item p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0;
  color: var(--white);
  line-height: 1.3;
}

/* =========================================================
   WORKFLOW
   ========================================================= */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  counter-reset: workflow;
}
/* Connector line */
.workflow::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(to right,
    var(--ink-200) 0,
    var(--ink-200) 50%,
    transparent 50%,
    transparent 100%);
  background-size: 12px 1px;
  z-index: 0;
}
.workflow__step {
  position: relative;
  z-index: 1;
  background: var(--white);
  padding: 0 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.workflow__num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--border-strong);
  color: var(--blue-600);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  margin-bottom: 6px;
}
.workflow__num::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--blue-500), transparent) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
}
.workflow__step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink-900);
  letter-spacing: 0;
}
.workflow__step p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* =========================================================
   FEATURES
   ========================================================= */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.features > .feature:nth-child(1),
.features > .feature:nth-child(2) { grid-column: span 2; }
.features > .feature:last-child { grid-column: span 2; }
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .features > .feature:nth-child(1),
  .features > .feature:nth-child(2),
  .features > .feature:last-child { grid-column: auto; }
}

.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.feature:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.feature:hover::before { opacity: 0.85; }
.feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature:hover .feature__icon {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.7), 0 10px 24px -18px currentColor;
}
.feature:nth-child(3n) .feature__icon {
  background: var(--teal-50);
  color: var(--teal-600);
}
.feature:nth-child(4n) .feature__icon {
  background: var(--amber-50);
  color: var(--amber-600);
}
.feature h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--ink-900);
  line-height: 1.25;
}
.feature p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* =========================================================
   VALUE (Academic + Business)
   ========================================================= */
.value {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.value__col {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}
.value__col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-600));
}
.value__col--accent {
  background: linear-gradient(180deg, var(--blue-50), var(--white));
  border-color: var(--blue-100);
}
.value__col--accent::before {
  background: linear-gradient(90deg, var(--teal-600), var(--amber-600));
}
.value__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.15rem;
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--ink-900);
  margin: 14px 0 18px;
}
.value__intro {
  color: var(--ink-700);
  margin: 0 0 24px;
  font-size: 1rem;
  line-height: 1.6;
}
.value__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value__list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.55;
}
.value__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 14px; height: 1px;
  background: var(--blue-500);
}

.value__footnote {
  margin: 26px 0 0;
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.65;
}

.comparison {
  display: grid;
  gap: 8px;
}
.comparison__head,
.comparison__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.comparison__head span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.comparison__row span {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--ink-700);
  line-height: 1.5;
}
.comparison__row span:nth-child(2) {
  border-color: var(--teal-100);
  background: var(--teal-50);
  color: var(--ink-900);
}

/* =========================================================
   AUDIENCE
   ========================================================= */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.audience__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.audience__card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), transparent 72%);
}
.audience__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.audience__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  margin: 0 0 10px;
  color: var(--ink-900);
  letter-spacing: 0;
}
.audience__card p {
  margin: 0;
  color: var(--ink-600);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* =========================================================
   COMMERCIAL
   ========================================================= */
.commercial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.commercial__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.commercial__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-600), var(--blue-500));
  opacity: 0.72;
}
.commercial__card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-500);
}
.commercial__card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 10px;
  letter-spacing: 0;
  color: var(--ink-900);
}
.commercial__card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* =========================================================
   SCREENS
   ========================================================= */
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.screen { display: flex; flex-direction: column; gap: 14px; }
.screen__frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 46px -34px rgba(11,31,58,0.55), var(--shadow);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: zoom-in;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.screen__frame::before {
  content: "Preview full screen";
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(226,232,240,0.9);
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.screen__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.68);
  pointer-events: none;
}
.screen:hover .screen__frame {
  transform: translateY(-3px);
  box-shadow: 0 30px 80px -42px rgba(11,31,58,0.6), var(--shadow-lg);
}
.screen:hover .screen__frame::before {
  opacity: 1;
  transform: translateY(0);
}
.screen__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.3s var(--ease);
}
.screen:hover .screen__frame img {
  transform: scale(1.03);
}
.screen__frame--placeholder {
  justify-content: center;
  padding: 22px;
  background:
    linear-gradient(180deg, var(--white), var(--ink-50));
}
.screen__mock {
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.screen__mock--form {
  grid-template-rows: repeat(3, 22px) 34px;
  align-content: center;
}
.screen__mock--form span,
.screen__mock--context span,
.screen__mock--form strong {
  display: block;
  border-radius: 6px;
}
.screen__mock--form span {
  background: var(--ink-100);
}
.screen__mock--form strong {
  background: var(--navy-900);
}
.screen__mock--context {
  grid-template-columns: repeat(2, 1fr);
  align-content: center;
}
.screen__mock--context span {
  min-height: 54px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
}
.screen__bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--ink-50);
}
.screen__bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ink-200);
}
.screen__body {
  flex: 1;
  padding: 22px;
  background: var(--white);
  position: relative;
}
.screen__caption {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-500);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.screen__caption::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--teal-600);
}

.screen-preview {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 34px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), visibility 0.22s var(--ease);
}
.screen-preview.is-visible,
.screen-preview.is-pinned {
  opacity: 1;
  visibility: visible;
}
.screen-preview.is-pinned {
  pointer-events: auto;
}
.screen-preview__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(6,18,38,0.88), rgba(11,31,58,0.78)),
    rgba(6,18,38,0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.screen-preview__panel {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100vw - 68px));
  max-height: calc(100vh - 68px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 36px 100px -28px rgba(0,0,0,0.55);
  transform: scale(0.96) translateY(12px);
  transition: transform 0.24s var(--ease);
}
.screen-preview.is-visible .screen-preview__panel,
.screen-preview.is-pinned .screen-preview__panel {
  transform: scale(1) translateY(0);
}
.screen-preview__panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--accent-gradient);
  z-index: 2;
}
.screen-preview__image {
  width: 100%;
  max-height: calc(100vh - 132px);
  object-fit: contain;
  background: var(--ink-50);
}
.screen-preview__caption {
  margin: 0;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  color: var(--ink-700);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  background: var(--white);
}
.screen-preview__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.92);
  color: var(--ink-900);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.screen__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-500);
  margin: 0 0 16px;
}

/* Login layout */
.screen__body--login {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--bg-alt), var(--white));
}
.screen__login-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.screen__field { height: 12px; background: var(--ink-100); border-radius: 4px; }
.screen__cta { height: 14px; background: var(--navy-900); border-radius: 4px; margin-top: 4px; }

/* Dashboard */
.screen__body--dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 1fr;
  gap: 10px;
}
.screen__stat {
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  position: relative;
}
.screen__stat::after {
  content: "";
  position: absolute;
  left: 8px; top: 8px;
  width: 22px; height: 6px;
  background: var(--blue-500);
  border-radius: 2px;
}
.screen__chart {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
}
.screen__chart span {
  flex: 1;
  background: linear-gradient(180deg, var(--blue-500), var(--blue-400));
  border-radius: 3px 3px 0 0;
  min-width: 6px;
}

/* Table */
.screen__body--table { display: flex; flex-direction: column; gap: 6px; }
.screen__row { height: 16px; background: var(--ink-100); border-radius: 4px; }
.screen__row--head { background: var(--navy-900); width: 60%; }

/* Personal */
.screen__body--personal { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.screen__pill { height: 18px; border-radius: 999px; background: var(--ink-100); width: 90%; }
.screen__pill--accent { background: var(--blue-100); width: 70%; }

/* PDPL */
.screen__body--pdpl { display: flex; flex-direction: column; gap: 10px; }
.screen__note {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--blue-500);
}

/* Export */
.screen__body--export {
  display: flex;
  align-items: center;
  justify-content: center;
}
.screen__export {
  width: 70%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.screen__export-icon {
  width: 28px;
  height: 36px;
  background: linear-gradient(180deg, #22c55e 0 60%, #16a34a 60% 100%);
  border-radius: 4px;
  position: relative;
}
.screen__export-icon::after {
  content: "X";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
}
.screen__export-line { height: 8px; width: 80%; background: var(--ink-200); border-radius: 4px; }
.screen__export-line.short { width: 50%; }

/* =========================================================
   DEVELOPER
   ========================================================= */
.developer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.developer__photo { position: relative; }
.developer__photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.developer__photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(11,31,58,0.08));
  pointer-events: none;
}
.developer__photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: none;
}
.developer:hover .developer__photo-frame img {
  transform: none !important;
}
.developer__photo-tag {
  position: absolute;
  bottom: 24px;
  left: -28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.developer__photo-tag-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
}
.developer__photo-tag-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink-900);
  letter-spacing: 0;
}

.developer__paragraph {
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 28px;
}
.developer__paragraph strong { color: var(--ink-900); font-weight: 600; }

.developer__quote {
  margin: 0 0 28px;
  padding: 26px 28px;
  background: var(--bg-alt);
  border-left: 3px solid var(--blue-500);
  border-radius: 0 12px 12px 0;
}
.developer__quote p {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.5;
  font-style: italic;
  color: var(--ink-900);
  letter-spacing: 0;
}
.developer__quote footer {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-500);
}

.developer__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.developer__skills li {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-700);
  letter-spacing: 0.01em;
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta {
  background:
    linear-gradient(135deg, rgba(37,99,235,0.22), transparent 44%),
    linear-gradient(315deg, rgba(15,118,110,0.16), transparent 52%),
    var(--navy-900);
  color: var(--white);
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 3.35rem;
  line-height: 1.05;
  letter-spacing: 0;
  margin: 12px 0 22px;
  color: var(--white);
}
.cta__lede {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  margin: 0 auto 36px;
}
.cta .btn--primary {
  background: var(--white);
  color: var(--navy-900);
}
.cta .btn--primary:hover {
  background: var(--blue-50);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink-50);
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0;
  color: var(--navy-900);
}
.footer__brand p { margin: 0; color: var(--ink-600); font-size: 0.92rem; }
.footer__meta {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__meta p { margin: 0; font-size: 0.88rem; color: var(--ink-600); }
/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .hero__card { justify-self: center; max-width: 420px; }
  .float-chip--a { left: -16px; }
  .float-chip--c { right: -12px; }

  .problems, .audience { grid-template-columns: repeat(2, 1fr); }
  .commercial { grid-template-columns: repeat(2, 1fr); }
  .solution-brief { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid > .solution-item:nth-child(2n)        { border-right: 0; }
  .solution-grid > .solution-item:nth-child(4n)        { border-right: 1px solid rgba(255,255,255,0.08); }
  .solution-grid > .solution-item:nth-last-child(-n+2) { border-bottom: 0; }
  .solution-grid > .solution-item:nth-last-child(-n+4):not(:nth-last-child(-n+2)) { border-bottom: 1px solid rgba(255,255,255,0.08); }

  .market { grid-template-columns: 1fr; gap: 40px; }
  .market__panel { position: static; }

  .value { grid-template-columns: 1fr; }
  .developer { grid-template-columns: 1fr; gap: 60px; }
  .developer__photo { max-width: 380px; margin: 0 auto; }
  .developer__photo-tag { left: -16px; }

  .workflow { grid-template-columns: 1fr 1fr; }
  .workflow::before { display: none; }

  .screens { grid-template-columns: repeat(2, 1fr); }

  .footer__inner { grid-template-columns: 1fr; }
  .footer__meta { text-align: left; }

  .nav__links { display: none; }
  .nav__menu { display: flex; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section__header { margin-bottom: 36px; }
  .section__title {
    font-size: 2rem;
    line-height: 1.1;
  }
  .section__header::after {
    width: 180px;
    margin-top: 22px;
  }
  .section__lede {
    font-size: 1rem;
    line-height: 1.62;
  }
  .badge {
    font-size: 0.68rem;
    line-height: 1.45;
    padding: 8px 12px;
    margin-bottom: 24px;
  }

  .hero { padding: 32px 0 52px; }
  .hero__inner { gap: 36px; padding-top: 6px; }
  .hero__inner::before { display: none; }
  .hero__title {
    font-size: 2.26rem;
    line-height: 1.08;
    margin-bottom: 18px;
  }
  .hero__subtitle {
    font-size: 1.02rem;
    line-height: 1.58;
  }
  .hero__lede {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: 30px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 30px;
  }
  .hero__actions .btn {
    justify-content: center;
    white-space: normal;
    min-height: 54px;
  }
  .hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 18px;
  }
  .hero__stats div:last-child { grid-column: auto; }
  .hero__stats div {
    min-width: 0;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.72);
    border-radius: var(--radius);
    padding: 12px 10px;
  }
  .hero__stats dt {
    font-size: 0.62rem;
  }
  .hero__stats dd {
    font-size: 1rem;
    line-height: 1.18;
  }
  .hero__card {
    max-width: min(330px, calc(100vw - 40px));
    justify-self: center;
  }
  .hero__card-frame {
    padding: 12px;
  }
  .hero__card-photo {
    aspect-ratio: 1 / 1;
  }
  .hero__card-meta {
    padding: 16px 4px 4px;
  }
  .hero__card-name h3 {
    font-size: 1.35rem;
  }
  .hero__trust {
    margin-top: 48px;
    align-items: flex-start;
    gap: 12px;
  }
  .hero__trust ul {
    gap: 10px;
    font-size: 0.9rem;
  }

  .float-chip { display: none; }

  .problems, .audience, .commercial, .screens { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .screen__frame::before {
    content: "Tap to preview";
    opacity: 1;
    transform: none;
  }
  .screen-preview {
    padding: 16px;
  }
  .screen-preview__panel {
    width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
  }
  .screen-preview__image {
    max-height: calc(100vh - 96px);
  }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-grid > .solution-item { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .solution-grid > .solution-item:last-child { border-bottom: 0; }
  .workflow { grid-template-columns: 1fr; }
  .comparison__head,
  .comparison__row { grid-template-columns: 1fr; }
  .comparison__head span:nth-child(2) { display: none; }

  .value__col { padding: 32px 26px; }
  .value__title { font-size: 1.72rem; }
  .nav__brand-sub { display: none; }
  .nav__cta { display: none; }

  .cta { padding: 100px 0; }
  .cta__title { font-size: 2.35rem; }
  .hero__glow { display: none; }
}
