:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --ink: #262722;
  --muted: #5f6058;
  --line: #d7d6cc;
  --accent: #a9381b;
  font: 16px/1.5 system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1040px, calc(100% - 48px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 36px; min-height: 65px; }
.wordmark { font-weight: 850; font-size: 27px; letter-spacing: -.08em; text-decoration: none; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 20px; font-size: 14px; }
nav a, .footer a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.preview { margin-left: auto; color: var(--muted); font: 12px ui-monospace, monospace; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-block: 66px 37px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); line-height: 1; letter-spacing: -.076em; }
.intro div p { margin-top: 13px; font-size: 18px; }
.notice { color: var(--muted); font-size: 14px; }
.catalog { border-collapse: collapse; width: 100%; border-block: 2px solid var(--ink); text-align: left; }
.catalog th, .catalog td { padding: 16px 13px; border-bottom: 1px solid var(--line); }
.catalog thead { background: #ecebe4; color: #4c4e44; font-size: 13px; }
.catalog tbody th { font-size: 18px; }
.catalog .spec, .catalog .price { font: 14px ui-monospace, Consolas, monospace; white-space: nowrap; }
.catalog .price { font-weight: 700; }
.catalog .action { text-align: right; }
.plan-select, .copy { background: var(--ink); color: #fff; padding: 7px 12px; border: 1px solid var(--ink); border-radius: 4px; font-size: 14px; white-space: nowrap; }
.plan-select:hover, .copy:hover { background: var(--accent); border-color: var(--accent); }
.plan-select span { margin-left: 5px; }
.includes { margin-top: 12px; color: var(--muted); font-size: 14px; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-block: 54px 58px; }
h2 { font-size: 24px; letter-spacing: -.04em; margin-bottom: 12px; }
.network { margin: 0; }
.network div, details { border-top: 1px solid var(--line); padding-block: 11px; font-size: 14px; }
.network div { display: flex; justify-content: space-between; gap: 14px; }
.network dd { margin: 0; text-align: right; }
.network dt, details p { color: var(--muted); }
details p { margin: 7px 0 0 15px; }
.footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-block: 18px; color: var(--muted); font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
dialog { width: min(440px, calc(100% - 28px)); border: 1px solid var(--ink); border-radius: 5px; background: var(--paper); color: var(--ink); padding: 24px; }
dialog::backdrop { background: #26272280; }
.close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: transparent; font-size: 22px; }
.config-plan { margin-block: 10px 16px; color: var(--muted); }
dialog label { display: block; font-size: 14px; }
dialog select, dialog textarea { width: 100%; border: 1px solid #85867d; border-radius: 4px; background: #fff; color: var(--ink); padding: 8px; }
dialog select { margin-block: 5px 14px; }
dialog textarea, #copy-status:not(:empty) { margin-top: 10px; }

@media (max-width: 620px) {
  .shell { width: calc(100% - 28px); }
  .top-inner { gap: 15px; }
  nav { gap: 9px; font-size: 13px; }
  .preview { font-size: 10px; }
  .intro { display: block; padding-block: 37px 25px; }
  .notice { margin-top: 13px; }
  .notice br { display: none; }
  .notice br::after { content: ' '; }
  .catalog th, .catalog td { padding: 12px 4px; }
  .catalog .spec, .catalog .price { font-size: 12px; }
  .catalog tbody th { font-size: 14px; }
  .plan-select { padding: 6px; font-size: 12px; }
  .plan-select span { display: none; }
  .info { grid-template-columns: 1fr; gap: 22px; margin-block: 32px; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 20px); }
  .catalog .spec, .catalog .price { font-size: 11px; }
  .catalog thead { font-size: 11px; }
}

.eyebrow { margin-bottom: 16px; color: var(--accent); font: 700 12px ui-monospace, monospace; letter-spacing: .12em; }
.hero-actions { display: grid; justify-items: start; gap: 10px; }
a.plan-select { display: inline-block; text-decoration: none; }
.region { display: inline-block; margin: 0 0 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; }
#demo-form { display: inline-block; margin: 0 4px 8px 0; }
.demo-notice { border-left: 3px solid var(--accent); padding: 10px 14px; background: #ecebe4; font-size: 14px; }
.panel-status:not(:empty) { margin-top: 12px; }
.server-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; margin-block: 20px 50px; }
.server { min-width: 0; border: 1px solid var(--line); border-radius: 6px; padding: 18px; background: #fff; }
.server header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; }
.server h2 { font-size: 20px; margin: 0; }
.server-details { margin-top: 10px; color: var(--muted); font-size: 14px; }
.badge { border-radius: 20px; background: #ecebe4; padding: 3px 9px; font-size: 12px; }
.badge.running { background: #e2f3e8; color: #175630; }
.controls { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 14px; }
.controls button { padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 13px; }
.controls button:enabled:hover { border-color: var(--accent); }
.controls button:disabled { opacity: .55; cursor: default; }
.events { padding-left: 22px; margin-bottom: 0; color: var(--muted); }
@media (max-width: 620px) { .intro > a, .hero-actions { margin-top: 16px; } .hero-actions .notice { margin-top: 0; } }

.home {
  --paper: #f5f7fd;
  --ink: #171e39;
  --muted: #525d77;
  --line: #d9dff0;
  --accent: #484ada;
  font-family: Inter, system-ui, sans-serif;
}
.home .shell { width: min(1160px, calc(100% - 40px)); }
.home .top { background: #fff; }
.home .top-inner { min-height: 76px; }
.home .plan-select, .home .copy {
  background: var(--accent); border-color: var(--accent); border-radius: 9px;
  font-weight: 650; padding: 10px 16px;
}
.home .plan-select:hover, .home .copy:hover { background: #3436b8; border-color: #3436b8; }
.home .hosting-hero {
  display: grid; grid-template-columns: 1.45fr 1fr; align-items: center;
  gap: 30px; padding: clamp(26px, 5vw, 64px); margin: 30px 0 62px;
  border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(ellipse at 90% 50%, #d7ddff, transparent 54%), #fff;
}
.hosting-hero h1 { font-size: clamp(34px, 5.5vw, 68px); letter-spacing: -.065em; line-height: 1.03; }
.hosting-hero em { color: var(--accent); font-style: normal; }
.hero-description { max-width: 400px; margin-top: 18px; color: var(--muted); }
.hero-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.hero-buttons > a:not(.plan-select) { color: var(--accent); font-weight: 650; text-decoration: none; }
.rack-art { padding: 18px; perspective: 650px; }
.rack { display: grid; gap: 8px; border: 1px solid #555fb1; border-radius: 18px; padding: 17px; background: #222a67; transform: rotateY(-22deg) rotateX(12deg); box-shadow: 20px 24px 42px #2c3b9560; }
.rack i { display: block; height: 35px; border: 1px solid #6374ce; border-radius: 5px; background: repeating-linear-gradient(90deg,#91a0fe 0 3px,transparent 3px 7px) 13px center / 72px 6px no-repeat, linear-gradient(120deg,#4653a8,#29366d); }
.rack i::after { content: ''; display: block; width: 6px; height: 6px; margin: 13px 12px 0 auto; border-radius: 50%; background: #85facd; }
.home h2 { font-size: clamp(24px, 4vw, 36px); }
.catalog-note { color: var(--muted); margin-bottom: 18px; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan-grid article, .panel-sample, .operating-systems span {
  border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 22px;
}
.plan-grid h3 { margin: 0; font-size: 23px; }
.plan-grid dl { margin: 16px 0; }
.plan-grid dl div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.plan-grid dt, .plan-grid small { color: var(--muted); }
.plan-grid dd { margin: 0; }
.plan-grid .price { font-size: 27px; }
.plan-grid button { margin-top: 14px; width: 100%; }
.management { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; margin: 56px 0 36px; padding: clamp(20px, 4vw, 44px); border-radius: 20px; background: #e6eaff; }
.management p { max-width: 370px; margin-bottom: 18px; color: var(--muted); }
.panel-sample > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.panel-sample small { color: var(--muted); }
.operating-systems > div { display: flex; flex-wrap: wrap; gap: 12px; }
.operating-systems span { padding: 10px 18px; font-weight: 650; }
@media (max-width: 720px) {
  .home .hosting-hero, .management, .plan-grid { grid-template-columns: 1fr; }
  .rack-art { max-width: 340px; width: 100%; justify-self: center; }
  .home nav a:not(:first-child) { display: none; }
}
.home { background: var(--paper); color: var(--ink); }
@media (max-width: 380px) {
  .home .shell { width: calc(100% - 24px); }
  .home .top-inner { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .home .top-inner .preview { margin-left: 0; }
}
.dashboard-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dashboard-summary div { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.dashboard-summary dt { font-size: 14px; color: var(--muted); }
.dashboard-summary dd { margin: 4px 0 0; font-size: 24px; font-weight: 700; }
#server-filter { margin-left: 8px; }

.service-terms { margin-top: 48px; max-width: 720px; }
.service-terms p { margin-top: 10px; color: var(--muted); }

.cosmic.home { --paper: #080b13; --ink: #eef2ff; --muted: #98a1b7; --line: #ffffff18; --accent: #697dfa; background: #06080e; color-scheme: dark; }
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.cosmic .top { background: #080b1380; border-color: #ffffff10; }
.cosmic .wordmark { letter-spacing: -.05em; }
.cosmic .hosting-hero { display: block; text-align: center; margin: 0; padding: 110px 12px 80px; border: 0; background: transparent; }
.cosmic .hosting-hero h1 { text-transform: uppercase; font-size: clamp(34px, 5.6vw, 76px); font-weight: 850; letter-spacing: -.045em; }
.cosmic .hosting-hero em { color: #b0bafd; }
.cosmic .hero-description { margin: 22px auto 0; max-width: 560px; }
.cosmic .hero-buttons { justify-content: center; }
.cosmic .region { border-color: #ffffff20; color: #aab5db; }
.cosmic .plan-select, .cosmic .copy { background: #e5eaff; border-color: #e5eaff; color: #101529; }
.cosmic .plan-select:hover, .cosmic .copy:hover { background: #b9c5ff; border-color: #b9c5ff; }
.cosmic .hero-buttons > a:not(.plan-select) { color: #b4c1fa; }
.launch-strip { display: grid; grid-template-columns: repeat(3,1fr); padding: 24px 30px; border: 1px solid var(--line); border-radius: 14px; background: #111622a8; gap: 20px; }
.launch-strip div { display: grid; gap: 6px; }
.launch-strip small { color: var(--muted); letter-spacing: .08em; font-size: 11px; }
.launch-strip strong { font-size: 15px; }
.earth-section { display: grid; grid-template-columns: 1fr 1.2fr; align-items: center; gap: 30px; min-height: 600px; margin-block: 20px 60px; }
.cosmic .earth-copy h2 { font-size: clamp(34px, 4.5vw, 56px); line-height: 1.06; letter-spacing: -.05em; }
.earth-copy > p:not(.region) { color: var(--muted); max-width: 410px; margin: 18px 0; }
.earth-visual { opacity: .3; transform: translateY(55px); transition: opacity 1.3s, transform 1.3s; min-width: 0; }
.revealed .earth-visual { opacity: 1; transform: none; }
#earth { width: 100%; aspect-ratio: 1; display: block; }
.earth-visual > p { color: var(--muted); text-align: center; font-size: 11px; }
.earth-location { font-size: 13px; }
.earth-location span { display: inline-block; width: 6px; height: 6px; background: #a5bcff; border-radius: 50%; margin-right: 6px; }
.cosmic .plan-grid article, .cosmic .panel-sample, .cosmic .operating-systems span { background: #101520e8; }
.cosmic .management { background: #111827e8; border: 1px solid var(--line); }
.cosmic .badge.running { background: #24463b; color: #a7e1c5; }
.cosmic dialog { background: #111725; }
.cosmic dialog select, .cosmic dialog textarea { background: #1b2438; color: var(--ink); border-color: #414d69; }
.cosmic .footer { flex-wrap: wrap; gap: 18px; }
@media(max-width:720px) {
  .earth-section { grid-template-columns: 1fr; gap: 0; margin-top: 55px; min-height: 0; }
  .earth-visual { width: min(100%, 500px); justify-self: center; }
  .launch-strip { grid-template-columns: 1fr; padding: 20px; gap: 18px; }
  .cosmic .hosting-hero { padding: 70px 0 45px; }
}
@media(prefers-reduced-motion:reduce) {
  .earth-visual { transition: none; transform: none; opacity: 1; }
}

.cosmic.home { background: radial-gradient(ellipse at 55% 10%, #13203a88, transparent 48%), #04060b; }
.cosmic main { position: relative; }
.cosmic .wordmark { font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.cosmic .wordmark span { color: #9caed7; font-size: 11px; letter-spacing: .15em; }
.cosmic .hosting-hero { padding-top: 140px; padding-bottom: 100px; }
.cosmic .hosting-hero h1 { text-shadow: 0 0 70px #96b5ff25; }
.cosmic .hosting-hero em { color: #c5d5f6; }
.cosmic .earth-section { min-height: 700px; }
.cosmic .earth-visual { position: relative; }
.cosmic #earth { filter: drop-shadow(0 0 45px #4169a022); }
.cosmic .server, .cosmic .dashboard-summary div { background: #101520e8; }
.cosmic .demo-notice { background: #111b2b; }
@media(max-width:720px) {
  .cosmic .hosting-hero { padding-block: 80px 60px; }
  .cosmic .earth-section { min-height: 0; }
}

.atlas.home { background: #05060b; font-family: Inter, system-ui, sans-serif; position: relative; isolation: isolate; }
.atlas::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: min(100vw, 1300px); background: url('./atlas-background.png') top center / cover no-repeat; z-index: -1; pointer-events: none; }
.atlas.home .shell { width: min(1320px, calc(100% - 80px)); }
.atlas .top { background: transparent; border: none; }
.atlas .top-inner { min-height: 98px; }
.atlas .top nav { margin-left: auto; gap: 35px; }
.atlas .top-inner .preview { margin-left: 30px; background: #08090c70; border-color: #ffffff60; color: #f7f7ff; font-size: 15px; padding: 10px 24px; }
.atlas .wordmark { font-size: 23px; letter-spacing: -.04em; }
.atlas .wordmark span { font-size: 21px; letter-spacing: 0; color: #ececf5; font-weight: 400; }
.atlas .hosting-hero { padding: 68px 0 180px; text-align: left; position: relative; }
.hero-kicker { letter-spacing: .13em; font-size: 13px; margin-bottom: 25px; color: #d5d7e3; }
.atlas .hosting-hero h1 { font-size: clamp(43px, 6.6vw, 91px); text-transform: none; letter-spacing: -.06em; line-height: 1.02; font-weight: 750; text-shadow: none; }
.atlas .hero-description { font-size: clamp(19px,2.5vw,29px); margin: 26px 0 0; max-width: none; color: #f2f3f8; }
.atlas .hero-buttons { justify-content: start; margin-top: 35px; }
.atlas .hero-buttons .plan-select { padding: 16px 26px; font-size: 18px; background: #f4f4fa; border-color: #f4f4fa; }
.atlas-location { padding: 25px 0 32px; }
.atlas .atlas-location h2 { font-size: clamp(27px,3.6vw,47px); letter-spacing: -.04em; margin-bottom: 6px; }
.atlas-location p { font-size: 18px; color: #b3b4c7; }
.atlas #plans > h2 { font-size: 20px; }
.atlas .plan-grid article { background: #0c0d16d9; border-color: #ffffff40; padding: 24px; }
.atlas .plan-grid .price { font-size: 33px; }
.atlas .plan-grid h3 { font-size: 24px; }
.atlas .plan-grid dl div { border-color: #ffffff18; }
.atlas .plan-grid button { background: transparent; border-color: #ffffff40; color: #eeeefa; }
.atlas .plan-grid button:hover { background: #ffffff17; }
.atlas #plans { padding-bottom: 25px; }
.atlas .service-terms { margin-top: 50px; }
@media(max-width:720px) {
  .atlas.home .shell { width: calc(100% - 36px); }
  .atlas .top-inner { min-height: 80px; gap: 12px; flex-wrap: wrap; padding-block: 14px; }
  .atlas .top nav { display: none; }
  .atlas .wordmark { font-size: 18px; }
  .atlas .wordmark span { font-size: 16px; }
  .atlas .top-inner .preview { margin-left: auto; font-size: 12px; padding: 7px 12px; }
  .atlas .hosting-hero { padding: 55px 0 190px; }
  .atlas::before { height: 820px; background-size: auto 820px; background-position: 60% 0; opacity: .7; }
  .atlas .hero-description { font-size: 19px; }
  .hero-kicker { font-size: 10px; }
}

.atlas::before { display: none; }
.atlas.home { background: #05060b; }
#stars { z-index: -1; }
.atlas .hosting-hero { display: block; min-height: 660px; margin: 0; overflow: hidden; }
.atlas .hosting-hero > :not(.interactive-earth) { position: relative; z-index: 2; max-width: 760px; pointer-events: none; }
.atlas .hosting-hero a { pointer-events: auto; }
.interactive-earth { position: absolute; width: 800px; height: 690px; right: -200px; top: -15px; z-index: 1; }
.interactive-earth #earth { width: 100%; height: 620px; aspect-ratio: auto; cursor: grab; touch-action: pan-y; }
.interactive-earth #earth:active { cursor: grabbing; }
.interactive-earth button { border: 1px solid #ffffff35; background: #10131e; color: #d5d9ee; padding: 8px 12px; border-radius: 7px; font-size: 12px; margin: 0 5px; }
.interactive-earth button:first-of-type { margin-left: 140px; }
.atlas #locations { scroll-margin-top: 30px; }
@media(max-width:720px) {
  .atlas .hosting-hero { min-height: 820px; padding-bottom: 400px; }
  .interactive-earth { width: 520px; height: 470px; top: 350px; right: calc(50% - 260px); }
  .interactive-earth #earth { height: 400px; }
  .interactive-earth button:first-of-type { margin-left: 80px; }
}

/* Keep the globe fully visible and give the location its own scroll section. */
.atlas .hosting-hero { overflow: visible; min-height: 680px; }
.interactive-earth { right: -55px; top: 0; width: 650px; height: 650px; }
.interactive-earth #earth { height: 590px; filter: none; }
.interactive-earth button:first-of-type { margin-left: 110px; }
@media(max-width:720px) {
  .atlas .hosting-hero { overflow: hidden; min-height: 830px; }
  .interactive-earth { top: 350px; width: 500px; height: 460px; right: calc(50% - 250px); }
  .interactive-earth #earth { height: 410px; }
  .interactive-earth button:first-of-type { margin-left: 70px; }
}
