/* The signed-out page. The background of each variant lives in landing_<variant>.css. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2"); }
:root { --brand:#EE5A2A; --bg:#F7F0E6; --ink:#2A211C; --muted:#6B5D52; color-scheme:light; }
:root[data-theme="dark"] { --bg:#1E1815; --ink:#F5EBDD; --muted:#BDAE9E; color-scheme:dark; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#1E1815; --ink:#F5EBDD; --muted:#BDAE9E; color-scheme:dark; }
}
* { box-sizing:border-box; }
body.landing { margin:0; background:var(--bg); color:var(--ink);
  font:400 16px/1.5 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; -webkit-font-smoothing:antialiased; }
.stage { position:relative; overflow:hidden; min-height:100vh; min-height:100svh; isolation:isolate; }
.bg, .bg > * { position:absolute; inset:0; }
.hero { position:relative; min-height:100vh; min-height:100svh; z-index:5; display:flex; flex-direction:column; align-items:center;
  justify-content:center; text-align:center; padding:0 16px; }
.hero .mark { font-weight:700; letter-spacing:-.03em; line-height:1; font-size:clamp(40px,9vw,76px); margin:0; }
.hero .line { margin:16px 0 0; font-size:clamp(17px,2.6vw,22px); line-height:1.4; max-width:30ch; opacity:.9; }
.hero .signin { margin-top:30px; display:inline-flex; align-items:center; background:var(--brand); color:#fff;
  border-radius:999px; padding:0 38px; height:54px; font-weight:700; font-size:18px; text-decoration:none;
  box-shadow:0 8px 24px -8px rgba(238,90,42,.6); }
.hero .signin:hover { filter:brightness(1.06); }
.hero .signin:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.hero .signup { margin-top:14px; color:var(--ink); font-weight:600; font-size:16px; text-decoration:underline; text-underline-offset:3px; }
.hero .invite { margin:18px 0 0; font-size:14px; line-height:1.45; color:var(--muted); max-width:32ch; }

/* The pages around sign-in (auth_page.html): the landing look, with a smaller wordmark and a heading. */
.hero .wordmark { font-weight:700; letter-spacing:-.03em; line-height:1; font-size:clamp(28px,5vw,36px); color:var(--ink); text-decoration:none; margin:0 0 36px; }
.hero .title { font-weight:700; letter-spacing:-.02em; line-height:1.15; font-size:clamp(26px,5vw,38px); margin:0; max-width:20ch; }
.authpage .hero .line { margin-top:14px; font-size:clamp(16px,2.4vw,19px); max-width:34ch; }
.hero button.signin { border:0; font-family:inherit; cursor:pointer; }
.hero .also { margin-top:18px; font-size:15px; color:var(--muted); }
.hero .also a { color:var(--ink); font-weight:600; text-underline-offset:3px; }

/* Terms, Privacy and the Food & Allergy Notice, quiet under the sign-in (hn-terms). */
.hero .legal-links { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 16px; margin-top:28px; font-size:13px; }
.hero .legal-links a { color:var(--muted); text-decoration:underline; text-underline-offset:3px; display:inline-flex; align-items:center; min-height:32px; }

/* Asking for a place in the beta (/waitlist/): one field and one button, in the landing look. */
.hero .ask { display:flex; flex-direction:column; align-items:center; gap:10px; width:100%; max-width:340px; margin-top:26px; }
.hero .ask-label { font-size:14px; color:var(--muted); align-self:flex-start; }
.hero .ask-input { width:100%; height:54px; border-radius:999px; border:1px solid var(--muted); background:transparent; color:var(--ink);
  padding:0 22px; font:inherit; font-size:17px; }
.hero .ask-input:focus-visible { outline:3px solid var(--ink); outline-offset:3px; }
.hero .ask-input::placeholder { color:var(--muted); opacity:.8; }
.hero .ask-trap { position:absolute; left:-10000px; width:1px; height:1px; opacity:0; }
.hero .ask-error { margin:0; font-size:15px; font-weight:600; color:var(--ink); align-self:flex-start; }
.hero .ask .signin { margin-top:8px; width:100%; justify-content:center; padding:0 24px; }
.hero .invite a { color:var(--ink); text-underline-offset:3px; }

/* Sign-in pages build: the logo above the wordmark, the failed-sign-in note, the "Signed out" toast. */
.hero .logo { display:flex; margin-bottom:18px; filter:drop-shadow(0 6px 14px rgba(0,0,0,.18)); }
.toast { position:fixed; left:50%; bottom:28px; transform:translateX(-50%); z-index:20; display:flex; align-items:center; gap:12px; margin:0;
  background:#2A211C; color:#fff; border-radius:999px; padding:8px 10px 8px 22px; font-weight:600; font-size:16px;
  box-shadow:0 8px 24px -8px rgba(0,0,0,.45); animation:toast-out .3s ease 3.5s forwards; }
.toast-ok { display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center; border-radius:50%; background:var(--brand); color:#fff; }
@keyframes toast-out { to { opacity:0; visibility:hidden; } }
@media (prefers-reduced-motion: reduce) { .toast { animation-duration:.01s; } }

/* The failed sign-in toast (mockup 3c): the words, then a round retry icon; it stays until they act. */
.toast.stay { animation:none; }
.toast-ib { display:inline-flex; width:44px; height:44px; align-items:center; justify-content:center; border-radius:50%; background:var(--brand); color:#fff; text-decoration:none; }
.toast-ib:focus-visible { outline:3px solid #fff; outline-offset:2px; }
