/* Home page. Change colors in :root. This file does not style the sample shops. */

:root {
  --bg: #f4f0e6;
  --ink: #1c2430;
  --muted: #3a4553;
  --paper: #fffdf8;
  --line: #ddd3c4;
  --teal: #0e5c56;
  --teal-deep: #08403c;
  --gold: #8a5a12;
  --focus: #0b3f86;
  --footer: #14222b;
  --footer-ink: #f4efe6;
  --shadow: 0 12px 30px rgba(28, 36, 48, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", "Avenir Next", "Helvetica Neue", system-ui, sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.brand-name {
  font-family: var(--serif);
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(2.2rem, 7vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

p {
  max-width: 65ch;
}

a {
  color: var(--teal-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 30;
  transform: translateY(-200%);
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  border-radius: 0.45rem;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  position: fixed;
  transform: none;
}

.wrap {
  width: min(70rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 1rem 0 0.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0.75rem;
  background: var(--teal);
  color: #f4fffd;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
}

.brand-name {
  display: block;
  font-size: clamp(1.2rem, 4.4vw, 1.5rem);
  line-height: 1.15;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.nav-list a:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.hero {
  display: grid;
  gap: 1.2rem;
  padding: 1.4rem 0 0.4rem;
}

.eyebrow,
.kicker {
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lede {
  font-size: 1.12rem;
  color: var(--muted);
}

.chip {
  display: inline-block;
  margin: 0.2rem 0 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff1e4;
  color: #6e320c;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--teal);
  background: var(--teal);
  color: #f4fffd;
  font: 700 1rem/1.2 var(--sans);
  text-align: center;
  text-decoration: none;
}

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
}

.btn:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: #f7fffd;
}

.btn-ghost:hover {
  background: #e7f3f1;
  color: var(--teal-deep);
}

.hero-card {
  padding: 1rem 1rem 1.1rem;
  border-radius: 1.25rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 0.7rem;
  font-size: 1.45rem;
}

.promise-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.promise-list li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.promise-list strong {
  display: block;
}

.storefront {
  display: block;
  width: 100%;
  margin-bottom: 0.8rem;
  border-radius: 0.9rem;
}

.section {
  padding-block: clamp(2.1rem, 5vw, 3.6rem);
}

.section-intro {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.offer-grid,
.tile-grid {
  display: grid;
  gap: 0.85rem;
}

.offer {
  padding: 1.05rem 1.05rem 1.15rem;
  border-radius: 1.1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.offer svg {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.55rem;
}

.offer p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--paper);
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 1.05rem;
  border-bottom: 1px solid var(--line);
}

.price-list li:last-child {
  border-bottom: 0;
}

.price-list span {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.fine {
  margin-top: 0.85rem;
  color: var(--muted);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: var(--paper);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.steps span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--teal);
  color: #f4fffd;
  font-weight: 700;
}

.steps p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.band {
  background: #e5f1ef;
  border-block: 1px solid #cfe3df;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-height: 12.5rem;
  padding: 1.1rem 1.1rem 1rem;
  border: 2px solid #1c2430;
  border-radius: 1.15rem;
  color: #1c2430;
  text-decoration: none;
  box-shadow: 4px 4px 0 #1c2430;
}

.tile svg {
  width: 2.4rem;
  height: 2.4rem;
}

.tile p {
  margin-bottom: 0.2rem;
  color: #243040;
}

.tile-go {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: #1c2430;
  color: #fffdf8;
  font-weight: 700;
  font-size: 0.95rem;
}

.tile-food { background: #f6e3d4; }
.tile-auto { background: #e4eaf0; }
.tile-salon { background: #f8e4ea; }
.tile-barber { background: #e5eddf; }
.tile-deli { background: #f8e7c4; }
.tile-market { background: #e3f0e0; }

.contact-list {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 0.9rem;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.contact-meta {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.contact-meta li {
  padding: 0.35rem 0;
}

.site-footer {
  padding: 1.6rem 0 2rem;
  background: var(--footer);
  color: var(--footer-ink);
}

.site-footer p {
  margin-bottom: 0.4rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--footer-ink);
}

@media (min-width: 640px) {
  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (min-width: 760px) {
  .offer-grid,
  .tile-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (min-width: 880px) {
  .hero {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: center;
    gap: 2rem;
  }
}

@media (min-width: 1040px) {
  .offer-grid,
  .tile-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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

  .tile,
  .btn,
  .nav-list a {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .tile,
  .btn,
  .nav-list a {
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  }

  .tile:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 #1c2430;
  }
}
