/* Souffleur — site styles.
   The palette is the app's own: cold graphite glass, with a single warm stage
   light. Colour appears where light would fall on a stage and nowhere else. */

:root {
  --ink:        #eef1f6;
  --ink-dim:    #9aa4b4;
  --ink-faint:  #737d8d;   /* 4.58:1 on --ground; #626c7c was 3.59:1 */
  --ground:     #0d1016;
  --ground-2:   #12161e;
  --rule:       rgba(255, 255, 255, 0.08);
  --rule-2:     rgba(255, 255, 255, 0.16);
  --gold:       #f2c878;
  --gold-dim:   rgba(242, 200, 120, 0.14);

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Instrument Sans', ui-sans-serif, -apple-system, 'Segoe UI', system-ui, sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

/* ---------------------------------- nav ---------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(14px);
  background: rgba(13, 16, 22, 0.72);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
/* The mark, matching the app icon exactly: a closed dome with the prompter's
   light inside it, set into the front of a stage. Drawn as SVG rather than
   borders so the glow follows the shape and the two never drift apart. */
.mark {
  width: 30px;
  height: 21px;
  flex: none;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(242, 200, 120, 0.45));
}
/* Sized so the details survive at 1x. At 23px wide the light slot rendered
   under two pixels tall and disappeared, leaving what looked like a bare arc. */
.mark-dome  { fill: none; stroke: var(--gold); stroke-width: 2.2; }
.mark-slot  { fill: var(--gold); }
.mark-stage { stroke: rgba(255, 255, 255, 0.42); stroke-width: 1.5; }

.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav-links a { color: var(--ink-dim); text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ground) !important;
  background: var(--gold);
  padding: 7px 15px;
  border-radius: 7px;
  font-weight: 600;
}
.nav-cta:hover { background: #f7d79a; }

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

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.hero-copy { max-width: 620px; }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
h1 em {
  font-style: italic;
  color: var(--gold);
}

.lede {
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-dim);
  max-width: 56ch;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--rule-2);
  border-radius: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: background 140ms ease, border-color 140ms ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--ink-faint); }
.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ground);
  font-weight: 600;
}
.btn-primary:hover { background: #f7d79a; border-color: #f7d79a; }

.fine { margin-top: 16px; font-size: 13px; color: var(--ink-faint); }

/* ------------------------------- the stage -------------------------------
   Two screens in real perspective. CSS 3D rather than WebGL, so the text
   inside them stays crisp and selectable and the page costs nothing to load. */

.stage {
  position: relative;
  margin-top: 70px;
  perspective: 1700px;
  perspective-origin: 50% 40%;
}

.stage-light {
  position: absolute;
  inset: -18% 0 auto;
  height: 420px;
  background: radial-gradient(ellipse 60% 100% at 50% 0%,
              rgba(242, 200, 120, 0.14), transparent 70%);
  pointer-events: none;
}

.rig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 4vw, 54px);
  transform-style: preserve-3d;
  transition: transform 400ms cubic-bezier(.2, .7, .3, 1);
}

.screen {
  transform-style: preserve-3d;
  animation: rise 900ms cubic-bezier(.2, .8, .25, 1) backwards;
}
.screen-you   { transform: rotateY(9deg)  rotateX(4deg) translateZ(34px); }
.screen-them  { transform: rotateY(-9deg) rotateX(4deg) translateZ(-14px); animation-delay: 120ms; }

@keyframes rise {
  from { opacity: 0; transform: translateY(26px) rotateX(12deg); }
}

.screen figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

