/* faezor.ai/netcup (views/netcup.ts): netcup server deals in netcup's own look - the navy-to-teal of its banners, lime
   buttons, product tiles - inside faezor's header and footer. The hero is netcup's navy in both themes; the tiles follow
   the site's theme. Colours sampled from netcup's 728x90 banner. */

.nc {
  --nc-navy: #1d2a56;
  --nc-petrol: #056473;
  --nc-teal: #30a79e;
  --nc-lime: #beff82;
  --nc-lime-2: #a9f06a;
  --nc-ink: #14204a;
  --nc-head: var(--text);
  --nc-accent: var(--nc-teal);
  --nc-tile: var(--bg-1);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .nc {
    --nc-head: var(--nc-navy);
    --nc-accent: var(--nc-petrol);
  }
}
:root[data-theme="light"] .nc {
  --nc-head: var(--nc-navy);
  --nc-accent: var(--nc-petrol);
}

/* ---------- hero */

.nc-hero {
  background: linear-gradient(100deg, var(--nc-navy) 0%, #0b556b 45%, var(--nc-petrol) 65%, var(--nc-teal) 100%);
  color: #fff;
  padding: 44px 0 40px;
}
.nc-hero-in {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}
.nc-hero-text {
  max-width: 760px;
  min-width: 0;
}
.nc-ad {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 10px;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgb(255 255 255 / 0.85);
}
.nc-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}
.nc-banner {
  display: inline-block;
  max-width: 100%;
  line-height: 0;
  border-radius: 4px;
  box-shadow: 0 12px 30px -14px rgb(0 0 0 / 0.55);
}
.nc-banner img {
  max-width: 100%;
  height: auto;
}
/* the cheapest server's price, where netcup's shop puts its "ab" price */
.nc-from {
  flex: none;
  display: grid;
  justify-items: start;
  gap: 2px;
  padding: 18px 22px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
  color: #fff;
  text-decoration: none;
}
.nc-from:hover {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}
.nc-from span {
  font-size: 14px;
  color: rgb(255 255 255 / 0.85);
}
.nc-from b {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.nc-from em {
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--nc-lime);
  color: var(--nc-ink);
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
}

/* ---------- body: the tiles and the skyscraper beside them */

.nc-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding-top: 36px;
  padding-bottom: 64px;
}
.nc-main {
  flex: 1;
  min-width: 0;
}
.nc-side {
  flex: none;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  line-height: 0;
}

.nc-steps {
  list-style: none;
  counter-reset: nc;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
}
.nc-steps li {
  counter-increment: nc;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 12px;
  row-gap: 2px;
  font-size: 14.5px;
  color: var(--text-2);
}
.nc-steps li::before {
  content: counter(nc);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nc-navy);
  color: var(--nc-lime);
  font-weight: 700;
}
.nc-steps b {
  color: var(--nc-head);
  font-size: 15.5px;
}

.nc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.nc-card {
  display: flex;
  flex-direction: column;
  background: var(--nc-tile);
  border: 1px solid var(--line);
  border-top: 4px solid var(--nc-teal);
  border-radius: 10px;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow);
}
.nc-card.is-out {
  opacity: 0.7;
}
.nc-card.is-mine {
  border-top-color: var(--nc-lime-2);
}
.nc-card-head h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--nc-head);
}
.nc-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--nc-lime);
  color: var(--nc-ink);
  font-size: 12.5px;
  font-weight: 650;
}
.nc-price {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nc-price-now {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--nc-head);
}
.nc-price-side {
  display: grid;
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-2);
}
.nc-price-side s {
  color: var(--text-3);
}
.nc-price-note {
  margin: 2px 0 14px;
  font-size: 12.5px;
  color: var(--text-3);
}
.nc-specs {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 14.5px;
}
.nc-specs li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nc-specs svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--nc-accent);
}
.nc-card-text {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.nc-card-foot {
  margin-top: auto;
  display: grid;
  gap: 10px;
}
.nc-left {
  margin: 0;
  font-size: 13px;
  color: var(--text-3);
}
.nc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 6px;
  background: var(--nc-lime);
  color: var(--nc-ink);
  font: inherit;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.08s;
}
.nc-btn:hover {
  background: var(--nc-lime-2);
  color: var(--nc-ink);
}
.nc-btn:active {
  transform: translateY(1px);
}
.nc-btn[disabled] {
  cursor: default;
  background: var(--bg-3);
  color: var(--text-3);
}
.nc-btn.is-busy {
  cursor: progress;
  opacity: 0.8;
}
.nc-btn.is-ghost {
  background: transparent;
  color: var(--nc-head);
  border: 1px solid var(--line-2);
}
.nc-btn.is-ghost:hover {
  background: var(--bg-3);
}
.nc-more {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  justify-self: center;
  font-size: 13.5px;
  color: var(--text-2);
}
.nc-more svg {
  width: 13px;
  height: 13px;
}

/* a revealed code (static/js/netcup.js) */
.nc-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 12px;
  border: 1px dashed var(--nc-accent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--nc-lime) 12%, transparent);
}
.nc-code code {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--nc-head);
  overflow-wrap: anywhere;
  user-select: all;
}
.nc-copy {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--bg-1);
  color: var(--text);
  cursor: pointer;
}
.nc-copy svg {
  width: 16px;
  height: 16px;
}
.nc-check {
  grid-column: 1 / -1;
}
.nc-check .robot-status:empty {
  display: none;
}
.nc-empty,
.nc-note {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- facts, the small print */

.nc-facts,
.nc-fine {
  margin-top: 40px;
}
.nc-facts h2,
.nc-fine h2 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--nc-head);
}
.nc-facts ul {
  margin: 0 0 10px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.nc-fine ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 1100px) {
  .nc-side {
    display: none;
  }
}
@media (max-width: 760px) {
  .nc-hero {
    padding: 30px 0 28px;
  }
  .nc-hero-in {
    flex-direction: column;
    gap: 20px;
  }
  .nc-steps {
    grid-template-columns: 1fr;
  }
}
