:root {
  --bg: #151a20;
  --bg-2: #20262e;
  --panel: #232a31;
  --panel-strong: #11171d;
  --text: #f5f7fb;
  --muted: #b8c1cc;
  --dim: #7f8a96;
  --accent: #ffca28;
  --accent-rgb: 255, 202, 40;
  --accent-2: #64d2ff;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  background-size: 44px 44px, 44px 44px, auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 56px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: rgba(32, 38, 46, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 158px;
  max-width: 32vw;
  height: auto;
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-nav {
  gap: clamp(14px, 2vw, 32px);
}

.site-nav a,
.header-link {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 850;
  white-space: nowrap;
}

.site-nav a:hover,
.header-link:hover {
  color: var(--accent);
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
}

.header-actions .header-link,
.header-button,
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #2b333d;
  font-weight: 900;
  white-space: nowrap;
}

.header-button {
  background: var(--accent-2);
  border-color: rgba(255, 255, 255, 0.12);
}

.header-actions .header-link {
  background: transparent;
}

.button-primary {
  color: #12171d;
  background: var(--text);
}

.button-secondary {
  background: transparent;
}

.button:hover,
.header-actions .header-link:hover,
.header-button:hover {
  filter: brightness(1.08);
}

.hero {
  position: relative;
  min-height: clamp(540px, calc(100svh - 112px), 680px);
  display: grid;
  grid-template-columns: minmax(340px, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 35%, rgba(var(--accent-rgb), 0.1), transparent 24%),
    #171c22;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.24));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(610px, calc(100% - 64px));
  margin-left: clamp(24px, 7.5vw, 96px);
}

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

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

h1,
h2,
h3 {
  font-family: Impact, "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 540px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 6.6vw, 5.85rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 520px;
  margin-bottom: 28px;
  color: #d7dee7;
  font-size: 1.15rem;
  line-height: 1.52;
}

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

.hero-media {
  position: relative;
  min-height: 100%;
  align-self: stretch;
  overflow: hidden;
  clip-path: polygon(20% 7%, 100% 7%, 100% 91%, 5% 91%, 30% 50%);
  box-shadow: var(--shadow);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 18px;
  background: #171c22;
  transform: skewX(-18deg);
}

.hero-media::before {
  left: 23%;
}

.hero-media::after {
  right: 20%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
}

.path-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: #171c22;
}

.path-strip a {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 18px clamp(18px, 6vw, 104px);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.path-strip a:last-child {
  border-right: 0;
}

.path-strip span {
  color: var(--accent);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.path-strip strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.section,
.workflow-band,
.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 78px 0;
}

.section-muted {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2,
.workflow-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
  line-height: 1.02;
}

.section-heading p,
.workflow-copy p,
.feature-card p,
.workflow-list p,
.plan-card li,
.site-footer {
  color: var(--muted);
  line-height: 1.5;
}

.feature-grid,
.plan-grid {
  display: grid;
  gap: 16px;
}

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

.feature-card,
.plan-card,
.workflow-list article {
  min-height: 230px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 32%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--text);
  background: var(--accent);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.4rem;
}

.feature-card h3,
.plan-card h3 {
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.workflow-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow-list article {
  min-height: 210px;
}

.workflow-list span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--accent-2);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.45rem;
}

.workflow-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.05rem;
}

.plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: stretch;
}

.plan-card {
  min-height: 430px;
  display: grid;
  align-content: start;
  gap: 12px;
}

.plan-card-featured {
  border-color: rgba(var(--accent-rgb), 0.46);
  background:
    linear-gradient(180deg, rgba(var(--accent-rgb), 0.12), transparent 44%),
    var(--panel);
}

.plan-mini-stack {
  display: grid;
  gap: 14px;
}

.plan-card-mini {
  min-height: 0;
  padding: 18px;
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(68, 167, 221, 0.1), transparent 44%),
    var(--panel-strong);
}

.plan-card-mini h3 {
  font-size: 1.32rem;
}

.plan-card-mini .price {
  font-size: 1.45rem;
}

.plan-card-mini li {
  font-size: 0.88rem;
}

.plan-kicker {
  width: fit-content;
  margin: 0 0 4px;
  padding: 5px 8px;
  color: #151a20;
  background: var(--accent);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.plan-tagline {
  min-height: 42px;
  margin: 0;
  color: #dbe2eb;
  font-size: 0.93rem;
  font-weight: 850;
  line-height: 1.35;
}

.price {
  margin: 0;
  font-size: 2rem;
  font-weight: 950;
}

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

.annual-price {
  margin: -6px 0 2px;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 900;
}

.seat-note {
  margin: -6px 0 0;
  color: #dbe2eb;
  font-size: 0.88rem;
  font-weight: 850;
}

.staff-price-list {
  display: grid;
  gap: 8px;
}

.staff-price-list div {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.staff-price-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.staff-price-list strong {
  color: var(--text);
  font-family: Impact, "Arial Black", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.staff-price-list span {
  color: var(--accent-2);
  font-weight: 900;
}

ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 18px;
}

.addon-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  padding: 18px 20px;
  background: #171c22;
  border: 1px solid var(--line);
}

.addon-band p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.addon-band strong {
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 30px 0 46px;
  border-top: 1px solid var(--line);
}

.footer-version {
  margin-right: auto;
  padding: 6px 9px;
  color: var(--accent-2);
  border: 1px solid var(--line);
  background: #171c22;
  font-size: 0.82rem;
  font-weight: 950;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}

.site-footer a,
.legal-content a,
.contact-card a,
.contact-primary a {
  color: var(--text);
  font-weight: 900;
}

.legal-main {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0 72px;
}

.legal-hero {
  max-width: 780px;
  padding-bottom: 34px;
}

.legal-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.35rem);
}

.legal-hero p {
  color: #d7dee7;
  font-size: 1.08rem;
  line-height: 1.56;
}

.legal-meta {
  margin-bottom: 22px;
  color: var(--accent-2);
  font-weight: 900;
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2,
.contact-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.legal-section p,
.legal-section li,
.contact-card p {
  color: var(--muted);
  line-height: 1.58;
}

.legal-section p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-primary {
  margin-top: 24px;
  font-size: 1.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 10px 0 42px;
}

.contact-card {
  min-height: 250px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 32%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.contact-card a {
  align-self: end;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .site-nav {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

  .hero-content {
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
    padding: 74px 0 34px;
  }

  .hero-media {
    min-height: 300px;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%);
  }

  .hero-media::before,
  .hero-media::after {
    display: none;
  }

  .hero-media img {
    min-height: 300px;
  }

  .feature-grid,
  .workflow-band,
  .workflow-list,
  .plan-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .path-strip {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .brand img {
    width: 154px;
    max-width: 70vw;
  }

  .site-nav,
  .header-actions {
    width: 100%;
  }

  .site-nav {
    justify-content: space-between;
    gap: 8px;
  }

  .site-nav a,
  .header-link,
  .header-button {
    flex: 1 1 auto;
    text-align: center;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: clamp(2.85rem, 12vw, 3.45rem);
  }

  .hero-content {
    padding-top: 44px;
    padding-bottom: 24px;
  }

  .hero-media,
  .hero-media img {
    min-height: 180px;
  }

  .path-strip,
  .feature-grid,
  .workflow-band,
  .workflow-list,
  .plan-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .path-strip a {
    min-height: 72px;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 54px 0;
  }

  .feature-card,
  .plan-card,
  .workflow-list article {
    min-height: 0;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}
