:root {
  color-scheme: light;
  --paper: #f5f7f1;
  --surface: #fff;
  --ink: #102520;
  --muted: #51635a;
  --line: #d6ded5;
  --forest: #194238;
  --mint: #b8e9ce;
  font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { min-height: 100svh; margin: 0; display: flex; flex-direction: column; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #2c7f65; outline-offset: 3px; }
[hidden] { display: none !important; }
p { margin: 0; color: var(--muted); line-height: 1.55; }
h1, h2 { line-height: 1.06; margin: 0; letter-spacing: -.055em; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 2; top: 1rem; left: 1rem; padding: .75rem; background: white; }
.topbar, .footer {
  width: min(100%, 98rem); margin-inline: auto; padding-inline: clamp(1.1rem, 5vw, 5rem);
  display: flex; gap: 1.25rem; align-items: center;
}
.topbar { min-height: 5.3rem; }
.top-label, .footer { color: var(--muted); font-size: .875rem; }
.top-label { margin-left: auto; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 750; letter-spacing: -.03em; line-height: 1.15; }
.brand-domain { display: block; font: 400 .6875rem/1.3 ui-monospace, monospace; letter-spacing: 0; color: var(--muted); }
.brand-mark { width: 2.4rem; height: 2.4rem; border-radius: .7rem; background: var(--ink); display: grid; place-content: center; gap: 3px; }
.brand-mark i { width: 16px; height: 6px; border: 1px solid var(--mint); border-radius: 2px; position: relative; }
.brand-mark i::after { content: ""; position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--mint); right: 2px; top: 1px; }
.footer { margin-top: auto; justify-content: space-between; min-height: 4.3rem; }
.entry {
  width: min(calc(100% - clamp(2.2rem, 10vw, 10rem)), 84rem); flex: 1; margin: .7rem auto 0;
  display: grid; grid-template-columns: minmax(19rem, .82fr) minmax(0, 1fr);
  align-items: stretch; min-height: clamp(34rem, 69svh, 45rem); border: 1px solid var(--line);
  border-radius: 1.5rem; overflow: hidden; background: var(--surface);
}
.signin { padding: clamp(2rem, 6.3vw, 6rem); align-self: center; }
.signin h1 { font-size: clamp(3.3rem, 6vw, 5.65rem); margin-bottom: .85rem; }
.period { color: #4a947a; }
.signin > p { max-width: 25rem; }
.login-form { display: grid; gap: .55rem; margin-top: 2.05rem; }
.login-form label { font-size: .9rem; font-weight: 650; }
.login-form label:not(:first-of-type) { margin-top: .6rem; }
.login-form input:not([type=hidden]) { min-width: 0; width: 100%; height: 3rem; padding: .65rem .8rem; border: 1px solid #b8c6bc; border-radius: .62rem; background: #fbfcfa; color: var(--ink); }
.password-field { position: relative; }
.password-field:has(button:not([hidden])) input { padding-right: 4.3rem; }
.show-password { position: absolute; top: 50%; right: .35rem; translate: 0 -50%; border: 0; color: var(--forest); background: transparent; padding: .55rem; font-size: .875rem; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .65rem 1rem; border: 1px solid var(--forest); border-radius: .65rem; background: var(--forest); color: white; text-decoration: none; font-size: .9375rem; font-weight: 650; }
.button:hover { background: #225b4a; }
.submit { margin-top: .9rem; width: 100%; }
.error { margin-top: 1rem; padding: .6rem .8rem; background: #fff2ee; border: 1px solid #eac5b8; border-radius: .55rem; color: #872c1c; font-size: .875rem; }
.setup-note { margin-top: 1.5rem; padding: .8rem; border: 1px solid var(--line); border-radius: .65rem; }
.rack-scene { min-height: 26rem; position: relative; margin: 0; overflow: hidden; background: #152f27; }
.rack-scene img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.top-links { margin-left: auto; display: flex; gap: .2rem; }
.top-links a, .quiet { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .45rem .78rem; border-radius: .55rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
.top-links a:hover, .quiet:hover { background: #e4eee5; }
.quiet { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.workspace { width: min(calc(100% - clamp(2.2rem, 10vw, 10rem)), 84rem); margin: clamp(1.75rem, 5vw, 4.5rem) auto 2.5rem; }
.workspace-intro { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; }
.workspace h1 { font-size: clamp(2.25rem, 4.75vw, 4.3rem); margin-bottom: .7rem; }
.network-note { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .875rem; }
.network-icon { width: .65rem; height: .65rem; flex: none; border: 1.5px solid var(--muted); border-radius: 50%; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.service-card { border: 1px solid var(--line); background: var(--surface); border-radius: 1.1rem; overflow: hidden; }
.service-body { padding: clamp(1.2rem, 3vw, 2.05rem); }
.service-body h2 { margin-bottom: .6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.service-body p { margin-bottom: 1.25rem; }
.service-illustration { height: 9.6rem; display: grid; place-items: center; background-size: 21px 21px, auto; background-image: radial-gradient(#abd7c563 1px, transparent 1px), linear-gradient(115deg, #14352a, #346752); }
.service-illustration.containers { background-image: radial-gradient(#d5dfbb65 1px, transparent 1px), linear-gradient(115deg, #303c28, #5c7146); }
.service-glyph { border: 1px solid #c7ebd4b0; border-radius: .8rem; background: #142e23aa; width: 4.9rem; height: 4.1rem; display: flex; align-items: end; justify-content: center; gap: .35rem; padding: .85rem; }
.service-glyph i { display: block; width: .65rem; height: 45%; border-radius: .12rem; background: #bdebd3; }
.service-glyph i:nth-child(2) { height: 80%; } .service-glyph i:nth-child(3) { height: 62%; }
.containers .service-glyph { align-items: center; }
.containers .service-glyph i { width: .85rem; height: 55%; background: transparent; border: 1px solid #e4eccd; }
.service-frame { display: block; width: 100%; height: max(32rem, 65svh); border: 0; border-top: 1px solid var(--line); }
@media (max-width: 62rem) { .signin { padding: clamp(1.65rem, 4vw, 3.5rem); } }
@media (max-width: 42rem) {
  .topbar { gap: .55rem; min-height: 4.5rem; flex-wrap: wrap; }
  .top-links a, .quiet { padding-inline: .55rem; }
  .entry { grid-template-columns: 1fr; }
  .rack-scene { min-height: 15rem; }
  .rack-scene img { object-position: center 55%; }
  .workspace-intro { display: grid; }
  .service-grid { grid-template-columns: 1fr; }
}
