/* LocalTap marketing site — hand-authored component styles.
   Shared by index.html and every page under /legal/.
   Tailwind utility classes are generated separately into site.css
   (see /tailwind/site.config.js and package.json "build:css:site"). */

:root {
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.brand-wordmark {
  font-family: Syne, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.hero-heading {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: 999px;
  background: #0a0a0a;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: transform 160ms ease;
}

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

a,
button,
input,
select,
textarea,
summary {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #0a0a0a;
  outline-offset: 3px;
}

.tap-target {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

.has-mobile-bar {
  padding-bottom: calc(5.75rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  .has-mobile-bar {
    padding-bottom: 0;
  }
}

.hero-grid {
  background:
    radial-gradient(70% 70% at 88% 12%, rgba(245, 181, 27, 0.13), transparent 68%),
    radial-gradient(60% 70% at 0% 100%, rgba(0, 0, 0, 0.045), transparent 70%),
    #ffffff;
}

.trust-pill {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e7e7e5;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  padding: 0.5rem 0.75rem;
  color: #555552;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.trust-pill svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  color: #0a0a0a;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 680ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 70ms;
}

.reveal-delay-2 {
  transition-delay: 140ms;
}

.reveal-delay-3 {
  transition-delay: 210ms;
}

.product-card {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.product-card .product-image {
  transition:
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 300ms ease;
}

.product-card .card-arrow {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.button-primary,
.button-secondary {
  transition:
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button-primary:active,
.button-secondary:active {
  transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-5px);
    border-color: #d3d3d0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05),
      0 22px 55px rgba(0, 0, 0, 0.12);
  }

  .product-card:hover .product-image {
    transform: scale(1.035);
    filter: saturate(1.03) contrast(1.01);
  }

  .product-card:hover .card-arrow {
    transform: translateX(4px);
  }

  .button-primary:hover {
    transform: translateY(-1px);
    background: #242424;
    box-shadow: 0 8px 24px rgba(10, 10, 10, 0.18);
  }

  .button-secondary:hover {
    transform: translateY(-1px);
    border-color: #bdbdb8;
    background: #ffffff;
  }
}

.feature-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.feature-check::before {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background-color: #0a0a0a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m5 10 3 3 7-7'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.78rem;
}

details.faq-item > summary {
  cursor: pointer;
  list-style: none;
}

details.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-plus {
  transition: transform 200ms ease;
}

details[open] .faq-plus {
  transform: rotate(45deg);
}

.field {
  width: 100%;
  min-height: 3rem;
  border: 1px solid #dcdcd9;
  border-radius: 0.9rem;
  background: #ffffff;
  padding: 0.8rem 0.9rem;
  color: #0a0a0a;
  font-size: 0.875rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.field:hover {
  border-color: #bdbdb8;
}

.field:focus {
  border-color: #0a0a0a;
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 0.08);
}

.field::placeholder {
  color: #9c9c98;
}

/* Tap-to-review flow demonstration (Section: how-it-works visual) */
.flow-step {
  position: relative;
}

.flow-arrow {
  display: none;
}

@media (min-width: 768px) {
  .flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (forced-colors: active) {
  .product-card,
  .trust-pill,
  .field,
  .button-primary,
  .button-secondary {
    border: 1px solid ButtonText;
  }
}
