/* biome-ignore-all format: Google Fonts' @font-face blocks for Geist, kept as Google serves them */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwRGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwYGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwTGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwSGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwcGFWNOITd.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwRGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwYGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwTGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwSGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwcGFWNOITd.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwRGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwYGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwTGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwSGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwcGFWNOITd.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwRGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwYGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwTGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwSGFWNOITddY4.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/gyByhwUxId8gMEwcGFWNOITd.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #f6f7f2;
  color: #1f302a;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.site-header,
.site-main {
  width: min(1420px, calc(100% - 2 * clamp(16px, 4vw, 40px)));
  margin-inline: auto;
}

.site-header {
  padding-top: clamp(16px, min(2.4vw, 3vh), 36px);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #2c4a40;
}

.wordmark-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #2c4a40;
  color: #fff;
}

.wordmark-icon svg {
  display: block;
}

.site-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  grid-template-areas: 'intro card';
  column-gap: clamp(32px, 4.6vw, 70px);
  align-items: start;
  padding-block: clamp(16px, min(3.5vw, 4vh), 54px) clamp(20px, min(4vw, 5vh), 64px);
}

.intro {
  grid-area: intro;
  width: 100%;
  max-width: 750px;
}

.hero-image {
  display: block;
  width: 100%;
  max-width: max(280px, calc((100dvh - 320px) * 1.309));
  height: auto;
}

.caption {
  margin-top: clamp(16px, min(2.6vw, 3vh), 40px);
  padding-inline-start: clamp(0px, 3.3vw, 50px);
}

.caption-title {
  margin: 0;
  font-size: clamp(34px, min(3.65vw, 6.2vh), 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #2c4a40;
}

.caption-sub {
  margin: 0.6em 0 0;
  font-size: clamp(17px, 1.3vw, 20px);
  color: #55625c;
}

.card {
  grid-area: card;
  justify-self: center;
  width: 100%;
  max-width: 550px;
  margin-top: clamp(24px, min(6.2vw, 9vh), 95px);
  padding: clamp(28px, 2.9vw, 44px);
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 1px 2px rgba(31, 48, 42, 0.06), 0 22px 50px -22px rgba(31, 48, 42, 0.22);
}

.card h1 {
  margin: 0;
  font-size: clamp(28px, 2.75vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.login-lead {
  margin: 12px 0 0;
  font-size: clamp(17px, 1.3vw, 20px);
  color: #55625c;
}

.login-noscript {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: #f6f7f2;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: clamp(24px, 2.4vw, 36px);
}

.login-form label {
  font-size: clamp(16px, 1.2vw, 18px);
  font-weight: 500;
}

.login-form input {
  width: 100%;
  min-height: clamp(52px, 4vw, 60px);
  padding: 0 18px;
  border: 1px solid #b9c3bc;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: clamp(16px, 1.3vw, 20px);
}

.login-form input::placeholder {
  color: #78847e;
}

.login-form input:focus-visible {
  border-color: #4f796b;
  outline: 3px solid #4f796b;
  outline-offset: 2px;
}

.login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(52px, 4vw, 60px);
  margin-top: clamp(24px, 2.4vw, 36px);
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  background: #4f796b;
  color: #fff;
  font: inherit;
  font-size: clamp(16px, 1.3vw, 20px);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.login-form .login-button {
  margin-top: 12px;
}

.login-button:hover {
  background: #426a5d;
}

.login-button:focus-visible {
  outline: 3px solid #1f302a;
  outline-offset: 3px;
}

.login-button:disabled {
  opacity: 0.8;
  cursor: progress;
}

.login-button-secondary {
  margin-top: 0;
  border: 1.5px solid #4f796b;
  background: #fff;
  color: #2c4a40;
}

.login-button-secondary:hover {
  background: #eef2ec;
}

.login-helper {
  margin: 4px 0 0;
  font-size: clamp(15px, 1.1vw, 17px);
  color: #55625c;
}

.login-error {
  margin: 8px 0 0;
  color: #a3352b;
  font-weight: 500;
}

.login-confirmation {
  margin: clamp(20px, 2vw, 28px) 0 20px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #eef3ee;
  font-size: clamp(17px, 1.3vw, 20px);
}

.login-confirmation:focus {
  outline: 3px solid #4f796b;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .site-main {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'card' 'intro';
    row-gap: clamp(20px, 3vh, 40px);
    padding-block: clamp(12px, 2vh, 20px) clamp(20px, 4vh, 40px);
  }

  .card {
    max-width: 560px;
    margin-top: 0;
  }

  .intro {
    justify-self: center;
    max-width: 420px;
  }

  .hero-image {
    max-width: max(160px, calc((100dvh - 680px) * 1.309));
    margin-inline: auto;
  }

  .caption {
    padding-inline-start: 0;
    text-align: center;
  }

  .caption-title {
    font-size: clamp(26px, 7vw, 34px);
  }
}

@media (max-width: 480px) {
  .card {
    padding: 24px 20px;
    border-radius: 22px;
  }
}
