:root {
  --ink: #151515;
  --muted: #5c6268;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #0f766e;
  --coral: #e45f45;
  --amber: #e8b44a;
  --line: rgba(21, 21, 21, 0.12);
  --shadow: 0 24px 70px rgba(21, 21, 21, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  padding: 8px 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(20, 22, 22, 0.62);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.proof-strip,
.billing-toggle,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  object-fit: contain;
  border-radius: 0;
}

.nav-links {
  justify-self: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 600;
}

.nav-cta {
  justify-self: end;
  min-width: 104px;
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
}

.language-switch button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, 0.76);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

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

.owner-sidebar .language-switch,
.panel-sidebar .language-switch {
  justify-self: stretch;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.16);
}

.owner-sidebar .language-switch button,
.panel-sidebar .language-switch button {
  flex: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #181817;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 11, 11, 0.86) 0%, rgba(8, 11, 11, 0.62) 42%, rgba(8, 11, 11, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 11, 11, 0.45), rgba(8, 11, 11, 0.12) 62%, rgba(247, 245, 239, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 92vh;
  margin: 0 auto;
  padding: 156px 0 72px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 16px;
  color: #8ad6c8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.65;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 800;
  cursor: pointer;
}

.primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(228, 95, 69, 0.28);
}

.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.outline {
  border-color: var(--line);
  background: var(--white);
}

.full {
  width: 100%;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin: 54px 0 0;
}

.hero-stats div {
  width: 150px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-stats dt {
  font-size: 26px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.proof-strip {
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  width: min(1120px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
}

.proof-strip span {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(21, 21, 21, 0.08);
}

.section,
.workflow,
.chat-preview,
.demo-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.subpage-main {
  padding-top: 104px;
}

.subpage-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

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

.feature-card,
.price-card,
.lead-form,
.phone-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(21, 21, 21, 0.06);
}

.feature-card {
  min-height: 250px;
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--coral);
  font-weight: 800;
}

.feature-card p,
.workflow-copy p,
.chat-copy p,
.demo-copy p,
.price-note {
  color: var(--muted);
  line-height: 1.65;
}

.workflow,
.chat-preview,
.demo-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: center;
}

.workflow {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 20px;
  border-left: 5px solid var(--amber);
  background: rgba(255, 255, 255, 0.7);
}

.timeline span {
  color: var(--muted);
}

.pricing-section {
  padding-bottom: 44px;
}

.pricing-hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 34px;
}

.pricing-hero .section-heading {
  margin-bottom: 0;
}

.pricing-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.billing-toggle {
  width: max-content;
  margin: -6px 0 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.toggle-button {
  min-width: 96px;
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.price-card {
  position: relative;
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow);
}

.silver-card {
  background:
    linear-gradient(135deg, rgba(222, 227, 230, 0.42), rgba(255, 255, 255, 0) 38%),
    var(--white);
}

.gold-card {
  background:
    linear-gradient(135deg, rgba(232, 180, 74, 0.22), rgba(255, 255, 255, 0) 42%),
    var(--white);
}

.custom-card {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.14), rgba(255, 255, 255, 0) 42%),
    var(--white);
}

.badge {
  width: max-content;
  margin: 0 0 18px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.plan-name {
  margin: 0;
  font-weight: 800;
}

.price {
  margin: 16px 0 4px;
  font-size: 34px;
  font-weight: 800;
}

.price-stack {
  display: grid;
  gap: 10px;
  margin: 18px 0 10px;
}

.price-stack p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.price-stack span {
  color: var(--muted);
  font-weight: 700;
}

.price-stack strong {
  font-size: 22px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: #303437;
}

.price-card li::before {
  position: absolute;
  left: 0;
  content: "+";
  color: var(--teal);
  font-weight: 800;
}

.chat-preview {
  grid-template-columns: 430px 1fr;
}

.phone-shell {
  max-width: 430px;
  padding: 22px;
  background: #181817;
}

.phone-top {
  width: 92px;
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.24);
}

.message {
  width: fit-content;
  max-width: 88%;
  margin: 12px 0;
  padding: 13px 14px;
  border-radius: 8px;
  line-height: 1.45;
}

.message.bot {
  background: var(--white);
}

.message.user {
  margin-left: auto;
  background: var(--teal);
  color: var(--white);
}

.typing {
  display: flex;
  gap: 5px;
  width: 54px;
  padding: 14px;
  border-radius: 8px;
  background: var(--white);
}

.typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--coral);
  animation: blink 1.2s infinite ease-in-out;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes blink {
  50% {
    opacity: 0.28;
    transform: translateY(-2px);
  }
}

.demo-section {
  align-items: start;
  padding-top: 46px;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.consent-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: #303437;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.consent-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.text-link {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

.login-main {
  min-height: 100vh;
  padding: 132px 16px 72px;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 149, 255, 0.13), transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(15, 118, 110, 0.13), transparent 30%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(232, 180, 74, 0.06)),
    var(--paper);
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 56px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.login-copy h1 {
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 0.98;
}

