/* Verveli, marketing site */

:root {
  --paper: #F8F4EC;          /* warm cream */
  --paper-2: #F1ECE1;        /* slight tint for sections */
  --paper-3: #ECE5D6;        /* deeper warm panel */
  --ink: #161412;            /* warm near-black */
  --ink-2: #3B362F;          /* secondary text */
  --ink-3: #6E665B;          /* tertiary */
  --line: #E3DCCC;           /* hairlines */
  --line-2: #D5CCB8;
  --white: #FFFCF6;

  /* Four logo colors (mid-tone) */
  --c-orange: #F09A3A;
  --c-pink: #E5428E;
  --c-blue: #5BAFE4;
  --c-green: #4FC2A0;

  /* Gradient stops per pill, from verveli-logo-golden brand mark */
  --orange-top: #FFB229;
  --orange-bot: #FF8E1F;
  --pink-top: #F05CAD;
  --pink-bot: #EF3F94;
  --blue-top: #64C8F2;
  --blue-bot: #37ADE5;
  --green-top: #7CE3BF;
  --green-bot: #56D9A8;

  /* Active accent (set by Tweaks) */
  --accent: var(--c-orange);
  --accent-top: var(--orange-top);
  --accent-bot: var(--orange-bot);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --font-sans: "Geist", "Söhne", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", "Tiempos", "GT Sectra", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1280px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ------- type scale ------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

.h-display {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.h-display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.h-section {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h-section em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.h-card {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  max-width: 56ch;
}

.muted { color: var(--ink-3); }
.muted-2 { color: var(--ink-2); }

/* ------- layout ------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: 110px 0; position: relative; }
section + section { border-top: 1px solid var(--line); }
.section-tight { padding: 80px 0; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}
.section-head:not(.center) .h-section { margin: 0; }
.section-head.center { display: block; text-align: center; }
.section-head.center .lede { margin: 20px auto 0; }

/* ------- nav ------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 250ms ease, background 250ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand .wordmark { font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--ink-2);
  padding: 6px 2px;
  position: relative;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* ------- buttons ------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, color 150ms ease, box-shadow 150ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(22,20,18,0.5); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover { background: var(--paper-2); }
.btn-quiet {
  background: transparent;
  color: var(--ink-2);
  padding: 8px 0;
}
.btn .arrow { display: inline-block; transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ------- hero ------- */
.hero {
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero-inner { text-align: center; position: relative; }
.hero-logo { display: flex; justify-content: center; margin-bottom: 40px; }
.hero h1 { margin: 0 auto; max-width: 17ch; }
.hero .lede { margin: 22px auto 0; }
.hero-cta { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-trust {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--ink-3);
}
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); }

.hero-phones {
  margin-top: 80px;
  position: relative;
  height: 620px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-phones .phone-wrap {
  position: absolute;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.hero-phones .phone-wrap.left  { transform: translate(-280px, 70px) rotate(-7deg); }
.hero-phones .phone-wrap.center{ transform: translate(0, 0) rotate(0deg); z-index: 3; }
.hero-phones .phone-wrap.right { transform: translate(280px, 70px) rotate(7deg); }
@media (max-width: 900px) {
  .hero-phones { height: 560px; }
  .hero-phones .phone-wrap.left  { transform: translate(-150px, 90px) rotate(-6deg) scale(0.78); }
  .hero-phones .phone-wrap.center{ transform: translate(0, 0) rotate(0) scale(0.86); }
  .hero-phones .phone-wrap.right { transform: translate(150px, 90px) rotate(6deg) scale(0.78); }
}

/* ------- problem ------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.problem-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px 28px;
  background: color-mix(in oklab, var(--paper) 60%, var(--white));
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
}
.problem-card .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-3);
}
.problem-card h3 {
  margin: 24px 0 8px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.problem-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr 1fr; } }

/* ------- product (tabs) ------- */
.product { background: var(--paper-2); }
.product-tabs {
  display: flex; gap: 4px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-pill);
  padding: 4px;
  width: fit-content;
  margin: 0 auto 56px;
}
.product-tab {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
  border: 0;
  background: transparent;
  letter-spacing: -0.005em;
}
.product-tab[data-active="true"] {
  background: var(--ink);
  color: var(--paper);
}
.product-stage {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: center;
  min-height: 640px;
}
.product-copy .eyebrow { display: flex; align-items: center; }
.product-copy h2 { margin: 20px 0 18px; }
.product-features {
  margin-top: 28px;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--line);
}
.product-feature {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.product-feature .icon {
  width: 22px; height: 22px; flex: 0 0 auto;
  border-radius: 6px;
  background: color-mix(in oklab, var(--accent) 18%, var(--paper));
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  display: grid; place-items: center;
}
.product-feature .icon .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product-feature h4 { margin: 0 0 2px; font-size: 15.5px; font-weight: 500; }
.product-feature p { margin: 0; font-size: 14px; color: var(--ink-2); }

.product-phone-mount {
  position: relative;
  display: flex; justify-content: center; align-items: center;
  height: 720px;
}

@media (max-width: 980px) {
  .product-stage { grid-template-columns: 1fr; gap: 40px; }
  .product-phone-mount { height: 640px; }
}

/* ------- institutes ------- */
.institutes-stage {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: center;
}
.admin-window {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(22,20,18,0.18), 0 6px 18px -10px rgba(22,20,18,0.1);
}
.institutes-bullets {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px;
  margin-top: 28px;
}
.institutes-bullets > div h4 { font-size: 15px; font-weight: 500; margin: 0 0 4px; }
.institutes-bullets > div p { font-size: 13.5px; color: var(--ink-3); margin: 0; line-height: 1.45; }
@media (max-width: 980px) { .institutes-stage { grid-template-columns: 1fr; } }

/* ------- trust ------- */
.trust { background: var(--paper-2); }
.trust-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 64px; align-items: flex-start; }
.trust-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.trust-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 22px 24px;
}
.trust-item .ic {
  margin-bottom: 14px;
  line-height: 0;
  color: var(--accent);
}
.trust-item .ic svg { width: 22px; height: 22px; }
.compliance-note {
  grid-column: 1 / -1;
  display: flex; align-items: flex-start; gap: 13px;
  margin-top: 6px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-md);
  background: var(--paper);
}
.compliance-note svg { flex: none; margin-top: 1px; }
.compliance-note p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.compliance-note strong { color: var(--ink); font-weight: 500; }
.trust-item h4 { font-size: 15.5px; font-weight: 500; margin: 0 0 4px; letter-spacing: -0.01em; }
.trust-item p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.5; }
.trust-quote {
  position: sticky; top: 110px;
}
.trust-quote .mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 88px;
  line-height: 0.6;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.trust-quote blockquote {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.trust-quote blockquote em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
.trust-quote .cite {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; color: var(--ink-3);
}
.trust-quote .cite .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: color-mix(in oklab, var(--accent) 18%, var(--paper-3));
  border: 1px solid var(--line);
}
@media (max-width: 980px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
}

