/* =====================================================================
   TengoFeed Talk, assets/talk/css/auth.css
   Signing in, creating an account, confirming the email, recovering a
   password, first-run setup and the signed-out home page.

   Every rule is scoped under body.au: talk.php loads every stylesheet in
   this folder into the app, and nothing here may touch the app.
   Colours, radii and type sizes come from talk.css and the mockups.
   ===================================================================== */

html:has(body.au), body.au { height: auto; min-height: 100%; }
body.au { overscroll-behavior-y: auto; background: var(--bg); }
.au .au-shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

/* ---------------------------------------------------------------- top bar */
.au .au-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: calc(60px + var(--safe-t)); padding: var(--safe-t) 16px 0 20px; flex-shrink: 0;
}
.au .au-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink1); text-decoration: none; font-size: 15.5px; font-weight: 600; letter-spacing: -0.02em; min-height: 44px; }
.au .au-brand:hover { color: var(--ink1); }
.au .au-brand img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,0.06); object-fit: contain; }
/* v92: the mark drawn in the page's own ink, a little larger than the old square since it is wide */
.au .au-brand .au-mark-svg { display: inline-flex; color: var(--brand-mark, currentColor); }
.au .au-brand .au-mark-svg svg { width: 36px; height: 30px; display: block; }
.au .au-brand.vec { gap: 10px; font-size: 16px; font-weight: 650; letter-spacing: -0.025em; }
.au .au-brand.named img { width: auto; max-width: 180px; height: 28px; border-radius: 0; box-shadow: none; }
/* The uploaded logo, large, above the form (Admin > Brand and search). */
.au .au-card-logo { display: flex; justify-content: center; margin: 0 0 18px; }
.au .au-card-logo img { max-width: min(220px, 70%); max-height: 72px; width: auto; height: auto; object-fit: contain; }
.au .au-top-r { display: flex; align-items: center; gap: 8px; }
.au .au-top-link { height: 36px; }
.au .i18n-btn.au-lang, .au .au-lang.i18n-btn {
  height: 36px; padding: 0 12px 0 10px; border-radius: var(--r-btn); border: 1px solid var(--line2); background: none; color: var(--ink2);
  font: 600 12.5px/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.au .au-lang.i18n-btn:hover { background: var(--s1); color: var(--ink1); }
.au .au-lang.i18n-btn svg { width: 15px; height: 15px; }
.au .au-lang:not(.i18n-btn) { width: 0; padding: 0; border: 0; overflow: hidden; }

/* ---------------------------------------------------------------- the column */
.au .au-main {
  flex: 1 0 auto; width: 100%; max-width: 440px; margin: 0 auto;
  padding: 20px 20px 36px; display: flex; flex-direction: column;
}
@media (min-width: 700px) {
  .au .au-main { justify-content: center; padding-top: 32px; padding-bottom: 56px; }
}
.au .au-card { width: 100%; }
.au .au-meta { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin: -6px -10px 14px -12px; }
.au .au-step { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--ink3); letter-spacing: 0.04em; padding-right: 10px; margin-left: auto; }
.au .au-title { margin: 0 0 10px; font-size: 32px; line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; color: var(--ink1); text-wrap: balance; }
.au .au-sub { margin: 0 0 28px; font-size: 15px; line-height: 1.5; color: var(--ink2); text-wrap: pretty; }
.au .au-sub b, .au .au-sub strong { color: var(--ink1); font-weight: 600; }
.au .au-mark {
  width: 56px; height: 56px; border-radius: 18px; background: var(--s1); border: 1px solid var(--line2); color: var(--acc-ink);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.au .au-mark.ok { color: var(--ok); }
.au .au-mark.bad { color: var(--bad); }

/* ---------------------------------------------------------------- forms */
.au .au-form { display: flex; flex-direction: column; }
.au .au-form .t-fieldset { margin-bottom: 18px; }
.au .au-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.au .au-labelrow .t-label { margin-bottom: 7px; }
.au .au-labelrow a { font-size: 12.5px; font-weight: 600; color: var(--ink2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 0 0 12px; margin: -14px 0 -8px; }
.au .au-labelrow a:hover { color: var(--ink1); }
.au .t-input { -webkit-appearance: none; appearance: none; }
.au .t-input:-webkit-autofill, .au .t-input:-webkit-autofill:hover, .au .t-input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--ink1); caret-color: var(--ink1);
  -webkit-box-shadow: 0 0 0 1000px var(--s1) inset; transition: background-color 9999s;
}
.au .t-input[aria-invalid="true"] { border-color: var(--bad); }
.au .au-hint { font-size: 12.5px; color: var(--ink3); margin-top: 7px; line-height: 1.4; display: flex; align-items: center; gap: 6px; min-height: 18px; }
.au .au-hint.ok { color: var(--ok); }
.au .au-hint.bad { color: var(--bad); }
.au .au-hint .svg { flex-shrink: 0; }
.au .au-hint:empty { min-height: 0; margin-top: 0; }