.pip {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-faint);
  flex: none;
}
.pip-live { background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.pip-rec  { background: #e2564d; }

.glass {
  position: relative;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background:
    linear-gradient(160deg, rgba(255,255,255,0.05), rgba(255,255,255,0)) ,
    var(--ground-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  padding: 18px;
}

.code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: clamp(9px, 1.15vw, 13px);
  line-height: 1.75;
  color: #8892a4;
  white-space: nowrap;
}
.c-kw { color: #b79be0; }
.c-fn { color: #77b7f0; }

/* The overlay, sitting proud of the screen it floats over. */
.overlay {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 68%;
  transform: translateZ(46px);
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  padding: 10px 11px;
  background: rgba(18, 22, 30, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 46px -14px rgba(0, 0, 0, 0.95);
  font-size: clamp(8px, 1.05vw, 12px);
  line-height: 1.5;
  animation: fadeUp 700ms 700ms cubic-bezier(.2,.8,.25,1) backwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateZ(46px) translateY(10px); }
}
.overlay-bar {
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 7px; margin-bottom: 7px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-faint);
  font-size: 0.85em;
}
.overlay-bar .pip { background: var(--gold); }
.overlay-heard {
  color: var(--ink-faint);
  border-left: 2px dotted var(--rule-2);
  padding-left: 7px;
  margin-bottom: 6px;
}
.overlay-answer { color: var(--ink); }

/* The right-hand screen's whole point is what is missing from it. */
.absent {
  position: absolute;
  right: 5%; bottom: 8%;
  width: 68%;
  aspect-ratio: 5 / 2;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.16);
  font-size: clamp(8px, 1vw, 11px);
  letter-spacing: 0.04em;
}

/* -------------------------------- proof ---------------------------------- */

.proof {
  max-width: var(--max);
  margin: 130px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.proof-copy p { color: var(--ink-dim); margin-bottom: 14px; max-width: 54ch; }
.proof-copy em { color: var(--ink); font-style: normal; }
.proof-copy code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.9em;
  background: rgba(255,255,255,0.06);
  padding: 1px 5px;
  border-radius: 4px;
}

.proof-data { border-top: 1px solid var(--rule); }
.metric {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label value" "note value";
  align-items: center;
  gap: 0 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--rule);
}
.metric-label { grid-area: label; font-size: 14px; }
.metric-note  { grid-area: note; font-size: 12px; color: var(--ink-faint); }
.metric-value {
  grid-area: value;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink-faint);
}
.metric-value .unit { font-size: 0.5em; }
.metric.is-zero .metric-value { color: var(--gold); }

.proof-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-dim);
}
.proof-link:hover { color: var(--gold); }

/* ------------------------------- features -------------------------------- */

.features {
  max-width: var(--max);
  margin: 120px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 34px 44px;
}
.features h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--rule-2);
}
.features p { color: var(--ink-dim); font-size: 14.5px; }

/* ------------------------------- download -------------------------------- */

.download {
  max-width: var(--max);
  margin: 130px auto 0;
  padding: 0 24px;
}
/* macOS is a pair of commands, Windows is one file. Stacked rather than side
   by side: in two columns the Windows card was squeezed into a narrow strip
   with its text wrapping every few words, while the macOS commands needed the
   full width to stay on one line. */
.dl-split {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.dl-mac {
  padding: 20px;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(242, 200, 120, 0.06), transparent);
}
.dl-head { font-size: 17px; font-weight: 600; margin-bottom: 12px; }

.step { display: flex; gap: 12px; margin-bottom: 16px; }
.step-n {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid var(--rule-2);
  display: grid; place-items: center;
  font-size: 11px;
  color: var(--ink-dim);
  margin-top: 3px;
}
.step-body { flex: 1; min-width: 0; }
.step-title {
  font-size: 13px;
  color: var(--ink-dim);
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}
.step-link { font-size: 11px; color: var(--ink-faint); }
.step-link:hover { color: var(--gold); }

.cmd {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  appearance: none;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--rule);
  border-radius: 9px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
}
.cmd:hover { border-color: var(--rule-2); }
.cmd code {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: clamp(10px, 1.2vw, 13px);
  white-space: nowrap;
  overflow-x: auto;
  color: var(--ink);
  scrollbar-width: none;
}
.cmd code::-webkit-scrollbar { display: none; }
.cmd-copy {
  flex: none;
  font-size: 11px;
  color: var(--gold);
  border: 1px solid rgba(242, 200, 120, 0.35);
  border-radius: 5px;
  padding: 3px 8px;
}
.dl-why { font-size: 13px; color: var(--ink-dim); margin-top: 14px; }
.dl-alt { font-size: 12px; color: var(--ink-faint); margin-top: 10px; }
.dl-alt a { color: var(--ink-dim); }

