:root {
  --ink: #151d35;
  --muted: #5d6472;
  --line: #e1e5ec;
  --paper: #f8f9fc;
  --white: #ffffff;
  --teal: #24355f;
  --green: #2f61a8;
  --amber: #d66a45;
  --coral: #b94442;
  --shadow: 0 24px 70px rgba(21, 29, 53, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px min(5vw, 56px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 36px rgba(18, 32, 31, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--amber));
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: currentColor;
  font-size: 0.75rem;
  opacity: 0.74;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  font-size: 0.92rem;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: currentColor;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(15, 22, 42, 0.96) 0%, rgba(18, 32, 58, 0.76) 42%, rgba(15, 22, 42, 0.12) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 40px));
  margin: 0 0 7vh min(5vw, 64px);
  padding-top: 120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #aee8b8;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

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

.button.primary {
  background: var(--amber);
  color: var(--white);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-stats dt {
  font-size: 1.5rem;
  font-weight: 950;
}

.hero-stats dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

section {
  padding: 88px 0;
}

.section-band {
  background: var(--white);
}

.intro-grid,
.proof-grid,
.hub-grid,
.contact,
.industries-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: min(7vw, 72px);
  align-items: start;
}

.intro-grid p:last-child,
.proof-points p,
.hub-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.service-card {
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(21, 29, 53, 0.06);
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 8px;
  background: #edf4fb;
  color: var(--teal);
  font-weight: 950;
}

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

.service-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

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

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

.industry-list article {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.industry-list span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 950;
}

.industry-list p {
  margin: 0;
  color: var(--muted);
}

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

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.feature-list span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f8fb;
  color: #31413e;
  font-weight: 800;
  font-size: 0.9rem;
}

.hosting-panel {
  padding: 28px;
  border-radius: 8px;
  background: #151d35;
  color: var(--white);
  box-shadow: var(--shadow);
}

.panel-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.panel-top span,
.uptime small,
.mini-grid small {
  color: rgba(255, 255, 255, 0.68);
}

.uptime {
  padding: 36px 0;
}

.uptime span {
  display: block;
  color: #aee8b8;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 950;
  line-height: 0.9;
}

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

.mini-grid div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.mini-grid strong,
.mini-grid small {
  display: block;
}

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

.timeline article {
  padding: 28px;
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.timeline span {
  display: block;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 950;
}

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

.proof-points {
  display: grid;
  gap: 18px;
}

.proof-points p {
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact {
  align-items: stretch;
}

.contact-lines {
  margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
  color: var(--teal);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(21, 29, 53, 0.08);
}

label {
  display: grid;
  gap: 8px;
  color: #2f3b39;
  font-weight: 900;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-message {
  display: none;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-success {
  color: #155a35;
  background: #e8f7ef;
}

.form-message.is-error {
  color: #8a2a1f;
  background: #fdece8;
}

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

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(76, 155, 95, 0.24);
  border-color: var(--green);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #151d35;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding: 50px 0;
}

.footer-grid strong,
.footer-grid a,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-grid a {
  color: #aee8b8;
  font-weight: 900;
}

.footer-grid p {
  margin: 0;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.9rem;
}

.legal-links {
  display: inline-flex;
  gap: 12px;
}

.legal-links a {
  color: #a7c9f0;
  font-weight: 800;
}

.thanks-page {
  min-height: 100vh;
  background: var(--paper);
}

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.thanks-brand {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--ink);
}

.thanks-box {
  width: min(680px, 100%);
  padding: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thanks-box h1 {
  color: var(--ink);
}

.thanks-box p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .proof-grid,
  .hub-grid,
  .contact,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(15, 22, 42, 0.95), rgba(18, 32, 58, 0.58));
  }
}

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

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 16px 40px;
  }

  .hero-stats,
  .service-grid,
  .timeline,
  .mini-grid,
  .industry-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 460px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .hero {
    min-height: 820px;
  }

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

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