/* Markland Hill — one stylesheet, no framework, no build step.
   Committed to a dark palette: every colour is painted explicitly so the
   page never borrows a host's ground. */

:root {
  color-scheme: dark;

  /* Taken from the Portfolio screen of our own game: a deep blue-teal
     ground rather than a near-black, with the money-green as the accent.
     The ground carries real colour — desaturated, but never grey — which
     is what keeps it from reading as a default dark theme. */
  --bg: #0d1b25;
  --bg-raise: #112430;
  --bg-card: #14262f;
  --bg-bar: #152c39;
  --line: #213b48;
  --line-hover: #2c4653;
  --line-soft: #1a3040;

  /* Ink */
  --ink: #e8f0f3;
  --ink-dim: #94aab4;
  --ink-faint: #6b8592;

  /* The one accent, spent sparingly. */
  --accent: #56c47f;
  --accent-bright: #74d79a;
  --accent-deep: #2f7a52;
  --accent-ink: #05160d;
  --accent-line: #2a4a3a;
  --accent-glow: rgba(86, 196, 127, 0.16);

  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;

  --radius: 14px;
  --radius-sm: 9px;
  --wrap: 1140px;

  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

/* ---------- type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 6.2vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

h3 {
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.lede {
  font-size: 1.05rem;
  color: var(--ink-dim);
  max-width: 58ch;
}

.section-note {
  color: var(--ink-dim);
  max-width: 62ch;
  margin-top: 10px;
}

/* ---------- top bar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 20px;
  background: rgba(21, 44, 57, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand-thin { color: var(--ink-dim); font-weight: 600; }

.nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}
.nav a {
  padding: 7px 13px;
  border-radius: 100px;
  color: var(--ink-dim);
  font-size: 0.875rem;
  font-weight: 500;
}
.nav a:hover {
  color: var(--ink);
  background: var(--bg-raise);
  text-decoration: none;
}

@media (max-width: 800px) {
  .nav { display: none; }
  .topbar { justify-content: space-between; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  border: 1px solid transparent;
  font-family: var(--body);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease,
    border-color 0.14s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; }

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 26px -10px var(--accent);
}
.btn-accent:hover { background: var(--accent-bright); }

.btn-ghost {
  background: var(--bg-raise);
  border-color: var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--line-hover); }

.btn-sm { padding: 9px 17px; font-size: 0.85rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

/* The light bleeding in from the top-left corner, as in the references.
   Two layers: a wide cool wash and a tighter accent core. */
.hero::before {
  content: "";
  position: absolute;
  inset: -40% 40% 40% -30%;
  background: radial-gradient(
    closest-side,
    rgba(86, 196, 127, 0.2),
    rgba(86, 196, 127, 0) 100%
  );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: clamp(56px, 9vw, 104px);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.hero h1 { margin-block: 18px 20px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}
.chips li {
  font-family: var(--mono);
  font-size: 0.735rem;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 6px 13px;
}

/* The contour panel. A hill drawn as survey contours — the one thing on
   this page that could only belong to a studio with this name. */
.hero-art {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, #17303a 0%, #0c1a23 64%);
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}

#contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.art-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(17, 36, 48, 0.9);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 7px 13px 7px 9px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-dim);
  backdrop-filter: blur(6px);
}
.art-tag .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  flex: none;
}
.art-tag--a { top: 13%; left: 8%; }
.art-tag--b { top: 45%; right: 7%; }
.art-tag--c { bottom: 12%; left: 14%; }

@media (max-width: 460px) {
  .art-tag { font-size: 0.62rem; padding: 5px 10px 5px 7px; }
}

/* ---------- sections ---------- */

section { position: relative; }

.band { padding-block: clamp(56px, 8vw, 92px); }
.band--raise {
  background: var(--bg-raise);
  border-block: 1px solid var(--line-soft);
}

.section-head { margin-bottom: 38px; }
.section-head .eyebrow { display: block; margin-bottom: 12px; }

.grid {
  display: grid;
  gap: 18px;
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Only the cards that are a live product get lifted. Border, fill and
   glow all say "separate object" — spending them on every block flattens
   the hierarchy instead of building it. */
.card--live {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(86, 196, 127, 0.05), transparent 46%),
    var(--bg-card);
}

.card p { color: var(--ink-dim); font-size: 0.94rem; }

