/* The person's website pages. Light only, one column, the kit sign-in layout.
   Kit wave (15 Nov, cause 10): the app kit's Button, Card eyebrow, TextField label and TextLink are ported
   here as named classes (values from mobile/src/kit/tokens.ts, light theme) so these pages stop re-drawing them. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/archivo-400.396fdf2a3950.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-600.3aac66037a52.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-700.79672df0a8f6.ttf") format("truetype"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-800.2a3f365320f1.ttf") format("truetype"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: italic; font-weight: 900; font-display: swap; src: url("../fonts/barlow-semi-condensed-900-italic.058244c3d525.ttf") format("truetype"); }
@font-face { font-family: "Barlow Semi Condensed"; font-style: italic; font-weight: 800; font-display: swap; src: url("../fonts/barlow-semi-condensed-800-italic.2a155c257dd9.ttf") format("truetype"); }

body.person-page {
  margin: 0;
  min-height: 100vh;
  background: #f3f3f0;
  color: #101114;
  font-family: Archivo, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.person-page a { color: inherit; }

.person-column {
  box-sizing: border-box;
  width: min(432px, 100%);
  margin: 0 auto;
  padding: 24px 16px 48px;
}

@media (min-width: 768px) {
  .person-column { padding: 64px 32px 64px; }
}

.person-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.person-wordmark img { display: block; width: 40px; height: 40px; }

/* Kit `headline` role: Barlow Semi Condensed 900 italic, capitals, 33/34 (40/40 wide). */
.person-title {
  margin: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 33px;
  line-height: 34px;
  text-transform: uppercase;
  padding-right: 2px;
}

@media (min-width: 768px) {
  .person-title { font-size: 40px; line-height: 40px; }
}

.person-subtitle { margin: 8px 0 0; color: #4b4f57; }

.person-progress-label { margin: 20px 0 8px; }

.person-progress { display: flex; gap: 5px; margin: 0 0 20px; }

.person-progress i {
  display: block;
  flex: 1;
  height: 9px;
  background: #e2e2dd;
  transform: skewX(-24deg);
}

.person-progress i.is-on { background: #ff734d; }

/* Kit `Card`: surface with a 1 px divider hairline and the bottom-right corner cut. */
.person-card {
  position: relative;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid #dcdcd6;
  border-radius: 4px;
  background: #fff;
}

.person-card::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, transparent calc(50% - 0.5px), #dcdcd6 calc(50% - 0.5px), #dcdcd6 calc(50% + 0.5px), #f3f3f0 calc(50% + 0.5px));
}

/* The one accent card (kit `Card accent`): an orange top edge. */
.person-card.is-accent { border-top: 3px solid #ff734d; border-left: 3px solid #ff734d; }
.person-card dl { margin: 0; }

/* Kit `Card` title: an eyebrow after a slanted orange bar. */
.person-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.person-eyebrow::before {
  content: "";
  flex: none;
  width: 4px;
  height: 13px;
  background: #ff734d;
  transform: skewX(-24deg);
}

/* Kit `label` role: Archivo 800, 11/14, 12% tracking, capitals. Field labels and step labels. */
.person-label, .person-progress-label {
  font-family: Archivo, sans-serif;
  font-weight: 800;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4b4f57;
}

/* Kit `title` role for an app-written line such as the first session. */
.person-session {
  margin: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.person-fact { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid #dcdcd6; }
.person-fact:first-of-type { border-top: 0; }
.person-fact dt { color: #4b4f57; }
.person-fact dd { margin: 0; font-weight: 700; text-align: right; }

.person-caption { margin: 8px 0 0; color: #4b4f57; font-size: 14px; }

.person-form { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }

/* Kit `TextField`: the label above, a 48 high square field on the surface with a divider hairline. */
.person-field { display: flex; flex-direction: column; gap: 6px; }

.person-field input, .person-field select {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #dcdcd6;
  border-radius: 4px;
  background: #fff;
  color: #101114;
  font: inherit;
  font-size: 15px;
}

.person-field input:focus-visible, .person-field select:focus-visible { outline: 2px solid #101114; outline-offset: 1px; }

/* Named for screen readers only: the select's own first option already says Day or Month. */
.person-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* A group of fields (birthday, emergency contact): a label, no browser fieldset frame. */
.person-group { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.person-group > legend { padding: 0; margin: 0 0 6px; }

.person-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.person-help, .person-error { margin: 0; font-size: 14px; }
.person-help { color: #4b4f57; }
.person-error, .person-alert { color: #b42318; }
.person-alert { margin: 0 0 12px; }
.person-alert[role="status"] { color: #0f6b4c; }

.person-check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; }
.person-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: #101114; }

/* Kit `TextLink`: ink text over a 3 px orange bar, at least 44 high to press. */
.person-link {
  display: inline-block;
  padding: 10px 0 2px;
  color: #101114;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid #ff734d;
  line-height: 1.3;
}
.person-page a.person-link { text-decoration: none; }
.person-link:focus-visible { outline: 2px solid #101114; outline-offset: 2px; }

/* "Read the …": the disclosure opens like a link, without the browser's triangle. */
.person-notice { margin-top: 4px; }
.person-notice > summary { list-style: none; cursor: pointer; }
.person-notice > summary::-webkit-details-marker { display: none; }
.person-notice > summary.person-link { display: inline-block; }
/* Under its "I have read …" tick, the link lines up with the tick's words. */
.person-check + .person-notice { margin: -6px 0 0 32px; }
.person-notice .person-prose { margin-top: 12px; white-space: pre-wrap; }

/* Kit primary `Button`: a slanted orange fill in a rectangular hit area, 48 high, the label in the title
   face (Barlow Semi Condensed 800 italic, capitals) and a trailing arrow that is not part of its name. */
.person-button {
  position: relative;
  isolation: isolate;
  display: flex;
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0 20px;
  border: 2px solid transparent;
  background: transparent;
  color: #101114;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.person-button::before {
  content: "";
  position: absolute;
  inset: 0 6px;
  z-index: -1;
  background: #ff734d;
  transform: skewX(-12deg);
}

.person-button::after { content: "→"; content: "→" / ""; font-style: normal; font-weight: 700; }
.person-button:hover::before { box-shadow: inset 0 0 0 999px rgba(16, 17, 20, 0.12); }
.person-button:focus-visible { outline: none; border-color: #101114; }

.person-page a.person-button { color: #101114; text-decoration: none; }
/* Kit `Button` inactive or busy (a form being sent): 40 % opacity. */
.person-button:disabled { opacity: 0.4; cursor: not-allowed; }
.person-field input:disabled { cursor: not-allowed; }

.person-actions { margin-top: 8px; text-align: center; }

/* Sign in and password recovery: the page body sits clear of the title, as the steps do on joining. */
.person-body { margin-top: 20px; }

/* The same quiet Privacy · Terms line as the website footer, so a person can read them before signing in. */
.person-legal {
  margin: 28px 0 0;
  color: #4b4f57;
  font-size: 13px;
  line-height: 17px;
  text-align: center;
}

.person-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.person-page .person-legal a:focus-visible { outline: 2px solid #101114; outline-offset: 2px; }
