/* The Nothing Unlucky website (site/). The app's own colours and type (web/src/tokens.css): ink, paper and one red, Archivo, light by default and
   dark when the device is. Mobile first; no script is needed for any of it. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/archivo-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; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/archivo-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; }

:root {
  color-scheme: light;
  --bg: #f3f2f2;
  --surface: #eae9e9;
  --card: #ffffff;
  --text: #201e1d;
  --muted: #605d5d;
  --line: #bab6b6;
  --accent: #d4290d;
  --accent-hover: #ae1800;
  --accent-text: #ae1800;
  --on-accent: #f3f2f2;
  --band: #201e1d;
  --on-band: #f3f2f2;
  --on-band-muted: #d7d3d3;
  --stripe: rgba(32, 30, 29, .035);
  --shadow: 0 10px 30px rgba(32, 30, 29, .14);
  --mark-bg: #ffe9a8;
  --radius: 12px;
  --radius-card: 16px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0f1218;
    --surface: #171c25;
    --card: #11151c;
    --text: #e8ecf2;
    --muted: #9aa4b2;
    --line: rgba(232, 236, 242, .32);
    --accent: #ff5a3c;
    --accent-hover: #ff6a4d;
    --accent-text: #ff8a73;
    --on-accent: #111111;
    --band: #171c25;
    --on-band: #e8ecf2;
    --on-band-muted: #c3cad4;
    --stripe: rgba(232, 236, 242, .03);
    --shadow: 0 12px 32px rgba(0, 0, 0, .55);
    --mark-bg: #5b4300;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.55 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; text-rendering: optimizeLegibility; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a, li a, dd a, .answer a { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible, .btn:focus-visible, input:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-weight: 800; font-size: clamp(2.3rem, 7.4vw, 4rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
h3 { font-weight: 800; font-size: 1.15rem; }
p { margin: 0 0 1em; }
main:focus { outline: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.small { font-size: .95rem; color: var(--muted); }
.centre { text-align: center; }
.todo, mark { background: var(--mark-bg); color: inherit; padding: 0 4px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 2px solid var(--text); border-radius: var(--radius); background: transparent; color: var(--text); font: 800 1rem/1.2 "Archivo", system-ui, sans-serif; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--text); color: var(--bg); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn.quiet { min-height: 44px; padding: 8px 16px; }
.btn.on-dark { border-color: var(--on-band); color: var(--on-band); }
.btn.on-dark:hover { background: var(--on-band); color: var(--band); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 .8em; }

/* ---- header and menu ---- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.bar { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 10px; display: block; }
.word { display: inline-flex; gap: .3em; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1; }
.word b { font-weight: 800; }
.word span { font-weight: 500; }
.nav-wide, .bar-actions { display: none; }
.nav-wide { gap: 4px 26px; font-weight: 600; font-size: 1rem; }
.nav-wide a { text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-wide a:hover { border-bottom-color: var(--line); }
.nav-wide a[aria-current] { border-bottom-color: var(--accent); }
.bar-actions { gap: 10px; align-items: center; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 2px solid var(--text); border-radius: var(--radius); font-weight: 800; font-size: 1rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu[open] .menu-bars { background: transparent; }
.menu[open] .menu-bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-bars::after { top: 0; transform: rotate(-45deg); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); z-index: 10; width: min(320px, calc(100vw - 40px)); display: grid; gap: 2px; padding: 12px; background: var(--card); border: 2px solid var(--text); border-radius: var(--radius-card); box-shadow: var(--shadow); }
.menu nav a { display: block; padding: 12px 10px; text-decoration: none; font-weight: 700; border-radius: 8px; }
.menu nav a:hover { background: var(--surface); }
.menu nav a[aria-current] { color: var(--accent-text); }
.menu nav .btn { margin-top: 8px; color: var(--on-accent); }
@media (min-width: 940px) {
  .nav-wide, .bar-actions { display: flex; }
  .menu { display: none; }
}

/* ---- the top of a page ---- */
.kicker { margin: 0 0 .7em; font: 800 .85rem/1 "Archivo", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(1.12rem, 2.6vw, 1.32rem); color: var(--muted); max-width: 34em; }
.pagehead { padding-top: clamp(40px, 7vw, 72px); padding-bottom: 8px; }
.hero { padding: clamp(28px, 6vw, 64px) 0 clamp(40px, 7vw, 80px); background-image: repeating-linear-gradient(90deg, transparent 0 96px, var(--stripe) 96px 192px); border-bottom: 1px solid var(--line); }
.hero-in { display: grid; gap: 36px; align-items: center; }
.hero-phone { justify-self: center; width: min(280px, 72vw); }
@media (min-width: 860px) { .hero-in { grid-template-columns: 1.2fr .8fr; gap: 56px; } .hero-phone { width: 300px; justify-self: end; } }

