/*
 * Park My Brain coming-soon page. Static, no scripts. Dark always: the product's own principle is a
 * low-stimulation screen you can look at in the middle of the night, so there is no light theme.
 * Navy page, soft off-white ink, one dim amber accent (the label, the button, the mark). No
 * gradients, no glow, and no motion anywhere, so reduced motion has nothing to stop.
 * Inter is self-hosted (fonts/OFL.txt).
 */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0f1420;
  --surface: #151b29;
  --ink: #e6e9f0;
  --muted: #a9b1c2;
  --accent: #f0b86a;
  --accent-strong: #f6cb8f;
  --on-accent: #0f1420;
  --line: #273044;
  --gutter: 16px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: break-word;
}

.wrap {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  margin: 0;
}

/* Header */

.site-header {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.wordmark:hover {
  color: var(--ink);
}

.mark {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--accent);
}

.soon-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem);
}

.lede {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.25rem;
}

/* What it will do */

.plans {
  padding-bottom: 3.5rem;
}

h2 {
  font-size: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.card strong {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--ink);
}

/* The promise, set apart */

.promise-row {
  padding-bottom: 3.5rem;
}

.promise {
  max-width: 34rem;
  margin: 0 auto;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.375rem;
  line-height: 1.5;
  text-align: center;
}

/* Coming soon */

.soon {
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.soon p {
  max-width: 40rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.soon .actions {
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.8125rem 1.375rem;
  background: var(--accent);
  border-radius: 10px;
  color: var(--on-accent);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-strong);
  color: var(--on-accent);
}

/* Footer */

.site-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer p + p {
  margin-top: 0.5rem;
}

/* Page not found */

.not-found .actions {
  margin-top: 2rem;
}

/* Wider screens */

@media (min-width: 40rem) {
  :root {
    --gutter: 24px;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 4.5rem;
  }

  .soon {
    padding: 2.5rem;
  }
}

@media (min-width: 52rem) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
