/* PinPoint's web pages (support and privacy): the app's mint page, navy ink, rounded
   type and raised white cards (a solid underside, as the app's tactile surfaces).
   Light only, as the app. No outside requests: system fonts, local images.
   The same file is in support/ and pinpoint-privacy/public/: change both. */

:root {
  --page: #EEF8F1;
  --mint: #DAF1DF;
  --mint-depth: #B4D6BA;
  --card: #FFFFFF;
  --depth: #D3E3D9;
  --divider: #E3EEE6;
  --ink: #23374A;
  --body: #4A5A66;
  --muted: #586B77;
  --eyebrow: #537766;
  --accent: #1F6F58;
  --button: #237E64;
  --button-depth: #1A5E4A;
  --edge: #8FA39A;
  --pro: #E8DCFF;
  --pro-depth: #C6B2E7;
  --pro-ink: #4E3D80;
  --focus: #2E5B9A;
  --rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font: 400 1rem/1.6 var(--text);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:focus-visible,
summary:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 1;
  background: var(--card);
  padding: 8px 12px;
}

/* Header: the light mint wash of the app's lobby. */
.top {
  background: linear-gradient(180deg, var(--mint) 0%, var(--page) 100%);
  padding: 40px 16px 28px;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 22.5%;
  box-shadow: 0 2px 0 var(--depth);
}

.brand span {
  font: 800 1.25rem/1 var(--rounded);
  letter-spacing: -0.01em;
}

h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font: 900 clamp(2rem, 7vw, 2.75rem)/1.05 var(--rounded);
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.0625rem;
}

main {
  padding: 8px 16px 48px;
}

/* A raised card: white face, solid underside. */
.card {
  background: var(--card);
  border-radius: 18px;
  box-shadow: 0 3px 0 var(--depth);
  padding: 22px 22px 20px;
  margin: 0 0 18px;
}

/* The summary: the app's Practice mint. */
.card.mint {
  background: var(--mint);
  box-shadow: 0 3px 0 var(--mint-depth);
}

/* PinPoint Pro: the app's Pro lilac. */
.card.pro {
  background: var(--pro);
  box-shadow: 0 3px 0 var(--pro-depth);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--eyebrow);
  font: 800 0.75rem/1.2 var(--rounded);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pro .eyebrow { color: var(--pro-ink); }

h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font: 800 1.3125rem/1.25 var(--rounded);
  letter-spacing: -0.01em;
}

h3 {
  margin: 20px 0 6px;
  color: var(--ink);
  font: 800 1.0625rem/1.3 var(--rounded);
}

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

ul:last-child { margin-bottom: 0; }

li {
  position: relative;
  padding-left: 20px;
  margin: 0 0 8px;
}

li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--button);
}

.pro li::before { background: var(--pro-ink); }

strong { color: var(--ink); font-weight: 650; }

/* Contents: two columns when there is room. */
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2 15rem;
  column-gap: 24px;
}

.toc li {
  padding-left: 0;
  break-inside: avoid;
}

.toc li::before { content: none; }

.toc .num {
  display: inline-block;
  min-width: 1.8em;
  color: var(--eyebrow);
  font: 800 0.8125rem var(--rounded);
}

/* Questions and answers: the native disclosure, so it works with every input. */
details {
  border-top: 1px solid var(--divider);
  padding: 2px 0;
}

details:first-of-type { border-top: 0; }

summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 28px 12px 0;
  position: relative;
  color: var(--ink);
  font: 700 1rem/1.4 var(--rounded);
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
}

details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }

details > :not(summary) { margin: 0 0 14px; }

/* The one call to action: PinPoint's deep mint button with its underside. */
.button {
  display: inline-block;
  margin-top: 4px;
  padding: 13px 22px;
  border-radius: 14px;
  background: var(--button);
  box-shadow: 0 3px 0 var(--button-depth);
  color: #FFFFFF;
  font: 800 1rem/1.2 var(--rounded);
  text-decoration: none;
}

.button:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--button-depth); }

.address { margin-top: 12px; }

footer {
  padding: 8px 16px 40px;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

footer nav { margin-bottom: 8px; }

footer nav a { margin: 0 8px; }

@media (prefers-contrast: more) {
  .card { box-shadow: none; border: 1px solid var(--edge); }
  .card.mint { border-color: var(--eyebrow); }
  .card.pro { border-color: var(--pro-ink); }
  body, .lede { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  .button:active { transform: none; }
}
