:root {
  color-scheme: light;
  --ink: #111412;
  --coal: #19211e;
  --muted: #5f6f69;
  --paper: #ffffff;
  --surface: #f8faf7;
  --mist: #eef5f0;
  --line: #dbe5df;
  --teal: #22b8a6;
  --gold: #f6c453;
  --coral: #ff6b45;
  --blue: #3f78a2;
  --shadow: 0 24px 70px rgba(17, 20, 18, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
  min-width: 0;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
}

h1 {
  max-width: 860px;
  margin-bottom: 0;
  color: inherit;
  font-size: 86px;
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: inherit;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: inherit;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 58px;
  border-bottom: 1px solid rgba(219, 229, 223, 0.84);
  background: rgba(248, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.brand,
.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: inherit;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.brand-logo {
  display: block;
  width: 52px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(17, 20, 18, 0.18));
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  line-height: 1;
}

.nav-links {
  display: flex;
  flex: 1 1 360px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #43504b;
  font-size: 14px;
  font-weight: 850;
}

.nav-links a {
  padding: 7px 0;
}

.nav-links a:hover,
.direct-email:hover,
.site-footer a:hover {
  color: var(--coral);
}

.header-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.nav-phone {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 20, 18, 0.1);
  border-radius: 8px;
  padding: 0 13px;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-phone:hover {
  background: #24312c;
}

.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.language-button,
.language-switch button {
  width: 44px;
  min-height: 40px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: #46544f;
  font-size: 12px;
  font-weight: 900;
}

.language-button:last-child,
.language-switch button:last-child {
  border-right: 0;
}

.language-button.is-active,
.language-button.active,
.language-switch button.active {
  background: var(--ink);
  color: white;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: var(--gold);
  color: #181204;
}

.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.dark,
.subtle {
  border-color: var(--line);
  background: white;
  color: var(--ink);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  align-items: center;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: url("assets/afterhoursai-hero.png") center / cover no-repeat;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 20, 18, 0.96) 0%, rgba(17, 20, 18, 0.78) 44%, rgba(17, 20, 18, 0.16) 100%),
    linear-gradient(0deg, rgba(17, 20, 18, 0.84), rgba(17, 20, 18, 0.08) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(790px, calc(100% - 36px));
  padding: 96px 0 150px 86px;
  animation: fadeLift 720ms ease both;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero-offer {
  max-width: 700px;
  margin: 18px 0 0;
  color: white;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.16;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
}

.hero-actions,
.listing-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 850;
}

.hero-contact a {
  color: var(--gold);
}

.signal-strip {
  position: absolute;
  right: 58px;
  bottom: 28px;
  z-index: 1;
  display: grid;
  width: min(650px, calc(100% - 36px));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(17, 20, 18, 0.74);
  backdrop-filter: blur(16px);
}

.signal-strip div {
  min-width: 0;
  padding: 18px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  animation: fadeLift 680ms ease both;
}

.signal-strip div:nth-child(2) {
  animation-delay: 120ms;
}

.signal-strip div:nth-child(3) {
  animation-delay: 240ms;
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong,
.signal-strip span {
  display: block;
  overflow-wrap: anywhere;
}

.signal-strip strong {
  color: var(--gold);
  font-size: 26px;
  line-height: 1;
}

.signal-strip span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 850;
}

.section {
  padding: 84px 58px;
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-band {
  background: white;
}

.intro-grid,
.command-layout,
.service-layout,
.demo-layout,
.contact-layout,
.listing-layout,
.location-layout {
  display: grid;
  gap: 44px;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: start;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
}

.intro-points article,
.capture-board,
.contact-form,
.login-card,
.metric-grid article,
.admin-section,
.request-detail,
.location-card,
.unit-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(17, 20, 18, 0.07);
}

.intro-points article {
  min-height: 230px;
  padding: 22px;
}

.intro-points span {
  display: inline-flex;
  width: 42px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e8f7f4;
  color: #087a70;
  font-size: 13px;
  font-weight: 900;
}

.intro-points p,
.command-copy p,
.demo-layout p,
.location-card p,
.contact-layout p,
.listing-copy p {
  margin-bottom: 0;
}

.command-section {
  background: var(--ink);
  color: white;
}

.command-layout {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  align-items: center;
}

.command-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.capture-board {
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(34, 184, 166, 0.14), transparent 38%),
    #f8faf7;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.board-topline,
.board-row {
  display: grid;
  gap: 5px;
  padding: 18px 22px;
}

.board-topline {
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: white;
}

.board-topline span,
.board-row span,
.board-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-row {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease;
}

.board-row::after {
  position: absolute;
  top: 0;
  left: -45%;
  width: 36%;
  height: 100%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.64), transparent);
  opacity: 0;
  transform: skewX(-18deg);
}