.card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(86, 196, 127, 0.1);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  flex: none;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.status {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  white-space: nowrap;
  flex: none;
}
.status--beta { color: var(--accent); border-color: var(--accent-line); }
.status--soon { color: var(--ink-faint); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* Numbered only where order is real — the three steps of working with
   us happen in that sequence. */
.steps { counter-reset: step; }
.step-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* ---------- product spotlight ---------- */

.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
@media (max-width: 900px) {
  .spotlight { grid-template-columns: 1fr; gap: 36px; }
}

.spotlight h2 { margin-block: 12px 14px; }
.spotlight .lede { margin-bottom: 20px; }

/* What the game actually asks of you. A list of nouns would say nothing;
   each of these is a decision the player makes. */
.beats {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.beats li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.beats strong { color: var(--ink); font-weight: 600; }
.beats .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(86, 196, 127, 0.12);
  border: 1px solid var(--accent-line);
  display: grid;
  place-items: center;
  margin-top: 2px;
}
.beats .tick svg { display: block; }

/* Two phones, the back one offset. Real screenshots rather than a
   mock-up: the game is finished enough to show. */
.shots {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-block: 10px;
}

.phone {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 7px;
  background: linear-gradient(170deg, #1b3947, #0e1e28);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
  flex: 0 1 236px;
  min-width: 0;
}
.phone img {
  border-radius: 15px;
  width: 100%;
  height: auto;
  display: block;
}
.phone--back {
  transform: translateY(26px) scale(0.93);
  opacity: 0.85;
}

@media (max-width: 540px) {
  /* One phone on a narrow screen. Two shrunk to fit would make both
     unreadable, which defeats the point of showing them at all. */
  .phone--back { display: none; }
  .phone { flex-basis: 260px; }
}

.shot-note {
  margin-top: 26px;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

form { display: grid; gap: 16px; }

.field { display: grid; gap: 7px; }

label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
}

input, select, textarea {
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
}
input:hover, select:hover, textarea:hover { border-color: var(--line-hover); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
textarea { resize: vertical; min-height: 132px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394aab4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
}

/* The honeypot. Off-screen rather than display:none — some bots skip
   anything hidden outright, and this one should look fillable. */
.hp {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
}

.status-msg {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-raise);
}
.status-msg--ok { color: var(--ok); border-color: #1d4634; }
.status-msg--bad { color: var(--bad); border-color: #4a2626; }

.contact-aside dl {
  margin: 22px 0 0;
  display: grid;
  gap: 16px;
}
.contact-aside dt {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.contact-aside dd { margin: 0; color: var(--ink-dim); font-size: 0.94rem; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 38px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer a { color: var(--ink-dim); font-size: 0.875rem; }
.footer a:hover { color: var(--ink); }
.footer small { color: var(--ink-faint); font-size: 0.8rem; }

/* The trading disclosures. Not decoration: a UK business website has to
   show its name, a geographic address and — if it is a company — its
   registered number and place of registration. */
.footer-legal {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--ink-faint);
  font-size: 0.775rem;
  line-height: 1.7;
  max-width: 80ch;
}
.footer-legal p { margin-bottom: 4px; }

/* ---------- inline-style replacements ----------
   These exist as classes rather than style="" attributes so the CSP can
   keep style-src at 'self'. A single style attribute anywhere on a page
   forces 'unsafe-inline' back on for the whole document. */

.doc-title { font-size: clamp(2rem, 4.6vw, 2.8rem); margin-top: 12px; }
.contact-h { margin-top: 12px; }

/* ---------- account deletion ---------- */

.callout {
  border: 1px solid var(--accent-line);
  background: linear-gradient(180deg, rgba(86, 196, 127, 0.055), transparent 60%),
    var(--bg-card);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 26px;
}
.callout h2 { font-size: 1.1rem; margin-bottom: 8px; margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

.delete-form {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 34px;
  max-width: 560px;
}
.delete-form h2 { margin-top: 0; font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- 404 ---------- */

.oops {
  min-height: 62vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 8px;
  padding-block: 60px;
}
.oops .code {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.oops p { color: var(--ink-dim); max-width: 46ch; margin-inline: auto; }
.oops .cta-row { justify-content: center; }

/* ---------- legal pages ---------- */

.doc { padding-block: clamp(44px, 7vw, 76px); }
.doc-body { max-width: 72ch; }
.doc-body h2 {
  font-size: 1.32rem;
  margin-top: 40px;
  margin-bottom: 12px;
}
.doc-body h3 {
  font-size: 1rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--ink);
}
.doc-body p, .doc-body li {
  color: var(--ink-dim);
  font-size: 0.96rem;
}
.doc-body p { margin-bottom: 14px; }
.doc-body ul { padding-left: 20px; margin-bottom: 16px; }
.doc-body li { margin-bottom: 7px; }
.doc-body strong { color: var(--ink); font-weight: 600; }

.doc-meta {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-top: 14px;
}

/* A placeholder the owner still has to fill in. Deliberately loud — a
   quiet one ships to production unnoticed. */
.todo {
  background: rgba(251, 191, 36, 0.09);
  border: 1px dashed #5c4a1c;
  color: var(--warn);
  border-radius: 4px;
  padding: 1px 7px;
  font-family: var(--mono);
  font-size: 0.84em;
}

table.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.92rem;
}
table.tbl th, table.tbl td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-dim);
  vertical-align: top;
}
table.tbl th { color: var(--ink); font-weight: 600; }
.tbl-scroll { overflow-x: auto; }

/* ---------- product page ---------- */

.prod-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding-block: clamp(44px, 7vw, 84px);
}
.prod-hero::before {
  content: "";
  position: absolute;
  inset: -50% 45% 45% -25%;
  background: radial-gradient(
    closest-side,
    rgba(86, 196, 127, 0.16),
    rgba(86, 196, 127, 0) 100%
  );
  pointer-events: none;
}
.prod-hero .wrap { position: relative; }

.prod-hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  margin-block: 14px 18px;
  max-width: 20ch;
}
.prod-hero .lede { font-size: 1.1rem; max-width: 60ch; }

.badge-free {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(86, 196, 127, 0.1);
  border: 1px solid var(--accent-line);
  border-radius: 100px;
  padding: 8px 15px;
}

/* Alternating feature rows. The image side swaps on every other row so
   the page does not read as one long column of the same thing. */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
  padding-block: clamp(32px, 5vw, 52px);
  border-top: 1px solid var(--line-soft);
}
.feature:first-of-type { border-top: 0; }
.feature h3 { font-size: 1.32rem; margin-bottom: 12px; }
.feature p { color: var(--ink-dim); margin-bottom: 12px; }
.feature ul { color: var(--ink-dim); padding-left: 0; list-style: none; margin: 0 0 14px; }
.feature ul li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 9px;
}
.feature ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}
.feature strong { color: var(--ink); font-weight: 600; }

