:root {
  color-scheme: light;
  --ink: #17201d;
  --ink-soft: #34433e;
  --muted: #65716c;
  --line: #d9e0dc;
  --paper: #f7f8f4;
  --white: #ffffff;
  --field: #0d2118;
  --field-2: #173a2b;
  --leaf: #2d6b51;
  --aqua: #2f6f75;
  --clay: #c76531;
  --gold: #d99f45;
  --red: #b44132;
  --shadow: 0 24px 70px rgba(18, 32, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(23, 58, 43, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(47, 111, 117, 0.06), transparent 480px),
    var(--paper);
  background-size: 44px 44px, auto, auto;
}

body::selection {
  color: var(--white);
  background: var(--leaf);
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 18px;
  border-radius: 0 0 16px 16px;
  background: rgba(247, 248, 244, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--field);
  box-shadow: 0 10px 24px rgba(18, 32, 28, 0.18);
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(217, 224, 220, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.nav-links a,
.nav-cta,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
}

.nav-links a {
  padding: 0 12px;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.nav-links a:hover {
  background: rgba(45, 107, 81, 0.1);
}

.nav-cta {
  padding: 0 16px;
  color: var(--white);
  background: var(--field);
  box-shadow: 0 10px 26px rgba(18, 32, 28, 0.18);
}

.section-pad {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 52px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding-top: 48px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 5px rgba(199, 101, 49, 0.12);
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 5.35rem;
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 3.55rem;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.04rem;
  line-height: 1.22;
}

.lede {
  max-width: 610px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
}

.button.primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 12px 30px rgba(199, 101, 49, 0.26);
}

.button.primary:hover {
  background: #ad542a;
}

.button.secondary {
  color: var(--field);
  border-color: rgba(13, 33, 24, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-row span {
  padding: 8px 11px;
  border: 1px solid rgba(45, 107, 81, 0.16);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  font-weight: 750;
}

.ops-console {
  overflow: hidden;
  border: 1px solid rgba(217, 224, 220, 0.82);
  border-radius: 18px;
  background: var(--field);
  box-shadow: var(--shadow);
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.console-topbar div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #64d38a;
  box-shadow: 0 0 0 5px rgba(100, 211, 138, 0.13);
}

.mono {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.console-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
}

.intake-card,
.task-panel,
.hebrew-note {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.intake-card {
  padding: 18px;
}

.intake-card.active {
  background: linear-gradient(180deg, rgba(199, 101, 49, 0.18), rgba(255, 255, 255, 0.07));
}

.channel {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #e7f5ee;
  background: rgba(45, 107, 81, 0.8);
  font-size: 0.72rem;
  font-weight: 900;
}

.intake-card h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.12;
}

.intake-card p {
  min-height: 66px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.83rem;
}

.card-meta strong {
  color: #ffd39f;
}

.task-panel {
  grid-column: span 2;
  padding: 18px;
  background: #f8faf7;
}

.panel-header,
.pipeline-row {
  display: grid;
  grid-template-columns: 110px 1fr 34px;
  gap: 12px;
  align-items: center;
}

.panel-header {
  grid-template-columns: 1fr auto;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.pipeline-row {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.pipeline-row b {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e8e4;
}

.pipeline-row b::before {
  position: absolute;
  inset: 0;
  width: var(--bar);
  content: "";
  border-radius: inherit;
  background: var(--aqua);
}

.pipeline-row strong {
  color: var(--ink);
  text-align: right;
}

.hebrew-note {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(90deg, rgba(47, 111, 117, 0.38), rgba(217, 159, 69, 0.22));
}

.hebrew-note strong {
  font-size: 1.35rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  border-top: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list article,
.case-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
}

.workflow-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  column-gap: 20px;
}

.workflow-list article h3,
.workflow-list article p {
  grid-column: 2;
}

.step {
  grid-row: span 2;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--field);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-weight: 900;
}

.workflow-list p,
.case-grid p,
.contact-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-band {
  width: 100%;
  max-width: none;
  padding-right: max(18px, calc((100% - 1180px) / 2));
  padding-left: max(18px, calc((100% - 1180px) / 2));
  color: var(--white);
  background: var(--field);
}

.product-band .eyebrow,
.product-band h2 {
  color: var(--white);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.dashboard {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: #f8faf7;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.8);
  background: var(--field-2);
}

.mini-brand {
  margin-bottom: 16px;
  color: var(--white);
  font-weight: 900;
}

.dashboard-sidebar a {
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.dashboard-sidebar a.selected,
.dashboard-sidebar a:hover {
  color: var(--field);
  background: #e8f1eb;
}

.dashboard-main {
  min-width: 0;
  padding: 22px;
  color: var(--ink);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dashboard-header h3 {
  margin: 5px 0 0;
  font-size: 1.55rem;
}

.sync-chip,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.sync-chip {
  color: var(--leaf);
  background: rgba(45, 107, 81, 0.1);
}

.ticket-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) minmax(130px, 0.9fr) minmax(90px, 0.55fr) minmax(100px, 0.55fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.table-row:first-child {
  border-top: 0;
}

.table-head {
  color: var(--muted);
  background: #eef4f0;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.chip.warning {
  color: #812e24;
  background: #f8ddd8;
}

.chip.progress {
  color: #735019;
  background: #f7e8c5;
}

.chip.ok {
  color: #19563c;
  background: #dff0e6;
}

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

.case-grid article {
  min-height: 212px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-grid article::after {
  width: 44px;
  height: 5px;
  margin-top: 24px;
  content: "";
  border-radius: 999px;
  background: var(--clay);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 48px;
  padding: 40px;
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(199, 101, 49, 0.94), rgba(47, 111, 117, 0.94)),
    var(--field);
}

.contact-band > div:first-child {
  max-width: 720px;
}

.contact-band .eyebrow,
.contact-band h2,
.contact-band p {
  color: var(--white);
}

.contact-identity {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
}

.contact-identity dt {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.contact-identity dd {
  margin: 0;
  font-weight: 800;
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid rgba(199, 101, 49, 0.72);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 4.4rem;
  }

  h2 {
    font-size: 3rem;
  }

  .hero {
    min-height: auto;
  }

  .ops-console {
    max-width: 720px;
  }

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

  .table-row {
    grid-template-columns: minmax(220px, 1fr) 120px 90px 96px;
    min-width: 650px;
  }

  .ticket-table {
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, 680px);
    gap: 12px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0.86rem;
  }

  .section-pad {
    width: min(100% - 24px, 680px);
    padding: 52px 0;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.22rem;
  }

  .lede {
    font-size: 1.08rem;
  }

  .console-grid,
  .dashboard,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .task-panel,
  .hebrew-note {
    grid-column: span 1;
  }

  .panel-header,
  .pipeline-row {
    grid-template-columns: 92px 1fr 32px;
  }

  .workflow-list article {
    grid-template-columns: 1fr;
  }

  .workflow-list article h3,
  .workflow-list article p {
    grid-column: 1;
  }

  .step {
    margin-bottom: 16px;
  }

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

  .mini-brand {
    grid-column: 1 / -1;
  }

  .dashboard-header,
  .contact-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-table {
    overflow: visible;
  }

  .table-head {
    display: none;
  }

  .table-row {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 5px;
    align-items: start;
  }

  .table-row span:first-child {
    color: var(--ink);
    font-weight: 850;
  }

  .table-row span:nth-child(2),
  .table-row span:nth-child(3) {
    color: var(--muted);
    font-size: 0.84rem;
  }

  .contact-band {
    width: min(100% - 24px, 680px);
    padding: 28px;
  }

  .contact-identity {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .hero-actions .button,
  .proof-row span {
    width: 100%;
  }

  .dashboard-sidebar {
    grid-template-columns: 1fr;
  }
}
