@font-face {
  font-family: Geist;
  src: url('/cactusflow/_brand/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Anton;
  src: url('/cactusflow/_brand/anton-regular-latin.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Geist, 'Segoe UI', sans-serif;
  color: #10171b;
  background: #f5f5f5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.sign-in {
  width: min(100%, 860px);
  min-height: 438px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9dedb;
  border-radius: 14px;
}

.brand, .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5.5vw, 62px);
}

.brand {
  background: #001212;
  color: #f2faf8;
  border-bottom: 4px solid #08a59a;
}

.brand img {
  width: 108px;
  height: auto;
  display: block;
  margin-bottom: 26px;
}

.wordmark {
  margin: 0;
  font: 400 clamp(30px, 5vw, 55px)/1.08 Anton, 'Arial Narrow', sans-serif;
  letter-spacing: 0.012em;
}

.credit {
  color: #c2d0cb;
  margin: 17px 0 0;
  font-size: 13px;
}

.sign-in-form { max-width: 340px; }

h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 0 0 14px;
}

.content p {
  font-size: 15px;
  color: #4f5c67;
  line-height: 1.55;
  margin: 0;
}

.microsoft-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  min-height: 48px;
  margin-top: 28px;
  color: #10171b;
  border: 1px solid #68747a;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}

.microsoft-button:hover { background: #f0f8f6; }
.microsoft-button:focus-visible { outline: 3px solid #08776e; outline-offset: 4px; }

.microsoft-mark {
  width: 20px;
  height: 20px;
  display: grid;
  flex: none;
  grid-template: repeat(2, 1fr) / repeat(2, 1fr);
  gap: 2px;
}

.microsoft-mark i:nth-child(1) { background: #f25022; }
.microsoft-mark i:nth-child(2) { background: #7fba00; }
.microsoft-mark i:nth-child(3) { background: #00a4ef; }
.microsoft-mark i:nth-child(4) { background: #ffb900; }

.content .password-option { margin-top: 14px; }
.password-option a { color: #205d57; text-underline-offset: 3px; }
.password-option a:focus-visible { outline: 3px solid #08776e; outline-offset: 3px; }

.content .help { margin-top: 22px; font-size: 13px; }

@media (max-width: 620px) {
  body { padding: 16px; }
  .sign-in { min-height: 0; grid-template-columns: 1fr; }
  .brand, .content { padding: 28px; }
  .brand img { width: 83px; margin-bottom: 15px; }
  .wordmark br { display: none; }
  .wordmark { font-size: 33px; }
  .credit { margin-top: 10px; }
}
