:root {
  --ink: #07111f;
  --ink-2: #102033;
  --muted: #5d6b7a;
  --line: #dfe6ee;
  --soft: #f5f8fb;
  --white: #ffffff;
  --cyan: #12b8d7;
  --green: #34d399;
  --amber: #f4b740;
  --red: #ef6461;
  --shadow: 0 24px 80px rgba(7, 17, 31, 0.14);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 230, 238, 0.9);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 42px rgba(7, 17, 31, 0.08);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 12px 28px rgba(18, 184, 215, 0.28);
}

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

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav a:hover, .nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.nav .nav-cta {
  color: var(--white);
  background: var(--ink);
}

.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] {
  color: var(--white);
  background: var(--ink-2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 72px);
  padding: 78px max(24px, calc((100vw - var(--max)) / 2)) 64px;
  background:
    radial-gradient(circle at 78% 22%, rgba(18, 184, 215, 0.22), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 56%, #eef7f5 100%);
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 14px;
  color: #087c91;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2, h3, p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero-lead, .page-hero p, .section-heading p, .contact-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button.primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 16px 32px rgba(18, 184, 215, 0.25);
}

.button.ghost {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

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

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.trust-strip span, .tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 470px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 24px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(7, 17, 31, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  border-radius: 24px;
  animation: drift 14s linear infinite;
}

.browser-card {
  position: relative;
  margin: 38px auto 0;
  max-width: 520px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.94);
  box-shadow: var(--shadow);
  color: var(--white);
  animation: float 6s ease-in-out infinite;
}

.browser-top {
  display: flex;
  gap: 8px;
  padding: 8px 0 18px;
}

.browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--red);
}

.browser-top span:nth-child(2) { background: var(--amber); }
.browser-top span:nth-child(3) { background: var(--green); }

.metric-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.metric {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.metric.large {
  grid-row: span 2;
  min-height: 268px;
  background:
    radial-gradient(circle at 70% 22%, rgba(52, 211, 153, 0.32), transparent 34%),
    linear-gradient(145deg, rgba(18, 184, 215, 0.28), rgba(255, 255, 255, 0.05));
}

.metric strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}

.metric.large strong {
  font-size: 58px;
}

.metric small {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.code-lines {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.code-lines i {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), rgba(18, 184, 215, 0.2));
}

.code-lines i:nth-child(2) { width: 76%; }
.code-lines i:nth-child(3) { width: 58%; }
.code-lines i:nth-child(4) { width: 86%; }

.section, .page-hero, .service-list, .blog-grid, .contact-layout {
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
}

.split, .service-block {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
}

.copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
}

.dark-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(18, 184, 215, 0.14), transparent 36%),
    var(--ink);
}

.dark-band .eyebrow {
  color: var(--green);
}

.dark-band p {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.feature-card, .blog-card, .quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(7, 17, 31, 0.06);
}

.feature-card {
  min-height: 240px;
  padding: 24px;
}

.dark-band .feature-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.icon {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--cyan);
  font-weight: 900;
}

.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.7fr 1fr 1fr;
  border-top: 1px solid var(--line);
}

.comparison-row:first-child {
  border-top: 0;
}

.comparison-row span {
  padding: 18px;
  color: var(--muted);
}

.comparison-row span:first-child {
  color: var(--ink);
  font-weight: 800;
}

.comparison-row.head {
  background: var(--ink);
}

.comparison-row.head span {
  color: var(--white);
  font-weight: 800;
}

.cta-section {
  margin: 28px max(24px, calc((100vw - var(--max)) / 2)) 88px;
  padding: 46px;
  border-radius: 18px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 12%, rgba(52, 211, 153, 0.28), transparent 28%),
    var(--ink);
}

.cta-section p {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  background:
    linear-gradient(135deg, #f8fbff 0%, #ffffff 60%, #edf8f2 100%);
}

.page-hero h1 {
  max-width: 980px;
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-block {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 50px rgba(7, 17, 31, 0.06);
}

.service-block .copy h3 {
  margin-top: 4px;
}

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

.blog-card a {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 24px;
}

.blog-card h2 {
  margin-top: 24px;
  font-size: 26px;
}

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

.read-more {
  margin-top: auto;
  color: #087c91;
  font-weight: 850;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 82px 24px;
}

.article h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.article h2 {
  margin-top: 44px;
  font-size: 31px;
}

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

.article-lead {
  margin-top: 22px;
  font-size: 21px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #087c91;
  font-weight: 800;
}

.article-cta {
  margin-top: 52px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.article-cta h2 {
  margin-top: 0;
  color: var(--white);
}

.article-cta p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 42px;
  align-items: start;
  background:
    linear-gradient(135deg, #f8fbff 0%, #ffffff 62%, #eef7f5 100%);
}

.contact-copy {
  position: sticky;
  top: 104px;
}

.contact-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-points span {
  padding: 14px 16px;
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(7, 17, 31, 0.06);
  font-weight: 750;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.quote-form h2 {
  font-size: 30px;
}

.quote-form p {
  margin: 0;
  color: var(--muted);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 750;
}

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

input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(18, 184, 215, 0.18);
  border-color: var(--cyan);
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.form-status[data-type="success"] {
  color: #087c5b;
}

.form-status[data-type="error"] {
  color: #b42318;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #fbfdff;
}

.footer p {
  max-width: 460px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
  font-weight: 750;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes drift {
  from { background-position: 0 0; }
  to { background-position: 38px 38px; }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .nav a {
    justify-content: center;
  }

  .hero, .split, .service-block, .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .feature-grid, .blog-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero, .section, .page-hero, .service-list, .blog-grid, .contact-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

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

  .button {
    padding-left: 14px;
    padding-right: 14px;
  }

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

  .metric.large {
    min-height: 210px;
  }

  .comparison {
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .comparison-row, .comparison-row.head {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
  }

  .comparison-row.head {
    display: none;
  }

  .comparison-row span {
    padding: 14px;
  }

  .cta-section {
    margin-left: 16px;
    margin-right: 16px;
    padding: 28px;
  }

  .footer {
    flex-direction: column;
    padding-left: 16px;
    padding-right: 16px;
  }

}
