:root {
  color-scheme: light;
  --ink: #0b1220;
  --text: #1a1a1a;
  --muted: #6b7280;
  --surface: #ffffff;
  --surface-soft: #f6f7f9;
  --surface-selected: #eef3f8;
  --line: #eeeeee;
  --brand: #2f6fd6;
  --brand-strong: #1e4e9d;
  --brand-soft: #eef3f8;
  --brand-tint: #f6f9ff;
  --accent: #2f6fd6;
  --pin-food: #f07c24;
  --pin-shopping: #c69214;
  --pin-collect: #16a34a;
  --pin-report: #c2413a;
  --pin-place: #8b3ed4;
  --shadow: 0 8px 28px rgba(11, 18, 32, 0.07);
  --radius: 14px;
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--brand-strong);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.13em;
}

a:focus-visible,
button:focus-visible {
  border-radius: 5px;
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: cover;
}

span.brand {
  cursor: default;
}

.brand-wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.24rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a,
.nav-links span[aria-current="page"] {
  display: inline-flex;
  min-height: 44px;
  padding: 9px 12px;
  align-items: center;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--surface-selected);
  color: var(--ink);
}

.nav-links a[aria-current="page"],
.nav-links span[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--ink);
}

.page-shell {
  padding-block: 0 80px;
}

.hero {
  display: grid;
  min-height: 560px;
  padding-block: 74px 82px;
  align-items: center;
  gap: 48px;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.72;
  content: "";
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--ink);
  line-height: 1.14;
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 6vw, 4.7rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 3.6vw, 2.7rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
  letter-spacing: -0.015em;
}

p {
  margin-top: 0;
}

.lede {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 11px 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 5px 14px rgba(47, 111, 214, 0.18);
}

.button-web-app {
  max-width: 100%;
  gap: 10px;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(47, 111, 214, 0.12);
}

.button-web-app-arrow {
  flex: 0 0 auto;
  font: 400 1rem/1 Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

.button:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.button-web-app:hover {
  border-color: var(--brand-strong);
  background: var(--brand-strong);
  transform: none;
}

.button-web-app:active {
  box-shadow: none;
}

.hero-panel,
.card,
.notice,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 28px;
  border-radius: 18px;
}

.hero-panel .panel-title {
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 800;
}

.fact-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 14px;
  list-style: none;
}

.fact-list li {
  display: grid;
  align-items: start;
  gap: 11px;
  grid-template-columns: 24px 1fr;
}

.fact-list li::before {
  display: grid;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.section {
  padding-block: 64px;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 700px;
  margin-bottom: 32px;
  color: var(--muted);
}

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 26px;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(11, 18, 32, 0.05);
}