/* ------- pilot ------- */
.pilot-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  align-items: stretch;
}
.pilot-rail {
  position: absolute;
  left: 0; right: 0; top: 36px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-2) 10%, var(--line-2) 90%, transparent);
}
.pilot-step {
  position: relative;
  padding-top: 64px;
}
.pilot-step .marker {
  position: absolute; top: 28px; left: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-2);
}
.pilot-step.active .marker {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 6px color-mix(in oklab, var(--accent) 16%, transparent);
}
.pilot-step .week { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.pilot-step h4 { font-size: 16px; font-weight: 500; margin: 6px 0 6px; letter-spacing: -0.015em; line-height: 1.2; }
.pilot-step p { font-size: 13px; color: var(--ink-2); margin: 0; line-height: 1.45; }
@media (max-width: 980px) {
  .pilot-grid { grid-template-columns: 1fr 1fr; }
  .pilot-rail { display: none; }
}

/* ------- closing CTA ------- */
.closing { background: var(--ink); color: var(--paper); }
.closing section, .closing { border-top: 0; }
.closing-inner { text-align: center; padding: 140px 0; }
.closing h2 { color: var(--paper); }
.closing .lede { color: color-mix(in oklab, var(--paper) 70%, transparent); margin: 22px auto 0; }
.closing .btn-primary {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.closing .btn-primary:hover { background: var(--white); }
.closing .btn-ghost { color: var(--paper); border-color: color-mix(in oklab, var(--paper) 30%, transparent); }
.closing .btn-ghost:hover { background: color-mix(in oklab, var(--paper) 8%, transparent); }
.closing .hero-logo svg .pill { filter: brightness(1.06); }

/* ------- footer ------- */
footer {
  background: var(--ink);
  color: color-mix(in oklab, var(--paper) 75%, transparent);
  padding: 56px 0 64px;
  border-top: 1px solid color-mix(in oklab, var(--paper) 12%, transparent);
}
footer .footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
footer .footer-brandcol { display: flex; flex-direction: column; gap: 10px; }
footer .footer-brand { display: flex; align-items: center; gap: 12px; color: var(--paper); }
footer .footer-brand .wordmark { font-weight: 500; }
footer .powered-by { font-size: 12px; letter-spacing: 0.02em; color: color-mix(in oklab, var(--paper) 52%, transparent); transition: color 150ms ease; }
footer .powered-by:hover { color: var(--paper); }
footer .powered-by strong { font-weight: 600; color: color-mix(in oklab, var(--paper) 78%, transparent); }
footer .footer-contact a { color: var(--paper); border-bottom: 1px solid color-mix(in oklab, var(--paper) 30%, transparent); padding-bottom: 2px; }
footer .legal { font-size: 12.5px; color: color-mix(in oklab, var(--paper) 55%, transparent); margin-top: 32px; letter-spacing: 0.01em; }

/* ------- phone mock ------- */
.phone {
  width: 300px;
  height: 612px;
  border-radius: 44px;
  background: #111;
  padding: 9px;
  box-shadow: 0 40px 60px -30px rgba(22,20,18,0.35), 0 12px 26px -16px rgba(22,20,18,0.25), inset 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}
.phone .bezel-shine {
  position: absolute; inset: 0; border-radius: 44px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,0.07), transparent 35%);
}
.phone .screen {
  width: 100%; height: 100%;
  background: var(--paper);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  font-size: 12px;
  color: var(--ink);
}
.phone .notch {
  position: absolute;
  top: 18px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px;
  background: #111;
  border-radius: 16px;
  z-index: 4;
}
.phone .statusbar {
  position: absolute; top: 0; left: 0; right: 0; height: 50px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 26px;
  font-size: 11px; font-weight: 600;
  z-index: 3;
}
.phone .statusbar .right { display: inline-flex; gap: 6px; align-items: center; }
.phone .statusbar svg { display: block; }