.dl-win {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  align-items: center;
  padding: 18px 20px;
}
.win-main { display: grid; gap: 3px; }
.win-cta {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  background: var(--gold);
  color: var(--ground);
  font-weight: 600;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
}
.dl-win:hover .win-cta { background: #f7d79a; }
.dl-why-win {
  grid-column: 1;
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 7px;
  max-width: 70ch;
}
.dl-why-win strong { color: var(--ink-dim); font-weight: 600; }

@media (max-width: 620px) {
  .dl-win { grid-template-columns: 1fr; }
  .win-cta { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.dl {
  display: grid;
  gap: 3px;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  text-decoration: none;
  background: var(--ground-2);
  transition: border-color 140ms ease, transform 140ms ease;
}
.dl:hover { border-color: var(--rule-2); transform: translateY(-2px); }
.dl.is-yours { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-dim); }
.dl-os { font-size: 17px; font-weight: 600; }
.dl-arch { font-size: 14px; color: var(--ink-dim); }
.dl-meta { font-size: 12px; color: var(--ink-faint); margin-top: 4px; }

.notices {
  margin-top: 30px;
  display: grid;
  gap: 12px;
  max-width: 66ch;
}
.notices p {
  font-size: 13.5px;
  color: var(--ink-dim);
  border-left: 2px solid var(--rule-2);
  padding-left: 13px;
}
.notices strong { color: var(--ink); font-weight: 600; }

/* --------------------------------- foot ---------------------------------- */

.foot {
  max-width: var(--max);
  margin: 130px auto 0;
  padding: 26px 24px 50px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  font-size: 13px;
  color: var(--ink-faint);
}
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--ink-dim); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot .fine { margin: 0; flex-basis: 100%; }

/* --------------------------------- docs ---------------------------------- */

.docs {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 90px;
}
.docs h1 {
  font-size: clamp(34px, 5vw, 50px);
  margin-bottom: 10px;
}
.docs > p.lede { margin-bottom: 46px; }
.docs h2 {
  font-size: clamp(24px, 3vw, 31px);
  margin: 52px 0 14px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.docs h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 26px 0 7px;
}
.docs p, .docs li { color: var(--ink-dim); }
.docs p { margin-bottom: 13px; }
.docs ul, .docs ol { margin: 0 0 15px 20px; }
.docs li { margin-bottom: 6px; }
.docs strong { color: var(--ink); font-weight: 600; }
.docs a { color: var(--gold); }

.docs code, kbd {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--rule);
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--ink);
  white-space: nowrap;
}
.docs pre {
  background: var(--ground-2);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 15px 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.docs pre code { background: none; border: 0; padding: 0; white-space: pre; }

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14.5px;
}
th, td {
  text-align: left;
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
th { color: var(--ink-faint); font-weight: 500; font-size: 12px; letter-spacing: 0.03em; }
td { color: var(--ink-dim); }
td:first-child { white-space: nowrap; width: 1%; padding-right: 22px; }

.callout {
  border: 1px solid var(--rule-2);
  border-left: 2px solid var(--gold);
  border-radius: 0 9px 9px 0;
  padding: 14px 16px;
  margin: 20px 0;
  background: rgba(242, 200, 120, 0.04);
}
.callout p:last-child { margin-bottom: 0; }

/* ------------------------------ responsive ------------------------------- */

@media (max-width: 860px) {
  .proof { grid-template-columns: 1fr; }
  .rig { grid-template-columns: 1fr; gap: 40px; }
  .screen-you, .screen-them { transform: none; }
  .stage { perspective: none; }
  .overlay, .absent { position: absolute; }
}
@media (max-width: 620px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { padding-top: 34px; }
  .code { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .screen, .overlay { animation: none; }
  .rig { transition: none; }
}

/* --------------------------------- SEO pages ------------------------------ */

/* Breadcrumbs. Small, quiet, and matched by BreadcrumbList structured data —
   Google wants the trail it renders in a result to exist on the page too. */
.crumbs {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 18px;
  display: flex;
  gap: 8px;
}
.crumbs a { color: var(--ink-dim); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

.inline-link { color: var(--ink-dim); text-decoration: none; white-space: nowrap; }
.inline-link:hover { color: var(--gold); }

/* The features grid gained a heading, so the section has a real hierarchy
   instead of four orphaned h3s. It spans the grid rather than joining it. */
.section-h {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

/* ------------------------------------ FAQ --------------------------------- */

.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 84px 32px;
  border-top: 1px solid var(--rule);
}
.faq h2 { margin-bottom: 26px; }

.qa {
  border-bottom: 1px solid var(--rule);
}
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 34px 17px 0;
  font-size: 16.5px;
  font-weight: 500;
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 15px;
  font-size: 19px;
  color: var(--ink-faint);
  transition: transform 160ms ease, color 160ms ease;
}
.qa[open] summary::after { transform: rotate(45deg); color: var(--gold); }
.qa summary:hover { color: var(--gold); }
.qa p {
  color: var(--ink-dim);
  font-size: 15px;
  max-width: 78ch;
  padding: 0 34px 20px 0;
}
.qa a { color: var(--gold); text-decoration: none; }
.qa a:hover { text-decoration: underline; }

/* ------------------------------- comparison ------------------------------- */

/* Wide on purpose: three columns of prose do not fold well, so on a narrow
   screen the table scrolls sideways inside its own box rather than forcing
   the page to. */
.cmp-wrap { overflow-x: auto; margin-bottom: 8px; }
.cmp { min-width: 660px; }
.cmp th { padding-right: 22px; }
.cmp th:nth-child(2) { color: var(--gold); font-size: 13px; }
.cmp th:nth-child(3) { color: var(--ink-dim); font-size: 13px; }
.cmp td { width: auto; white-space: normal; }
.cmp td:nth-child(2), .cmp td:nth-child(3) { width: 34%; }
.cmp td.yes { color: var(--ink); }
.cmp td.yes::before { content: '✓ '; color: var(--gold); }
.cmp td.no::before  { content: '✕ '; color: var(--ink-faint); }

@media (max-width: 620px) {
  .faq { padding: 60px 22px; }
}

/* Row headers in the comparison table are content, not the small grey column
   labels the global `th` rule is written for. They are `th` so that a screen
   reader announces what each "Yes" refers to. */
.cmp th[scope="row"] {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  width: 22%;
  min-width: 165px;
  padding-right: 26px;
}

/* Visually hidden, still read aloud — for the empty corner cell of a table
   that needs a header there for structure but has nothing to show. */
.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ------------------------------ sign-up + report -------------------------- */

/* The account and report blocks are toggled with the `hidden` attribute, and
   several of them are flex containers — whose `display` would otherwise win.
   Without this line a "hidden" row is fully visible. */
[hidden] { display: none !important; }

.account {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 14px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--ground-2);
}
.acct-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.acct-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.acct-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: none;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
}