.board-row.priority::after {
  animation: rowSweep 4.2s ease-in-out infinite;
}

.board-row:hover {
  background: white;
  transform: translateX(4px);
}

.board-row:last-child {
  border-bottom: 0;
}

.board-row.priority {
  border-left: 5px solid var(--coral);
}

.board-row strong {
  color: var(--ink);
  font-size: 22px;
}

.growth-section {
  background: white;
}

.growth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
  gap: 44px;
  align-items: start;
}

.growth-copy p {
  max-width: 680px;
}

.growth-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.growth-metrics div,
.revenue-calculator,
.followup-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(17, 20, 18, 0.07);
}

.growth-metrics div {
  min-height: 144px;
  padding: 18px;
}

.growth-metrics strong,
.growth-metrics span {
  display: block;
}

.growth-metrics strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.growth-metrics span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.revenue-calculator {
  display: grid;
  gap: 16px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(34, 184, 166, 0.12), transparent 42%),
    #fbfdfa;
  box-shadow: var(--shadow);
}

.calculator-heading {
  display: grid;
  gap: 5px;
}

.calculator-heading span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-heading strong {
  font-size: 24px;
  line-height: 1.12;
}

.revenue-output {
  display: block;
  border-radius: 8px;
  padding: 18px;
  background: var(--ink);
  color: var(--gold);
  font-size: 42px;
  font-weight: 950;
  line-height: 1;
  overflow-wrap: anywhere;
}

.revenue-calculator small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.followup-band {
  background: #f0f6f3;
}

.followup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.followup-layout p {
  margin-bottom: 0;
}

.followup-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.followup-list article {
  display: grid;
  min-height: 132px;
  align-content: space-between;
  gap: 24px;
  padding: 18px;
}

.followup-list span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.followup-list strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.12;
}

.owner-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.owner-section::before {
  position: absolute;
  inset: -20%;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.28;
  transform: rotate(-3deg);
}

.owner-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.owner-copy p {
  max-width: 620px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.owner-actions .subtle {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.owner-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  perspective: 900px;
}

.owner-flow article {
  display: grid;
  min-height: 178px;
  align-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: rotateX(3deg) translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: cardRise 760ms ease both;
}

.owner-flow article:nth-child(2) {
  animation-delay: 110ms;
}

.owner-flow article:nth-child(3) {
  animation-delay: 220ms;
}

.owner-flow article:nth-child(4) {
  animation-delay: 330ms;
}

.owner-flow article:hover {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  transform: rotateX(0deg) translateY(-6px);
}

.owner-flow span,
.owner-flow strong,
.owner-flow p {
  display: block;
}

.owner-flow span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 950;
}

.owner-flow strong {
  font-size: 22px;
  line-height: 1.12;
}

.owner-flow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.service-band {
  background: #eaf5f1;
}

.service-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
}

.service-layout p {
  max-width: 620px;
  margin: 18px 0 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.feature-grid article {
  display: grid;
  min-height: 168px;
  align-content: start;
  gap: 10px;
  border: 1px solid rgba(17, 20, 18, 0.1);
  border-radius: 8px;
  padding: 18px;
  background: white;
  box-shadow: 0 14px 34px rgba(17, 20, 18, 0.07);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover {
  border-color: rgba(34, 184, 166, 0.42);
  box-shadow: 0 20px 48px rgba(17, 20, 18, 0.11);
  transform: translateY(-4px);
}

.feature-grid span,
.feature-grid strong,
.feature-grid p {
  display: block;
}

.feature-grid span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 950;
}

.feature-grid strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.12;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-list span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid rgba(17, 20, 18, 0.1);
  border-radius: 999px;
  padding: 0 15px;
  background: white;
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 20, 18, 0.06);
}

.demo-section {
  background: white;
}

.demo-layout,
.contact-layout {
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: start;
}

