:root {
  --navy: #0b1f3a;
  --navy-2: #102b4f;
  --navy-3: #173b69;
  --green: #5ccb5f;
  --green-dark: #35a83d;
  --white: #ffffff;
  --ice: #f5f8fb;
  --line: #dfe8ef;
  --muted: #5d7084;
  --ink: #0f2239;
  --shadow: 0 24px 70px rgba(11, 31, 58, 0.16);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(22px, 5vw, 76px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(11, 31, 58, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.65);
}

.brand span span {
  color: var(--green);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  font-size: 0.94rem;
  font-weight: 800;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover {
  color: var(--green);
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 124px clamp(22px, 5vw, 76px) 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(92, 203, 95, 0.24), transparent 32%),
    linear-gradient(135deg, #07172c 0%, var(--navy) 52%, #102e54 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--white));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(520px, 1fr);
  column-gap: clamp(36px, 4vw, 68px);
  row-gap: 18px;
  align-items: center;
  max-width: 1360px;
  min-height: 620px;
  margin: 0 auto;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.45rem, 3.55vw, 4.25rem);
  line-height: 1.02;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
  hyphens: none;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 4.05rem);
  line-height: 1.06;
  text-wrap: balance;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.12rem, 2.1vw, 1.5rem);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button.primary {
  color: #062314;
  background: var(--green);
  box-shadow: 0 18px 38px rgba(92, 203, 95, 0.28);
}

.button.primary:hover {
  background: #71dd73;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(620px, 100%);
  margin: 10px auto 0;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.trust-strip div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-strip dt {
  color: var(--white);
  font-weight: 900;
}

.trust-strip dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.hero-product {
  position: relative;
  min-height: auto;
}

.dashboard-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.dashboard-topbar > span {
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: #dbe7ef;
}

.dashboard-topbar button {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 0 13px;
  color: #062314;
  background: var(--green);
  font-weight: 900;
}

.dashboard-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 350px;
}

.dashboard-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  background: #f3f8fb;
}

.dashboard-sidebar span {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #dbe7ef;
}

.dashboard-sidebar .sidebar-active {
  background: var(--navy);
}

.dashboard-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.status-row article,
.ticket-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.status-row article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.status-row span,
.ticket-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.status-row strong {
  color: var(--navy);
  font-size: 1.55rem;
}

.ticket-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  color: var(--navy);
}

.ticket-card div {
  display: grid;
  gap: 6px;
}

.ticket-card em,
.phone-state {
  align-self: start;
  border-radius: 999px;
  padding: 5px 10px;
  color: #123317;
  background: rgba(92, 203, 95, 0.2);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.ticket-card.active {
  border-color: rgba(92, 203, 95, 0.55);
  box-shadow: 0 16px 36px rgba(92, 203, 95, 0.12);
}

.phone-shell {
  display: none;
  position: absolute;
  right: -14px;
  bottom: 8px;
  width: 218px;
  padding: 12px;
  border: 8px solid #09182a;
  border-radius: 36px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(2, 8, 18, 0.36);
}

.phone-notch {
  width: 68px;
  height: 16px;
  margin: -3px auto 10px;
  border-radius: 0 0 14px 14px;
  background: #09182a;
}

.phone-screen {
  display: grid;
  gap: 16px;
  padding: 14px;
  color: var(--navy);
}

.phone-screen h2 {
  font-size: 1.1rem;
}

.progress-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.progress-line span,
.progress-line i {
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.progress-line i {
  background: #dbe7ef;
}

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

.phone-list p {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  font-size: 0.78rem;
}

.phone-list span {
  color: var(--muted);
  text-align: right;
}

.section,
.final-cta {
  padding: clamp(70px, 9vw, 126px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.problem .section-heading,
.problem-grid {
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.solution .section-heading {
  max-width: 1120px;
}

.problem {
  background: var(--white);
}

.problem-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1360px;
  margin: 0 auto;
}

.problem-card,
.solution-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(11, 31, 58, 0.06);
}

.problem-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
}

.problem-card span {
  color: var(--green-dark);
  font-weight: 950;
}

.problem-card p,
.solution-card p,
.app-copy p,
.final-copy p,
.form-note {
  color: var(--muted);
  line-height: 1.65;
}

.solution {
  background: var(--ice);
}

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

.solution-card {
  grid-column: span 2;
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green-dark);
  background: rgba(92, 203, 95, 0.14);
}

.icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(500px, 0.82fr) minmax(560px, 1.18fr);
  gap: clamp(54px, 6vw, 104px);
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

.app-copy {
  max-width: 590px;
}

.app-copy h2 {
  max-width: 560px;
  font-size: clamp(2.55rem, 3vw, 3.65rem);
  line-height: 1.08;
}

.app-copy p {
  max-width: 560px;
  margin-top: 26px;
  font-size: 1.12rem;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--navy);
  font-weight: 850;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--green);
}