.acct-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-copy strong {
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.acct-copy span { font-size: 13px; color: var(--ink-faint); }

.acct-actions { display: flex; gap: 8px; flex: none; }

.acct-note {
  font-size: 13px;
  color: #f0a6a6;
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}

.btn-small { padding: 8px 15px; font-size: 13.5px; }

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  background: #fff;
  border-color: #fff;
  color: #1f2328;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}
.btn-google:hover:not(:disabled) { background: #eceef1; border-color: #eceef1; }
.btn-google:disabled { opacity: 0.6; cursor: default; }
.g-mark { flex: none; }

/* --------------------------------- report --------------------------------- */

.report {
  max-width: var(--max);
  margin: 90px auto 0;
  padding: 0 24px;
}
.rep-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.rep-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 10px;
  margin-top: 24px;
}
.rep-card {
  padding: 16px 18px;
  border: 1px solid var(--rule-2);
  border-radius: 10px;
  background: var(--ground-2);
}
.rep-n {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
  color: var(--gold);
}
.rep-l { margin-top: 4px; font-size: 12.5px; color: var(--ink-faint); }

.rep-status { margin-top: 18px; font-size: 13.5px; color: var(--ink-dim); }

/* The table is the one thing here that cannot always fit, so it scrolls inside
   its own box rather than pushing the page sideways. */
.rep-wrap { margin-top: 12px; overflow-x: auto; }

.rep-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  white-space: nowrap;
}
.rep-table th {
  text-align: left;
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--rule-2);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.rep-table td {
  padding: 11px 16px 11px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-dim);
}
.rep-table td:first-child { color: var(--ink); }

@media (max-width: 620px) {
  .report { padding: 0 22px; }
  .acct-row { align-items: flex-start; }
  .btn-google { width: 100%; justify-content: center; }
}

/* ------------------------------- navbar auth ------------------------------ */

.nav-auth { display: flex; align-items: center; gap: 10px; }

.nav-signup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid #fff;
  border-radius: 7px;
  background: #fff;
  color: #1f2328;
  font: 600 14px/1 var(--sans);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease;
}
.nav-signup:hover:not(:disabled) { background: #eceef1; border-color: #eceef1; }
.nav-signup:disabled { opacity: 0.55; cursor: default; }

.nav-user { position: relative; display: flex; align-items: center; }

/* The account, reduced to one letter in a circle. A letter is always available,
   never fails to load, and costs no request to a Google photo CDN. */
.avatar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--rule-2);
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font: 600 14px/1 var(--sans);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease;
}
.avatar-btn:hover { border-color: var(--gold); background: rgba(242, 200, 120, 0.22); }

.profile-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;          /* the nav itself is 40 */
  min-width: 240px;
  /* Without a cap the card grows to whatever a long address measures, and on a
     narrow screen it hangs off the left edge. The cap is what makes the
     ellipsis below do anything at all. */
  max-width: min(300px, calc(100vw - 28px));
  padding: 6px;
  border: 1px solid var(--rule-2);
  border-radius: 12px;
  background: var(--ground-2);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}
.pop-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 11px 13px;
  border-bottom: 1px solid var(--rule);
}
.pop-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}
/* Long names and addresses get an ellipsis rather than widening the card. */
.pop-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pop-id strong,
.pop-id span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pop-id strong { font-size: 14px; font-weight: 600; }
.pop-id span { font-size: 12.5px; color: var(--ink-faint); }

.pop-actions { display: flex; flex-direction: column; padding-top: 6px; }
.pop-item {
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink-dim);
  font: 500 13.5px/1 var(--sans);
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}
.pop-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }

/* The bar carries a lot at the small end: logo, Download, and now the account.
   The label goes first — the Google mark still says what the button is — then
   the name, which is the least load-bearing thing there. */
@media (max-width: 620px) {
  .nav-links { gap: 12px; }
  .nav-signup { padding: 7px 10px; }
  .nav-signup-label { display: none; }
}
