:root {
  color-scheme: light;
  --paper: #f6f4ef;
  --ink: #252723;
  --muted: #646760;
  --line: #d6d7ce;
  --olive: #484d3d;
  --white: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1.5; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 4px; }
input:focus-visible, textarea:focus-visible { outline-offset: 2px; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; }
.skip-link { position: fixed; top: -80px; left: 16px; padding: 12px 18px; background: var(--ink); color: white; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 101px; padding: 22px 4.2vw; display: flex; align-items: center; gap: 30px; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; }
.brand img { width: 142px; height: auto; display: block; clip-path: inset(0 0 28% 0); margin-bottom: -14px; }
.site-label { text-transform: uppercase; letter-spacing: .23em; font-size: 10px; border-left: 1px solid #bdc0b5; padding-left: 30px; }
.public-link { margin-left: auto; font-size: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 26px; }
.public-link span { font-size: 21px; }
.account-layout { display: grid; grid-template-columns: minmax(300px, 42%) minmax(0, 1fr); min-height: calc(100svh - 101px); }
.story-panel { position: relative; display: flex; align-items: flex-end; overflow: hidden; min-height: 640px; background: #6b6254; isolation: isolate; }
.story-image { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 46% 48%; z-index: -2; }
.story-panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,23,17,0) 35%, rgba(23,23,17,.18) 56%, rgba(23,23,17,.85) 100%); z-index: -1; }
.story-copy { position: relative; margin-top: auto; padding: 34px 4.2vw 48px; color: #fff; max-width: 650px; }
.eyebrow { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .2em; }
.story-copy .eyebrow { margin: 0 0 22px; }
.story-copy h2 { font: 400 clamp(30px, 3.15vw, 47px)/1.13 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; margin: 0 0 21px; }
.story-copy > p:last-child { font-size: 13px; line-height: 1.7; max-width: 285px; color: #f1eee6; margin: 0; }
.account-main { display: flex; flex-direction: column; min-width: 0; }
.account-card { width: min(100%, 610px); padding: 64px 50px 46px; margin: auto; }
.page-register .account-card { width: min(100%, 720px); padding-top: 46px; padding-bottom: 35px; }
.page-profile .account-card { width: min(100%, 660px); }
.page-intro { margin-bottom: 33px; }
.page-intro .eyebrow { color: var(--olive); margin: 0 0 17px; }
h1 { margin: 0 0 14px; font: 400 clamp(34px, 3.25vw, 46px)/1.12 Georgia, 'Times New Roman', serif; letter-spacing: -.045em; }
.page-intro > p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 420px; }
.account-form { margin: 0; }
.account-form > .field + .field { margin-top: 22px; }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { padding: 0 0 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: var(--olive); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 19px 18px; min-width: 0; }
.field { min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; }
input:not([type="hidden"]), textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #b9bcb1; border-radius: 2px; background: rgba(255,255,255,.7); color: var(--ink); box-shadow: none; transition: border-color 150ms; }
input:hover, textarea:hover { border-color: var(--olive); }
input:focus, textarea:focus { border-color: var(--olive); }
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #fafbf5 inset; -webkit-text-fill-color: var(--ink); }
textarea { display: block; resize: vertical; min-height: 78px; max-height: 260px; }
.field-hint { color: var(--muted); font-size: 11px; line-height: 1.55; margin: 7px 0 0; }
.form-links { display: flex; justify-content: flex-end; margin: 13px 0 25px; font-size: 12px; }
.button { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; min-height: 51px; padding: 14px 19px; background: var(--olive); color: #fff; border: 1px solid var(--olive); border-radius: 2px; font-size: 12px; line-height: 1.5; font-weight: 500; text-align: left; text-decoration: none; cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.button > span { font-size: 21px; line-height: 1; }
.button:hover { background: #303529; border-color: #303529; }
.button--secondary { background: transparent; border-color: #a8ad9b; color: var(--ink); }
.button--secondary:hover { background: #eaece2; border-color: var(--olive); }
.account-form > .button { margin-top: 25px; }
.page-login .account-form > .button { margin-top: 0; }
.privacy-note { margin: 0 0 20px; font-size: 11px; line-height: 1.65; color: var(--muted); max-width: 440px; }
.alternate { margin: 25px 0 0; font-size: 12px; text-align: center; color: var(--muted); }
.alternate a { color: var(--ink); margin-left: 3px; }
.signup-invite { margin-top: 33px; padding-top: 23px; border-top: 1px solid var(--line); }
.signup-invite p { margin: 0 0 14px; font-size: 12px; color: var(--muted); }
.small-link { text-align: center; font-size: 11px; margin: 21px 0 0; color: var(--muted); }
.account-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding: 20px 32px; margin-top: auto; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.account-footer a { text-decoration: none; }
.notice { margin-bottom: 26px; padding: 14px 16px; border: 1px solid; border-radius: 2px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.notice--error { background: #f7ebe6; border-color: #c99581; color: #753b26; }
.notice--success { background: #e9eee2; border-color: #a7b395; color: #394d2b; }
.notice p { margin: 0 0 5px; font-weight: 600; }
.notice ul { padding-left: 18px; margin: 0; }
.notice li + li { margin-top: 4px; }
.delivery-note, .next-step p, .staff-note { font-size: 13px; color: var(--muted); line-height: 1.7; }
.delivery-note { margin: 22px 0 0; }
.next-step p { margin: 0 0 25px; }
.workspace-link { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; padding: 16px 0; font-size: 13px; }
.workspace-link span { font-size: 22px; }
.account-details { margin: 26px 0 30px; }
.account-details > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 15px; margin-top: 14px; font-size: 12px; }
.account-details dt { color: var(--muted); }
.account-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.password-section { border-top: 1px solid var(--line); padding-top: 25px; }
.password-section h2 { font: 400 25px/1.3 Georgia, 'Times New Roman', serif; margin: 0 0 23px; }
.password-section .form-grid { margin-top: 20px; }
.text-button { appearance: none; border: 0; background: none; color: var(--muted); padding: 12px 0; margin-top: 18px; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; cursor: pointer; }
@media (min-width: 1500px) {
  .account-layout { grid-template-columns: minmax(400px, 46%) minmax(0, 1fr); }
  .account-card { width: min(100%, 660px); padding: 80px 60px 60px; }
}
@media (max-width: 1000px) {
  .account-layout { grid-template-columns: minmax(250px, 35%) minmax(0, 1fr); }
  .account-card, .page-register .account-card { padding-left: 35px; padding-right: 35px; }
  .story-copy { padding: 30px; }
  .story-copy h2 { font-size: 32px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 82px; padding: 20px 24px; gap: 19px; }
  .brand img { width: 113px; margin-bottom: -11px; }
  .site-label { font-size: 9px; letter-spacing: .14em; padding-left: 19px; }
  .public-link { font-size: 11px; gap: 9px; }
  .public-link span { font-size: 18px; }
  .account-layout { display: flex; flex-direction: column; min-height: calc(100svh - 82px); }
  .story-panel { display: none; }
  .account-main { flex: 1; }
  .account-card, .page-register .account-card, .page-profile .account-card { max-width: 570px; width: 100%; padding: 46px 28px 42px; }
  .page-intro { margin-bottom: 29px; }
  h1 { font-size: 38px; }
  .page-intro > p:last-child { font-size: 14px; }
  .account-footer { padding: 21px 28px; }
  input:not([type="hidden"]), textarea { font-size: 16px; }
}
@media (max-width: 440px) {
  .site-header { padding: 18px 22px; }
  .site-label { padding-left: 16px; letter-spacing: .1em; }
  .public-link { font-size: 0; gap: 0; padding: 4px; }
  .public-link span { font-size: 21px; }
  .account-card, .page-register .account-card, .page-profile .account-card { padding-left: 24px; padding-right: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .account-details > div { grid-template-columns: 1fr; gap: 3px; margin-top: 18px; }
  .account-footer { padding-left: 24px; padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