.direct-email {
  display: inline-flex;
  color: #087a70;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 20px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #364640;
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfdcd6;
  border-radius: 8px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(34, 184, 166, 0.16);
}

.form-note {
  margin: 0;
  border-radius: 8px;
  padding: 12px 14px;
  background: #e8f7f4;
  color: #075d55;
  font-size: 14px;
  font-weight: 850;
}

.error-note {
  background: #fff0e9;
  color: #8e351e;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 58px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 900;
}

.site-footer a,
.site-footer span:first-child {
  color: white;
}

.admin-page {
  min-height: 100svh;
  background: #eef5f0;
}

.admin-page h1 {
  font-size: 44px;
  line-height: 1.06;
}

.admin-page h2 {
  font-size: 32px;
}

.login-screen {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 24px;
}

.login-card {
  display: grid;
  width: min(480px, 100%);
  gap: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.login-card-head,
.admin-topbar,
.section-title-row,
.topbar-actions,
.request-tools,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.login-card-head,
.admin-topbar,
.section-title-row {
  align-items: flex-start;
  justify-content: space-between;
}

.admin-shell {
  display: grid;
  min-height: 100svh;
  grid-template-columns: 280px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100svh;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  background: var(--ink);
  color: white;
}

.side-nav {
  display: grid;
  gap: 8px;
}

.side-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.side-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.role-card {
  display: grid;
  gap: 4px;
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.role-card span,
.role-card small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.role-card strong {
  font-size: 22px;
}

.admin-main {
  min-width: 0;
  padding: 30px 40px;
}

.admin-topbar {
  margin-bottom: 24px;
}

.topbar-actions {
  align-items: center;
  justify-content: flex-end;
}

.admin-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 0 12px;
  background: #e8f7f4;
  color: #087a70;
  font-size: 12px;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.metric-grid article {
  display: grid;
  gap: 6px;
  min-height: 118px;
  align-content: center;
  padding: 18px;
}

.metric-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.metric-grid strong {
  font-size: 36px;
  line-height: 1;
}

.admin-section {
  min-width: 0;
  margin-bottom: 22px;
  padding: 22px;
}

.product-section {
  background:
    linear-gradient(135deg, rgba(34, 184, 166, 0.1), transparent 44%),
    white;
}

.product-copy {
  max-width: 760px;
  margin: -4px 0 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-grid article {
  display: grid;
  min-height: 148px;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfdfa;
}

.product-grid strong,
.product-grid span {
  display: block;
}

.product-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.12;
}

.product-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.account-section {
  background: white;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.account-grid article {
  display: grid;
  min-height: 126px;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfdfa;
}

.account-grid span,
.account-grid strong,
.account-grid small {
  display: block;
  overflow-wrap: anywhere;
}

.account-grid span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.account-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.16;
}

.account-grid small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.reset-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #eef5f0;
}

.reset-form .button {
  grid-column: 1 / -1;
}

.reset-form .form-note {
  grid-column: 1 / -1;
}

.section-title-row {
  margin-bottom: 18px;
}

.section-title-row.compact {
  align-items: center;
}

.request-tools {
  align-items: center;
  justify-content: flex-end;
}

.request-tools input {
  width: min(260px, 100%);
}

.segmented {
  display: flex;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.segmented button {
  min-height: 42px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 0 12px;
  background: transparent;
  color: #46544f;
  font-size: 13px;
  font-weight: 900;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented button.active {
  background: var(--ink);
  color: white;
}

.request-board {
  display: grid;
  grid-template-columns: minmax(240px, 0.76fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.request-list {
  display: grid;
  max-height: 720px;
  gap: 10px;
  overflow: auto;
  padding-right: 2px;
}

.request-item {
  display: grid;
  width: 100%;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfa;
  color: var(--ink);
  text-align: left;
}

.request-item.active {
  border-color: rgba(34, 184, 166, 0.46);
  box-shadow: inset 3px 0 0 var(--teal);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 0 11px;
  background: #e8f7f4;
  color: #087a70;
  font-size: 12px;
  font-weight: 900;
}

.status-new,
.priority-high {
  background: #fff0e9;
  color: #8e351e;
}

.status-invited,
.priority-normal {
  background: #eef5f9;
  color: var(--blue);
}

.status-qualified,
.status-active {
  background: #e8f7f4;
  color: #087a70;
}

.status-archived,
.status-suspended {
  background: #f1f4ef;
  color: #67736d;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.request-detail {
  min-width: 0;
  padding: 18px;
}

.detail-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.detail-grid,
.story-block,
.admin-grid,
.role-summary {
  display: grid;
  gap: 14px;
}

.detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
}

.detail-grid div,
.story-block article,
.role-summary div,
.activity-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfdfa;
}

.detail-grid span,
.activity-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-grid strong,
.detail-grid a,
.story-block p,
.activity-item p,
td span {
  overflow-wrap: anywhere;
}

.story-block {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  margin-top: 14px;
}

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

.invite-form {
  display: grid;
  gap: 14px;
}

.role-summary {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  margin-bottom: 16px;
}

.role-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: white;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

td {
  font-size: 14px;
}

td strong,
td span {
  display: block;
}

tr:last-child td {
  border-bottom: 0;
}

.table-action {
  border: 0;
  background: transparent;
  color: #087a70;
  font-weight: 900;
}

.activity-list {
  display: grid;
  gap: 10px;
}

.activity-item {
  display: grid;
  gap: 4px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfdfa;
  color: var(--muted);
  font-weight: 800;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rowSweep {
  0%,
  55% {
    left: -45%;
    opacity: 0;
  }

  66% {
    opacity: 1;
  }

  100% {
    left: 112%;
    opacity: 0;
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: rotateX(8deg) translateY(18px);
  }

  to {
    opacity: 1;
    transform: rotateX(3deg) translateY(0);
  }
}

@media (max-width: 1100px) {
  h1 {
    font-size: 70px;
  }

  h2 {
    font-size: 38px;
  }

  .site-header,
  .section,
  .site-footer {
    padding-inline: 34px;
  }

  .hero-content {
    padding-left: 34px;
  }

  .signal-strip {
    right: 34px;
  }

  .intro-grid,
  .command-layout,
    .growth-layout,
    .followup-layout,
    .owner-layout,
    .service-layout,
    .demo-layout,
  .listing-layout,
  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 232px minmax(0, 1fr);
  }

  .metric-grid,
  .admin-grid,
  .product-grid,
  .account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reset-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .request-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .site-header {
    gap: 12px 18px;
  }

  .brand {
    flex: 1 1 auto;
  }

  .nav-links {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  h1 {
    font-size: 52px;
    line-height: 1;
  }

  h2 {
    font-size: 34px;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-content {
    width: 100%;
    padding: 62px 34px 28px;
  }

  .hero-offer {
    font-size: 24px;
  }

  .signal-strip {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 68px);
    margin: 0 34px 22px;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .side-nav {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }

  .admin-main {
    padding: 24px 18px;
  }

  .topbar-actions,
  .request-tools {
    justify-content: flex-start;
  }

  .growth-metrics,
  .owner-flow,
  .feature-grid,
  .followup-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: static;
    flex-direction: column;
    align-items: stretch;
    padding-inline: 18px;
  }

  .brand {
    width: 100%;
  }

  .language-switch {
    align-self: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-phone {
    flex: 1 1 auto;
    white-space: normal;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 29px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .hero-actions,
  .listing-actions,
  .button {
    width: 100%;
  }

  .hero-content,
  .section,
  .site-footer {
    padding-inline: 18px;
  }

  .signal-strip {
    width: calc(100% - 36px);
    grid-template-columns: 1fr;
    margin-inline: 18px;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px 14px;
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding-block: 58px;
  }

  .board-topline {
    grid-template-columns: 1fr;
  }

  .revenue-output {
    font-size: 34px;
  }

  .contact-form {
    padding: 16px;
  }

  .owner-flow article {
    min-height: 150px;
  }

  .site-footer,
  .admin-topbar,
  .section-title-row {
    align-items: stretch;
    flex-direction: column;
  }

  .request-tools,
  .request-tools input {
    width: 100%;
  }

  .login-screen {
    padding: 16px;
  }

  .login-card,
  .admin-section,
  .request-detail {
    padding: 16px;
  }

  .metric-grid,
  .product-grid,
  .account-grid,
  .admin-grid,
  .reset-form {
    grid-template-columns: 1fr;
  }

  .segmented {
    width: 100%;
    overflow-x: auto;
  }

  .segmented button {
    flex: 1 0 auto;
  }

  table {
    min-width: 520px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 26px;
  }

  .brand-logo {
    width: 44px;
    height: 40px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }
}

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