/* A field with a button inside it (show password, @ prefix). */
.au .au-inwrap { position: relative; display: flex; align-items: center; }
.au .au-inwrap .t-input { padding-right: 50px; }
.au .au-inwrap .au-eye { position: absolute; right: 2px; top: 2px; width: 44px; height: 44px; border-radius: 10px; color: var(--ink3); }
.au .au-inwrap .au-eye:hover { background: none; color: var(--ink1); }
.au .au-inwrap .au-eye[aria-pressed="true"] { color: var(--ink1); }
.au .au-at { position: absolute; left: 14px; top: 0; bottom: 0; display: flex; align-items: center; color: var(--ink3); font-size: 15px; pointer-events: none; }
.au .au-inwrap.at .t-input { padding-left: 30px; }
.au .au-inwrap .au-state { position: absolute; right: 14px; top: 0; bottom: 0; display: flex; align-items: center; pointer-events: none; }
.au .au-inwrap .au-state .t-spin { width: 16px; height: 16px; }

/* Password strength: three quiet bars and a word. */
.au .au-meter { display: flex; align-items: center; gap: 8px; margin-top: 9px; min-height: 16px; }
.au .au-meter i { flex: 1; height: 3px; border-radius: 2px; background: var(--s3); transition: background-color .2s var(--ease); }
.au .au-meter span { font-size: 12px; color: var(--ink3); min-width: 132px; text-align: right; }
.au .au-meter[data-level="0"] { display: none; }
.au .au-meter[data-level="1"] i:nth-child(1) { background: var(--bad); }
.au .au-meter[data-level="2"] i:nth-child(-n+2) { background: var(--acc); }
.au .au-meter[data-level="3"] i { background: var(--ok); }

/* The field only a script can see. Off screen, not display:none, which
   some bots skip. */
.au .au-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.au .au-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.au .au-actions .t-btn.lg { width: 100%; }
.au .t-btn.busy { opacity: .7; }
.au .t-btn .t-spin { width: 16px; height: 16px; border-color: rgba(20,12,7,0.25); border-top-color: var(--on-acc); }
.au .t-btn:not(.acc) .t-spin { border-color: var(--line2); border-top-color: var(--ink1); }
.au .au-or { display: flex; align-items: center; gap: 12px; margin: 26px 0 16px; color: var(--ink3); font-size: 12.5px; }
.au .au-or::before, .au .au-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.au .au-legal { font-size: 12.5px; line-height: 1.5; color: var(--ink3); margin: 2px 0 18px; }
.au .au-legal a { color: var(--ink2); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--line2); }
.au .au-legal a:hover { color: var(--ink1); }
.au .au-textlink { background: none; border: 0; padding: 0; color: var(--ink2); font-size: 13.5px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.au .au-textlink:hover { color: var(--ink1); }
.au .au-textlink[disabled] { color: var(--ink3); pointer-events: none; }
.au .au-textlink .mono { font-weight: 500; }
.au .au-center { text-align: center; }
.au .au-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; margin-top: 10px; }

