/* What every media image shares: the wallet's dark theme, its tokens and Inter
   (extension/src/ui/styles.css), at X's 16:9, 1600×900, rendered at 2×. */

@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  src: url(../extension/public/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;
}

@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  src: url(../extension/public/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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0f141d;
  --teal: #00c4bc;
  --teal-soft: rgb(0 196 188 / 0.12);
  --teal-line: rgb(0 196 188 / 0.55);
  --navy: #011833;
  --text: #ffffff;
  --muted: #9ba3b1;
  --surface: rgb(255 255 255 / 0.05);
  --border: rgb(255 255 255 / 0.14);
  --border-strong: rgb(255 255 255 / 0.28);
  /* Lovejoin's own amber (its mark's dot), not the wallet's warning colour. */
  --amber: #f5b200;
  --amber-soft: rgb(245 178 0 / 0.1);
  --warn: #f2b84b;
  --warn-soft: rgb(242 184 75 / 0.1);
  --danger-text: #ff7a9a;
  --danger-soft: rgb(224 30 90 / 0.12);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; }
html, body { width: 1600px; height: 900px; }
body {
  position: relative;
  overflow: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 8% 0%, rgb(0 196 188 / 0.13), transparent 70%),
    radial-gradient(700px 500px at 100% 100%, rgb(245 178 0 / 0.06), transparent 70%),
    var(--bg);
}

/* The header: an optional kicker, the title and a line under it. */
header { position: absolute; top: 56px; left: 72px; right: 380px; }
.kicker { margin-bottom: 14px; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
h1 { font-size: 76px; font-weight: 800; letter-spacing: -0.025em; line-height: 1; }
.sub { margin-top: 20px; font-size: 32px; font-weight: 500; color: var(--muted); }
.wordmark { position: absolute; top: 60px; right: 72px; height: 52px; }

/* A stop in a flow: an icon, a name and a line or two. */
.card {
  position: absolute; height: 160px;
  display: flex; align-items: center; gap: 20px;
  padding: 0 26px;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  border-radius: 24px;
}
.card .icon { flex: none; width: 60px; height: 60px; display: grid; place-items: center; }
.card .icon img, .card .icon svg { width: 60px; height: 60px; }
.card h2 { font-size: 31px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.card p { margin-top: 6px; font-size: 22px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.card.private { border-color: var(--teal); background: var(--teal-soft); }
.card.private h2 { color: var(--teal); }
.card.dapp { border-style: dashed; background: transparent; }
.card.lovejoin { border-color: var(--amber); background: var(--amber-soft); }
.card.lovejoin h2 { color: var(--amber); }

/* Arrows, and the numbered steps on them. */
svg.flow { position: absolute; inset: 0; width: 1600px; height: 900px; overflow: visible; }
.flow path.line { fill: none; stroke: var(--teal-line); stroke-width: 4; stroke-linecap: round; }
.flow path.line.muted { stroke: var(--border-strong); }
.flow path.line.dashed { stroke-dasharray: 2 12; }
.badge circle { fill: var(--teal); }
.badge text { fill: var(--navy); font: 800 22px "Inter"; text-anchor: middle; dominant-baseline: central; }
.label { fill: var(--text); font: 650 26px "Inter"; }
.label.small { fill: var(--muted); font: 550 22px "Inter"; }

/* A list of ticks (or crosses, or warnings). */
.points { list-style: none; padding: 0; display: grid; gap: 18px; }
.points li { display: flex; gap: 14px; align-items: flex-start; font-size: 24px; font-weight: 550; line-height: 1.3; }
.points li > svg { flex: none; width: 30px; height: 30px; margin-top: 1px; }

.mono { font-family: var(--mono); }