.login-copy p {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.login-card {
  display: grid;
  gap: 16px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.login-card h2 {
  font-size: 34px;
}

.login-card p {
  color: var(--muted);
  line-height: 1.55;
}

.login-card label {
  color: #222;
}

.login-card input {
  min-height: 54px;
  background: #fffdfa;
}

.login-card .button {
  margin-top: 4px;
}

.login-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: min(1120px, 100%);
  margin: 52px auto 0;
}

.login-feature-card {
  overflow: hidden;
  border: 1px solid rgba(35, 92, 180, 0.12);
  border-radius: 22px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 22px 60px rgba(35, 52, 84, 0.08);
}

.login-feature-top {
  display: grid;
  min-height: 118px;
  place-items: center;
}

.login-feature-icon {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  box-shadow: 0 14px 28px rgba(21, 21, 21, 0.16);
}

.login-feature-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.login-feature-card h2 {
  margin: 24px 28px 0;
  font-size: 25px;
  line-height: 1.15;
}

.login-feature-card h3 {
  margin: 24px 28px 0;
  font-size: 25px;
  line-height: 1.15;
}

.login-feature-card p {
  margin: 18px auto 40px;
  max-width: 330px;
  padding: 0 28px;
  color: #3f4d5e;
  font-size: 18px;
  line-height: 1.55;
}

.login-feature-card.blue .login-feature-top {
  background: linear-gradient(90deg, #dce9ff, #eefbff);
}

.login-feature-card.blue .login-feature-icon {
  background: #2563eb;
}

.login-feature-card.green .login-feature-top {
  background: linear-gradient(90deg, #d6f7eb, #f2fff9);
}

.login-feature-card.green .login-feature-icon {
  background: #059669;
}

.login-feature-card.purple .login-feature-top {
  background: linear-gradient(90deg, #eee4ff, #fbf7ff);
}

.login-feature-card.purple .login-feature-icon {
  background: #7c3aed;
}

.login-feature-card.cyan .login-feature-top {
  background: linear-gradient(90deg, #d8f6ff, #f2fdff);
}

.login-feature-card.cyan .login-feature-icon {
  background: #0891b2;
}

.login-feature-card.amber .login-feature-top {
  background: linear-gradient(90deg, #fff0d3, #fffaf2);
}

.login-feature-card.amber .login-feature-icon {
  background: #d97706;
}

.login-feature-card.pink .login-feature-top {
  background: linear-gradient(90deg, #ffe2ef, #fff6fb);
}

.login-feature-card.pink .login-feature-icon {
  background: #db2777;
}

.home-feature-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 72px auto 0;
  padding: 34px;
  border: 1px solid rgba(35, 92, 180, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(220, 233, 255, 0.72), rgba(242, 253, 255, 0.42) 38%, rgba(255, 255, 255, 0.92)),
    var(--white);
  box-shadow: 0 28px 80px rgba(35, 52, 84, 0.1);
}

.home-feature-panel .section-heading {
  margin: 0 auto 28px;
  text-align: center;
}

.home-feature-panel .section-heading h2 {
  margin: 0 auto;
  max-width: 850px;
}

.home-feature-grid {
  width: 100%;
  margin: 0;
}

.home-feature-grid .login-feature-card {
  border-radius: 18px;
  box-shadow: none;
}

.panel-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #f4f2eb;
}

.owner-body {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #f4f2eb;
}

.panel-sidebar,
.owner-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 24px;
  background: #171817;
  color: var(--white);
}

.panel-brand {
  color: var(--white);
}

.panel-menu {
  display: grid;
  gap: 8px;
}

.panel-menu a,
.panel-logout {
  padding: 12px 14px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.panel-menu a.active,
.panel-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.panel-logout {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.panel-main {
  width: min(1180px, 100%);
  padding: 28px;
}

.owner-main {
  width: min(1240px, 100%);
  padding: 28px;
}

.panel-topbar,
.panel-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.panel-topbar {
  margin-bottom: 22px;
}

.panel-topbar h1 {
  max-width: none;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.panel-kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.panel-stats,
.company-grid,
.panel-grid {
  display: grid;
  gap: 16px;
}

.panel-stats {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
}

.panel-stats article,
.company-card,
.panel-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(21, 21, 21, 0.06);
}

.panel-stats article {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.panel-stats span,
.panel-stats small {
  color: var(--muted);
  font-weight: 700;
}

.panel-stats strong {
  font-size: 36px;
}

.panel-section {
  margin-bottom: 24px;
}

.panel-section-head {
  margin-bottom: 14px;
}

.panel-section-head h2 {
  font-size: 28px;
}

.panel-section-head.compact {
  margin-bottom: 12px;
}

.panel-section-head.compact a {
  color: var(--teal);
  font-weight: 800;
}

.company-grid {
  grid-template-columns: repeat(3, 1fr);
}

.company-card {
  padding: 20px;
}

.company-card.active {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: var(--shadow);
}

.company-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.company-card h3 {
  margin-top: 14px;
}

.company-card p {
  color: var(--muted);
  line-height: 1.55;
}

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

.panel-box {
  padding: 20px;
}

.panel-box.wide {
  grid-column: 1 / -1;
}

.panel-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.panel-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px;
  border-radius: 7px;
  background: #f8f7f2;
}

.panel-list span {
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.panel-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1.2fr 0.8fr;
  gap: 12px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

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

.table-head {
  background: #171817;
  color: var(--white);
  font-weight: 800;
}

.owner-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 28px;
}

.owner-form,
.owner-note,
.owner-table-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(21, 21, 21, 0.06);
}

.owner-form {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.owner-form h2,
.owner-note h2 {
  font-size: 28px;
}

.owner-check {
  display: flex;
  grid-template-columns: none;
  align-items: center;
}

.owner-check input {
  width: 18px;
  min-height: 18px;
}

.owner-note {
  padding: 22px;
}

.owner-note p {
  color: var(--muted);
  line-height: 1.65;
}

.owner-code {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.owner-code span {
  padding: 12px;
  border-radius: 7px;
  background: #f8f7f2;
  color: #303437;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.owner-table-section {
  padding: 22px;
}

.owner-table {
  display: grid;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.owner-row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr 110px 1.6fr 90px 80px;
  gap: 12px;
  align-items: center;
  min-width: 920px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

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

.lead-row {
  display: grid;
  grid-template-columns: 150px 1fr 1.2fr 1fr 90px 1.4fr 80px 70px;
  gap: 12px;
  align-items: center;
  min-width: 1120px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

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

.setup-row {
  display: grid;
  grid-template-columns: 70px 1fr 1.4fr 150px 150px 110px 150px;
  gap: 12px;
  align-items: center;
  min-width: 1120px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.ticket-row {
  display: grid;
  grid-template-columns: 70px 1fr 130px 100px 1.1fr 1.4fr 90px 90px;
  gap: 12px;
  align-items: center;
  min-width: 1180px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.customer-ticket-row {
  display: grid;
  grid-template-columns: 150px 140px 100px 1fr 90px;
  gap: 12px;
  align-items: center;
  min-width: 760px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.announcement-row {
  display: grid;
  grid-template-columns: 95px 140px 1fr 1.5fr 150px 80px 70px;
  gap: 12px;
  align-items: center;
  min-width: 1120px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.setup-row:last-child,
.ticket-row:last-child,
.customer-ticket-row:last-child,
.announcement-row:last-child {
  border-bottom: 0;
}

.owner-head {
  background: #171817;
  color: var(--white);
  font-weight: 800;
}

.owner-row a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.owner-row button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--coral);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lead-row button,
.setup-row button,
.ticket-row button,
.customer-ticket-row button,
.announcement-row button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--coral);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

.announcement-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: rgba(15, 118, 110, 0.07);
}

.announcement-card.maintenance {
  border-color: rgba(232, 91, 70, 0.22);
  background: rgba(232, 91, 70, 0.08);
}

.announcement-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.announcement-card time {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.announcement-card h3 {
  font-size: 22px;
}

.announcement-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.announcement-card.maintenance .announcement-badge {
  background: var(--coral);
}

.customer-ticket-row button {
  justify-content: flex-start;
  width: 100%;
  color: var(--teal);
  text-align: left;
}

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

.owner-empty {
  padding: 18px;
  color: var(--muted);
  font-weight: 700;
}

.owner-layout,
.owner-note {
  margin-bottom: 28px;
}

.ticket-chat-shell[hidden] {
  display: none;
}

.ticket-thread {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.ticket-message {
  display: grid;
  gap: 8px;
  max-width: 82%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f7f2;
}

.ticket-message.admin {
  margin-left: auto;
  border-color: rgba(15, 118, 110, 0.26);
  background: rgba(15, 118, 110, 0.08);
}

.ticket-message div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.ticket-message p {
  margin: 0;
  line-height: 1.55;
}

.panel-link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panel-link-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(21, 21, 21, 0.06);
}

.panel-link-card span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-link-card p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero-content {
    padding-top: 124px;
  }

  .feature-grid,
  .pricing-grid,
  .pricing-hero,
  .login-feature-grid,
  .login-shell,
  .panel-body,
  .owner-body,
  .owner-layout,
  .panel-stats,
  .company-grid,
  .panel-grid,
  .panel-link-grid,
  .workflow,
  .chat-preview,
  .demo-section {
    grid-template-columns: 1fr;
  }

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

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

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

  .panel-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-card {
    min-height: auto;
  }

  .price-card.featured {
    transform: none;
  }

  .chat-preview {
    padding-top: 54px;
  }
}

@media (max-width: 560px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    min-width: 92px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    min-height: 96vh;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 43px;
  }

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

  .hero-stats div {
    width: calc(50% - 6px);
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .section,
  .workflow,
  .chat-preview,
  .demo-section,
  .login-main {
    padding: 64px 0;
  }

  .login-main {
    padding-inline: 10px;
    padding-top: 92px;
  }

  .panel-main {
    padding: 18px;
  }

  .panel-menu {
    grid-template-columns: 1fr;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