/* Messages. A notice sits quietly; an alert says what went wrong. */
.au .au-alert {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin: 0 0 18px;
  background: var(--bad-bg); border: 1px solid var(--bad-line); color: var(--bad-ink); font-size: 13.5px; line-height: 1.45;
}
.au .au-alert .svg { color: var(--bad); flex-shrink: 0; margin-top: 1px; }
.au .au-alert a { color: var(--bad-ink); font-weight: 600; }
.au .au-note {
  display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; margin: 0 0 18px;
  background: var(--s1); border: 1px solid var(--line2); color: var(--ink2); font-size: 13.5px; line-height: 1.45;
}
.au .au-note .svg { color: var(--acc-ink); flex-shrink: 0; margin-top: 1px; }
.au .au-note.ok .svg { color: var(--ok); }
.au .au-note b { color: var(--ink1); font-weight: 600; }

/* ---------------------------------------------------------------- code entry */
.au .au-code {
  width: 100%; height: 64px; border-radius: var(--r-btn); background: var(--field); border: 1px solid var(--line2); color: var(--ink1);
  font-family: var(--code); font-variant-numeric: tabular-nums; font-size: 28px; font-weight: 500; letter-spacing: 0.5em; text-align: center; padding: 0 0 0 0.5em;
  outline: none; transition: border-color .15s;
}
.au .au-code:focus { border-color: var(--ink1); box-shadow: 0 0 0 4px var(--acc-tint); }
.au .au-code::placeholder { color: var(--ink4); letter-spacing: 0.5em; }
.au .au-code[aria-invalid="true"] { border-color: var(--bad); }
.au .au-mailto { overflow-wrap: anywhere; }
.au .au-changebox { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.au .au-row { display: flex; gap: 8px; }
.au .au-row .t-input { flex: 1; min-width: 0; }
.au .au-row .t-btn { height: 48px; padding: 0 18px; }

/* ---------------------------------------------------------------- onboarding */
.au .au-photo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 26px; }
.au .au-photo-btn {
  position: relative; width: 112px; height: 112px; border-radius: 50%; padding: 0; border: 1px dashed var(--line2);
  background: var(--s1) center / cover no-repeat; color: var(--ink2); display: flex; align-items: center; justify-content: center;
  transition: border-color .15s var(--ease), transform .12s var(--ease);
}
.au .au-photo-btn:hover { border-color: var(--ink3); color: var(--ink1); }
.au .au-photo-btn:active { transform: scale(.97); }
.au .au-photo-btn.has { border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.au .au-photo-btn.has .svg { display: none; }
.au .au-photo-btn .au-photo-edit {
  position: absolute; right: 2px; bottom: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--acc); color: var(--on-acc);
  display: flex; align-items: center; justify-content: center; border: 3px solid var(--bg);
}
.au .au-photo-btn .au-photo-edit .svg { display: block; }
.au .au-photo-cta { font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.au .au-photo-cta.req::after { content: ' *'; color: var(--acc-ink); }
.au .au-photo-btn.has + .au-photo-cta.req::after { content: none; }

.au .au-choices { border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; margin: 0 0 22px; }
.au .au-choice {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 16px; background: none; border: 0;
  border-bottom: 1px solid var(--line); color: var(--ink1); text-align: left; cursor: pointer;
}
.au .au-choice:last-child { border-bottom: 0; }
.au .au-choice:hover { background: rgba(255,255,255,0.02); }
.au .au-choice input { position: absolute; opacity: 0; pointer-events: none; }
.au .au-choice-b { flex: 1; min-width: 0; }
.au .au-choice-t { display: block; font-size: 15px; font-weight: 500; }
.au .au-choice-s { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; }
.au .au-radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink3); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.au .au-choice input:checked ~ .au-radio { border-color: var(--acc); }
.au .au-choice input:checked ~ .au-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.au .au-choice:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: -2px; }

