/* Server Rock visual system: slate, warm paper, signal-lime, and working interfaces. */
:root {
  --bg: #0c1111;
  --panel: #141b1b;
  --panel-soft: #1b2523;
  --line: #34403b;
  --text: #f1eee2;
  --muted: #b7b8a9;
  --quiet: #858c80;
  --accent: #d6f36a;
  --accent-ink: #172013;
  --green: #a6d58d;
  --warning: #efb36d;
  --danger: #f18b7d;
  --radius-control: 5px;
  --radius-card: 8px;
  --radius-panel: 12px;
}

html { background: var(--bg); scroll-padding-top: 84px; }
body {
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(ellipse at 50% 0, #25332a35, transparent 52rem);
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
}
::selection { color: #10150f; background: var(--accent); }
a { text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.skip { color: var(--accent-ink); background: var(--accent); }

.site-header, body:not(.storefront) .site-header {
  border-bottom: 1px solid #f1eee21a;
  background: #0c1111e8;
  backdrop-filter: blur(16px);
}
.storefront-header { background: #0c1111e8; }
.header-row { min-height: 72px; }
.brand { gap: 10px; font-size: 15px; }
.brand img { filter: drop-shadow(0 0 14px #d6f36a30); }
.brand small { color: var(--quiet); }
.nav { gap: 4px; }
.nav a {
  padding: 9px 12px;
  border-radius: 4px;
  color: #c5c6b7;
  font-size: 13px;
  transition: color .18s ease, background .18s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); background: #d6f36a12; }
.button {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 4px;
  border-color: #747b64;
  color: var(--text);
  background: #161d1a;
  font-size: 14px;
  font-weight: 650;
  transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease;
}
.button.primary { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); box-shadow: 0 5px 22px #d6f36a22; }
.button:hover { transform: translateY(-2px); border-color: var(--accent); }
.button.primary:hover { color: #10150f; background: #e2ff85; }
.button.ghost { background: transparent; }
.button.small { min-height: 44px; padding: 8px 12px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .15em; }
.eyebrow::before { width: 24px; }

/* The campaign opens on a cut of slate with a live product specimen. */
.storefront .hero {
  position: relative;
  min-height: min(820px, calc(100svh - 72px));
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid #f1eee226;
  background: #0c1111;
}
.storefront .hero-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; }
.storefront .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% 47%;
  filter: saturate(.72) contrast(1.08);
}
.storefront .hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0c1111 0%, #0c1111f2 34%, #0c1111a8 59%, #0c11112e 100%), linear-gradient(0deg, #0c1111d9, transparent 36%);
  content: "";
}
.storefront .hero-grid {
  min-height: inherit;
  grid-template-columns: minmax(0, .92fr) minmax(410px, 1.08fr);
  gap: clamp(34px, 5vw, 76px);
  padding-block: clamp(52px, 7vh, 88px);
}
.storefront .hero-content { max-width: 640px; padding-top: 0; }
.storefront .hero h1 {
  max-width: 11ch;
  font-size: clamp(3.6rem, 6.7vw, 6.6rem);
  font-weight: 730;
  line-height: .91;
  letter-spacing: -.073em;
  text-wrap: balance;
}
.storefront .hero h1 span { color: var(--accent); }
.storefront .hero-copy { max-width: 49ch; margin-top: 22px; color: #e1e0d4; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.55; }
.storefront .hero .actions { margin-top: 26px; }
.storefront .hero-assurances { gap: 7px; margin-top: 24px; }
.storefront .hero-assurances span {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid #f1eee228;
  border-radius: 3px;
  color: #d5d7c9;
  background: #0c1111a8;
  font-size: 11px;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.storefront .hero-assurances span:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--text); }
.storefront .hero-assurances i { color: var(--accent); }
.storefront .hero-product-art {
  transform: rotate(.6deg);
  padding: 10px;
  border: 1px solid #d9e5cb56;
  border-radius: 8px;
  background: #0c1111df;
  box-shadow: 0 32px 90px #0009, 0 1px #fff2 inset;
  backdrop-filter: blur(10px);
  animation: specimen-rise .8s both cubic-bezier(.2,.7,.2,1);
}
.storefront .preview-toolbar { border-color: #66715c; border-radius: 4px; background: #0a0e0d; }
.storefront .preview-tab { min-height: 44px; border-radius: 3px; color: #c5c6b7; }
.storefront .preview-tab.is-active { color: var(--accent-ink); background: var(--accent); }
.storefront .product-tour-card { border-color: #d6e3c128; border-radius: 4px; background: #111817; box-shadow: none; }
.storefront .product-tour-ui-head { border-bottom-color: #e8ecda22; }
.storefront .product-tour-ui-mark, .storefront .product-tour-channel-icon { border-radius: 3px; color: var(--accent); background: #d6f36a13; }
.storefront .product-tour-ui-tag { color: var(--accent); }
.storefront .product-tour-channel { border-color: #d6e3c128; border-radius: 3px; background: #18201e; }
.storefront .product-tour-channel b { color: var(--accent); }
.storefront .product-tour-safety { color: #aeb9a4; }
.storefront .product-tour-summary { border-color: #d6e3c128; color: var(--muted); }
.storefront .product-tour-summary p { line-height: 1.5; }
.storefront .art-caption { color: #b2b9aa; font-size: 11px; letter-spacing: .07em; }
.storefront .hero-scroll { margin-top: -12px; color: #d6d8c9; font-size: 12px; }
.storefront .hero-scroll span { color: var(--accent); }
@keyframes specimen-rise { from { opacity: 0; transform: translateY(14px) rotate(.6deg); } to { opacity: 1; transform: translateY(0) rotate(.6deg); } }

/* A moving signal line links the campaign to the product tour. */
.signal-strip { border-color: #f1eee226; background: #111817; color: #c5c8b8; }
.signal-strip-track { padding-block: 15px; font-size: 10px; letter-spacing: .2em; }
.signal-strip i { color: var(--accent); }
@keyframes signalDrift { to { transform: translateX(-25%); } }

/* Product chapters switch from dark atmosphere to warm field notes. */
.section { border-bottom-color: #f1eee21a; }
.section-pad { padding-block: clamp(68px, 9vw, 118px); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); align-items: end; }
.section-head h2, .section h2 {
  max-width: 13ch;
  color: var(--text);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 700;
  line-height: .97;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.section-head > p { color: #c0c4b5; font-size: 15px; line-height: 1.6; }
.storefront .product-section { color: #1d241c; background: #e7e5d8; }
.storefront .product-section .eyebrow { color: #515f35; }
.storefront .product-section .section-head h2 { color: #1b231d; }
.storefront .product-section .section-head > p { color: #51594e; }
.storefront .ribbon-items { gap: 0; border-top: 1px solid #1b231d48; border-bottom: 1px solid #1b231d48; }
.storefront .ribbon-items a { min-height: 0; padding: 13px 18px; border: 0; border-right: 1px solid #1b231d32; border-radius: 0; color: #374034; background: transparent; box-shadow: none; font-size: 13px; font-weight: 650; }
.storefront .ribbon-items a:first-child { padding-left: 0; }
.storefront .ribbon-items a:last-child { border: 0; }
.storefront .ribbon-items a:hover { transform: none; color: #1b231d; background: #f4f1e4; }
.storefront .ribbon-items a::after { background: #748d37; }
.storefront .product-grid { gap: 0; border-top: 1px solid #1b231d48; }
.storefront .product-card {
  position: relative;
  min-height: 420px;
  padding: 25px clamp(18px, 3vw, 38px) 28px;
  border: 0;
  border-bottom: 1px solid #1b231d48;
  border-radius: 0;
  color: #1b231d;
  background: transparent;
  box-shadow: none;
  transition: background .25s ease;
}
.storefront .product-card:nth-child(odd) { border-right: 1px solid #1b231d48; }
.storefront .product-card:hover { transform: none; background: #f4f1e4; }
.storefront .card-index { color: #667052; font-size: 10px; letter-spacing: .14em; }
.storefront .product-card-art {
  height: clamp(170px, 20vw, 250px);
  margin-block: 18px 15px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(.76);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
.storefront .product-card:hover .product-card-art { transform: translateY(-5px) scale(1.025); filter: saturate(1); }
.storefront .product-card h3 { color: #1b231d; font-size: 27px; letter-spacing: -.045em; }
.storefront .product-card p { color: #465044; }
.storefront .card-footnote { color: #667052; }
.storefront .card-footnote a { color: #485d25; }

.storefront .workflow-section { background: #111817; }
.storefront .workflow-visual {
  min-height: 420px;
  border: 1px solid #f1eee226;
  border-radius: 4px;
  background: #171f1c;
}
.storefront .workflow-visual::before { inset: 12px; border: 1px solid #d6f36a42; border-radius: 2px; }
.storefront .workflow-visual::after { background: linear-gradient(90deg, #0c1111ef, #0c1111ad 55%, #0c11112a); }
.storefront .workflow-visual strong { max-width: 9ch; color: var(--text); font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: -.06em; }
.storefront .workflow-visual p, .storefront .workflow-visual > span { color: #c0c6b8; }
.storefront .workflow-list article { border-bottom-color: #f1eee224; }
.storefront .workflow-list article > span { color: var(--accent); }
.storefront .workflow-list article:hover { background: #d6f36a0b; }
.storefront .workflow-list h3 { color: var(--text); }
.storefront .workflow-list p { color: #b6baad; }

.storefront .platform-section { padding: clamp(44px, 8vw, 96px) 0; background: #a9b783; color: #1b241b; }
.storefront .platform-panel { max-width: 1160px; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(34px, 7vw, 100px); padding: clamp(30px, 5vw, 58px); border: 1px solid #19231844; background: linear-gradient(120deg, #bbc693, #9eac77); }
.storefront .platform-panel .eyebrow, .storefront .platform-points span { color: #485534; }
.storefront .platform-panel h2 { color: #182117; }
.storefront .platform-panel > div:first-child > p:not(.eyebrow) { color: #414c38; }
.storefront .platform-panel .text-link { color: #263a20; }
.storefront .platform-points, .storefront .platform-points > div { border-color: #1b241b40; }
.storefront .platform-points strong { color: #1b241b; }
.storefront .platform-points small { color: #48513e; }

.storefront .store-section { background: #0c1111; }
.storefront .store-copy > p:not(.eyebrow) { color: #c5c8bb; }
.storefront .store-honesty, .storefront .release-meta { color: #aeb3a4; }
.storefront .store-checkout, .storefront .download-panel {
  border: 1px solid #d6e3c13d;
  border-radius: 5px;
  background: linear-gradient(145deg, #18201e, #111716);
  box-shadow: 0 24px 60px #0004;
}
.storefront .store-checkout { padding: clamp(20px, 3vw, 32px); }
.storefront .store-badge, .storefront .card-index { color: #a8af9d; }
.storefront .store-checkout h3 { color: var(--text); font-size: 24px; letter-spacing: -.04em; }
.storefront .store-checkout p { color: #bbc0b1; }
.storefront .price { color: var(--accent); }
.storefront .requirements-card, .storefront .hosted-plan-card { border-color: #d6e3c137; border-radius: 4px; background: #131a18; }
.storefront .hosted-plan-card--featured { border-color: #d6f36a99; background: #242d1b; }
.storefront .downloads-section { background: #111817; }
.storefront .download-panel { grid-template-columns: minmax(0, 1fr) minmax(245px, .42fr); gap: 0; }
.storefront .download-panel-main { padding: clamp(20px, 3vw, 32px); }
.storefront .download-panel-aside { padding: clamp(20px, 3vw, 28px); border-left: 1px solid #d6e3c137; }
.storefront .download-card { border-color: #d6e3c137; border-radius: 3px; background: #0f1514; }
.storefront .download-card strong { color: var(--text); }
.storefront .download-card span, .storefront .download-panel-aside p { color: #aeb5a6; }
.storefront .locked-note { border-color: #7c846e; border-radius: 3px; color: #c9cabb; background: #171e1b; }
.storefront .locked-note strong { color: var(--text); }
.storefront .download-lock { color: var(--accent); }
.storefront .licensing-section { background: #0c1111; }
.storefront .licensing-section .workspace { gap: 0; border-top: 1px solid #f1eee226; }
.storefront .licensing-section .panel { padding: 24px 26px; border: 0; border-bottom: 1px solid #f1eee226; border-radius: 0; background: transparent; box-shadow: none; }
.storefront .licensing-section .panel + .panel { border-left: 1px solid #f1eee226; }
.storefront .licensing-section h3 { color: var(--text); }
.storefront .licensing-section .panel > p:not(.eyebrow) { color: #b7bcae; }
.storefront .faq-section { background: #141b19; }
.storefront .faq-grid details { border-color: #d6e3c132; border-radius: 3px; background: #111716; }
.storefront .faq-grid summary { color: var(--text); }
.storefront .faq-grid details p { color: #bbc0b3; }
.storefront .faq-cta { border: 1px solid #d6e3c145; border-radius: 3px; background: #1a231d; }
.storefront .faq-cta strong { color: var(--text); }

/* Every supporting page shares the campaign art, but keeps its task in front. */
.subhero, .account-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #f1eee22b;
  background-color: #101715;
  background-image: linear-gradient(90deg, #101715f0 0%, #101715d9 49%, #10171545 100%), url("server-rock-pack/server-room-hero.png");
  background-position: center, 72% 48%;
  background-size: cover, cover;
}
.account-hero { background-image: linear-gradient(90deg, #101715f0 0%, #101715d9 49%, #10171545 100%), url("server-rock-pack/control-room-accent.png"); }
.subhero::after, .account-hero::after { display: none; }
.subhero .shell, .account-hero .shell { position: relative; z-index: 1; padding-block: clamp(64px, 10vw, 132px); }
.subhero h1, .account-hero h1 {
  max-width: 17ch;
  color: var(--text);
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 720;
  line-height: .93;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.subhero h1 span, .account-hero h1 span { color: var(--accent); }
.subhero p:not(.eyebrow), .account-hero p:not(.eyebrow) { max-width: 58ch; color: #dedfd3; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.58; }
.subnav { margin-top: 24px; }
.section-head h2 { max-width: 13ch; }
body:not(.storefront) .section-head h2 { max-width: 13ch; }
body:not(.storefront) .card, body:not(.storefront) .panel, body:not(.storefront) .step {
  border-color: #d6e3c132;
  border-radius: 5px;
  background: #141b19;
  box-shadow: none;
}
body:not(.storefront) .feature-grid .card:nth-child(2n) { transform: translateY(0); }
body:not(.storefront) .feature-grid .card:nth-child(2n):hover { transform: translateY(-3px); }
body:not(.storefront) .card-icon { border-color: #d6f36a66; border-radius: 3px; color: var(--accent); }
.account-hero h1 { max-width: 10ch; }
.account-hero h1 { max-width: 14ch; }
.account-content { max-width: 1080px; }
.account-notice, .account-sign-in, .account-card { border-radius: 5px; }
.account-sign-in, .account-card { border-color: #d6e3c13d; background: linear-gradient(145deg, #18201e, #111716); }
.account-card-mark { border-color: #d6f36a66; border-radius: 4px; color: var(--accent); background: #202b1a; }
.account-state { border-color: #889a54; border-radius: 3px; color: var(--accent); }
.account-facts > div { border-color: #f1eee21a; }
.account-key-row input, .form-row input, .support-panel input, .support-panel textarea { border-color: #596154; border-radius: 3px; color: var(--text); background: #0c1111; }
.footer, .storefront-footer { border-top-color: #f1eee21b; background: #090d0c; }
.footer-links { gap: 9px 17px; }
.footer-links a { color: #aeb3a5; font-size: 12px; }
.footer-links a:hover { color: var(--accent); }

/* Policy pages read like documents, with a steady measure and no card maze. */
.legal-reading main > .section .shell { max-width: 940px; }
.legal-reading .workspace { grid-template-columns: minmax(0, 1fr); gap: 0; }
.legal-reading .workspace .panel {
  padding: clamp(22px, 3vw, 34px) 0;
  border: 0;
  border-top: 1px solid #d6e3c132;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.legal-reading .workspace .panel p:not(.eyebrow) { max-width: 72ch; color: #c5cabb; font-size: 15px; line-height: 1.75; }
.legal-reading .workspace .panel h2 { max-width: 20ch; font-size: clamp(1.6rem, 3vw, 2.25rem); }

@media (max-width: 900px) {
  .storefront .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr); gap: 26px; }
  .storefront .hero h1 { font-size: clamp(3.2rem, 7vw, 5.5rem); }
}
@media (max-width: 760px) {
  .header-row { min-height: 62px; }
  .storefront .hero { min-height: 0; }
  .storefront .hero-art { height: min(560px, 125vw); }
  .storefront .hero-art img { object-position: 68% 48%; }
  .storefront .hero-art::after { background: linear-gradient(180deg, #0c111122 0%, #0c111140 26%, #0c1111dc 62%, #0c1111 100%); }
  .storefront .hero-grid { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 34px; padding-block: 74px 38px; }
  .storefront .hero h1 { max-width: 10ch; font-size: clamp(3.6rem, 12vw, 6rem); }
  .storefront .hero-copy { max-width: 42ch; }
  .storefront .hero-product-art { width: min(100%, 620px); justify-self: end; margin-top: 8px; transform: none; }
  .storefront .hero-scroll { margin: 0 auto 20px; }
  .storefront .product-grid { grid-template-columns: minmax(0, 1fr); }
  .storefront .product-card { min-height: 0; padding: 22px 18px 26px; border-right: 0 !important; }
  .storefront .product-card-art { height: min(54vw, 230px); }
  .storefront .ribbon-items { display: grid; grid-template-columns: 1fr 1fr; }
  .storefront .ribbon-items a { padding: 12px 10px; border-bottom: 1px solid #1b231d32; }
  .storefront .ribbon-items a:first-child { padding-left: 10px; }
  .storefront .ribbon-items a:nth-child(2) { border-right: 0; }
  .storefront .ribbon-items a:nth-last-child(-n+2) { border-bottom: 0; }
  .storefront .workflow-visual { min-height: 320px; }
  .storefront .platform-panel { grid-template-columns: minmax(0, 1fr); padding: 25px 20px; }
  .storefront .download-panel { grid-template-columns: minmax(0, 1fr); }
  .storefront .download-panel-aside { border-top: 1px solid #d6e3c137; border-left: 0; }
  .storefront .licensing-section .workspace { grid-template-columns: minmax(0, 1fr); }
  .storefront .licensing-section .panel + .panel { border-left: 0; }
  .section-head { align-items: start; flex-direction: column; gap: 14px; }
  .section-head > p { max-width: 55ch; }
  .subhero .shell, .account-hero .shell { padding-block: 70px; }
  .subhero h1, .account-hero h1 { max-width: 15ch; font-size: clamp(3rem, 12vw, 5rem); }
  .footer-row { flex-direction: column; }
  .account-sign-in, .account-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .storefront .header-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 8px; padding-block: 8px; }
  .storefront .nav { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); width: 100%; }
  .storefront .nav a { min-height: 44px; padding: 7px 3px; font-size: 11px; }
  .storefront .header-actions { margin: 0; }
  .storefront .header-actions .button { padding-inline: 11px; font-size: 12px; }
  .storefront .hero-grid { padding-top: 58px; }
  .storefront .hero h1 { font-size: clamp(3.2rem, 14.5vw, 4.7rem); }
  .storefront .hero-assurances span { min-height: 34px; font-size: 10px; }
  .storefront .preview-toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .storefront .preview-tab { min-height: 44px; }
  .storefront .download-grid, .storefront .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .storefront .download-card { align-items: center; }
  .subhero .shell, .account-hero .shell { padding-block: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
