/* Get Local Online — main site styles
   Design language: Main Street signage meets modern web
   Palette anchored in warm midnight + chalkboard amber */

:root {
  --midnight: #0d1425;
  --midnight-2: #131b30;
  --midnight-3: #1a2340;
  --cream: #f5efe0;
  --cream-muted: #cbc4b1;
  --amber: #f5a623;
  --amber-glow: rgba(245, 166, 35, 0.18);
  --red: #c73e3a;
  --muted: #8b93a5;
  --hairline: rgba(245, 239, 224, 0.08);
  --hairline-strong: rgba(245, 239, 224, 0.16);
  --max-w: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-sm: 6px;

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--midnight);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Focus */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--cream);
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); }

p { margin: 0 0 1em; max-width: 62ch; }

::selection { background: var(--amber); color: var(--midnight); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.section + .section { border-top: 1px solid var(--hairline); }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 20, 37, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.25rem;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand-mark {
  width: 28px; height: 28px;
  background: var(--amber);
  color: var(--midnight);
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}
.nav__links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__links a {
  color: var(--cream-muted);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  background: var(--amber);
  color: var(--midnight) !important;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav__cta:hover { background: #fdb841; text-decoration: none; }
.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  padding: 0.5rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--midnight);
    border-bottom: 1px solid var(--hairline);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
    align-items: flex-start;
    transform: translateY(-120%);
    transition: transform 260ms ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__toggle { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--amber);
  color: var(--midnight);
}
.btn--primary:hover { background: #fdb841; }
.btn--ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--hairline-strong);
}
.btn--ghost:hover { border-color: var(--cream-muted); background: rgba(245,239,224,0.04); }
.btn--large { padding: 1.15rem 1.9rem; font-size: 1.08rem; }

/* Hero */
.hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream-muted);
  font-size: 0.92rem;
  margin-bottom: 1.4rem;
}
.hero__eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow::before { animation: none; }
}

.hero__headline {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber);
}

.hero__price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(5.5rem, 15vw, 11rem);
  line-height: 0.85;
  color: var(--amber);
  margin: 1.5rem 0 2rem;
  letter-spacing: -0.04em;
  text-shadow: 0 0 60px var(--amber-glow);
}
.hero__price small {
  font-size: 0.3em;
  color: var(--cream-muted);
  font-style: normal;
  font-weight: 400;
  display: block;
  margin-top: 0.4rem;
  letter-spacing: 0;
  text-shadow: none;
}

.hero__sub {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--cream-muted);
  max-width: 55ch;
  margin-bottom: 2.25rem;
}

.hero__ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero__trust {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--cream-muted);
  font-size: 0.92rem;
}
.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__trust svg { width: 16px; height: 16px; color: var(--amber); }

/* Section headers */
.eyebrow {
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.9rem;
  font-family: var(--font-body);
}

.section__head {
  max-width: 720px;
  margin-bottom: 3rem;
}
.section__head p {
  color: var(--cream-muted);
  font-size: 1.1rem;
  margin-top: 0.75rem;
}

/* Examples strip */
.examples-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.example-card {
  display: block;
  background: var(--midnight-2);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, transform 200ms ease;
}
.example-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
  text-decoration: none;
}
.example-card__thumb {
  aspect-ratio: 16 / 10;
  background: var(--midnight-3);
  position: relative;
  overflow: hidden;
}
.example-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.example-card__body {
  padding: 1.1rem 1.25rem 1.35rem;
}
.example-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
  color: var(--cream);
}
.example-card__kind {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Feature grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.feature {
  padding: 0;
}
.feature__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--amber);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.feature h3 { margin-bottom: 0.5rem; }
.feature p { color: var(--cream-muted); margin: 0; }

/* Included list */
.included {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.included li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--cream);
}
.included li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 12px; height: 6px;
  border-left: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(-45deg);
}
@media (max-width: 640px) {
  .included { grid-template-columns: 1fr; }
}

/* "What this isn't" */
.notlist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
}
.notlist li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--cream-muted);
}
.notlist li::before {
  content: "×";
  position: absolute;
  left: 0.2rem; top: -0.05em;
  color: var(--red);
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 500;
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Pricing card */
.price-card {
  background: linear-gradient(180deg, var(--midnight-2), var(--midnight));
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 30% 0%, var(--amber-glow), transparent 60%);
  pointer-events: none;
}
.price-card__label {
  color: var(--amber);
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  position: relative;
}
.price-card__price {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--cream);
  line-height: 1;
  margin: 0.5rem 0;
  position: relative;
}
.price-card__price span {
  font-size: 0.28em;
  color: var(--cream-muted);
  font-style: normal;
  font-weight: 400;
  vertical-align: super;
  margin-right: 0.15em;
}
.price-card__note {
  color: var(--cream-muted);
  font-size: 0.95rem;
  margin-top: -0.25rem;
  position: relative;
}
.price-card__note strong { color: var(--cream); }

.price-card__cta {
  margin-top: 2rem;
  position: relative;
}