.phone { margin: 0; }
.phone img { display: block; width: 100%; height: auto; border: 2px solid var(--text); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }

/* ---- sections ---- */
.section { padding-top: clamp(44px, 7vw, 80px); }
.idea p { max-width: 38em; font-size: 1.12rem; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 2px solid var(--text); border-radius: var(--radius-card); padding: 22px 22px 8px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 12px; border-radius: 50%; background: var(--text); color: var(--bg); font-weight: 800; }
@media (min-width: 860px) { .steps ol { grid-template-columns: repeat(3, 1fr); } }

.band { margin-top: clamp(44px, 7vw, 80px); padding: clamp(40px, 6vw, 64px) 0; }
.band.shots { background: var(--card); border-block: 2px solid var(--text); }
.shot-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shot .phone { max-width: 240px; }
.shot h3 { margin-top: 16px; }
.shot p { color: var(--muted); font-size: 1rem; }
@media (min-width: 900px) { .shot-row { grid-template-columns: repeat(4, 1fr); } }
.band.ink { background: var(--band); color: var(--on-band); }
.band.ink p { color: var(--on-band-muted); max-width: 38em; }
.band.ink .small { color: var(--on-band-muted); }
.band.ink a:focus-visible { outline-color: var(--on-band); }

.ticks { list-style: none; margin: 0; padding: 0; max-width: 42em; }
.ticks li { position: relative; padding: 0 0 .9em 1.9em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .52em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.price-big { font-size: clamp(1.2rem, 3vw, 1.5rem); }
.price-big b { font-weight: 800; }

/* ---- what it does ---- */
.jump { display: flex; flex-wrap: wrap; gap: 8px 10px; padding-top: 24px; }
.jump a { padding: 8px 14px; border: 2px solid var(--text); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.jump a:hover { background: var(--text); color: var(--bg); }
.feat { display: grid; gap: 28px; align-items: center; }
.feat .phone { width: min(260px, 70vw); justify-self: center; }
.feat ul, .doc ul { margin: 0 0 1em; padding-left: 1.2em; max-width: 42em; }
.feat li, .doc li { margin-bottom: .6em; }
@media (min-width: 860px) { .feat { grid-template-columns: 1.4fr .6fr; gap: 64px; } .feat.flip { grid-template-columns: .6fr 1.4fr; } .feat.flip .phone { order: -1; } }
.centre-left { margin-top: 1.2em; }

/* ---- pricing ---- */
.plans { display: grid; gap: 18px; }
.plan { position: relative; background: var(--card); border: 2px solid var(--text); border-radius: var(--radius-card); padding: 26px 24px 10px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.plan h2 { font-size: 1.3rem; margin-bottom: .2em; }
.plan-price { margin: 0 0 .6em; }
.plan-price b { font-size: clamp(2.4rem, 8vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.plan-price span { color: var(--muted); }
.flag { position: absolute; top: -14px; left: 20px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .85rem; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 24px; } }
.seats ul { max-width: 44em; }
.calc { background: var(--surface); border-block: 2px solid var(--text); }
.calc-in { display: grid; gap: 28px; align-items: start; }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 1.2em 0 .4em; max-width: 26em; }
.calc-fields label { display: grid; gap: 6px; font-weight: 700; font-size: .95rem; }
.calc-fields input { width: 100%; min-height: 52px; padding: 8px 14px; border: 2px solid var(--text); border-radius: var(--radius); background: var(--card); color: var(--text); font: 800 1.3rem/1 "Archivo", system-ui, sans-serif; }
.calc-out { background: var(--card); border: 2px solid var(--text); border-radius: var(--radius-card); padding: 22px 24px 8px; }
.calc-out p { margin-bottom: .5em; }
.calc-seats { font-size: 1.1rem; margin-bottom: .8em !important; }
.calc-seats b { font-size: clamp(2.6rem, 9vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
@media (min-width: 860px) { .calc-in { grid-template-columns: 1.2fr .8fr; gap: 56px; } }

/* ---- questions ---- */
.faq { max-width: 46em; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; min-height: 56px; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 2px solid var(--text); border-radius: 50%; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 2px 8px; color: var(--muted); max-width: 40em; }
.faq .answer a { color: var(--text); }

/* ---- documents: safeguarding, about, contact, terms ---- */
.doc > * { max-width: 46em; }
.doc h2 { font-size: clamp(1.35rem, 3.6vw, 1.75rem); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--text); }
th, td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 1rem; }
thead th { background: var(--text); color: var(--bg); }
tbody th { width: 8.5em; }
.facts { margin: 1em 0; display: grid; gap: 0; border: 2px solid var(--text); border-radius: var(--radius-card); background: var(--card); overflow: hidden; }
.facts div { display: grid; gap: 2px 20px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 800; font-size: .9rem; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .facts div { grid-template-columns: 11em 1fr; } }
.big-mail { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 800; overflow-wrap: anywhere; }
.draft { padding: 14px 16px; border: 2px solid var(--accent-text); border-radius: var(--radius); background: var(--card); color: var(--text); }
.terms-sec { margin-bottom: 1.4em; }
.terms h2 { margin-top: 1.4em; }

/* ---- guides ---- */
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 46em; }
.guide-card { padding: 18px 20px; border: 2px solid var(--text); border-radius: var(--radius-card); background: var(--card); }
.guide-card h2 { margin: 0 0 .3em; font-size: clamp(1.15rem, 3vw, 1.4rem); }
.guide-card h2 a { text-decoration: none; }
.guide-card h2 a:hover { text-decoration: underline; }
.guide-card p { margin: 0 0 .4em; }
.guide-card p:last-child { margin-bottom: 0; }
.guide-meta { margin-top: 0; color: var(--muted); }
.guide h2 { margin-top: 1.6em; }
.guide p, .guide li { line-height: 1.6; }
.guide blockquote { margin: 1em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--text); }
.guide hr { margin: 2em 0; border: 0; border-top: 2px solid var(--text); }

/* ---- the request form on the contact page ---- */
.request-form { display: grid; gap: 16px 20px; max-width: 46em; margin: 1.2em 0 0; }
@media (min-width: 640px) { .request-form { grid-template-columns: 1fr 1fr; } .request-form .wide { grid-column: 1 / -1; } }
.request-form .field { display: grid; gap: 6px; }
.request-form label { font-weight: 700; font-size: .95rem; }
.request-form label span { font-weight: 400; color: var(--muted); }
.request-form input, .request-form textarea { width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid var(--text); border-radius: var(--radius); background: var(--card); color: var(--text); font: 400 1.05rem/1.3 "Archivo", system-ui, sans-serif; }
.request-form textarea { min-height: 120px; resize: vertical; }
.request-form .small, .request-form .actions { margin: 0; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---- the foot ---- */
.site-footer { margin-top: clamp(56px, 8vw, 96px); border-top: 2px solid var(--text); background: var(--card); }
.foot-grid { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 8px; }
.foot-brand { margin: 0 0 .2em; font-weight: 800; font-size: 1.2rem; }
.foot-line { margin: 0; color: var(--muted); }
.foot-grid nav { display: grid; gap: 2px; align-content: start; }
.foot-grid h2 { margin: 0 0 .4em; font: 800 .8rem/1 "Archivo", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot-grid nav a { padding: 8px 0; text-decoration: none; font-weight: 600; }
.foot-grid nav a:hover { text-decoration: underline; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.foot-legal p { margin: 12px 0 0; font-size: .9rem; color: var(--muted); max-width: 60em; }
.credit-row { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 24px; }
.credit { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; color: var(--muted); }
.plate { display: inline-flex; padding: 4px 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.plate img { display: block; }

.notfound { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
@media print {
  .site-header, .skip, .band.cta, .menu { display: none; }
  .phone img { box-shadow: none; }
  body { background: #fff; color: #000; }
}
