/* =========================================================
   PROMPT PAUSE WEBSITE — STYLES
   You normally don't need to touch this file.
   To change the colors, edit the values in the first block below.
   ========================================================= */

/* Layout: one narrow centered column, a slim top bar with the menu button,
   one "page" shown at a time. Black, white and light blue only. */
:root {
  --bg: #ffffff;          /* page background */
  --ink: #0b0b0c;         /* main text, borders */
  --muted: #4a5560;       /* softer text */
  --blue: #bfe4fa;        /* light blue: Try now box, highlights */
  --blue-line: #7cc3ec;   /* slightly deeper blue for lines and focus */
  --panel: #f3f9fd;       /* very light blue panels */
  --on-blue: #0b0b0c;     /* text on light blue */
  --logo-bg: transparent; /* tile behind the logo (white in dark mode so it stays visible) */

  --font-body: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  color-scheme: light;
}

/* Dark mode (follows the visitor's device setting) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0b0c;
    --ink: #f5f7f9;
    --muted: #a9b4be;
    --blue: #bfe4fa;
    --blue-line: #7cc3ec;
    --panel: #121a21;
    --on-blue: #0b0b0c;
    --logo-bg: #f5f7f9;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b0b0c;
  --ink: #f5f7f9;
  --muted: #a9b4be;
  --blue: #bfe4fa;
  --blue-line: #7cc3ec;
  --panel: #121a21;
  --on-blue: #0b0b0c;
  --logo-bg: #f5f7f9;
  color-scheme: dark;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img { max-width: 100%; }

a { color: inherit; text-decoration-color: var(--blue-line); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

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

/* ---------- Top bar ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}

.topbar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}

.topbar-inner,
.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand img { width: 32px; height: 32px; background: var(--logo-bg); border-radius: 6px; image-rendering: pixelated; image-rendering: crisp-edges; }

/* Sandwich (hamburger) button */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font: 600 0.8rem/1 var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-btn:hover { background: var(--panel); }
.bars { display: inline-grid; gap: 3px; }
.bars span { display: block; width: 16px; height: 2px; background: currentColor; transition: transform .2s; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.menu {
  border-top: 1px solid var(--ink);
  background: var(--bg);
}
.menu ul {
  list-style: none;
  margin: 0 auto;
  max-width: 46rem;
  padding-block: 0.5rem 1rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid;
}
.menu a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--panel);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.menu a small { font: 500 0.75rem var(--font-mono); color: var(--muted); letter-spacing: 0.04em; }
.menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--blue-line); text-decoration-thickness: 4px; }
.menu a:hover small { color: var(--ink); }

/* ---------- Pages ---------- */
main { padding-block: 3rem 4rem; }

.page { display: grid; gap: 1.5rem; }
.page > * { margin: 0; }

.eyebrow {
  font: 600 0.75rem/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 700; }
h2 { font-size: 1.45rem; font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }

.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
p { max-width: 38rem; }

/* ---------- Home ---------- */
.hero { display: grid; gap: 1.25rem; justify-items: start; }
.hero-logo { width: 96px; height: 96px; background: var(--logo-bg); border-radius: 16px; image-rendering: pixelated; image-rendering: crisp-edges; }