/* Add-ons table */
.addons {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}
.addons th, .addons td {
  padding: 0.9rem 0;
  text-align: left;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.98rem;
}
.addons th {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.addons td:last-child, .addons th:last-child {
  text-align: right;
  color: var(--amber);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
}
.addons td small { color: var(--muted); display: block; font-size: 0.85rem; font-style: normal; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--hairline);
  padding: 1.25rem 0;
}
.faq details:first-of-type { border-top: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--amber);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 200ms ease;
  font-family: var(--font-body);
  font-weight: 300;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  color: var(--cream-muted);
  margin: 1rem 0 0;
  max-width: 68ch;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.step {
  padding-top: 1.5rem;
  border-top: 2px solid var(--amber);
  counter-increment: step;
  position: relative;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.75rem;
}
.step h3 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.step p { color: var(--cream-muted); margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* CTA block */
.cta-block {
  background: var(--midnight-2);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.cta-block::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  pointer-events: none;
}
.cta-block h2 {
  max-width: 22ch;
  position: relative;
}
.cta-block p {
  color: var(--cream-muted);
  max-width: 55ch;
  position: relative;
}
.cta-block .btn { position: relative; margin-top: 1rem; }

/* Footer */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 3rem 0 2.5rem;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--cream);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.footer__col a { color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--cream); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 1.1rem;
}
.footer__brand p {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 0.5rem;
  max-width: 40ch;
}
@media (max-width: 820px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* Forms */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
}
.form-section {
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--midnight-2);
}
.form-section > h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.form-section > .form-section__note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1.5rem;
}
.form-row {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-row:last-child { margin-bottom: 0; }
.form-row--split {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) { .form-row--split { grid-template-columns: 1fr; } }
.form-row label {
  font-size: 0.9rem;
  color: var(--cream);
  font-weight: 500;
}
.form-row .hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.form-row .optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.82rem;
  margin-left: 0.4rem;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="url"],
.form-row input[type="number"],
.form-row input[type="time"],
.form-row select,
.form-row textarea {
  background: var(--midnight);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.98rem;
  width: 100%;
  transition: border-color 160ms ease;
}
.form-row textarea { resize: vertical; min-height: 90px; font-family: var(--font-body); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--amber);
  outline: none;
}
.form-row input[type="file"] {
  color: var(--cream-muted);
  font-size: 0.9rem;
}
.form-row input[type="file"]::file-selector-button {
  background: var(--midnight-3);
  color: var(--cream);
  border: 1px solid var(--hairline-strong);
  border-radius: 4px;
  padding: 0.4rem 0.85rem;
  margin-right: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
}
.checkbox-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.5rem 0;
}
.checkbox-row input[type="checkbox"] {
  margin-top: 0.25em;
  accent-color: var(--amber);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.checkbox-row label { font-weight: 400; color: var(--cream-muted); }
.checkbox-row label strong { color: var(--cream); font-weight: 600; }

.palette-choice {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.palette-choice label {
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: border-color 160ms ease;
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 400;
}
.palette-choice label:hover { border-color: var(--cream-muted); }
.palette-choice input { position: absolute; opacity: 0; pointer-events: none; }
.palette-choice input:checked + .palette-swatch { box-shadow: 0 0 0 2px var(--amber); }
.palette-choice label:has(input:checked) { border-color: var(--amber); }
.palette-swatch {
  width: 34px; height: 34px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--a, #ccc) 50%, var(--b, #999) 50%);
}
.days-hours {
  display: grid;
  gap: 0.5rem;
}
.day-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr auto;
  align-items: center;
  gap: 0.5rem;
}
.day-row label { font-weight: 500; }
.day-row input[type="time"] { padding: 0.5rem; font-size: 0.9rem; }
.day-row .day-closed { color: var(--muted); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.3rem; }
@media (max-width: 640px) {
  .day-row { grid-template-columns: 1fr; gap: 0.35rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--hairline); }
}

.total-bar {
  position: sticky;
  bottom: 0;
  background: var(--midnight-2);
  border: 1px solid var(--amber);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  box-shadow: 0 -20px 40px rgba(13,20,37,0.6);
}
.total-bar__amount {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2rem;
  color: var(--amber);
  line-height: 1;
}
.total-bar__label { color: var(--cream-muted); font-size: 0.85rem; }

/* Page hero (interior pages) */
.page-hero {
  padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  max-width: 20ch;
}
.page-hero p {
  color: var(--cream-muted);
  font-size: 1.2rem;
  max-width: 60ch;
  margin-top: 1rem;
}

/* Prose */
.prose {
  max-width: 68ch;
}
.prose p { color: var(--cream); }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; font-size: 1.35rem; }
.prose ul { padding-left: 1.25rem; }
.prose ul li { margin-bottom: 0.5rem; color: var(--cream); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* 404 */
.error-page {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem var(--pad);
}
.error-page__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(6rem, 20vw, 14rem);
  color: var(--amber);
  line-height: 1;
  text-shadow: 0 0 80px var(--amber-glow);
}
.error-page h1 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.error-page p {
  color: var(--cream-muted);
  max-width: 46ch;
  margin: 0 auto 2rem;
}

/* Utility */
.mt-lg { margin-top: 2rem; }
.text-muted { color: var(--muted); }
.text-cream-muted { color: var(--cream-muted); }
.center { text-align: center; }
