/* Coide inner pages: same look and motion as the home page.
   A sand-sky hero, the home top bar and footer, calm white reading pages. */
:root { --sk-ink: #111113; --sk-soft: #6e6e73; --sk-sand: #bd9686; --sk-line: rgb(0 0 0 / .08); }
/* the old pages were dark: switch every palette they use to the light home palette */
html:root { color-scheme: light;
  /* guides, comparisons, pricing, legal */
  --paper: #ffffff; --paper-raised: #f6f3f0; --ink: #111113; --ink-soft: #5f5f66; --ink-faint: #8e8e94; --rule: rgb(0 0 0 / .09); --grid: rgb(0 0 0 / .03);
  --input-bg: #f6f3f0; --grid-minor: rgb(0 0 0 / .035); --grid-major: rgb(0 0 0 / .07); --plate: #f6f3f0; --plate-dot: rgb(0 0 0 / .12);
  --card-face: #f6f3f0; --card-lit: #efebe7; --card-stroke: rgb(0 0 0 / .08); --card-lit-shadow: 0 18px 40px -22px rgb(60 30 20 / .35);
  --button-bg: #111113; --button-ink: #fff; --button-hover: #2a2a2e;
  /* docs, security */
  --bg: #ffffff; --panel: #f6f3f0; --fg: #111113; --muted: #5f5f66; --line: rgb(0 0 0 / .1); --code: #f4f1ee; --ok: #2f8f4e; --warn: #a8701a;
  /* get a server */
  --panel-2: #efebe7; --line-2: rgb(0 0 0 / .16); --soft: #5f5f66; --faint: #8e8e94; --green: #2f9e5a; }
html { background: #fff; }
body { margin: 0; background: #fff !important; color: var(--sk-ink); font-family: Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body main, body article { font-family: Inter, system-ui, sans-serif; }

/* ---------- top bar (same as home) ---------- */
.sk-bar { position: fixed; inset: 0 0 auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; color: #fff;
  transition: color .5s, transform .5s cubic-bezier(.2,.7,.2,1), background .5s, box-shadow .5s; pointer-events: none; font-family: Inter, system-ui, sans-serif; }
.sk-bar > * { pointer-events: auto; }
.sk-bar[data-tone="dark"] { color: var(--sk-ink); background: rgb(255 255 255 / .82); box-shadow: 0 1px 0 var(--sk-line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.sk-bar.away { transform: translateY(-110%); }
.sk-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-size: 22px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; }
.sk-brand svg { width: 24px; height: 24px; }
.sk-bar nav { display: flex; align-items: center; gap: 24px; font-size: 15px; font-weight: 500; }
.sk-bar nav a, .sk-bar nav button { color: inherit; text-decoration: none; opacity: .85; background: none; border: 0; font: inherit; padding: 0; cursor: pointer; }
.sk-bar nav a:hover, .sk-bar nav button:hover { opacity: 1; }
.sk-bar nav a[aria-current] { opacity: 1; }
.sk-pill { opacity: 1 !important; display: inline-flex; align-items: center; height: 38px; padding: 0 18px !important; border-radius: 999px; background: rgb(255 255 255 / .2) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .38); transition: background .5s, color .5s; }
.sk-bar[data-tone="dark"] .sk-pill { background: var(--sk-ink) !important; color: #fff; box-shadow: none; }
:focus-visible { outline: 2px solid var(--sk-sand); outline-offset: 3px; }

/* ---------- hero: the sand sky ---------- */
.sk-hero { position: relative; overflow: hidden; color: #fff; min-height: min(78svh, 760px); display: flex; align-items: flex-end; isolation: isolate; }
.sk-hero.sk-short { min-height: min(56svh, 520px); }
.sk-sky { position: absolute; inset: -6% 0 0; z-index: -1; background: url(/img/sky-sand.webp) center 30% / cover, linear-gradient(180deg, #b0887a, #d9bbad); will-change: transform; }
.sk-sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 55%, rgb(60 30 20 / .12)); }
.sk-in { position: relative; width: 100%; max-width: 1240px; margin: 0 auto; padding: 120px 28px 56px; box-sizing: border-box; will-change: transform, opacity; }
.sk-kicker { margin: 0 0 18px; font-size: 14px; font-weight: 500; letter-spacing: .01em; opacity: .85; }
.sk-kicker a { color: inherit; text-decoration: none; }
.sk-kicker a:hover { text-decoration: underline; text-underline-offset: .2em; }
.sk-title { margin: 0; max-width: 15ch; font-size: clamp(46px, 7.2vw, 112px); font-weight: 500; line-height: .95; letter-spacing: -0.05em; text-wrap: balance; }
.sk-title.sk-long { max-width: 19ch; font-size: clamp(36px, 4.9vw, 76px); line-height: 1; letter-spacing: -0.04em; }
.sk-title br { display: none; }
.sk-title.sk-keepbr br { display: inline; }
.sk-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sk-title .w > span { display: inline-block; will-change: transform; }
.sk-lede { margin: 22px 0 0; max-width: 620px; font-size: 18px; line-height: 1.5; opacity: .9; }
.sk-meta { margin: 14px 0 0; font-size: 13px; opacity: .75; }
.sk-meta p, .sk-meta time { margin: 0; }
.sk-extra { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.sk-extra a.manage, .sk-cta { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--sk-ink) !important; font-size: 15px; font-weight: 500; text-decoration: none; }
.sk-extra a.manage:hover { background: #f1f1f3; }
/* docs contents and get-server chips become glass pills */
.sk-extra .toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; background: none; }
.sk-extra .toc a, .sk-extra .chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; color: #fff !important; text-decoration: none; font-size: 13.5px; font-weight: 500;
  background: rgb(255 255 255 / .16); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .34); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 0; }
.sk-extra .toc a:hover { background: rgb(255 255 255 / .28); }
.sk-extra .hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.sk-extra .chip i { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: inline-block; }
.sk-coin { position: absolute; right: max(4vw, calc(50% - 600px)); top: 50%; width: min(24vw, 300px); aspect-ratio: 1; margin-top: calc(min(24vw, 300px) / -2 - 20px); pointer-events: none; will-change: transform; z-index: 1; }
.sk-coin img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- page body ---------- */
.sk-page { position: relative; z-index: 1; background: #fff; }
.sk-page :where(h2) { letter-spacing: -0.03em; }
.sk-page a:not([class]) { color: inherit; text-decoration-color: rgb(189 150 134 / .6); text-underline-offset: .2em; }
.sk-page a:not([class]):hover { text-decoration-color: var(--sk-ink); }
.sk-page pre { border-radius: 12px !important; }
.sk-page :not(pre) > code { border-radius: 5px; }
.sk-page table { border-collapse: collapse; }
[data-ctc-notice] { border-color: var(--sk-line) !important; background: #f6f2ef !important; color: var(--sk-ink) !important; border-radius: 12px !important; }
[data-ctc-notice] a { color: inherit !important; }
.sk-hide { display: none !important; }

/* ---------- footer (same as home) ---------- */
.sk-foot { max-width: 1240px; margin: 0 auto; padding: 40px 24px 36px; display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; border-top: 1px solid var(--sk-line); font: 14px/1.5 Inter, system-ui, sans-serif; color: var(--sk-soft); background: #fff; }
.sk-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.sk-foot a { color: inherit; text-decoration: none; } .sk-foot a:hover { color: var(--sk-ink); }

/* ---------- reveal on scroll (only when the script runs) ---------- */
.sk-js .sk-r { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.sk-js .sk-r.in { opacity: 1; transform: none; }
.sk-js .sk-hero .sk-fade { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.sk-js .sk-hero.in .sk-fade { opacity: 1; transform: none; }
.sk-js .sk-title .w > span { transform: translate3d(0, 105%, 0); transition: transform 1.15s cubic-bezier(.16,.84,.2,1); transition-delay: var(--d, 0s); }
.sk-js .sk-hero.in .sk-title .w > span { transform: none; }
.sk-js .sk-coin img { opacity: 0; transform: translate3d(0, 60px, 0) scale(.7); transition: opacity 1.2s ease, transform 1.6s cubic-bezier(.16,.84,.2,1); transition-delay: .25s; }
.sk-js .sk-hero.in .sk-coin img { opacity: 1; transform: none; }
@keyframes sk-float { 50% { translate: 0 -12px; } }
.sk-hero.in .sk-coin { animation: sk-float 7s ease-in-out 1.8s infinite; }

@media (max-width: 760px) {
  .sk-bar { padding: 14px 16px; } .sk-bar nav .sk-hide-sm { display: none; }
  .sk-hero { min-height: 0; }
  .sk-in { padding: 112px 16px 36px; }
  .sk-title { font-size: clamp(40px, 12vw, 64px); max-width: none; }
  .sk-title.sk-long { font-size: clamp(32px, 9vw, 46px); max-width: none; }
  .sk-lede { font-size: 16px; }
  .sk-coin { width: 92px; top: 74px; right: 16px; margin-top: 0; }
  .sk-hero .sk-in { padding-top: 186px; }
}
@media (min-width: 761px) {
  /* keep the title and lede clear of the coin */
  .sk-in > * { max-width: min(100%, calc(100% - min(24vw, 300px) - 40px)); }
  .sk-in > .sk-title { max-width: min(15ch, calc(100% - min(24vw, 300px) - 40px)); }
  .sk-in > .sk-title.sk-long { max-width: min(19ch, calc(100% - min(24vw, 300px) - 40px)); }
}
@media (prefers-reduced-motion: reduce) {
  /* less movement, but content still fades in softly */
  .sk-js .sk-r, .sk-js .sk-hero .sk-fade, .sk-js .sk-coin img { transform: none !important; transition: opacity .8s ease; transition-delay: var(--d, 0s); }
  .sk-js .sk-title .w > span { transform: none !important; opacity: 0; transition: opacity .9s ease; transition-delay: var(--d, 0s); }
  .sk-js .sk-hero.in .sk-title .w > span { opacity: 1; }
  .sk-hero.in .sk-coin { animation: none; }
}

/* leftovers from the dark theme */
.sk-page code, .sk-page pre { color: var(--sk-ink); }
.sk-page .cmd { background: #f4f1ee !important; border-color: rgb(0 0 0 / .1) !important; }
.sk-page .cmd code { color: var(--sk-ink); }
.sk-page .cmd .copy { color: var(--sk-ink); }
.sk-page .note { background: #f8f1e4 !important; color: #5b4a22 !important; border-color: rgb(168 112 26 / .25) !important; }
.sk-page .note strong { color: #3d3011 !important; }
.sk-page .toast { background: var(--sk-ink); color: #fff; }
@media (max-width: 760px) {
  .sk-page table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sk-page pre { max-width: 100%; overflow-x: auto; }
}
