:root {
  --ink: #08131c;
  --ink-2: #102231;
  --ink-3: #173044;
  --paper: #f3f6f8;
  --paper-2: #ffffff;
  --line: #d4e0e7;
  --line-strong: #b7c9d4;
  --text: #152430;
  --muted: #3e5160;
  --accent: #0b6d86;
  --accent-deep: #084e62;
  --signal: #d8f4fb;
  --header-h: 7.5rem;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --shadow: 0 18px 40px rgba(8, 19, 28, 0.08);
  --radius: 14px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(11, 109, 134, 0.05), transparent 280px),
    var(--paper);
}

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

a {
  color: var(--accent-deep);
}

a:hover {
  color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 80;
}

.skip:focus {
  top: 0.8rem;
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, .price {
  font-family: var(--display);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: #08131c;
  color: #e7f1f6;
  border-bottom: 1px solid rgba(216, 244, 251, 0.08);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(8, 19, 28, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand img {
  height: 92px;
  width: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(231, 241, 246, 0.28);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-size: 0.92rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: #d5e4ec;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="true"] {
  color: white;
  background: rgba(216, 244, 251, 0.1);
}

.header-cta {
  color: var(--ink) !important;
  background: #e7f6fb;
  font-weight: 600;
}

.header-cta:hover {
  background: white;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #e8f3f8;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(20, 144, 181, 0.28), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(216, 244, 251, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 244, 251, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 40%, transparent 95%);
  pointer-events: none;
  animation: drift 22s linear infinite;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
  padding: 4.2rem 0 3.6rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  max-width: 16ch;
  color: white;
}

.hero h1 span {
  color: #8fd4ea;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 42rem;
  color: #c5d7e1;
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.8rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.btn-primary {
  background: #e7f6fb;
  color: var(--ink);
}

.btn-primary:hover {
  background: white;
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #e7f6fb;
  border-color: rgba(231, 246, 251, 0.35);
}

.btn-ghost:hover {
  background: rgba(231, 246, 251, 0.08);
  color: white;
}

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

.btn-ink:hover {
  background: var(--ink-3);
  color: white;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(216, 244, 251, 0.18);
}

.dial {
  position: relative;
  width: 84px;
  height: 84px;
  flex: none;
}

.dial svg {
  width: 84px;
  height: 84px;
  transform: rotate(-90deg);
}

.ring-track,
.ring-value {
  fill: none;
  stroke-width: 5;
}

.ring-track {
  stroke: rgba(216, 244, 251, 0.16);
}

.ring-value {
  stroke: #8fd4ea;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: 188.5;
}

.dial.is-on .ring-value {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.facts strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  color: white;
}

.facts span {
  color: #b7c9d4;
  font-size: 0.92rem;
}

.panel {
  position: relative;
  background: rgba(8, 19, 28, 0.55);
  border: 1px solid rgba(216, 244, 251, 0.16);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.panel canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  pointer-events: none;
  mask-image: linear-gradient(#000 0 55%, transparent 82%);
}

.panel-body {
  position: relative;
}

.panel .kicker {
  color: #8fd4ea;
}

.panel-title {
  margin: 0.2rem 0 1rem;
  font-family: var(--display);
  font-size: 2rem;
  color: white;
}

.stack-specs {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
}

.stack-specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(216, 244, 251, 0.12);
}

.stack-specs dt {
  color: #9fb4c1;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stack-specs dd {
  margin: 0;
  color: white;
  font-weight: 600;
}

.stack-switch {
  display: flex;
  gap: 0.4rem;
}

.stack-switch button {
  flex: 1;
  border: 1px solid rgba(216, 244, 251, 0.2);
  background: transparent;
  color: #d5e4ec;
  border-radius: 999px;
  padding: 0.45rem 0.4rem;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.stack-switch button[aria-selected="true"] {
  background: #e7f6fb;
  color: var(--ink);
  border-color: #e7f6fb;
}

.section {
  padding: 5rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: end;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  max-width: 16ch;
}

.section-head p:last-child {
  margin: 0.7rem 0 0;
  max-width: 40rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.prose-card,
.service,
.project,
.plan,
.product,
.contact-card,
.include {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.prose-card {
  padding: 1.4rem 1.5rem;
}

.prose-card p {
  margin: 0;
}

.prose-card p + p {
  margin-top: 0.9rem;
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.service {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 0.4rem 1rem;
  padding: 1.1rem;
  min-height: 100%;
}

.service h3,
.project h3,
.plan h3,
.product h3 {
  font-size: 1.45rem;
}

.service p,
.project p,
.plan li,
.include li,
.product p,
.contact-card p {
  color: var(--muted);
}

.service p {
  margin: 0.45rem 0 0;
}

.art {
  width: 148px;
  height: 148px;
}

.art svg {
  width: 100%;
  height: 100%;
}

.art circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.6s ease-in-out infinite;
}

.matrix {
  margin-top: 1rem;
  overflow-x: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.matrix table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.matrix caption {
  text-align: left;
  padding: 1rem 1.1rem 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--line);
}

.matrix th {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.matrix tbody th {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
}

.matrix tr:hover td,
.matrix tr:hover th {
  background: #f3fbfd;
}

.projects {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.project {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 210px;
}

.mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #d8f4fb;
  font-family: var(--mono);
  font-size: 0.78rem;
}

.project p {
  margin: 0;
}

.project .tag {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.product {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

.product-copy {
  padding: 1.6rem;
}

.product-copy p {
  margin: 0.8rem 0 0;
}

.chart {
  background:
    radial-gradient(420px 200px at 82% 18%, rgba(255, 93, 143, 0.35), transparent 62%),
    radial-gradient(280px 180px at 18% 88%, rgba(25, 195, 163, 0.28), transparent 60%),
    #07131c;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.hosting {
  background: var(--ink);
  color: #e7f1f6;
}

.hosting .kicker,
.hosting .section-head p:last-child {
  color: #9ec5d4;
}

.hosting h2 {
  color: white;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.plan {
  background: var(--ink-2);
  border: 1px solid rgba(216, 244, 251, 0.12);
  color: #e7f1f6;
  padding: 1.1rem;
  cursor: pointer;
  text-align: left;
  font: inherit;
  width: 100%;
}

.plan[aria-pressed="true"] {
  border-color: #8fd4ea;
  box-shadow: inset 0 0 0 1px #8fd4ea;
}

.plan h3 {
  font-size: 1.25rem;
}

.price {
  margin: 0.8rem 0;
  font-size: 2rem;
  color: white;
}

.price .per {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0;
  font-weight: 400;
  color: #9fb4c1;
}

.compare {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid rgba(216, 244, 251, 0.12);
  border-radius: var(--radius);
  background: rgba(216, 244, 251, 0.04);
}

.compare-title {
  margin: 0 0 0.8rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ec5d4;
}

.bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 64px;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.55rem;
  color: #c5d7e1;
  font-size: 0.92rem;
}

.bar-row b {
  text-align: right;
  color: white;
  font-weight: 600;
}

.track {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: rgba(216, 244, 251, 0.1);
  overflow: hidden;
}

.track i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #3d7f96;
}

.compare.is-on .track i {
  width: calc(var(--fill) * 1%);
  transition: width 1.15s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bar-row.is-active .track i {
  background: #8fd4ea;
}

.bar-row:nth-child(3) i { transition-delay: 0.08s; }
.bar-row:nth-child(4) i { transition-delay: 0.16s; }
.bar-row:nth-child(5) i { transition-delay: 0.24s; }

.plan ul,
.include ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li {
  color: #c5d7e1;
  padding: 0.38rem 0;
  border-top: 1px solid rgba(216, 244, 251, 0.1);
  font-size: 0.95rem;
}

.plan li b {
  color: white;
  font-weight: 600;
}

.summary {
  margin-top: 0.9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(216, 244, 251, 0.06);
  border: 1px solid rgba(216, 244, 251, 0.12);
  color: #d5e4ec;
}

.include {
  margin-top: 0.9rem;
  background: transparent;
  border-color: rgba(216, 244, 251, 0.12);
  padding: 1.1rem 1.2rem 1.2rem;
}

.include h3 {
  color: white;
  font-size: 1.2rem;
}

.include ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.5rem;
  margin-top: 0.7rem;
}

.include li {
  color: #c5d7e1;
}

.note {
  margin: 0.8rem 0 0;
  color: #9fb4c1;
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
}

.contact-card,
form.contact-card {
  padding: 1.4rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.fields {
  display: grid;
  gap: 0.8rem;
}

label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.92rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #f8fbfc;
  color: var(--text);
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-error,
.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-error {
  color: #8d2b2b;
  min-height: 1.2em;
}

.form-status {
  color: var(--accent-deep);
}

.site-footer {
  background: var(--ink);
  color: #b7c9d4;
  padding: 1.6rem 0 1.4rem;
}

.sponsor {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid rgba(216, 244, 251, 0.12);
  text-align: center;
}

.sponsor p {
  margin: 0;
  color: #d7eaf2;
}

.sponsor img {
  width: min(468px, 100%);
  height: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding-right: 3.2rem;
}

.site-footer a {
  color: #d7eaf2;
  text-decoration: none;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 0;
  background: var(--ink);
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 980px) {
  .hero-inner,
  .section-head,
  .product,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .projects,
  .plans {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    max-width: 18ch;
  }
}

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

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    display: grid;
    align-content: start;
    gap: 0.3rem;
    padding: 1rem;
    background: #08131c;
    transform: translateX(100%);
    transition: transform 0.2s ease;
    overflow: auto;
    z-index: 30;
  }

  .nav.is-open {
    transform: none;
  }

  .nav a {
    padding: 0.8rem 0.7rem;
    font-size: 1.05rem;
  }

  .header-cta {
    text-align: center;
  }

  .facts,
  .services,
  .projects,
  .plans,
  .include ul,
  .split {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 96px 1fr;
  }

  .art {
    width: 96px;
    height: 96px;
  }

  .section {
    padding: 3.4rem 0;
  }
}

@keyframes drift {
  to { background-position: 48px 48px; }
}

@keyframes pulse {
  50% { opacity: 0.35; }
}

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

  .nav,
  .ring-value,
  .track i {
    transition: none;
  }

  .hero-grid,
  .art circle {
    animation: none;
  }

  .ring-value {
    stroke-dashoffset: 0;
  }

  .compare.is-on .track i {
    width: calc(var(--fill) * 1%);
  }
}