.feature--flip > div:first-child { order: 2; }
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature--flip > div:first-child { order: 0; }
}

/* A screenshot that does not exist yet. Deliberately loud, and it
   carries the brief for the shot that replaces it — a quiet placeholder
   is one that ships. */
.shot-slot {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 22px;
  min-height: 210px;
  display: grid;
  align-content: center;
  gap: 8px;
}
.shot-slot .tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warn);
}
.shot-slot p { font-size: 0.9rem; color: var(--ink-dim); margin: 0; }
.shot-slot .cap {
  font-size: 0.86rem;
  color: var(--ink-faint);
  font-style: italic;
  border-top: 1px solid var(--line-soft);
  padding-top: 9px;
  margin-top: 3px;
}

figure.shot { margin: 0; }
figure.shot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: block;
}
figure.shot figcaption {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* ---------- plans ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
  align-items: start;
}

.plan {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.plan--paid {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(86, 196, 127, 0.06), transparent 44%),
    var(--bg-card);
}
.plan-price {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-block: 4px 2px;
}
.plan-price span {
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0;
}
.plan ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}
.plan li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink-dim);
  font-size: 0.93rem;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.42em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .plan-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* A shot slot that follows a block rather than sitting in a grid cell.
   A class, not a style attribute: style-src is 'self' with no
   unsafe-inline, so a single inline style would be silently dropped. */
.shot-slot--spaced { margin-top: 22px; }

/* ============ devlog ============ */

.devlog-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; }

.devlog-item { border-top: 1px solid var(--line); }
.devlog-item:last-child { border-bottom: 1px solid var(--line); }

