:root {
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2ef;
  --paper: #ffffff;
  --surface: #f5f8fb;
  --navy: #0b1526;
  --blue: #1457d9;
  --cyan: #0f9fbf;
  --green: #16825d;
  --amber: #b4690e;
  --red: #c2413b;
  --shadow: 0 18px 48px rgba(16, 24, 40, .14);
  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(--paper);
  font-size: 16px;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(217, 226, 239, .9);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(20, 87, 217, .25);
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #344054;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #eef4ff;
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #344054;
  font-weight: 800;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(20, 87, 217, .22);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero {
  min-height: 660px;
  display: grid;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .92) 0%, rgba(8, 13, 24, .76) 44%, rgba(8, 13, 24, .28) 100%),
    var(--hero-image, url("../img/hero-pergola.png")) center / cover no-repeat;
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 92px 0 76px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #a9d7ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: .95;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
}

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

.hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .3);
}

.hero-proof {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  transform: translateY(50%);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.proof-item {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1;
}

.proof-item span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: 94px 0;
}

.section.after-proof {
  padding-top: 128px;
}

.section.surface {
  background: var(--surface);
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(31px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 1px 0 rgba(16, 24, 40, .02);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.card p,
.card li {
  color: var(--muted);
}

.card-link {
  display: block;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-link:hover {
  transform: translateY(-3px);
  border-color: #b9c9df;
  box-shadow: 0 18px 34px rgba(16, 24, 40, .08);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 14px;
  border-radius: 6px;
  color: var(--blue);
  background: #eef4ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.tag.green {
  color: var(--green);
  background: #eaf8f1;
}

.tag.amber {
  color: var(--amber);
  background: #fff4df;
}

.trusted-section {
  padding-bottom: 76px;
}

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

.trusted-card {
  min-height: 154px;
  display: grid;
  align-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
  padding: 22px;
}

.trusted-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 15px;
  font-weight: 900;
}

.trusted-card strong {
  display: block;
  margin-top: 28px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.2;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 10px;
}

.flow-step {
  min-height: 126px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.flow-step span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.flow-step strong {
  display: block;
  margin-top: 20px;
  font-size: 17px;
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: 34px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

.mock-console {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.mock-topbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f7f9fc;
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9d4e5;
}

.mock-body {
  padding: 18px;
}

.mock-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr .7fr .5fr;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 0 10px;
  border-bottom: 1px solid #eef2f7;
  color: #344054;
  font-size: 13px;
}

.mock-row.header {
  min-height: 36px;
  color: #667085;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  justify-content: center;
  width: max-content;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}

.status.blue {
  color: #1e4eb0;
  background: #e9f1ff;
}

.status.green {
  color: #08734f;
  background: #e9f8f1;
}

.status.amber {
  color: #8a4d08;
  background: #fff2d8;
}

.deep {
  color: #fff;
  background: var(--navy);
}

.deep .section-heading p,
.deep .card p,
.deep .card li {
  color: #c8d5e8;
}

.deep .card {
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
}

.list {
  padding-left: 20px;
}

.list li + li {
  margin-top: 8px;
}

.module-hero {
  padding: 92px 0 70px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 13, 24, .94), rgba(8, 13, 24, .72)),
    var(--hero-image, url("../img/hero-pergola.png")) center / cover no-repeat;
}

.module-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 6vw, 72px);
}

.module-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
}

.breadcrumb {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-weight: 700;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: start;
}

.sticky-note {
  position: sticky;
  top: 100px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-line {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-line b {
  display: block;
}

.feature-line span {
  color: var(--muted);
  font-size: 14px;
}

.check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, .76fr) minmax(0, 1.24fr);
  gap: 26px;
  align-items: start;
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px;
}

.contact-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a,
.contact-item address {
  color: var(--ink);
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #c9d4e5;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 13px;
  outline: none;
}

.form-field textarea {
  min-height: 132px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 87, 217, .12);
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(160px, .55fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}

.captcha-question {
  min-height: 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9fc;
  padding: 0 13px;
  color: #344054;
  font-weight: 900;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.form-status {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status.error {
  color: var(--red);
}

.form-status.success {
  color: var(--green);
}

.cta {
  padding: 72px 0;
  color: #fff;
  background: #11233d;
}

.cta-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta h2 {
  max-width: 740px;
  margin-bottom: 8px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.cta p {
  max-width: 660px;
  margin: 0;
  color: #c8d5e8;
}

.site-footer {
  padding: 44px 0;
  color: #c8d5e8;
  background: var(--navy);
}

.footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;
    inset: 72px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .proof-grid,
  .grid.cols-4,
  .grid.cols-3,
  .grid.cols-2,
  .trusted-grid,
  .flow,
  .media-band,
  .two-column,
  .contact-layout,
  .cta-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .media-band,
  .two-column,
  .contact-layout {
    display: grid;
  }

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

  .cta-inner,
  .footer-inner {
    display: grid;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-inner,
  .container,
  .hero-proof,
  .cta-inner,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .section.after-proof {
    padding-top: 180px;
  }

  .mock-row {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 8px;
  }

  .trusted-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .form-grid,
  .captcha-row {
    grid-template-columns: 1fr;
  }
}
