/* Shared look of the recordai.dev subpages (support, privacy, terms, success,
   cancelled, 404). Same colours, type, header and footer as the front page.
   A deliberate single light look with a dark header band. */

:root {
  --navy: #0b1120;
  --ink: #0f1626;
  --muted: #5a6478;
  --paper: #ffffff;
  --mist: #f3f5f9;
  --rule: #e2e6ee;
  --blue: #1677ff;
  --blue-soft: #e8f1ff;
  --on-dark: #e9eef8;
  --on-dark-muted: #a6b0c4;
  --ok: #15803d;
  --err: #b42318;
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: 24px; }
.wrap.narrow { max-width: 48rem; }

/* Dark header band with logo, menu and the page title */
.band-top { background: linear-gradient(180deg, #0b1120 0%, #0e1630 100%); color: var(--on-dark); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--on-dark); text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; background: #fff; border-radius: 7px; padding: 3px; }
.brand span { color: var(--blue); }
.nav { display: flex; gap: 30px; font-size: 0.92rem; }
.nav a { color: var(--on-dark-muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.pill { text-decoration: none; display: inline-flex; align-items: center; font: 600 0.88rem/1 var(--font); padding: 10px 16px; border-radius: 10px; background: var(--blue); color: #fff; white-space: nowrap; }
.page-head { padding-block: 26px 52px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #c9d4ea; }
.page-head h1 { margin: 12px 0 0; font-size: clamp(2.1rem, 4.6vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.page-head .lede { margin: 14px 0 0; color: var(--on-dark-muted); font-size: 1.1rem; max-width: 40rem; }
.page-head .meta { margin: 12px 0 0; color: var(--on-dark-muted); font-size: 0.92rem; }

/* Content */
main.content { padding-block: 44px 72px; }
.card { background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: 28px clamp(20px, 4vw, 40px); }
.content h2 { font-size: 1.4rem; line-height: 1.2; letter-spacing: -0.01em; margin: 34px 0 8px; text-wrap: balance; }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 1.05rem; margin: 22px 0 4px; }
.content p { margin: 8px 0 0; }
.content ul, .content ol { margin: 8px 0 0; padding-left: 1.3em; }
.content li + li { margin-top: 6px; }
.muted { color: var(--muted); }
.key { font-family: var(--mono); font-size: 0.88em; background: var(--mist); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 6px; }

details { border-bottom: 1px solid var(--rule); padding: 13px 0; }
details:first-of-type { border-top: 1px solid var(--rule); }
details summary { cursor: pointer; font-weight: 600; }
details p { color: var(--muted); }

/* Forms (support) */
form.form { display: grid; gap: 14px; margin-top: 18px; }
form.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
form.form .opt { font-weight: 400; color: var(--muted); }
form.form input, form.form select, form.form textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--mist); border: 1px solid var(--rule); border-radius: 10px; padding: 11px 13px; width: 100%; }
form.form textarea { min-height: 150px; resize: vertical; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn { justify-self: start; display: inline-flex; align-items: center; font: 600 1rem/1 var(--font); padding: 15px 24px; border-radius: 10px; border: 0; background: var(--blue); color: #fff; cursor: pointer; text-decoration: none; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn.ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--rule); }
.status { font-size: 0.95rem; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.note { font-size: 0.88rem; color: var(--muted); }

/* Centred message pages (success, cancelled, 404) */
.message-card { max-width: 34rem; margin: 0 auto; text-align: left; }
.message-card .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Footer */
footer.site-foot { border-top: 1px solid var(--rule); background: var(--paper); color: var(--muted); font-size: 0.9rem; padding-block: 28px 40px; }
footer.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; }

@media (max-width: 860px) {
  .nav { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  main.content { padding-block: 28px 56px; }
}