.au .au-srow { border: 1px solid var(--line2); border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; margin: 0 0 24px; background: none; width: 100%; text-align: left; color: var(--ink1); }
.au button.au-srow:hover { background: rgba(255,255,255,0.02); }
.au .au-srow .au-choice-b { flex: 1; }
.au .au-srow[disabled] { opacity: 1; cursor: default; }
.au .au-srow[disabled] .t-switch { opacity: .45; }

.au .au-done { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 12px; }
.au .au-done .au-title { margin-top: 18px; }
.au .au-done .au-sub { max-width: 320px; }
.au .au-done-face { width: 96px; height: 96px; border-radius: 50%; background: var(--s3) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 33px; font-weight: 600; color: var(--ink1); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.au .au-done-who { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink3); margin-top: 8px; }
.au .au-done-list { width: 100%; border: 1px solid var(--line2); border-radius: 16px; overflow: hidden; margin: 4px 0 26px; text-align: left; }
.au .au-done-list .t-srow { border-bottom: 1px solid var(--line); }
.au .au-done-list .t-srow:last-child { border-bottom: 0; }
.au .au-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink3); white-space: nowrap; }
.au .au-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.au .au-dot.off i { background: var(--ink4); }

/* The photo crop sheet. */
.au .au-crop { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 6px; }
.au .au-crop-stage {
  position: relative; width: min(280px, 100%); aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; touch-action: none; cursor: grab;
  user-select: none; -webkit-user-select: none;
}
.au .au-crop-stage:active { cursor: grabbing; }
.au .au-crop-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; will-change: transform; }
.au .au-crop-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.66); outline: 1px solid rgba(244,241,238,0.5); pointer-events: none; }
.au .au-crop-zoom { display: flex; align-items: center; gap: 12px; width: min(280px, 100%); color: var(--ink3); }
.au .au-crop-zoom input { flex: 1; accent-color: var(--acc); height: 44px; }
.au .au-crop-acts { display: flex; gap: 8px; width: 100%; justify-content: flex-end; }

/* ---------------------------------------------------------------- footer */
.au .au-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 10px; padding: 8px 20px calc(14px + var(--safe-b));
  font-size: 12px; color: var(--ink3); flex-shrink: 0;
}
.au .au-foot a { color: var(--ink3); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.au .au-foot a:hover { color: var(--ink1); }
/* on a phone the year takes a line of its own, without a dot hanging at the end of the links */
@media (max-width: 560px) {
  .au .au-foot > [aria-hidden]:nth-last-child(2) { display: none; }
  .au .au-foot > :last-child { flex-basis: 100%; text-align: center; }
}

/* The date of birth (v82): the browser's own date field, drawn for the dark page. */
.au .au-date { color-scheme: inherit; }
.au .au-date::-webkit-calendar-picker-indicator { opacity: 0.75; cursor: pointer; }

/* =====================================================================
   THE SIGNED-OUT HOME PAGE
   ===================================================================== */

/* v93: the bar (sky.css) is frosted purple by day and frosted black at night, and stays at the top */
.au.au-land .au-top { width: 100%; }
.au .au-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.au .au-hero { padding: 36px 0 20px; }
.au .au-hero-grid { display: grid; gap: 40px; }
.au .au-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.au .au-kicker i { width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
.au .au-h1 { margin: 0 0 16px; font-size: 44px; line-height: 1.02; font-weight: 600; letter-spacing: -0.045em; color: var(--ink1); text-wrap: balance; }
/* v91: a headline is one voice, no word picked out in colour */
.au .au-h1 em { font-style: normal; color: inherit; }
.au .au-lede { margin: 0 0 28px; font-size: 16.5px; line-height: 1.5; color: var(--ink2); max-width: 30em; text-wrap: pretty; }
.au .au-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.au .au-cta .t-btn.lg { min-width: 150px; }
.au .au-trust { display: flex; align-items: flex-start; gap: 7px; margin-top: 20px; font-size: 12.5px; color: var(--ink3); line-height: 1.45; }
.au .au-trust .svg { margin-top: 2px; }

/* The phone in the hero: the real inbox, drawn with the app's own parts. */
.au .au-phone {
  width: 100%; max-width: 350px; margin: 0 auto; border-radius: 32px; border: 1px solid var(--line2); background: var(--bg);
  padding: 6px 0 0; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.45); position: relative;
}
.au .au-phone::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.au .au-phone .t-bighead { padding-top: 16px; }
.au .au-phone .au-phone-h { font-size: 28px; line-height: 1.1; font-weight: 600; letter-spacing: -0.035em; color: var(--ink1); }
.au .au-phone .t-search { pointer-events: none; }
.au .au-phone .t-item { pointer-events: none; padding-top: 9px; padding-bottom: 9px; }
.au .au-fakesearch { flex-grow: 1; font-size: 15px; color: var(--ink3); }

.au .au-sect { padding: 56px 0; border-top: 1px solid var(--line); }
.au .au-sect-grid { display: grid; gap: 28px; align-items: center; }
.au .au-sect-n { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 11.5px; color: var(--ink3); letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.au .au-sect-n .au-sect-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--acc-tint); color: var(--acc-ink); display: flex; align-items: center; justify-content: center; }
.au .au-h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.au .au-p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; color: var(--ink2); max-width: 32em; text-wrap: pretty; }
.au .au-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.au .au-ticks li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink2); line-height: 1.4; }
.au .au-ticks li .svg { color: var(--acc-ink); flex-shrink: 0; margin-top: 1px; }

