:root {
  --ink: #153a33;
  --ink-2: #33534d;
  --cream: #f8f4eb;
  --paper: #fffdf8;
  --line: #dcd8cd;
  --green: #1d564a;
  --mint: #cfe6d6;
  --coral: #ef6b4f;
  --yellow: #f3c95a;
  --shadow: 0 18px 50px rgba(28, 66, 57, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", sans-serif; font-size: 18px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-header { height: 88px; padding: 0 clamp(24px, 6vw, 92px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(21,58,51,.14); background: var(--cream); position: sticky; top: 0; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 800 24px/1 "Manrope", sans-serif; letter-spacing: -.6px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--paper); background: var(--green); border-radius: 10px; }
.site-header nav { display: flex; gap: 34px; font-size: 16px; font-weight: 700; }
.site-header nav a:hover { color: var(--coral); }
.ghost-button { border: 2px solid var(--ink); color: var(--ink); border-radius: 10px; padding: 12px 20px; background: transparent; cursor: pointer; font-weight: 700; font-size: 15px; }

.hero { min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 72px clamp(24px, 7vw, 108px) 86px; }
.hero-copy { width: 100%; max-width: 900px; text-align: center; }
.eyebrow { display: block; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 800; font-size: 14px; color: var(--coral); }
.eyebrow span { display: none; }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; }
h1 { font-size: clamp(52px, 7vw, 82px); line-height: 1.04; letter-spacing: -4px; margin: 20px auto 24px; max-width: 850px; }
h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 720px; color: var(--ink-2); font-size: 21px; line-height: 1.6; margin: 0 auto 38px; }
.search-panel { display: grid; grid-template-columns: 1fr .7fr auto; gap: 14px; align-items: end; padding: 20px; text-align: left; background: var(--paper); border: 2px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.search-panel label > span { display: block; font-size: 15px; font-weight: 800; margin: 0 0 9px 3px; }
.input-wrap { height: 60px; display: flex; align-items: center; padding: 0 16px; background: #f3f0e8; border: 2px solid transparent; border-radius: 10px; transition: .2s; }
.input-wrap:focus-within { border-color: var(--green); background: white; box-shadow: 0 0 0 3px rgba(29,86,74,.08); }
.input-wrap svg, .primary-button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.input-wrap input, .input-wrap select { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; font-weight: 700; }
.input-wrap select { cursor: pointer; }
.primary-button { min-height: 60px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 0 26px; color: white; background: var(--coral); cursor: pointer; font-size: 17px; font-weight: 800; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(239,107,79,.25); }
.results-section { padding: 82px clamp(24px, 7vw, 108px) 110px; background: var(--paper); border-radius: 46px 46px 0 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 10px 0 6px; font-size: clamp(30px, 4vw, 45px); letter-spacing: -2px; }
.section-heading p { margin: 0; color: #71817e; font-size: 17px; }
.data-badge { display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 99px; background: #f0ede4; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .7px; }
.data-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
.data-badge.live span { background: #4cab76; box-shadow: 0 0 0 4px rgba(76,171,118,.15); }
.error-panel { max-width: 720px; margin: 10px auto; padding: 40px; text-align: center; background: #fff6f2; border: 2px solid #f1c4b9; border-radius: 18px; }
.error-panel h3 { margin-bottom: 10px; font-size: 28px; }
.error-panel p { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.summary-card { min-height: 165px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; position: relative; overflow: hidden; }
.summary-card.featured { color: white; background: var(--green); border-color: var(--green); }
.summary-card .tag { display: flex; gap: 7px; align-items: center; color: #768681; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; }
.summary-card.featured .tag { color: var(--mint); }
.summary-card .tag i { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; }
.summary-card strong { display: block; margin: 18px 0 8px; font: 800 39px/1 "Manrope"; letter-spacing: 1px; }
.summary-card p { margin: 0; color: #6f817d; font-size: 16px; }
.summary-card.featured p { color: #bdd4ce; }
.summary-card .mini-mark { position: absolute; right: 20px; bottom: 18px; font-size: 44px; opacity: .08; }
.results-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(290px, .7fr); gap: 22px; }
.restaurant-list-panel { border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.list-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.list-heading h3 { font-size: 21px; }
.list-heading select { color: var(--ink); background: #f2efe7; border: 0; border-radius: 8px; padding: 10px 12px; font-size: 14px; font-weight: 700; }
.google-attribution { margin: 12px 0 4px; color: #5e5e5e; font-family: Roboto, "DM Sans", sans-serif; font-size: 14px; font-style: normal; font-weight: 400; letter-spacing: normal; }
.google-attribution span { white-space: nowrap; }
.restaurant-row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 18px 3px; border-bottom: 1px solid #ebe7de; }
.restaurant-row:last-child { border-bottom: 0; }
.restaurant-name { font: 700 17px/1.4 "Manrope"; }
.restaurant-name a:hover, .restaurant-name a:focus-visible { color: var(--coral); text-decoration: underline; }
.restaurant-address { color: #82908d; font-size: 14px; margin-top: 5px; }
.rating { font-size: 15px; font-weight: 700; color: #566c67; }
.rating b { color: #e5ad24; }
.price-range { min-width: 115px; color: var(--coral); font: 800 17px/1.2 "Manrope"; text-align: right; white-space: nowrap; }
.owner-card { color: white; background: var(--green); border-radius: 18px; padding: 28px; position: relative; overflow: hidden; }
.owner-card::before { content: ""; width: 190px; height: 190px; position: absolute; top: -110px; right: -90px; border: 35px solid rgba(255,255,255,.05); border-radius: 50%; }
.owner-icon { width: 38px; height: 38px; display: grid; place-items: center; float: right; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 20px; }
.eyebrow.light { color: var(--mint); margin-top: 7px; }
.owner-card h3 { font-size: 24px; line-height: 1.15; margin: 18px 0 10px; max-width: 230px; }
.owner-card > p { color: #bad0cb; font-size: 15px; line-height: 1.6; max-width: 280px; }
.market-chart { margin: 24px 0 16px; }
.chart-row { display: grid; grid-template-columns: 56px 1fr 25px; align-items: center; gap: 9px; margin: 12px 0; font-size: 13px; color: #d4e2de; }
.track { height: 6px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.track span { display: block; height: 100%; background: var(--coral); border-radius: inherit; transition: width .5s ease; }
dialog { max-width: 520px; padding: 38px; color: var(--ink); background: var(--paper); border: 0; border-radius: 20px; box-shadow: 0 30px 90px rgba(10,38,32,.25); }
dialog::backdrop { background: rgba(15,42,36,.5); backdrop-filter: blur(3px); }
dialog h2 { font-size: 32px; letter-spacing: -1.5px; margin: 14px 0; }
dialog p { color: #60746f; line-height: 1.65; }
.dialog-close { position: absolute; right: 18px; top: 14px; background: none; border: 0; font-size: 25px; cursor: pointer; color: var(--ink); }
.dialog-action { padding: 0 28px; margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 25px; transform: translate(-50%, 20px); padding: 11px 18px; color: white; background: #172f2a; border-radius: 99px; font-size: 12px; opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.skeleton { animation: pulse 1.2s infinite; background: #eeeae1; color: transparent !important; border-radius: 5px; }
@keyframes pulse { 50% { opacity: .5; } }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { padding-top: 58px; }
  .results-layout { grid-template-columns: 1fr; }
  .owner-card { min-height: 420px; }
}
@media (max-width: 650px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .ghost-button { display: none; }
  .hero { min-height: auto; padding: 52px 18px 64px; }
  h1 { font-size: 46px; letter-spacing: -2.7px; }
  .hero-copy > p { font-size: 19px; }
  .search-panel { grid-template-columns: 1fr; }
  .results-section { padding: 58px 18px 76px; border-radius: 28px 28px 0 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .summary-grid { grid-template-columns: 1fr; }
  .restaurant-row { grid-template-columns: 1fr auto; gap: 12px; }
  .rating { display: none; }
}
