/* The sign-in page (server/landing.mjs), in woodshed.run's look. Colors are Woodshed's design tokens
   (core/console/designSystem/tokens.json) under the same names; landing.test.mjs fails when one differs. */
:root {
  --ground: #ffffff;
  --stopped: #f6f5f2;
  --ink: #1b2232;
  --sub: #666666;
  --meta: #767676;
  --label: #736d65;
  --line: #e2e2e2;
  --line-soft: #eeeeee;
  --chip-count: #f2f1ee;
  --action: #b45a05;
  --action-ink: #ffffff;
  --amber: #E87D09;
  --slate: #526288;
  --slate-tint: #f2f4f9;
  --serif: Merriweather, Georgia, serif;
  --sans: "Red Hat Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 7px;
  color-scheme: light;
}

/* The dark screenshot shows only in dark; this comes before the dark block so that block wins. */
.dark-only { display: none; }

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #12151c;
    --stopped: #10131a;
    --ink: #e8ecf5;
    --sub: #a3aabb;
    --meta: #8f97a8;
    --label: #a39d92;
    --line: #2a3142;
    --line-soft: #232a38;
    --chip-count: #232a38;
    --action: #f59433;
    --action-ink: #1b1204;
    --amber: #f59433;
    --slate: #9fb2dd;
    --slate-tint: #1f2739;
    color-scheme: dark;
  }
  .light-only { display: none; }
  .dark-only { display: block; }
}

* {* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--sans); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: var(--radius-sm); }

/* The card on the left, the console on the right; a phone gets the card alone. */
.split { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); }
.auth { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 16px; overflow: hidden; isolation: isolate; }
.auth::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.7;
  background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 80%);
}
.card { width: 100%; max-width: 400px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ground); padding: 32px; }

.wordmark { font: 700 19px/1 var(--serif); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 32px; }
.wordmark .cloud { font: 500 13px/1 var(--mono); color: var(--label); text-transform: uppercase; letter-spacing: 0.06em; margin-left: -2px; }
h1 { font: 700 24px/1.25 var(--serif); letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; }
.sub { color: var(--sub); margin: 0 0 24px; }
.fine { font-size: 13px; line-height: 1.55; color: var(--meta); margin: 16px 0 0; }
.aside { font-size: 14px; color: var(--sub); margin: 20px 0 0; }

/* The one action. */
.btn {
  display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px;
  font: 600 15px/1 var(--sans); border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  border: 1px solid var(--action); background: var(--action); color: var(--action-ink);
}
.btn:hover { filter: brightness(1.06); }

/* The console, as the site's hero shows it. */
.preview { display: none; }
.shot { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--ground); }
.shot img { width: 100%; }
.preview .shot, .preview .caption { width: 100%; max-width: 760px; }
.caption { font: 400 12px/1.5 var(--mono); color: var(--sub); margin: 12px 2px 0; }

@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .preview { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: var(--stopped); border-left: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .card { padding: 24px 20px; }
}