.try-box {
  display: grid;
  gap: 0.35rem;
  width: 100%;
  padding: 2rem 1.5rem;
  background: var(--blue);
  color: var(--on-blue);
  border: 2px solid var(--ink);
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.try-box:hover { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--ink); }
.try-box:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--ink); }
.try-box .big { font-size: clamp(2rem, 8vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.try-box .small { font: 500 0.8rem var(--font-mono); letter-spacing: 0.04em; }

/* Mac / iPhone / Firefox buttons under Try now */
.get-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.get-btn {
  display: grid; gap: 0.2rem; padding: 0.9rem 1rem; text-align: center; text-decoration: none;
  color: var(--ink); background: var(--bg); border: 1.5px solid var(--ink); border-radius: 12px;
}
.get-btn b { font-size: 1rem; }
.get-btn span { font: 500 0.72rem var(--font-mono); letter-spacing: 0.04em; color: var(--muted); }
.get-btn.ready { background: var(--panel); }
.get-btn.ready:hover { background: var(--blue); }
@media (max-width: 560px) { .get-more { grid-template-columns: 1fr; } }

/* Little "how it works" strip */
.how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 12px;
  overflow: hidden;
}
.how div { background: var(--bg); padding: 1rem; display: grid; gap: 0.35rem; align-content: start; }
.how b { font-size: 1rem; }
.how span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.key {
  display: inline-block;
  font: 600 0.75rem/1 var(--font-mono);
  border: 1px solid var(--ink);
  border-bottom-width: 3px;
  border-radius: 6px;
  padding: 0.3rem 0.5rem;
  justify-self: start;
}
.key.off { text-decoration: line-through; text-decoration-color: var(--blue-line); text-decoration-thickness: 2px; }

/* Try-it demo */
.demo {
  border: 1px solid var(--ink);
  border-radius: 12px;
  padding: 1rem;
  background: var(--panel);
  display: grid;
  gap: 0.75rem;
}
.demo label { font: 600 0.75rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.demo textarea {
  width: 100%;
  min-height: 5.5rem;
  resize: vertical;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
}
.demo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.demo-status { font: 500 0.85rem var(--font-mono); color: var(--muted); min-width: 0; }
.send-btn {
  font: 600 0.95rem var(--font-body);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--blue);
  color: var(--on-blue);
  cursor: pointer;
}
.send-btn:disabled { background: transparent; color: var(--muted); border-color: var(--muted); border-style: dashed; cursor: not-allowed; }

/* ---------- Text pages ---------- */
.points { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.points > div { display: grid; gap: 0.35rem; padding-block: 1.1rem; border-bottom: 1px solid var(--ink); }
.points p { color: var(--muted); margin: 0; }

.note {
  background: var(--panel);
  border: 1px solid var(--blue-line);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  display: grid;
  gap: 0.5rem;
}
.note > * { margin: 0; }
.note ol, .note ul { padding-left: 1.2rem; display: grid; gap: 0.35rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0; list-style: none; }
.tags li { font: 500 0.8rem var(--font-mono); border: 1px solid var(--ink); border-radius: 999px; padding: 0.25rem 0.65rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--ink); }
footer .wrap {
  padding-block: 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  font: 500 0.8rem var(--font-mono);
  color: var(--muted);
}

/* ---------- Phones ---------- */
@media (max-width: 560px) {
  main { padding-block: 2rem 3rem; }
  .how { grid-template-columns: 1fr; }
  .try-box { padding: 1.6rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* =========================================================
   POLISHED LOOK (added 2026-11-09 to match the new store pictures)
   Softer grey lines, soft shadows, one clean font, new logo.
   To go back to the old look, delete everything below this box.
   ========================================================= */
:root {
  --font-body: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --line: #e4e7ec;      /* soft grey lines */
  --logo-bg: transparent;
  --soft-shadow: 0 1px 2px rgba(16,24,40,.06), 0 18px 40px -14px rgba(16,24,40,.22);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --line: #2a2d33; --logo-bg: transparent; } }
:root[data-theme="dark"] { --line: #2a2d33; --logo-bg: transparent; }

.brand img, .hero-logo { image-rendering: auto; border-radius: 0; background: none; }
.hero-logo { width: 112px; height: 112px; }
h1, h2 { letter-spacing: -0.025em; }

.try-box {
  border: 1px solid var(--blue-line);
  background: linear-gradient(160deg, #eaf5fd, var(--blue));
  color: #0b0b0c;
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}
.try-box:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 24px 48px -14px rgba(16,24,40,.28); }
.try-box:active { transform: translateY(0); box-shadow: var(--soft-shadow); }

.get-btn { border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.get-btn:hover { border-color: var(--blue-line); }
.topbar, header { border-bottom-color: var(--line); }
footer { border-top-color: var(--line); }
.send-btn:disabled { border: 1px solid var(--line); border-style: solid; background: var(--line); color: var(--muted); }
.menu-btn, .menu { border-color: var(--line); }
.how { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--line); box-shadow: 0 1px 2px rgba(16,24,40,.05); }
.key { border: 1px solid var(--line); box-shadow: none; border-radius: 7px; font-weight: 500; }
.demo { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--soft-shadow); }
.demo textarea { border: 1px solid var(--line); border-radius: 12px; }
.demo label { letter-spacing: 0.04em; }
.send-btn { border-radius: 999px; }
.points { border-top-color: var(--line); }
.points > div { border-bottom-color: var(--line); }
.tags li { border-color: var(--line); }