.devlog-item a {
  display: block;
  padding: 1.5rem 0.25rem;
  text-decoration: none;
  color: inherit;
}
.devlog-item a:hover { background: var(--bg-raise); }

.devlog-item time {
  font: 500 0.76rem/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.devlog-item h2 {
  font-size: 1.35rem;
  margin: 0.5rem 0 0.35rem;
  color: var(--ink);
}
.devlog-item a:hover h2 { color: var(--accent); }
.devlog-item p { color: var(--ink-dim); margin: 0; max-width: 46rem; }

/* A post's own body. The prose rules carry most of it; these are the
   bits Markdown emits that the legal pages never do. */
.prose pre {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font: 400 0.88rem/1.6 var(--mono);
}
.prose code {
  font: 400 0.9em/1.4 var(--mono);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.1em 0.35em;
}
.prose pre code { background: none; border: 0; padding: 0; }
.prose blockquote {
  margin: 1.5rem 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--accent-line);
  color: var(--ink-dim);
}
.prose img { border-radius: var(--radius-sm); margin: 1.5rem 0; }

.devlog-back { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ---- devlog topics ---- */

.devlog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.devlog-filter a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--ink-dim);
  text-decoration: none;
}
.devlog-filter a:hover { color: var(--ink); border-color: var(--line-hover); }
.devlog-filter .devlog-filter-on {
  background: var(--accent-glow);
  border-color: var(--accent-line);
  color: var(--ink);
}
.devlog-count {
  font: 500 0.78rem/1 var(--mono);
  color: var(--ink-faint);
}

.devlog-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.devlog-topic {
  font: 500 0.7rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.2rem 0.5rem;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
}

/* ---- the game's mark ---- */

.game-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
}
.game-brand img { width: 32px; height: auto; flex: none; }
.game-brand .eyebrow { margin: 0; }
.game-brand b { color: var(--accent); font-weight: 500; }

.devlog-mark { width: 44px; height: auto; margin: 0.35rem 0 0.6rem; }

/* ---- a desktop screenshot, framed ----
   The game's shots sit in .phone frames. Bakehouse Collect runs in a
   browser, so its shots get a browser-shaped frame from the same
   materials: same border, same gradient, same shadow, squarer corners. */
.browser-shot { margin: 0; }
.browser {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 7px 7px;
  background:
    radial-gradient(circle at 14px 11px, #3a5a68 3px, transparent 3.5px),
    radial-gradient(circle at 26px 11px, #3a5a68 3px, transparent 3.5px),
    radial-gradient(circle at 38px 11px, #3a5a68 3px, transparent 3.5px),
    linear-gradient(170deg, #1b3947, #0e1e28);
  box-shadow: 0 26px 60px -30px rgba(0, 0, 0, 0.9);
  max-width: 440px;
  margin-inline: auto;
}
.browser img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.browser-shot figcaption {
  margin: 14px auto 0;
  max-width: 440px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

/* ---- two shots, one in front of the other ----
   The kitchen's view behind, the customer's in front and lower left: the
   same two sides of the product the section is describing. Offsets are
   percentages of the stack so the overlap holds at any column width. */
.browser-stack {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  padding-bottom: 22%;
}
.browser-stack .browser { max-width: none; margin: 0; }
.browser--back { width: 100%; }
.browser--front {
  position: absolute;
  width: 46%;
  left: -6%;
  bottom: 0;
}

/* One under the other on a phone. Overlapped at that width, the checkout
   would cover most of the kitchen view and both would be unreadable. */
@media (max-width: 540px) {
  .browser-stack { padding-bottom: 0; }
  /* Qualified by .browser-stack to outrank the margin: 0 above, which
     would otherwise pin it to the left edge. */
  .browser-stack .browser--front { position: static; width: 72%; margin: 14px auto 0; }

  /* The allergen strip is 1326px of table. Shrunk to a phone it is a
     quarter scale and unreadable, which defeats the point of showing it -
     so it keeps a readable size and scrolls sideways inside its frame. */
  .browser-shot--wide .browser { overflow-x: auto; }
  .browser-shot--wide .browser img { width: 760px; max-width: none; }
}

.browser-shot--wide { margin-top: 54px; }
.browser-shot--wide .browser,
.browser-shot--wide figcaption { max-width: 900px; }