.au .au-demo { border: 1px solid var(--line2); border-radius: 20px; background: var(--bg); overflow: hidden; width: 100%; max-width: 420px; justify-self: center; }
.au .au-demo .t-bar { min-height: 56px; padding-top: 8px; }
.au .au-demo .t-msgs { padding: 12px 16px 16px; gap: 0; }
.au .au-demo .t-m { max-width: 82%; }
.au .au-demo-pad { padding: 14px; }
.au .au-demo .t-item { pointer-events: none; }
.au .au-demo .t-strip { border-bottom: 1px solid var(--line); }

.au .au-tile { position: relative; border-radius: 14px; overflow: hidden; height: 210px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); }
.au .au-tile-half { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; }
.au .au-tile-half svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.au .au-tile-top { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; align-items: center; gap: 6px; }
.au .au-tile-bar { position: absolute; left: 12px; right: 12px; bottom: 12px; }
.au .au-tile-score { display: flex; justify-content: space-between; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.au .au-tile-track { display: flex; height: 6px; border-radius: 3px; overflow: hidden; gap: 2px; }
.au .au-tile-track span:first-child { width: 58%; background: var(--acc); }
.au .au-tile-track span:last-child { flex-grow: 1; background: var(--ink1); }
.au .au-earn { display: flex; gap: 16px; padding: 16px; border-top: 1px solid var(--line); }
.au .au-earn div { flex: 1; min-width: 0; }
.au .au-earn small { display: block; font-size: 12px; color: var(--ink3); }
.au .au-earn b { display: block; font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }

.au .au-faq { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.au .au-faq details { border-bottom: 1px solid var(--line); }
.au .au-faq details:first-of-type { border-top: 1px solid var(--line); }
.au .au-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 0; font-size: 15.5px; font-weight: 550; letter-spacing: -0.01em; }
.au .au-faq summary::-webkit-details-marker { display: none; }
.au .au-faq summary .svg { margin-left: auto; color: var(--ink3); transition: transform .18s var(--ease); flex-shrink: 0; }
.au .au-faq details[open] summary .svg { transform: rotate(90deg); }
.au .au-faq details p { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: var(--ink2); max-width: 40em; }

.au .au-close { border-top: 1px solid var(--line); padding: 56px 0; text-align: center; }
.au .au-close .au-h2 { margin-bottom: 10px; }
.au .au-close .au-p { margin: 0 auto 26px; }
.au .au-close .au-cta { justify-content: center; }

.au .au-lfoot { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + var(--safe-b)); }
.au .au-lfoot-grid { display: flex; flex-direction: column; gap: 18px; }
.au .au-lfoot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.au .au-lfoot nav a { color: var(--ink2); text-decoration: none; font-size: 13.5px; min-height: 44px; display: inline-flex; align-items: center; }
.au .au-lfoot nav a:hover { color: var(--ink1); }
.au .au-lfoot small { display: block; font-size: 12.5px; color: var(--ink3); line-height: 1.6; }


