@font-face {
  font-family: Geist;
  src: url('/assets/geist.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fafbf8;
  --ink: #202923;
  --muted: #68736b;
  --line: #dce2db;
  --green: #355b43;
  --green-hover: #284b35;
  --sage: #e9eee4;
  --error: #a1352c;
  font-family: Geist, 'Avenir Next', sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
button, input { font: inherit; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--green); }
button, a, input { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.skip-link { position: absolute; top: 12px; left: 12px; transform: translateY(-180%); padding: 12px; background: var(--paper); z-index: 2; }
.skip-link:focus { transform: none; }
.page { max-width: 1600px; min-height: 100dvh; margin-inline: auto; display: grid; grid-template-columns: 1.1fr 1fr; }
.content { display: flex; flex-direction: column; padding: 42px clamp(28px, 5.5vw, 88px) 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; align-self: start; text-decoration: none; font-size: 25px; font-weight: 620; letter-spacing: -1.2px; }
.brand-mark { position: relative; display: inline-block; width: 23px; height: 25px; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; width: 14px; height: 18px; border: 2px solid var(--green); border-radius: 8px; transform: rotate(34deg); }
.brand-mark::before { top: 0; left: 0; }
.brand-mark::after { bottom: 0; right: 0; background: var(--paper); }
.form-wrap { width: 100%; max-width: 360px; margin: auto; padding-block: 72px; }
.eyebrow { margin: 0 0 20px; font-size: 11px; font-weight: 550; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
h1 { margin: 0; font-size: clamp(34px, 3.6vw, 47px); font-weight: 500; line-height: 1.12; letter-spacing: -1.9px; }
.intro { margin: 15px 0 34px; color: var(--muted); font-size: 15px; line-height: 1.65; }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
label { font-size: 13px; font-weight: 550; }
input { width: 100%; height: 50px; padding: 0 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; background: #fdfefb; transition: border-color 160ms; }
input::placeholder { color: #8b948d; }
input:hover { border-color: #a5b1a5; }
input:focus { outline: 2px solid var(--green); outline-offset: 2px; }
input[aria-invalid='true'] { border-color: var(--error); }
.password-field { position: relative; }
.password-field input { padding-right: 66px; }
.password-toggle { position: absolute; inset: 0 0 0 auto; border: 0; padding: 0 15px; color: var(--muted); background: transparent; font-size: 12px; cursor: pointer; }
.password-toggle:hover { color: var(--ink); }
.hint { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.5; }
.field-error { margin: 0; color: var(--error); font-size: 12px; line-height: 1.5; }
.primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 50px; padding: 14px 17px; border: 1px solid transparent; border-radius: 7px; background: var(--green); color: #f5f8f1; font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer; transition: background 160ms, transform 160ms, opacity 160ms; }
.primary:hover { background: var(--green-hover); color: #f5f8f1; }
.primary:active { transform: scale(.985); }
.primary:disabled { opacity: .7; cursor: wait; }
.arrow { font-size: 20px; font-weight: 350; line-height: 1; }
.switch { margin: 26px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.switch a { color: var(--ink); font-weight: 550; }
.notice { margin: 0 0 25px; border-left: 2px solid var(--green); padding: 3px 0 3px 14px; font-size: 13px; line-height: 1.65; color: var(--green); }
.notice[data-kind='error'] { color: var(--error); border-color: var(--error); }
[hidden] { display: none !important; }
.page-footer { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; color: var(--muted); line-height: 1.5; }
.page-footer a { text-decoration: none; }
.story { margin: 16px 16px 16px 0; border-radius: 10px; background: var(--sage); padding: clamp(30px, 5vw, 74px); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.story-label { color: #5e705d; font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; }
.story-main { padding-block: 56px; }
.story h2 { margin: 0; font-size: clamp(38px, 4.7vw, 67px); font-weight: 430; line-height: 1.06; letter-spacing: -2.8px; color: #314c37; }
.story-copy { max-width: 29ch; margin: 24px 0 0; color: #61745f; font-size: 15px; line-height: 1.7; }
.gathering { display: flex; align-items: center; margin-bottom: 40px; padding-left: 3px; }
.gathering span { display: block; width: 43px; height: 43px; margin-left: -3px; border: 1px solid #a6b7a0; border-radius: 50%; background: var(--sage); }
.gathering span:nth-child(2) { background: #b5c6ac; }
.gathering span:nth-child(3) { background: #d4decb; }
.gathering span:nth-child(4) { background: #829b79; }
.story-footer { display: flex; justify-content: space-between; gap: 15px; padding-top: 22px; border-top: 1px solid #cbd5c4; color: #4d6449; font-size: 12px; }
.home-actions { display: grid; gap: 15px; }
.home-actions .secondary { text-align: center; padding: 12px; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) {
  .form-wrap { animation: enter 500ms cubic-bezier(.16, 1, .3, 1) both; }
  .story-main { animation: enter 650ms 80ms cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 767px) {
  .page { grid-template-columns: 1fr; }
  .content { padding: 28px 24px 24px; min-height: 100dvh; }
  .form-wrap { max-width: 400px; padding-block: 52px; }
  .brand { font-size: 23px; }
  h1 { font-size: 37px; }
  .story { display: none; }
  .page-footer { flex-wrap: wrap; }
}
.text-link { font-size: 12px; color: var(--muted); }
.form-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 20px; }
.providers { display: grid; gap: 10px; margin-top: 25px; }
.secondary-button { min-height: 46px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 7px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; text-align: center; }
.secondary-button:hover { background: var(--sage); }
.secondary-button:active { transform: scale(.985); }
.secondary-button:disabled { opacity: .6; cursor: wait; }
.account-page { max-width: 1100px; margin: 0 auto; padding: 38px 24px 70px; }
.account-nav { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 40px; }
.account-nav a:not(.brand) { font-size: 13px; }
.account-heading { margin-bottom: 45px; }
.account-heading .intro { margin-bottom: 0; }
.account-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; }
.account-summary { font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.settings-section { padding: 28px 0; border-top: 1px solid var(--line); }
.settings-section:first-child { padding-top: 0; border: 0; }
.settings-section h2 { font-weight: 550; font-size: 19px; letter-spacing: -.5px; margin: 0 0 12px; }
.settings-section .hint { margin-bottom: 20px; }
.settings-section form { max-width: 420px; }
.settings-section[data-tone='danger'] { border-top-color: #ddbbb5; }
.settings-section[data-tone='danger'] h2 { color: var(--error); }
.settings-section[data-tone='danger'] .primary { background: var(--error); color: #fff8f6; }
.settings-section[data-tone='danger'] .primary:hover { background: #852b24; }
.settings-section[data-tone='danger'] .primary:focus-visible { outline-color: var(--error); }
.login-methods { display: grid; gap: 12px; }
.login-method { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; }
.danger { color: var(--error); border-color: #ddbbb5; }
.session-nav { margin-top: 24px; }
.session-nav a { font-size: 13px; }
@media (max-width: 767px) { .account-layout { grid-template-columns: 1fr; gap: 30px; } .account-nav { flex-wrap: wrap; padding-bottom: 32px; } }
.login-method > span { min-width: 0; overflow-wrap: anywhere; }
.login-method .secondary-button { flex-shrink: 0; }
.account-layout > div { min-width: 0; }
.settings-section form + form { margin-top: 28px; }
[data-groups] { display: grid; gap: 12px; margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.7; }
[data-active-sessions] { margin-bottom: 24px; }
