/* /owners — the restaurant-facing page.
 *
 * Loaded after styles.css and built entirely from its tokens, so the page
 * follows the app into dark mode and picks up any palette change without a
 * second definition of the brand living here. Everything is scoped under
 * .ow or prefixed ow- : this is the one document in Saucer that is a
 * pitch rather than a feed, and none of its layout should leak into the app.
 *
 * Wider than the app's 620px column on purpose — an owner reads this on a
 * laptop, usually with the link open next to their email. */

.ow-wide { max-width: 860px; }

/* A wider gutter than the app's 16px. The feed is edge-to-edge
   photographs, where a tight margin reads as generous; this page is
   nothing but text and boxes, and the same margin reads as cramped.
   
   padding-INLINE, not padding. Every section here is also .wrap, so a
   two-class rule with the shorthand outranks `.ow section` and silently
   flattens the vertical rhythm — which it did, and the headings landed on
   top of the buttons above them. */
.ow .wrap { padding-inline: 22px; }
@media (min-width: 560px) { .ow .wrap { padding-inline: 32px; } }

.ow main { padding-bottom: 8px; }
.ow section { padding-block: 52px 8px; }
.ow section:first-child { padding-block-start: 30px; }

/* Anchors doing a button's job. The app's buttons are <button> elements
   driven by JS; here every action is a real link, so the look is borrowed
   and the element stays an <a> — a restaurant owner should be able to
   middle-click "Find your restaurant" like any other link. */
.ow-btn {
  display: inline-grid; place-items: center; text-align: center;
  border-radius: 999px; padding: 14px 22px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; text-decoration: none;
  transition: transform .08s ease, opacity .15s ease;
}
.ow-btn:active { transform: scale(.97); }
.ow-btn.ghost { background: var(--surface-2); color: var(--text); }
.ow-btn.small { padding: 7px 13px; font-size: 14px; }

.ow-hero .pill { margin-bottom: 14px; }

.ow-h1 {
  font-size: clamp(30px, 8vw, 52px);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 16px;
  text-wrap: balance;
}

.ow-lede {
  margin: 0 0 22px; font-size: clamp(17px, 2.4vw, 20px); line-height: 1.45;
  color: var(--text-dim); max-width: 46ch; text-wrap: pretty;
}

/* The sentence the whole product is. Set as speech, because it is what a
   diner is saying when they post — not a slogan about them. */
.ow-say {
  margin: 0 0 30px; padding-left: 16px;
  border-left: 3px solid var(--accent);
  font-size: clamp(18px, 2.6vw, 22px); font-weight: 600;
  letter-spacing: -.02em; color: var(--text);
}

.ow-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ow-cta .ow-btn { flex: 1 1 auto; min-width: 210px; }

.ow-h2 {
  font-size: clamp(22px, 3.4vw, 28px); letter-spacing: -.025em;
  margin: 0 0 18px; text-wrap: balance;
}
.ow-h2-tight { margin-bottom: 8px; font-size: clamp(19px, 2.6vw, 22px); }
.ow-h3 { font-size: 17px; letter-spacing: -.01em; margin: 30px 0 10px; }

.ow-body { margin: 0 0 16px; line-height: 1.6; max-width: 62ch; color: var(--text); }
.ow-body:last-child { margin-bottom: 0; }

/* Two columns that have to be read against each other, so they stay side
   by side as long as the type still fits, then stack. */
.ow-two { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .ow-two { grid-template-columns: 1fr 1fr; } }

.ow-col {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 20px 22px;
}
.ow-col h3 {
  margin: 0 0 10px; font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
}
.ow-col p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--text-dim); }
.ow-col p:first-of-type { color: var(--text); }
.ow-col p:last-child { margin-bottom: 0; font-weight: 600; color: var(--text); }

.ow-col-cold h3 { color: var(--text-dim); }
.ow-col-warm { border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); }
.ow-col-warm h3 { color: var(--accent); }

.ow-beats { max-width: 620px; margin-top: 6px; gap: 22px; }
.ow-beats i { font-style: normal; color: var(--text); font-weight: 600; }

.ow-rule { margin: 0; }
.ow-rule p { margin: 0; line-height: 1.55; }

.ow-price {
  margin: 0 0 12px; font-size: 17px; color: var(--text-dim);
  letter-spacing: -.01em;
}
.ow-price b {
  font-size: clamp(34px, 6vw, 46px); color: var(--accent);
  letter-spacing: -.03em; margin-right: 6px;
}

.ow-nots { margin: 0; padding: 0; list-style: none; max-width: 62ch; }
.ow-nots li {
  padding: 14px 0 14px 26px; position: relative;
  border-top: 1px solid var(--line); font-size: 15px; color: var(--text-dim);
}
.ow-nots li:last-child { border-bottom: 1px solid var(--line); }
.ow-nots li::before {
  content: ""; position: absolute; left: 4px; top: 19px;
  width: 11px; height: 1.5px; background: var(--text-dim); opacity: .7;
}

/* A scroll strip rather than a grid: it never has a fixed number of
   plates in it, and a half-visible next photo says "there are more" in a
   way a tidy row of three does not. */
.ow-shelf {
  display: grid; grid-auto-flow: column; grid-auto-columns: 184px;
  gap: 12px; overflow-x: auto; padding: 4px 22px 14px;
  margin: 10px -22px 0;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.ow-shelf::-webkit-scrollbar { display: none; }

.ow-plate {
  scroll-snap-align: start; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: block;
}
.ow-plate img {
  width: 100%; display: block; aspect-ratio: 1/1; object-fit: cover;
  background: var(--surface-2);
}
.ow-plate .ow-plate-b { padding: 10px 11px 12px; }
.ow-plate b {
  display: block; font-size: 14px; letter-spacing: -.01em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ow-plate span {
  display: block; font-size: 12px; color: var(--text-dim); margin-top: 2px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.ow-close { padding-block-start: 52px; }

.ow-foot {
  padding-block: 34px 48px; text-align: center;
  border-top: 1px solid var(--line); margin-top: 48px;
}
.ow-foot .splash-foot { margin: 0 0 6px; }
.ow-foot a { color: var(--text-dim); }
