/* frack.cloudatlas.uk: the site's one stylesheet. Laid out like placeatlas.cloudatlas.uk
   (a reading page under a plain header), in Frack's own colours: near black ink and the
   camera's yellow for what matters. Apple's system font, light only, no script. */

:root {
  color-scheme: light;
  --paper: #F7F7F5;
  --surface: #FFFFFF;
  --ink: #111113;
  --ink2: #55555C;
  --ink3: #8A8A92;
  --line: #E4E4E0;
  --yellow: #FFD60A;
  --gold: #8A6500;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 3px solid rgba(255, 214, 10, .8); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }

.hero { background: #0B0B0C; color: #fff; padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.hero img { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 28px; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); }
.hero h1 { font: 700 clamp(38px, 7vw, 64px)/1.05 var(--font-display); letter-spacing: -.02em; }
.hero h1 .on { color: var(--yellow); }
.hero p { max-width: 36em; margin: 20px auto 0; color: rgba(255, 255, 255, .72); font-size: clamp(17px, 2.2vw, 20px); }
.hero .btn { margin-top: 32px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.hero .btn { background: var(--yellow); color: #111; }

.features { padding: clamp(48px, 8vw, 96px) 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.card h3 { font: 600 19px/1.3 var(--font-display); margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink2); font-size: 16px; }
.card .mark { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); margin-bottom: 14px; }

.doc-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(40px, 7vw, 80px) 0 clamp(28px, 5vw, 48px); }
.doc-hero .eyebrow { margin: 0 0 8px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.doc-hero h1 { font: 700 clamp(32px, 5vw, 48px)/1.1 var(--font-display); letter-spacing: -.015em; }
.doc-hero .updated { margin: 12px 0 0; color: var(--ink3); font-size: 15px; }
.doc { padding: clamp(28px, 5vw, 56px) 0 clamp(48px, 8vw, 96px); }
.doc .wrap { max-width: 720px; }
.doc h2 { font: 600 22px/1.3 var(--font-display); margin: 1.8em 0 .5em; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; }
.doc li { margin-bottom: .4em; }
.doc .lead { font-size: 19px; color: var(--ink2); }
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; margin-bottom: 2em; }
.contact p { margin: 4px 0 0; color: var(--ink2); }
.faq h3 { font: 600 18px/1.35 var(--font-display); margin: 1.4em 0 .35em; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 40px; color: var(--ink3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 18px; }
.site-footer a { text-decoration: none; color: var(--ink2); }
