/* Sign in, in Bonus Desk's own look (bonus.css): a night panel with one
   glow green, a paper page and Cormorant for the titles. */
@font-face {
  font-family: Cormorant;
  src: url("/static/assets/cormorant-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #f5f3ee;
  --card: #fff;
  --ink: #15171a;
  --muted: #62666d;
  --line: #e3dfd6;
  --night: #0e1012;
  --glow: #b6f08a;
  --ledger: #0b7a5c;
  --serif: Cormorant, "Cormorant Garamond", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
main {
  width: min(880px, calc(100% - 32px));
  margin: clamp(32px, 15vh, 156px) auto 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgb(14 16 18 / 4%), 0 12px 36px rgb(14 16 18 / 7%);
}
.intro, section { padding: clamp(26px, 4vw, 48px); }
.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #d7d9dd;
  background: var(--night);
}
.intro::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: var(--glow); }
.intro img { display: block; width: min(180px, 100%); margin-bottom: clamp(40px, 9vh, 92px); }
h1, h2, p { margin: 0; }
h1 { color: var(--glow); font: 400 clamp(44px, 5vw, 60px)/1 var(--serif); letter-spacing: -.01em; }
.intro p { max-width: 26ch; margin: 14px 0; color: #c3c6cb; }
section { align-self: center; }
h2 { margin-bottom: 20px; font: 400 34px/1.1 var(--serif); }
label { display: block; margin: 16px 0 5px; font-size: 14px; font-weight: 600; }
input, button, .microsoft { width: 100%; min-height: 44px; border-radius: 10px; padding: 10px 14px; font: inherit; }
input { border: 1px solid #cfcabd; background: var(--card); color: inherit; }
button, .microsoft { background: var(--night); border: 1px solid var(--night); color: white; font-weight: 600; cursor: pointer; }
button { margin-top: 22px; }
.microsoft { display: block; text-align: center; text-decoration: none; }
button:hover, .microsoft:hover { background: #2a2d31; }
:focus-visible { outline: 3px solid var(--ledger); outline-offset: 3px; }
summary { margin: 18px 0 0; color: var(--ledger); cursor: pointer; font-size: 14px; font-weight: 600; }
[role="alert"] { margin-top: 12px; color: #913b26; }
@media (max-width: 620px) {
  main { grid-template-columns: 1fr; margin-top: 16px; }
  .intro img { width: 150px; margin-bottom: 28px; }
  .intro p { max-width: none; margin-bottom: 0; }
}
