/* Matches status.gastroweby.com (Better Stack's modern page): Inter, neutral
   blue-greys, 12px cards with a faint shadow, 8px neutral buttons. Values read
   off the live page's computed styles, light and dark. */

/* Inter, SIL Open Font License 1.1 (rsms.me/inter). Served from here, not
   Google, so opening the form contacts nobody but Cloudflare. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --page: #ffffff;
  --card: #ffffff;
  --field: #ffffff;
  --fg: rgb(25 28 36);
  --muted: rgb(112 119 140);
  --line: rgb(226 228 233);
  --btn: rgb(245 245 247);
  --btn-line: rgb(226 228 233);
  --ok: rgb(16 155 106);
  --err: rgb(208 52 52);
  --shadow: 0 4px 7px rgb(0 0 0 / .03);
  --font: Inter, "SF Pro Text", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: rgb(15 18 26); --card: rgb(25 28 36); --field: rgb(15 18 26);
    --fg: #ffffff; --muted: rgb(138 145 165); --line: rgb(33 36 45);
    --btn: rgb(33 36 45); --btn-line: rgb(45 49 60);
    --ok: rgb(31 194 135); --err: rgb(248 113 113);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
/* .card sets display:grid, which would otherwise beat the hidden attribute. */
[hidden] { display: none !important; }
body {
  margin: 0; background: var(--page); color: var(--fg); font-family: var(--font);
  font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--fg); outline-offset: 2px;
}

/* Header: company name left, one button right, hairline under it. */
.top {
  max-width: 820px; margin: 0 auto; height: 60px; display: flex; align-items: center;
  justify-content: space-between; border-bottom: 1px solid var(--line); font-size: 13px;
}
.company { color: var(--muted); }
.btn {
  font: inherit; font-size: 13px; font-weight: 500; line-height: 1; color: var(--fg); text-decoration: none;
  background: var(--btn); border: 1px solid var(--btn-line); border-radius: 8px; padding: 8px 12px;
  box-shadow: var(--shadow); cursor: pointer; display: inline-block;
}

.wrap { max-width: 560px; margin: 0 auto; padding-block: 56px 64px; display: grid; gap: 40px; }
.hero { text-align: center; display: grid; gap: 8px; }
h1 { margin: 0; font-size: 32px; line-height: 1.1; font-weight: 700; text-wrap: balance; }
.lede { margin: 0; color: var(--muted); font-size: 13px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); padding: 24px; display: grid; gap: 24px;
}
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
label, .label { font-size: 14px; font-weight: 500; padding: 0; }
/* A legend sits outside the fieldset's grid, so it carries its own spacing:
   4px to the hint that belongs to it, then the usual gap to the chips. */
legend.label { margin-bottom: 4px; }
.hint { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); }
input, textarea {
  font: inherit; font-size: 14px; color: var(--fg); background: var(--field); width: 100%;
  border: 1px solid var(--btn-line); border-radius: 8px; padding: 10px 12px;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { min-height: 112px; resize: vertical; }
[aria-invalid="true"] { border-color: var(--err); }

/* Unselected chips look like the status page's grey pills; selected inverts. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit; font-size: 13px; font-weight: 500; color: var(--fg); cursor: pointer;
  background: var(--btn); border: 1px solid transparent; border-radius: 999px; padding: 6px 12px;
}
.chip[aria-pressed="true"] { background: var(--fg); color: var(--card); }

.err { margin: 0; color: var(--err); font-size: 13px; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#turnstile { min-height: 65px; }

button.send {
  font: inherit; font-size: 14px; font-weight: 600; width: 100%; cursor: pointer;
  background: var(--fg); color: var(--card); border: 0; border-radius: 8px; padding: 12px;
  box-shadow: var(--shadow);
}
button.send:disabled { opacity: .6; cursor: default; }

/* Same green tick in a halo as the status page's "All services are online". */
.done { text-align: center; gap: 8px; padding-block: 40px; }
.ok {
  width: 36px; height: 36px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ok); color: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent);
}
.done h2 { margin: 0; font-size: 20px; font-weight: 700; outline: none; }
.done p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }

/* Language switch, in the header next to the status button. */
.top-right { display: flex; align-items: center; gap: 8px; }
.langs { display: inline-flex; gap: 2px; background: var(--btn); border-radius: 8px; padding: 3px; font-size: 13px; line-height: 1; }
.langs a { color: var(--muted); text-decoration: none; padding: 5px 8px; border-radius: 6px; font-weight: 500; }
.langs a[aria-current="page"] { color: var(--fg); background: var(--card); box-shadow: var(--shadow); }

@media (max-width: 480px) {
  .wrap { padding-block: 40px 48px; gap: 32px; }
  h1 { font-size: 26px; }
  .card { padding: 20px; }
  /* 16px stops iPhone Safari zooming into the field on focus. */
  input, textarea { font-size: 16px; }
}