.screen-content { padding: 60px 18px 90px; height: 100%; overflow: hidden; }

.tab-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.tab-header .title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.tab-header .icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid; place-items: center;
  color: var(--ink-2);
}

.phone .tabbar {
  position: absolute; left: 10px; right: 10px; bottom: 14px;
  height: 58px;
  background: rgba(255,252,246,0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  align-items: center;
  z-index: 2;
  box-shadow: 0 8px 22px -10px rgba(22,20,18,0.16);
}
.phone .tabbar .tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 9.5px; color: var(--ink-3); font-weight: 500;
  letter-spacing: 0.02em;
}
.phone .tabbar .tab .ic {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  color: var(--ink-3);
}
.phone .tabbar .tab[data-active="true"] { color: var(--ink); }
.phone .tabbar .tab[data-active="true"] .ic { color: var(--accent); }

/* feed cards inside phone */
.feed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
}
.feed-card .meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feed-card .meta .avi { width: 22px; height: 22px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--line); }
.feed-card .meta .name { font-size: 11.5px; font-weight: 500; }
.feed-card .meta .when { font-size: 10px; color: var(--ink-3); margin-left: auto; }
.feed-card .body { font-size: 11.5px; line-height: 1.45; color: var(--ink-2); }
.feed-card .image {
  margin-top: 8px;
  border-radius: 10px;
  height: 88px;
  background:
    radial-gradient(circle at 30% 30%, color-mix(in oklab, var(--c-orange) 36%, var(--paper-3)) 0%, transparent 55%),
    radial-gradient(circle at 80% 60%, color-mix(in oklab, var(--c-pink) 30%, var(--paper-3)) 0%, transparent 55%),
    radial-gradient(circle at 60% 90%, color-mix(in oklab, var(--c-blue) 28%, var(--paper-3)) 0%, transparent 50%),
    var(--paper-3);
}
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; color: var(--ink-2);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  font-weight: 500;
}
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* admin window */
.admin-titlebar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.admin-titlebar .lights { display: flex; gap: 6px; }
.admin-titlebar .lights span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.admin-titlebar .url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  font-family: var(--font-mono);
}
.admin-body { display: grid; grid-template-columns: 200px 1fr; min-height: 520px; }
.admin-side {
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  font-size: 12.5px;
  background: var(--paper);
}
.admin-side .brand {
  display: flex; align-items: center; gap: 8px; padding: 4px 8px 18px;
  font-weight: 500; font-size: 13px;
}
.admin-side .group { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding: 12px 8px 6px; font-weight: 500; }
.admin-side .item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px;
  border-radius: 7px;
  color: var(--ink-2);
}
.admin-side .item .ic { width: 14px; height: 14px; opacity: 0.8; }
.admin-side .item[data-active="true"] { background: var(--paper-2); color: var(--ink); }
.admin-side .item[data-active="true"] .ic { color: var(--accent); opacity: 1; }
.admin-side .item .badge {
  margin-left: auto;
  font-size: 10px;
  background: color-mix(in oklab, var(--accent) 16%, var(--paper));
  color: var(--ink);
  border: 1px solid color-mix(in oklab, var(--accent) 40%, var(--line));
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 500;
}