@media (max-width: 519px) {
  .au .au-top-cta { display: none; }
}
@media (max-width: 380px) {
  .au .au-top-link { padding: 0 11px; }
  .au .au-title { font-size: 29px; }
  .au .au-h1 { font-size: 39px; }
}
@media (min-width: 700px) {
  .au .au-top { padding-left: 28px; padding-right: 28px; }
  .au.au-land .au-top { padding-left: max(28px, calc((100% - 1120px) / 2 + 28px)); padding-right: max(28px, calc((100% - 1120px) / 2 + 28px)); }
  .au .au-wrap { padding: 0 28px; }
  .au .au-hero { padding: 64px 0 40px; }
  .au .au-h1 { font-size: 60px; }
  .au .au-h2 { font-size: 34px; }
  .au .au-sect { padding: 88px 0; }
  .au .au-lfoot-grid { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .au .au-lfoot-r { text-align: right; }
}
@media (min-width: 960px) {
  .au .au-hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
  .au .au-h1 { font-size: 68px; }
  .au .au-sect-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .au .au-sect.flip .au-sect-copy { order: 2; }
  .au .au-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
}

/* =====================================================================
   DAY AND NIGHT (v91): the pages around the app (sign in, join,
   password, confirming the email, first-run setup, the home, feature,
   guide and policy pages) are white by day and black at night, the
   black Instagram uses. au_head() puts data-theme on <html> before
   anything is drawn (au_theme_head()). Only html.au-page and body.au get
   these values, so the app itself, which loads this file too, keeps its
   navy; so do the pictures of the app on these pages, since that is what
   people see once they are in.

   --acc is the orange things are filled with; --acc-ink is the orange
   words are written in (by day the fill is too light to read on white).
   ===================================================================== */
/* v93: the colours are talk.css's, the same for these pages and the app (white by day, black at night) */
html.au-page { background: var(--bg); }
/* plain links write in the orange that reads; :where keeps this below every link that has its own colour */
:where(.au) a { color: var(--acc-ink); }
:where(.au) a:hover { color: var(--acc-hover); }
:where(html[data-theme="day"] .au) a:hover { color: #9A3412; }
.au ::selection { background: var(--acc-tint2); color: var(--ink1); }
.au .au-phone { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
html[data-theme="day"] .au .au-phone { box-shadow: 0 30px 70px rgba(14, 12, 42, 0.22), 0 4px 14px rgba(14, 12, 42, 0.1); }
html[data-theme="day"] .au .au-demo { box-shadow: 0 18px 50px rgba(14, 12, 42, 0.14); border-color: transparent; }
.au .au-choice:hover, .au button.au-srow:hover { background: rgba(255, 255, 255, 0.03); }
html[data-theme="day"] .au .au-choice:hover, html[data-theme="day"] .au button.au-srow:hover { background: var(--s1); }
.au .au-crop-ring { box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.7); }
/* what went wrong, in each light */
html[data-theme="day"] .au .au-alert { background: #FDEDEB; border-color: #F6C9C3; color: #7F1D16; }
html[data-theme="day"] .au .au-alert a { color: #7F1D16; }
/* the browser's own date and country pickers follow the page */
.au .au-date, .au .ph-cc select { color-scheme: inherit; }
/* Continue with Google: the light button on the dark page, the dark one on the white page */
.au .au-gapp, .au .au-gapp:hover { background: var(--ink1); color: var(--bg); }
html[data-theme="day"] .au .au-gapp:hover { background: #1B2A55; }

/* ---------------------------------------------------------------- the day and night switch */
.au .au-th { position: relative; }
.au .au-theme {
  position: relative; width: 36px; height: 36px; border-radius: var(--r-btn); border: 1px solid var(--line2); background: none; color: var(--ink2);
  display: inline-flex; align-items: center; justify-content: center; padding: 0;
  transition: background-color .15s var(--ease), color .15s var(--ease), transform .12s var(--ease);
}
.au .au-theme:hover { background: var(--s1); color: var(--ink1); }
.au .au-theme:active { transform: scale(.94); }
.au .au-theme .svg { position: absolute; transition: transform .45s var(--glide), opacity .3s var(--glide); }
.au .au-theme .au-th-moon { opacity: 0; transform: rotate(-40deg) scale(.6); }
html[data-theme="night"] .au .au-theme .au-th-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
html[data-theme="night"] .au .au-theme .au-th-moon { opacity: 1; transform: none; }
.au .au-th-menu {
  position: absolute; right: -6px; top: calc(100% + 8px); z-index: 60; width: 272px; padding: 6px; border-radius: 14px;
  background: var(--pg-sheet); box-shadow: var(--lift); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: 85% 0;
  transition: opacity .18s var(--glide), transform .22s var(--glide);
}
html[data-theme="night"] .au .au-th-menu { background: var(--pg-sheet); }
.au .au-th-menu.on { opacity: 1; transform: none; }
.au .au-th-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px; padding: 9px 12px; border: 0; border-radius: 9px;
  background: none; color: var(--ink1); text-align: left; font-size: 14.5px;
}
.au .au-th-opt:hover, .au .au-th-opt:focus-visible { background: var(--s1); outline: none; }
.au .au-th-opt .au-th-ic { color: var(--ink2); flex-shrink: 0; }
.au .au-th-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.au .au-th-txt b { font-weight: 600; }
.au .au-th-txt small { font-size: 12.5px; line-height: 1.35; color: var(--ink3); }
.au .au-th-tick { color: var(--acc-ink); opacity: 0; display: flex; }
.au .au-th-opt[aria-checked="true"] .au-th-tick { opacity: 1; }
.au .au-th-opt[aria-checked="true"] .au-th-ic { color: var(--ink1); }
@media (max-width: 560px) {
  /* on a phone the menu spans the screen under the top bar, wherever the switch sits in it */
  .au .au-th-menu { position: fixed; left: 12px; right: 12px; top: calc(var(--safe-t) + 62px); width: auto; transform-origin: 70% 0; }
}


/* The turn: a circle of the new colours spreading from the switch, or, at sunrise and sunset, a slow fade. */
html.th-vt::view-transition-old(root), html.th-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.th-vt.th-sun::view-transition-old(root) { animation: th-fade-out 1.8s ease-in-out both; }
html.th-vt.th-sun::view-transition-new(root) { animation: th-fade-in 1.8s ease-in-out both; }
@keyframes th-fade-out { to { opacity: 0; } }
@keyframes th-fade-in { from { opacity: 0; } }

/* Setting up: the photo also becomes the first World post (welcome posts, v79). */
.au .au-hello { display: flex; align-items: flex-start; gap: 8px; margin: -12px 0 24px; padding: 11px 13px; border-radius: 12px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 1.45; color: var(--ink2); text-align: left; }
.au .au-hello .svg { flex-shrink: 0; margin-top: 1px; color: var(--ink3); }
.au .au-done-tag { display: inline-flex; align-items: center; min-height: 44px; margin: -12px -8px; padding: 0 8px; color: var(--acc-ink); text-decoration: none; font-weight: 600; }  /* a 44px tap in a row drawn as before */
.au .au-done-tag:hover { text-decoration: underline; text-underline-offset: 2px; }

/* =====================================================================
   OTHER WAYS IN (v89): Continue with Google, with a phone number, the
   second step of a sign in, finishing a new account.
   ===================================================================== */
.au .au-ways { display: flex; flex-direction: column; gap: 10px; }
.au .au-gbtn { min-height: 48px; display: flex; justify-content: center; align-items: center; }
.au .au-gbtn > div, .au .au-gbtn iframe { max-width: 100%; }

.au .au-gapp[disabled] { opacity: .55; }
.au .au-way { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.au .au-way .svg { color: var(--ink2); }

/* A number with its country: "+509" beside the field, the phone's own list behind it. */
.au .ph-row { display: flex; gap: 8px; }
.au .ph-row .t-input { flex: 1; min-width: 0; }
.au .ph-cc {
  position: relative; flex: 0 0 auto; min-width: 92px; height: 48px; padding: 0 12px 0 14px; border-radius: var(--r-btn);
  background: var(--field); border: 1px solid var(--line2); color: var(--ink1); display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 15px; cursor: pointer;
}
.au .ph-cc .svg { color: var(--ink3); flex-shrink: 0; }
.au .ph-cc:focus-within { border-color: var(--ink3); }
.au .ph-cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; color-scheme: inherit; }

/* The second step. */
.au .tf-check { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: -6px 0 12px; font-size: 14px; color: var(--ink2); cursor: pointer; }
.au .tf-check input { width: 18px; height: 18px; accent-color: var(--acc); flex-shrink: 0; }
.au .au-code.tf-rc { font-size: 22px; letter-spacing: 0.14em; padding: 0; }
.au .tf-2fa .au-links { margin-top: 14px; }

/* =====================================================================
   v93, FORMAL: signing in, joining and the pages around them are plain:
   white by day, black at night. The top bar is frosted purple by day and
   frosted black at night (sky.css), the form sits on the page, in a card
   with a hairline on a wide screen, and the buttons are the app's own.
   ===================================================================== */
.au .au-shell { position: relative; z-index: 0; }
.au .au-card { position: relative; color: var(--ink1); }
@media (min-width: 700px) {
  .au .au-main { max-width: 500px; }
  .au .au-card { padding: 36px 36px 32px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line), var(--card-lift, none); }
  html[data-theme="day"] .au .au-card { --card-lift: 0 24px 60px rgba(20, 18, 50, .07), 0 2px 8px rgba(20, 18, 50, .04); }
}
.au .au-title { font-size: 30px; font-weight: 600; letter-spacing: -0.03em; }
.au .t-label { color: var(--ink2); font-size: 13px; }
.au .t-input:-webkit-autofill, .au .t-input:-webkit-autofill:hover, .au .t-input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px var(--field) inset; }
.au .t-btn .t-spin { border-color: color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; }
.au .au-or::before, .au .au-or::after { background: var(--line); }
/* Continue with Google, as the app draws it: the quiet button with a line */
.au .au-gapp, .au .au-gapp:hover { background: var(--sec); color: var(--sec-ink); border-color: var(--sec-line); font-weight: 550; }
.au .au-gapp:hover { background: var(--sec-hover); }
html[data-theme="day"] .au .au-gapp:hover { background: var(--sec-hover); }
.au .au-mark { border-radius: 14px; color: var(--ink1); }

@media (prefers-reduced-motion: no-preference) {
  /* the page arrives once: the words, then the form */
  .au .au-card > .au-title { animation: au-rise .7s cubic-bezier(.2, .8, .2, 1) both; }
  .au .au-card > .au-sub { animation: au-rise .7s cubic-bezier(.2, .8, .2, 1) .06s both; }
  .au .au-card > form, .au .au-card > .au-ways { animation: au-rise .8s cubic-bezier(.2, .8, .2, 1) .12s both; }
  @keyframes au-rise { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
}