.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(11, 31, 58, 0.04), rgba(92, 203, 95, 0.09)),
    var(--white);
  box-shadow: var(--shadow);
}

.kanban div {
  display: grid;
  align-content: start;
  gap: 12px;
  min-height: 330px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.kanban strong {
  color: var(--navy);
}

.kanban span {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--white);
  font-size: 0.92rem;
}

.kanban .highlight {
  border-color: rgba(92, 203, 95, 0.55);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(92, 203, 95, 0.14);
}

.final-cta {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 12%, rgba(92, 203, 95, 0.22), transparent 28%),
    var(--navy);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(420px, 0.82fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: start;
  max-width: 1360px;
  margin: 0 auto;
}

.final-copy {
  max-width: 760px;
}

.final-copy p:last-child {
  max-width: 620px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.contact-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--navy);
  background: #fbfdff;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(92, 203, 95, 0.2);
  border-color: var(--green);
}

textarea {
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

input.is-error,
textarea.is-error {
  border-color: #c83f3f;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.form-note.is-success {
  color: var(--green-dark);
  font-weight: 900;
}

.form-note.is-error {
  color: #b43434;
  font-weight: 900;
}

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

.site-footer .brand {
  color: var(--navy);
}

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

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.footer-links a:hover {
  color: var(--green-dark);
}

.footer-icon-link {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
}

.footer-icon-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.footer-icon-link:hover {
  border-color: rgba(92, 203, 95, 0.55);
  color: var(--green-dark);
}

.footer-icon-link:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: clamp(14px, 3vw, 28px);
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 50px rgba(11, 31, 58, 0.16);
  backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-banner div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-link {
  border: 0;
  padding: 0;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-ok {
  min-height: 40px;
  padding: 0 18px;
}

.cookie-modal {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(11, 31, 58, 0.58);
}

.cookie-modal.is-open {
  display: grid;
}

.cookie-modal-panel {
  position: relative;
  width: min(640px, 100%);
  padding: clamp(24px, 5vw, 38px);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-modal-panel h2 {
  max-width: 520px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.cookie-modal-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.65;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.modal-close span {
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  background: var(--navy);
}

.modal-close span:first-child {
  transform: rotate(45deg);
}

.modal-close span:last-child {
  transform: rotate(-45deg);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal,
  .site-header {
    transition: none;
  }

  .button:hover {
    transform: none;
  }
}

@media (max-width: 1060px) {
  .hero-grid,
  .app-section,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin: 0 auto;
  }

  .hero-product {
    min-height: 520px;
  }

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

  .solution-card {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 18px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--navy);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    padding: 14px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: var(--ice);
  }

  .hero {
    padding: 106px 18px 44px;
  }

  .hero-grid {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.65rem);
  }

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

  .trust-strip,
  .status-row,
  .problem-grid,
  .solution-grid,
  .kanban {
    grid-template-columns: 1fr;
  }

  .solution-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero-product {
    display: grid;
    gap: 14px;
    min-height: auto;
  }

  .dashboard-shell {
    max-height: 470px;
  }

  .dashboard-body {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .dashboard-sidebar {
    display: none;
  }

  .phone-shell {
    display: block;
    position: relative;
    right: auto;
    bottom: auto;
    width: min(220px, 72vw);
    margin: -92px auto 0;
  }

  .ticket-card {
    flex-direction: column;
  }

  .ticket-card:not(.active) {
    display: none;
  }

  .kanban div {
    min-height: auto;
  }

  .site-footer {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    width: auto;
    align-items: center;
    justify-content: flex-start;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner div,
  .cookie-ok {
    width: 100%;
  }
}