.admin-main { padding: 22px 26px; }
.admin-main .page-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 18px; }
.admin-main .page-head h3 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; }
.admin-main .page-head .sub { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.admin-main .filters { display: flex; gap: 6px; }
.admin-main .filter {
  font-size: 11.5px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  background: var(--paper);
}
.admin-main .filter[data-active="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.admin-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.admin-row {
  display: grid; grid-template-columns: 32px 1.6fr 1.2fr 0.9fr 1fr 130px;
  align-items: center;
  padding: 11px 14px;
  font-size: 12px;
  border-top: 1px solid var(--line);
}
.admin-row:first-child { border-top: 0; background: var(--paper-2); color: var(--ink-3); font-weight: 500; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-row .avi { width: 24px; height: 24px; border-radius: 50%; background: var(--paper-3); border: 1px solid var(--line); }
.admin-row .name { font-weight: 500; color: var(--ink); }
.admin-row .meta { color: var(--ink-3); font-size: 11px; margin-top: 1px; }
.admin-row .status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--ink-2);
}
.admin-row .status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-orange); }
.admin-row .status.green .dot { background: var(--c-green); }
.admin-row .status.blue .dot { background: var(--c-blue); }
.admin-row .status.pink .dot { background: var(--c-pink); }
.admin-row .actions { display: flex; gap: 6px; justify-content: flex-end; }
.admin-row .actions .btn-sm {
  font-size: 11px; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper);
  color: var(--ink-2);
}
.admin-row .actions .btn-sm.primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* audit log style */
.audit-list { display: flex; flex-direction: column; }
.audit-row {
  display: grid; grid-template-columns: 80px 1fr 110px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.audit-row:first-child { border-top: 0; }
.audit-row .time { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.audit-row .who { color: var(--ink-3); font-size: 11px; text-align: right; }
.audit-row .what strong { font-weight: 500; }
.audit-row .what .badge {
  display: inline-block; margin-right: 6px;
  font-size: 10px; padding: 2px 6px; border-radius: 4px;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
  font-family: var(--font-mono); letter-spacing: 0.02em;
  vertical-align: 1px;
}
.audit-row .what .badge.approve { color: color-mix(in oklab, var(--c-green) 65%, var(--ink)); border-color: color-mix(in oklab, var(--c-green) 30%, var(--line)); background: color-mix(in oklab, var(--c-green) 8%, var(--paper)); }
.audit-row .what .badge.update { color: color-mix(in oklab, var(--c-blue) 70%, var(--ink)); border-color: color-mix(in oklab, var(--c-blue) 28%, var(--line)); background: color-mix(in oklab, var(--c-blue) 8%, var(--paper)); }
.audit-row .what .badge.signal { color: color-mix(in oklab, var(--c-pink) 65%, var(--ink)); border-color: color-mix(in oklab, var(--c-pink) 28%, var(--line)); background: color-mix(in oklab, var(--c-pink) 8%, var(--paper)); }
.audit-row .what .badge.setting { color: color-mix(in oklab, var(--c-orange) 70%, var(--ink)); border-color: color-mix(in oklab, var(--c-orange) 28%, var(--line)); background: color-mix(in oklab, var(--c-orange) 8%, var(--paper)); }

/* small utilities */
.row { display: flex; gap: 14px; align-items: center; }
.spacer { flex: 1; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* hover-lift */
.lift { transition: transform 180ms ease, box-shadow 180ms ease; }
.lift:hover { transform: translateY(-2px); }

/* fade-in on mount */
.fade-in { opacity: 0; transform: translateY(8px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.fade-in.in { opacity: 1; transform: none; }

/* responsive nav */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
}

/* ------- phone / mobile ------- */
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }

  /* headings stack instead of sitting in a 2-column grid */
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }

  /* hero: stack the CTAs full-width, let the trust row wrap */
  .hero { padding: 48px 0 48px; }
  .hero-logo { margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { justify-content: center; }
  .hero-trust { flex-wrap: wrap; justify-content: center; row-gap: 8px; }

  /* single-column grids */
  .problem-grid { grid-template-columns: 1fr; }
  .institutes-bullets { grid-template-columns: 1fr; }
  .pilot-grid { grid-template-columns: 1fr; }

  /* tighten the big closing block */
  .closing-inner { padding: 88px 0; }

  /* shrink the stacked phone trio so it stays inside the screen */
  .hero-phones { height: 440px; margin-top: 48px; }
  .hero-phones .phone-wrap.left  { transform: translate(-96px, 80px) rotate(-6deg) scale(0.6); }
  .hero-phones .phone-wrap.center{ transform: translate(0, 0) rotate(0) scale(0.68); }
  .hero-phones .phone-wrap.right { transform: translate(96px, 80px) rotate(6deg) scale(0.6); }

  /* product tab pill: let it scroll rather than overflow the page */
  .product-tabs { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .product-tab { padding: 10px 14px; font-size: 13px; white-space: nowrap; }

  /* desktop admin console is intentionally wide; scroll it inside its own
     card so it keeps the real layout without pushing the page sideways.
     min-width:0 lets the 1fr grid track shrink below the console's width. */
  .institutes-stage > * { min-width: 0; }
  .admin-window { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-body { min-width: 560px; }
}
