:root {
  color-scheme: dark;
  --bg: #0d0d16;
  --surface: #151521;
  --surface-hover: #1b192a;
  --ink: #f8f6fb;
  --muted: #c2becc;
  --soft: #a9a3b8;
  --coral: #ff957c;
  --violet: #cca6ff;
  --gradient: linear-gradient(106deg, #ff886b 0%, #e387bb 50%, #b680ff 100%);
  --dark: #190f21;
  --font: Inter, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "DejaVu Sans Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); font: 16px/1.62 var(--font); color: var(--ink); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
::selection { background: var(--violet); color: var(--dark); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; }
h1, h2 { letter-spacing: -.045em; }
section[id], main[id] { scroll-margin-top: 104px; }
.wrap { width: min(1392px, 100% - 88px); margin-inline: auto; }
.skip { position: fixed; background: var(--violet); color: var(--dark); padding: 10px 16px; z-index: 4; left: 12px; top: 12px; transform: translateY(-180%); }
.skip:focus { transform: translateY(0); }

.top {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #10101a;
  transition: background .18s ease, color .18s ease;
}
.is-home .top:not(.is-stuck) { background: #0c0d17a0; }
.top.is-stuck { background: #f7f5fa; color: #1a1422; }
.top.is-stuck :focus-visible { outline-color: #6c429c; }
.top-inner { min-height: 76px; display: flex; align-items: center; gap: clamp(28px, 5vw, 75px); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 24px; font-weight: 770; line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.brand-mark { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; color: var(--dark); isolation: isolate; }
.brand-mark::before { content: ""; position: absolute; inset: 1px; border-radius: 9px; background: var(--gradient); transform: rotate(14deg); z-index: -1; }
.brand-period { color: var(--coral); }
.is-stuck .brand-period { color: #a33156; }
.top nav { display: flex; gap: clamp(17px, 3vw, 34px); color: var(--ink); font-weight: 570; font-size: 14px; }
.top nav a:hover, .footer a:hover { color: var(--coral); }
.is-stuck nav { color: #332842; }
.is-stuck nav a:hover { color: #82275b; }
.top-action { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; gap: 9px; min-height: 43px; border-radius: 50px; padding: 0 16px; background: #211d2de6; color: var(--ink); font-size: 14px; font-weight: 670; white-space: nowrap; }
.is-stuck .top-action { background: #17121f; }
.top-action:hover, .is-stuck .top-action:hover { background: #352943; }

.hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 565px; padding-block: 65px 105px; text-align: center; }
.hero-art { position: absolute; z-index: -1; inset: -77px 0 -28px; overflow: hidden; pointer-events: none; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #0d0d16a8 0%, #0d0d1652 37%, #0d0d1678 67%, var(--bg) 100%),
    radial-gradient(ellipse 52% 70% at 50% 39%, #090912a3, transparent);
}
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--coral); font-size: 13px; font-weight: 690; line-height: 1.4; }
.kicker svg { flex: none; }
.hero-kicker { border-radius: 40px; padding: 9px 14px; background: #1f1924c9; }
.hero h1 { margin-top: 20px; font-size: clamp(55px, 6.25vw, 88px); font-weight: 765; line-height: .99; }
.period { color: var(--coral); }
.hero-lead { margin-top: 24px; color: #e4dfea; font-size: clamp(16px, 1.66vw, 20px); max-width: 635px; text-wrap: pretty; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin-top: 27px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 50px; border-radius: 50px; padding: 11px 20px; font-size: 14px; font-weight: 720; line-height: 1.25; text-align: center; }
.button svg { flex: none; }
.primary { color: var(--dark); background: var(--gradient); }
.primary:hover { filter: brightness(1.12); }
.secondary { background: #252130e6; color: var(--ink); }
.secondary:hover { background: #32273e; }

.section { padding-bottom: 86px; }
.section-head { margin-bottom: 26px; }
.section-head h2, .provider h2 { font-size: clamp(34px, 4.1vw, 54px); font-weight: 735; }
.section-head p { color: var(--muted); margin-top: 10px; }
.section-head.centered { text-align: center; margin-bottom: 33px; }
.scenarios { position: relative; }
.scenarios-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.scenario-card, .guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px;
  background: var(--surface);
  border-radius: 13px;
  transition: background .16s ease;
}
.scenario-card:hover, .guide-card:hover { background: var(--surface-hover); }
.scenario-card { align-items: center; text-align: center; padding: 25px 15px 23px; }
.scenario-art { width: 132px; height: auto; aspect-ratio: 1; object-fit: cover; clip-path: circle(43%); scale: 1.16; }
.card-arrow { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 27px; height: 27px; color: var(--soft); }
.scenario-card:hover .card-arrow, .guide-card:hover .guide-meta > svg { color: var(--coral); }
.scenario-card h3, .guide-card h3 { font-size: 20px; font-weight: 720; letter-spacing: -.027em; }
.scenario-card h3 { margin-top: 18px; }
.scenario-card p, .guide-card p { color: var(--muted); font-size: 14px; margin-top: 7px; text-wrap: pretty; }
.spec { display: inline-block; margin-top: auto; padding-top: 11px; color: var(--coral); font-size: 13px; font-weight: 690; }

.calc-section {
  background: radial-gradient(ellipse at 15% 55%, #392039a0, transparent 56%),
    radial-gradient(ellipse at 95% 20%, #30234194, transparent 54%), #14121f;
  margin-bottom: 82px;
  padding-block: 62px;
}
.calc-grid { display: grid; grid-template-columns: .88fr 1fr; gap: clamp(38px, 8vw, 125px); align-items: center; }
.calc-copy h2 { font-size: clamp(41px, 5vw, 67px); margin-block: 14px 17px; }
.calc-copy > p:not(.kicker) { color: var(--muted); max-width: 390px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 18px; color: var(--violet); align-items: center; font-size: 14px; font-weight: 670; }
.text-link:hover { text-decoration: underline; }
.calc-panel { background: #11101b; border-radius: 15px; padding: 24px 25px 16px; }
.calc-panel-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 12px; }
.calc-panel h3 { font-size: 23px; letter-spacing: -.035em; }
.reset { display: inline-flex; align-items: center; gap: 7px; background: none; color: var(--muted); border: none; border-radius: 4px; padding: 8px 0 8px 7px; font-size: 13px; }
.reset:hover { color: var(--violet); }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; font-weight: 520; }
.number-field { position: relative; width: min(48%, 182px); flex: none; }
.number-field input { width: 100%; appearance: textfield; border: 0; border-radius: 8px; min-height: 40px; padding: 8px 30px 8px 11px; color: var(--ink); background: #2a2538; font-size: 14px; }
.number-field input::-webkit-inner-spin-button, .number-field input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.number-field input::placeholder { color: #b6aec4; opacity: 1; font-size: 12px; }
.currency { position: absolute; color: var(--muted); right: 11px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.calc-total { margin-top: 29px; display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.calc-total b { font-size: 19px; margin-right: 7px; }
.calc-total span, .calc-year { color: var(--muted); font-size: 13px; }
.calc-total output { color: var(--coral); font: 700 clamp(19px, 3vw, 31px)/1.25 var(--mono); letter-spacing: -.055em; }
.calc-year { margin-top: 6px; min-height: 2.6em; }

.guides-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.guide-card { min-height: 157px; }
.guide-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--soft); font-size: 13px; margin-bottom: 13px; }
.guide-meta span { display: inline-flex; gap: 8px; align-items: center; color: var(--violet); font-size: 13px; font-weight: 680; }
.guide-meta span svg { color: var(--coral); }
.provider { padding-bottom: 78px; }
.provider-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
  background: linear-gradient(105deg, #281b2ef7 17%, #241a2ced 55%, #181525b8),
    url("/assets/datacenter.webp") center 63% / cover;
  border-radius: 15px;
  padding: clamp(23px, 4.2vw, 52px);
}
.provider-box h2 { margin-top: 8px; }
.provider-box p:not(.kicker), .aside p { margin-top: 8px; color: var(--muted); }
.disclosure { max-width: 345px; font-size: 12px; }
.footer { background: #11111b; color: var(--muted); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; min-height: 89px; gap: 18px; font-size: 14px; }
.footer .brand { color: var(--ink); font-size: 21px; }
.footer .brand-mark { width: 29px; height: 29px; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.crumbs a:hover { color: var(--coral); }
.article-wrap { padding-top: 26px; }
.article-head {
  margin: 25px 0 32px;
  padding: clamp(23px, 4vw, 50px);
  border-radius: 15px;
  background: linear-gradient(100deg, #171321 15%, #1b1524f2 50%, #18142580),
    url("/assets/datacenter.webp") center 55% / cover;
}
.article-head h1 { font-size: clamp(40px, 5.45vw, 73px); font-weight: 740; max-width: 920px; }
.article-head .kicker { margin-bottom: 12px; }
.article-head > p:not(.kicker) { font-size: clamp(16px, 1.9vw, 21px); color: #dfd9e7; margin-top: 13px; max-width: 760px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 924px) minmax(240px, 1fr); gap: clamp(25px, 5vw, 65px); }
.article-content { min-width: 0; }
.article-content p, .article-content li { max-width: 72ch; color: #dfd9e7; }
.article-content section > p + p { margin-top: 10px; }
.article-content section { margin-bottom: 34px; }
.article-content section h2, .article-cta h2 { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.035em; margin-bottom: 10px; }
.article-content a:not(.button) { color: var(--violet); text-decoration: underline; text-underline-offset: .2em; }
.article-content ol, .article-content ul { padding-left: 22px; }
.article-content li + li { margin-top: 5px; }
.article-content table { margin-block: 16px; width: 100%; border-collapse: collapse; font-size: 14px; overflow-wrap: anywhere; }
.article-content th, .article-content td { text-align: left; padding: 10px; }
.article-content th { background: var(--surface); }
.article-content tbody tr:nth-child(even) { background: #12121d; }
.article-content pre { border-radius: 8px; padding: 12px 14px; overflow: auto; background: #14121d; color: #eae0ee; }
.article-content code { font: .88em/1.5 var(--mono); }
.takeaway { display: flex; gap: 12px; padding: 18px; border-radius: 11px; background: linear-gradient(115deg, #2e1c30, #20192d); margin-bottom: 34px; }
.takeaway svg { color: var(--coral); flex: none; }
.aside { align-self: start; }
.aside nav, .aside-provider { padding: 19px; border-radius: 11px; background: var(--surface); }
.aside h2 { font-size: 20px; letter-spacing: -.025em; }
.aside nav a { display: block; margin-top: 9px; color: var(--muted); font-size: 14px; }
.aside nav a:hover { color: var(--coral); }
.aside-provider { margin-top: 14px; }
.aside-provider .button { margin-top: 12px; width: 100%; }
.article-cta { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; background: var(--surface); border-radius: 11px; padding: 18px; }
.article-cta h2 { font-size: 22px; margin-bottom: 4px; }
.article-sources a svg { vertical-align: middle; }
.related { padding-top: 54px; }
.related .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about { padding-bottom: 42px; }
.missing { padding-block: 70px; }
.missing p { margin-block: 16px; }

@media (max-width: 1020px) {
  .wrap { width: calc(100% - 56px); }
  .hero { min-height: 525px; padding-block: 55px 80px; }
  .scenario-art { width: 110px; }
  .scenario-card, .guide-card { padding-inline: 14px; }
}
@media (max-width: 780px) {
  section[id], main[id] { scroll-margin-top: 125px; }
  .top-inner { flex-wrap: wrap; gap: 9px 14px; padding-block: 11px; }
  .top nav { order: 3; flex-basis: 100%; gap: clamp(15px, 5vw, 33px); }
  .hero { min-height: 486px; padding-block: 49px 67px; }
  .hero-art { top: -100px; }
  .scenarios-grid, .guides-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc-grid { grid-template-columns: 1fr; gap: 23px; }
  .calc-copy h2 br { display: none; }
  .article-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .aside-provider { margin: 0; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 34px); }
  .brand { font-size: 21px; gap: 8px; }
  .brand-mark { width: 29px; height: 29px; }
  .top-inner { column-gap: 6px; }
  .top-action { min-height: 37px; padding-inline: 11px; gap: 5px; font-size: 13px; }
  .hero { min-height: 447px; padding-block: 40px 57px; }
  .hero h1 { font-size: clamp(42px, 11.7vw, 59px); }
  .hero-lead { margin-top: 17px; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .hero-actions .button { min-height: 45px; gap: 5px; padding-inline: 10px; font-size: 12px; }
  .scenario-art { width: 86px; }
  .card-arrow { top: 5px; right: 5px; }
  .scenarios-grid, .guides-grid { gap: 8px; }
  .scenario-card, .guide-card { padding-inline: 11px; }
  .scenario-card h3, .guide-card h3 { font-size: 17px; }
  .scenario-card p, .guide-card p, .spec { font-size: 12px; }
  .guide-meta > svg { display: none; }
  .section { padding-bottom: 54px; }
  .section-head.centered { margin-bottom: 23px; }
  .calc-section { padding-block: 34px; margin-bottom: 51px; }
  .calc-panel { padding-inline: 13px; }
  .foot-inner { flex-wrap: wrap; row-gap: 8px; padding-block: 17px; }
  .foot-inner > span { order: 3; flex-basis: 100%; }
  .article-head { padding: 20px 17px; margin: 19px 0 24px; }
  .article-content th, .article-content td { padding: 6px; font-size: 13px; }
  .aside { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
