:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #61708a;
  --panel: #ffffff;
  --line: #d8e3ef;
  --soft: #f5f9fe;
  --brand: #137fba;
  --brand-dark: #0d527b;
  --green: #18a875;
  --amber: #f4b740;
  --violet: #725cf6;
  --shadow: 0 26px 80px rgba(15, 36, 68, 0.16);
  --soft-shadow: 0 16px 44px rgba(15, 36, 68, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 12% 6%, rgba(19, 127, 186, 0.16), transparent 30vw),
    radial-gradient(circle at 88% 18%, rgba(24, 168, 117, 0.14), transparent 28vw),
    linear-gradient(180deg, #f7fbff 0%, #eef6fb 48%, #f4fbf7 100%);
  color: var(--ink);
  margin: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
p { color: var(--muted); line-height: 1.68; }

.site-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(216, 227, 239, 0.86);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(18px, 5vw, 74px);
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.brand img {
  background: #142236;
  border-radius: 10px;
  height: 42px;
  object-fit: contain;
  padding: 4px;
  width: 42px;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 800;
}

.site-nav nav,
.nav-actions,
.hero-actions,
.trust-row {
  align-items: center;
  display: flex;
  gap: 14px;
}

.site-nav nav {
  color: var(--muted);
  gap: 24px;
}

.site-nav nav a:hover,
.ghost:hover { color: var(--brand-dark); }

.nav-actions { gap: 10px; }

.primary,
.secondary,
.ghost {
  align-items: center;
  border-radius: 10px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.primary {
  background: linear-gradient(135deg, var(--brand), #2456e8);
  color: #fff;
  box-shadow: 0 16px 34px rgba(25, 92, 185, 0.22);
}

.primary:hover {
  box-shadow: 0 20px 42px rgba(25, 92, 185, 0.28);
  transform: translateY(-1px);
}

.primary.small { min-height: 42px; padding-inline: 15px; }

.secondary,
.ghost {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  color: #24324a;
}

.secondary:hover,
.ghost:hover {
  border-color: #b9cbe0;
  transform: translateY(-1px);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(34px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 74px) clamp(42px, 7vw, 90px);
}

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

.eyebrow {
  align-items: center;
  background: rgba(19, 127, 186, 0.1);
  border: 1px solid rgba(19, 127, 186, 0.22);
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 18px;
  padding: 9px 14px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 6vw, 6.4rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 4.3rem);
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-copy p {
  font-size: clamp(1.08rem, 1.5vw, 1.34rem);
  max-width: 710px;
}

.hero-actions { flex-wrap: wrap; margin-top: 30px; }

.trust-row {
  flex-wrap: wrap;
  margin-top: 24px;
}

.trust-row span {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #475569;
  font-size: 0.92rem;
  padding: 8px 12px;
}

.hero-console {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(206, 221, 237, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 18px;
}

.console-top,
.console-grid {
  display: grid;
  gap: 12px;
}

.console-top {
  align-items: center;
  grid-template-columns: 1fr auto;
}

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

.console-top strong {
  background: #e9faf4;
  border: 1px solid #bcebd8;
  border-radius: 999px;
  color: #087653;
  padding: 8px 12px;
}

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

.console-grid article,
.console-chat p {
  background: #f7fbff;
  border: 1px solid #dbe7f3;
  border-radius: 16px;
  padding: 14px;
}

.console-grid span,
.console-chat p {
  color: #55677f;
  font-size: 0.94rem;
}

.console-grid strong {
  color: var(--ink);
  display: block;
  font-size: 1.8rem;
  margin-top: 4px;
}

.console-chat {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.console-chat p { margin: 0; }
.console-chat .bot { background: #eafaf3; border-color: #c2ecd9; color: #0d684b; }
.console-chat .human { background: #fff7df; border-color: #f4db93; color: #835b00; }

.hero-console img {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 52px rgba(15, 36, 68, 0.12);
  width: 100%;
}

.quick-access,
.services-grid,
.screen-grid,
.workflow-steps {
  display: grid;
  gap: 18px;
  padding-inline: clamp(18px, 5vw, 74px);
}

.quick-access {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 92px;
}

.quick-access article,
.services-grid article,
.workflow-steps article,
.trial-section,
.login-section,
.screen-feature,
.screen-grid figure {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(216, 227, 239, 0.92);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.quick-access article,
.services-grid article,
.workflow-steps article {
  padding: 26px;
}

.quick-access span,
.workflow-steps span {
  align-items: center;
  background: #e9f6ff;
  border-radius: 12px;
  color: var(--brand-dark);
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 24px;
  width: 42px;
}

.quick-access a {
  color: var(--brand-dark);
  font-weight: 850;
}

.section-head {
  margin: 0 auto;
  max-width: 980px;
  padding: 0 clamp(18px, 5vw, 74px) 34px;
  text-align: center;
}

.section-head p {
  font-size: 1.08rem;
  margin-inline: auto;
  max-width: 760px;
}

.section-head.narrow { max-width: 820px; }

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 96px;
}

.services-grid article {
  min-height: 210px;
  position: relative;
}

.services-grid article::before {
  background: linear-gradient(90deg, var(--brand), var(--green));
  border-radius: 999px;
  content: "";
  display: block;
  height: 5px;
  margin-bottom: 22px;
  width: 54px;
}

.screenshots {
  padding-bottom: 96px;
}

.screen-feature {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  margin: 0 clamp(18px, 5vw, 74px) 22px;
  overflow: hidden;
  padding: 28px;
}

.screen-feature span {
  color: var(--brand-dark);
  font-weight: 850;
  text-transform: uppercase;
}

.screen-feature img,
.screen-grid img {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(15, 36, 68, 0.12);
  width: 100%;
}

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

.screen-grid figure {
  margin: 0;
  overflow: hidden;
  padding: 12px;
}

.screen-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screen-grid figcaption {
  color: #40506a;
  font-weight: 800;
  line-height: 1.35;
  padding: 14px 4px 4px;
}

.workflow {
  padding-bottom: 96px;
}

.workflow-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trial-section {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 60px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  margin: 0 clamp(18px, 5vw, 74px) 92px;
  overflow: hidden;
  padding: clamp(30px, 5vw, 60px);
  position: relative;
}

.trial-section::before {
  background:
    linear-gradient(135deg, rgba(19, 127, 186, 0.16), transparent 48%),
    linear-gradient(315deg, rgba(24, 168, 117, 0.14), transparent 46%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.trial-copy,
.trial-form {
  position: relative;
  z-index: 1;
}

.trial-copy ul {
  color: #344054;
  display: grid;
  gap: 12px;
  line-height: 1.55;
  margin: 26px 0 0;
  padding-left: 20px;
}

.trial-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  display: grid;
  gap: 15px;
  padding: clamp(22px, 3vw, 30px);
}

.trial-form-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.trial-form-head span {
  color: var(--muted);
  font-weight: 800;
}

.trial-form-head strong {
  background: #e9faf4;
  border: 1px solid #bcebd8;
  border-radius: 999px;
  color: #087653;
  padding: 8px 12px;
}

.trial-form label {
  color: #344054;
  display: grid;
  font-size: 0.92rem;
  font-weight: 700;
  gap: 8px;
}

.trial-form input {
  border: 1px solid #cfdbea;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 0 13px;
}

.trial-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(19, 127, 186, 0.12);
}

.trial-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.trial-submit {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.trial-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.trial-status {
  border-radius: 10px;
  display: none;
  font-size: 0.94rem;
  line-height: 1.5;
  margin: 0;
  padding: 12px 14px;
}

.trial-status a {
  color: var(--brand-dark);
  font-weight: 850;
  text-decoration: underline;
}

.trial-status.is-loading,
.trial-status.is-success,
.trial-status.is-error { display: block; }
.trial-status.is-loading { background: #eef6ff; color: #215680; }
.trial-status.is-success { background: #e9faf4; color: #087653; }
.trial-status.is-error { background: #fff1f1; color: #b42318; }
.trial-form small { color: var(--muted); line-height: 1.45; }

.login-section {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin: 0 clamp(18px, 5vw, 74px) 70px;
  padding: clamp(30px, 5vw, 58px);
}

.login-section p { max-width: 720px; }

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 74px);
}

.site-footer .brand img {
  height: 34px;
  width: 34px;
}

@media (max-width: 1180px) {
  .site-nav nav { display: none; }
  .hero,
  .screen-feature,
  .trial-section,
  .login-section {
    grid-template-columns: 1fr;
  }
  .services-grid,
  .quick-access,
  .workflow-steps,
  .screen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-nav {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .nav-actions,
  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ghost,
  .primary,
  .secondary {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  h1 { font-size: clamp(2.7rem, 14vw, 4.2rem); }

  .console-grid,
  .services-grid,
  .quick-access,
  .workflow-steps,
  .screen-grid,
  .trial-grid {
    grid-template-columns: 1fr;
  }

  .hero-console img { display: none; }
}