.card p:last-child {
  margin-bottom: 0;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-split {
  display: grid;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
  gap: 36px;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
}

.feature-split p:last-child {
  margin-bottom: 0;
}

.limits {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.limits li {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.limits strong {
  display: block;
  color: var(--brand-strong);
  font-size: 1.06rem;
}

.legal-header {
  max-width: 800px;
  padding: 48px 0 38px;
}

.legal-header h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

.effective-date {
  color: var(--muted);
  font-weight: 700;
}

.legal-layout {
  display: grid;
  align-items: start;
  gap: 32px;
  grid-template-columns: 240px minmax(0, 1fr);
}

.toc {
  position: sticky;
  top: 104px;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
}

.toc p {
  margin-bottom: 9px;
  font-weight: 800;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc a {
  display: inline-block;
  padding-block: 3px;
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
  border-radius: 16px;
}

.prose section + section {
  margin-top: 44px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  scroll-margin-top: 100px;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.prose h3 {
  margin-top: 28px;
}

.prose p,
.prose li {
  max-width: 76ch;
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.prose li + li {
  margin-top: 9px;
}

.notice {
  margin-block: 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--brand);
  border-radius: 10px 16px 16px 10px;
  box-shadow: none;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.support-grid {
  display: grid;
  margin-top: 32px;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-grid .card {
  box-shadow: none;
}

.contact-card {
  display: grid;
  margin-block: 10px 44px;
  padding: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  background: var(--surface-soft);
  gap: 20px;
  grid-template-columns: 1fr auto;
}

.contact-card p {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.breadcrumb {
  display: flex;
  margin: 0 0 clamp(18px, 2vw, 28px);
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: clamp(0.78rem, 1.3vw, 0.9rem);
  list-style: none;
}

.breadcrumb li + li::before {
  margin-right: 8px;
  color: #8b98aa;
  content: "/";
}

.hero-authority {
  display: grid;
  min-height: 0;
  padding-block: clamp(38px, 5.5vw, 72px) clamp(52px, 7vw, 88px);
  align-items: start;
  gap: clamp(36px, 6vw, 76px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
}

.hero-copy {
  min-width: 0;
}

.hero-brand-row {
  display: grid;
  margin-bottom: clamp(22px, 3vw, 34px);
  align-items: start;
  grid-template-columns: 190px minmax(0, 1fr);
}

.hero-brand-row .button-web-app {
  justify-self: center;
}

.hero-brand-lockup {
  position: relative;
  display: inline-flex;
  width: 190px;
  align-items: center;
  color: var(--ink);
  flex-direction: column;
  text-align: center;
  text-decoration: none;
}

.hero-brand-lockup-link {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.hero-brand-mark {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: cover;
}

.hero-brand-wordmark {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.625rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  /* Keep the approved brand stack and CTA positions while refining the glyph. */
  line-height: 1.8rem;
}

.hero-brand-signal {
  display: flex;
  height: 22px;
  margin-top: 6px;
  align-items: center;
  justify-content: center;
}

/* Keep the app's bar geometry; continuous fades avoid stacked subpixel edges. */
.brand-signal-fade {
  width: 48px;
  height: 2px;
  border-radius: 1px;
  opacity: 0.5;
}

.brand-signal-fade-left {
  margin-right: 1px;
  background: linear-gradient(to right, transparent, var(--brand));
}

.brand-signal-fade-right {
  margin-left: 1px;
  background: linear-gradient(to left, transparent, var(--brand));
}

.brand-signal-bars {
  display: flex;
  height: 22px;
  align-items: center;
  justify-content: center;
}

.brand-signal-bars > span {
  width: 2px;
  margin-inline: 1px;
  border-radius: 1px;
  background: var(--brand);
}

.brand-signal-bars > span:nth-child(1),
.brand-signal-bars > span:nth-child(9) {
  height: 7px;
}

.brand-signal-bars > span:nth-child(2),
.brand-signal-bars > span:nth-child(8) {
  height: 10px;
}

.brand-signal-bars > span:nth-child(3),
.brand-signal-bars > span:nth-child(7) {
  height: 14px;
}

.brand-signal-bars > span:nth-child(4),
.brand-signal-bars > span:nth-child(6) {
  height: 18px;
}

.brand-signal-bars > span:nth-child(5) {
  height: 22px;
}

.hero-brand-tagline {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1.4;
  white-space: nowrap;
}

.hero-authority h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}

.hero-subtitle {
  display: block;
  margin-top: 0.18em;
  color: var(--brand-strong);
  font-size: clamp(1.25rem, 2.9vw, 2.15rem);
  letter-spacing: -0.035em;
}

.hero-copy .lede {
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 400;
}

.hero-start {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.hero-location-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.store-presentation {
  display: grid;
  width: fit-content;
  max-width: 100%;
  margin: 24px 0;
  padding: 12px 16px;
  gap: 4px;
  border: 1px solid rgba(47, 111, 214, 0.18);
  border-left: 3px solid var(--brand);
  border-radius: 8px;
  background: var(--brand-tint);
}

.store-presentation p {
  margin: 0;
}

.store-presentation-label {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
}

.store-presentation-title {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.store-presentation-publisher {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

.store-badge-link {
  display: flex;
  min-height: 48px;
  align-items: center;
  border-radius: 6px;
  text-decoration: none;
}

.store-badge-link img {
  display: block;
  width: auto;
  height: 40px;
}

.store-presentation-status {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.homepage-pin-preview {
  width: min(100%, 440px);
  min-width: 0;
  justify-self: end;
}

.preview-caption {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
}

.app-preview {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.preview-list {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.preview-pin-content {
  padding-top: 12px;
}

.homepage-pin-preview [hidden] {
  display: none;
}

.preview-help {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.5;
}

.preview-detail-heading {
  display: flex;
  margin-bottom: 10px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.preview-detail-heading h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: normal;
  line-height: 1.4;
}

.preview-read-only {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f6f7f9;
  color: #374151;
  font-size: 0.75rem;
  line-height: 1.4;
}

/* PinDetailSheet and PinPhotoGallery geometry/colours, without app actions. */
.preview-detail {
  --preview-action-fill: #eef4ff;
  --preview-action-border: #7896c2;
  padding: 20px;
}

.preview-detail-top {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-detail-category {
  padding: 5px 12px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  line-height: 1.4;
}

.preview-detail[data-open-pin="woodland"] .preview-detail-category,
.preview-detail[data-open-pin="festival"] .preview-detail-category {
  background: var(--pin-place);
}

.preview-detail-time {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.preview-detail-note {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.625rem;
  overflow-wrap: anywhere;
}

.preview-detail-audio {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.9375rem;
}

.preview-detail-label {
  display: block;
  margin-bottom: 4px;
  color: #4b5563;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.preview-detail-address p {
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.preview-detail-actions {
  display: grid;
  margin: 16px 0 20px;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(min-content, 1fr));
}

.preview-feature-button {
  min-width: 0;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 10px;
  border: 1px solid var(--preview-action-border);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
  cursor: default;
}

.preview-detail-actions .preview-feature-button {
  padding-inline: 4px;
  overflow-wrap: normal;
}

/* Native disabled semantics, but normal app colours illustrate the capability.
   The read-only explanation is visible before these non-interactive controls. */
.preview-feature-button:disabled {
  opacity: 1;
}

.preview-feature-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.preview-feature-secondary {
  background: var(--preview-action-fill);
  color: var(--brand-strong);
}

.preview-feature-tertiary {
  background: var(--surface);
  color: var(--brand-strong);
}

.preview-detail-photos {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.preview-detail-photos h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.preview-photo-count {
  margin: 0;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3125rem;
}

.preview-photo-strip {
  display: grid;
  margin-top: 10px;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 128px));
}

.preview-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid var(--preview-action-border);
  border-radius: 12px;
  object-fit: cover;
}

.preview-photo-featured {
  border: 2px solid var(--brand);
}

.preview-photo-actions {
  display: grid;
  margin-top: 14px;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.preview-detail-metadata {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.5;
}

.preview-detail-metadata > div {
  display: flex;
  padding-block: 6px;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.preview-detail-metadata dt {
  color: #4b5563;
}

.preview-detail-metadata dd {
  margin: 0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.preview-image-notice {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.preview-heading {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 600;
}

.preview-pins {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.preview-pin-heading {
  margin: 0;
  font: inherit;
  letter-spacing: normal;
}

/* Mirror RecentPinRow and PinRowVisual; only real category colours are used. */
.preview-pin {
  --preview-pin-colour: var(--brand);
  --preview-pin-tint: rgba(47, 111, 214, 0.12);
  display: grid;
  width: 100%;
  min-height: 76px;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  column-gap: 12px;
  grid-template-columns: 4px 48px minmax(0, 1fr);
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.preview-pin:disabled {
  cursor: default;
}

.preview-pin[aria-expanded="true"],
.preview-pin:not(:disabled):hover {
  border-color: var(--preview-pin-colour);
}

.preview-pin:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.preview-pin::before {
  align-self: stretch;
  background: var(--preview-pin-colour);
  content: "";
}

.preview-pin-place {
  --preview-pin-colour: var(--pin-place);
  --preview-pin-tint: rgba(139, 62, 212, 0.12);
}

.preview-pin-visual {
  display: grid;
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--preview-pin-colour);
  color: #ffffff;
  place-items: center;
}

.preview-pin-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.preview-pin-modality {
  display: grid;
  position: absolute;
  inset-inline-end: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  place-items: center;
}

.preview-pin-modality svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.preview-pin-body {
  display: block;
  min-width: 0;
  padding-block: 12px;
  padding-inline: 0 12px;
}

.preview-pin-text {
  display: block;
  margin: 0;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.25rem;
  overflow-wrap: anywhere;
}

.preview-pin-meta {
  display: flex;
  margin-top: 4px;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.preview-pin-category {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--preview-pin-tint);
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.2;
}

.preview-pin-time {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1rem;
}

.preview-pin-action {
  display: inline-flex;
  margin-inline-start: auto;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25rem;
}

/* Arabic examples read right to left: View pin points the reading way, and
   coordinates and GPS accuracy keep the order they are written in (FL-016). */
.homepage-pin-preview[dir="rtl"] [data-preview-arrow] {
  transform: scaleX(-1);
}

.homepage-pin-preview[dir="rtl"] .preview-detail-metadata dd {
  direction: ltr;
  unicode-bidi: isolate;
}

.preview-free {
  margin: 12px 0;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.preview-language:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.preview-language label {
  color: var(--muted);
  font-size: 0.8125rem;
}

.preview-language select {
  min-width: 140px;
  min-height: 44px;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--muted);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
}

.preview-language select:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .preview-pin {
    border-color: CanvasText;
  }

  .preview-pin-visual,
  .preview-pin-modality,
  .preview-pin-category {
    border: 1px solid CanvasText;
  }

  .preview-language select:focus-visible,
  .preview-pin:focus-visible {
    outline-color: Highlight;
  }

  .preview-pin[aria-expanded="true"] {
    border-color: Highlight;
    outline: 1px solid Highlight;
  }

  .preview-feature-button {
    border-color: GrayText;
    color: GrayText;
  }
}

.authority-grid {
  display: grid;
  gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 26vw, 340px), 1fr));
}

.authority-card {
  display: flex;
  min-height: 100%;
  padding: clamp(22px, 2.5vw, 32px);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 3px 18px rgba(11, 18, 32, 0.045);
  flex-direction: column;
}

.authority-grid .authority-card:nth-child(6n + 2) {
  border-left-color: var(--pin-food);
}

.authority-grid .authority-card:nth-child(6n + 3) {
  border-left-color: var(--pin-collect);
}

.authority-grid .authority-card:nth-child(6n + 4) {
  border-left-color: var(--pin-place);
}

.authority-grid .authority-card:nth-child(6n + 5) {
  border-left-color: var(--pin-report);
}

.authority-grid .authority-card:nth-child(6n + 6) {
  border-left-color: var(--pin-shopping);
}

.authority-card p {
  flex: 1;
  color: var(--muted);
}

.authority-card a {
  min-height: 44px;
  align-content: center;
  font-weight: 750;
}

.answer-first {
  max-width: 78ch;
  font-size: clamp(1.06rem, 1.8vw, 1.25rem);
}

.definition-heading {
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: normal;
}

.definition-subheading {
  margin: 0 0 18px;
  color: var(--brand-strong);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
}

.definition-section .authority-card > .card-kicker {
  flex: none;
  color: var(--brand);
}

.definition-section .authority-card:nth-child(2) > .card-kicker {
  color: #b45309;
}

.definition-section .authority-card:nth-child(3) > .card-kicker {
  color: #15803d;
}

.definition-section .answer-first,
.definition-section .authority-card > p:not(.card-kicker) {
  color: var(--text);
  font-weight: 400;
}

.definition-panel {
  margin-block: 28px 44px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: 10px 14px 14px 10px;
  background: var(--surface);
  box-shadow: 0 3px 18px rgba(11, 18, 32, 0.045);
}

.definition-panel p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  max-width: 820px;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.faq-list summary {
  min-height: 44px;
  align-content: center;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.faq-list details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.semantic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.8rem, 1.5vw, 0.96rem);
}

.table-wrap {
  max-width: 1050px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
}

.semantic-table th,
.semantic-table td {
  padding: clamp(10px, 1.5vw, 16px);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.semantic-table th {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.semantic-table tr:last-child td {
  border-bottom: 0;
}

.page-intro {
  max-width: 850px;
  padding-block: clamp(42px, 7vw, 76px) clamp(28px, 4vw, 46px);
}

.page-intro h1 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 3.8rem);
}

.byline {
  color: var(--muted);
  font-size: 0.9rem;
}

.quiet-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.location-page {
  min-height: 100vh;
  background: var(--surface-soft);
}

.location-page [hidden] {
  display: none !important;
}

.location-nav {
  justify-content: flex-start;
}

.location-main {
  display: grid;
  width: min(calc(100% - 40px), 700px);
  min-height: calc(100vh - 65px);
  margin-inline: auto;
  padding-block: clamp(36px, 8vw, 80px);
  align-items: center;
}

.location-page[data-share-presentation="clean"] .location-main {
  min-height: 100vh;
}

.location-card {
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.location-card h1 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 8vw, 3.8rem);
}

.location-card .lede {
  margin-bottom: 26px;
}

.location-status {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.location-loader {
  display: block;
  width: 36px;
  height: auto;
  flex: 0 0 auto;
}

.location-choices {
  margin-top: 24px;
}

.provider-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.provider-link {
  width: 100%;
  min-height: 52px;
  cursor: pointer;
  font: inherit;
  text-align: center;
}

.coordinate-copy-fallback {
  display: grid;
  margin-top: 16px;
  gap: 7px;
}

.coordinate-copy-fallback label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.coordinate-copy-value {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.location-privacy {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.location-promotion {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.location-promotion p {
  max-width: 52ch;
  margin-bottom: 12px;
  color: var(--muted);
}

.location-promotion .location-promotion-attribution {
  color: var(--ink);
  font-weight: 750;
}

.location-promotion .button {
  margin-top: 4px;
}

.footer-shell {
  display: grid;
  padding-block: 32px;
  align-items: center;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
}

.footer-shell p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 12px;
  justify-content: flex-end;
}

.footer-links a {
  min-height: 44px;
  align-content: center;
  font-size: 0.82rem;
}

@media (max-width: 820px) {
  .nav-shell {
    padding-block: 8px;
    flex-wrap: wrap;
    gap: 4px 16px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .hero-authority,
  .feature-split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-block: 54px;
  }

  .hero-authority {
    padding-block: 32px 52px;
  }

  .homepage-pin-preview {
    justify-self: center;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }
}

@media (max-width: 650px) {
  .site-header {
    position: static;
  }

  .nav-shell,
  .page-shell,
  .footer-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .nav-shell {
    padding-block: 8px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .nav-links {
    display: flex;
    width: 100%;
    padding-bottom: 4px;
    justify-content: flex-start;
    gap: 0 4px;
    overflow: visible;
  }

  .nav-links li {
    flex: 0 0 auto;
  }

  .nav-links a,
  .nav-links span[aria-current="page"] {
    justify-content: center;
    padding-inline: 8px;
    font-size: 0.8125rem;
    text-align: center;
    white-space: nowrap;
  }

  .page-shell {
    padding-block: 0 64px;
  }

  .hero-copy {
    text-align: center;
  }

  .store-presentation {
    margin-inline: auto;
    text-align: left;
  }

  .hero-authority {
    padding-block: 24px 44px;
    gap: 24px;
  }

  .hero-brand-row {
    margin-bottom: 20px;
  }

  .hero-authority h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .hero-authority .lede {
    margin-inline: auto;
  }

  .app-preview {
    padding: 20px 12px;
  }

  .location-main {
    width: min(calc(100% - 28px), 700px);
    min-height: calc(100vh - 65px);
    padding-block: 24px;
  }

  .location-card {
    padding: 26px 20px;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
  }

  .hero-panel,
  .feature-split,
  .legal-card,
  .contact-card {
    padding: 22px;
  }

  .limits,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .hero-brand-row {
    gap: 16px;
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* Phones held upright get a centred header: brand over centred tab rows. */
@media (orientation: portrait) and (max-width: 650px) {
  .nav-shell {
    align-items: center;
  }

  .nav-links {
    justify-content: center;
  }
}

/* Phone browsers use the installed app; tablets may also use Remem Web. */
:root:not([data-remem-web-access="allowed"]) .hero-brand-lockup-link,
:root:not([data-remem-web-access="allowed"]) .hero-brand-row .button-web-app {
  display: none;
}

:root:not([data-remem-web-access="allowed"]) .hero-brand-row {
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
}

@media (max-width: 650px) {
  :root:not([data-remem-web-access="allowed"]) .hero-brand-row {
    justify-items: center;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 650px) {
  .hero-brand-row {
    margin-bottom: 16px;
    justify-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .toc,
  .actions {
    display: none;
  }

  body {
    background: #fff;
  }

  .page-shell {
    width: 100%;
    padding: 0;
  }

  .legal-card {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
