/* ══════════════════════════════════════════════════════════════════
   StartMyOwn.Restaurant — Marketing stylesheet ("Warm Kitchen" brief)
   bg #FBF6EF · surface #F1E4D4 · ink #241A12 · terracotta #C0492E ·
   mustard #E0A73B · Bitter (display) + Inter (body).
   Public pages only; the logged-in dashboard uses the dark style.css.

   Fonts:
     <link href="https://fonts.googleapis.com/css2?family=Bitter:wght@400;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg: #FBF6EF;
  --surface: #F1E4D4;
  --card: #FFFFFF;
  --ink: #241A12;
  --ink-soft: #5b4a3a;
  --muted: #8a7663;
  --primary: #C0492E;
  --primary-deep: #9c3620;
  --accent: #E0A73B;
  --on-primary: #FFFFFF;
  --line: #e6d8c6;
  --line-soft: #f0e6d7;
  --shadow-sm: 0 1px 2px rgba(36,26,18,.05), 0 6px 18px rgba(36,26,18,.05);
  --shadow: 0 30px 70px -34px rgba(36,26,18,.4), 0 12px 30px -14px rgba(36,26,18,.18);
  --radius: 16px;
  --serif: "Bitter", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, .display { font-family: var(--serif); }

.container { width: min(1180px, 100% - 44px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary);
}
.eyebrow .dot { color: var(--accent); }
.accent { color: var(--primary); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-deep); transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: #3a2a0e; box-shadow: var(--shadow-sm); }
.btn--accent:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); }
.btn--lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251,246,239,.85); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line-soft); }
.nav__row { display: flex; align-items: center; gap: 20px; height: 66px; }
.brand { font-family: var(--serif); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.brand .dot { color: var(--primary); }
.nav__links { display: flex; gap: 22px; margin-inline: auto; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--primary); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) { .nav__links { display: none; } }

/* hero */
.hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line-soft); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.02em; font-weight: 800; margin: 16px 0 0; }
.hero__sub { font-size: clamp(16px, 2.1vw, 19px); color: var(--ink-soft); max-width: 42ch; margin: 18px 0 0; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 0; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* hero mock: a vendor ordering page + floating SMS */
.mock { position: relative; }
.mock__browser { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.mock__chrome { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); background: #fff; }
.mock__lights { display: flex; gap: 6px; }
.mock__lights span { width: 10px; height: 10px; border-radius: 50%; background: #e4d6c4; }
.mock__url { font-size: 12px; color: var(--muted); background: var(--bg); padding: 5px 12px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; }
.mock__hero { background: linear-gradient(135deg, #7a2f1c, #C0492E); color: #fff; padding: 26px 22px 22px; }
.mock__eyebrow { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #ffd9a1; font-weight: 700; }
.mock__name { font-family: var(--serif); font-weight: 800; font-size: 28px; line-height: 1.05; margin: 8px 0 0; }
.mock__open { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 5px 11px; border-radius: 999px; }
.mock__open .d { width: 7px; height: 7px; border-radius: 50%; background: #7ee081; }
.mock__menu { padding: 8px 22px 22px; }
.mock__item { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.mock__thumb { width: 48px; height: 48px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.mock__t1 { background: linear-gradient(135deg,#e9a23b,#c9772a); }
.mock__t2 { background: linear-gradient(135deg,#c0492e,#8f3320); }
.mock__iname { font-weight: 700; font-size: 14.5px; }
.mock__idesc { font-size: 12px; color: var(--muted); }
.mock__iprice { margin-left: auto; font-weight: 700; font-size: 14px; }
.mock__cta { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; background: var(--primary); color: #fff; font-weight: 700; padding: 13px 16px; border-radius: 12px; font-size: 14px; }

.mock__sms { position: absolute; right: -18px; bottom: -26px; width: 232px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 13px; }
@media (max-width: 900px) { .mock__sms { right: 6px; bottom: -14px; } }
.mock__sms-head { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.mock__avatar { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg,var(--primary),#9c3620); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; }
.mock__who { font-size: 12.5px; font-weight: 700; }
.mock__num { font-size: 11px; color: var(--muted); }
.bubble { font-size: 12px; padding: 8px 11px; border-radius: 12px; margin-bottom: 6px; max-width: 88%; line-height: 1.4; }
.bubble--in { background: var(--surface); }
.bubble--out { background: var(--primary); color: #fff; margin-left: auto; }
.mock__ai { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--primary); margin-top: 4px; }

/* stat strip */
.strip { background: var(--ink); color: var(--bg); }
.strip__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 40px 0; }
@media (max-width: 720px) { .strip__row { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
.stat__n { font-family: var(--serif); font-weight: 800; font-size: clamp(34px, 5vw, 48px); line-height: 1; color: var(--accent); }
.stat__n .unit { font-size: .5em; color: rgba(251,246,239,.7); margin-left: 3px; }
.stat__l { font-size: 13.5px; color: rgba(251,246,239,.75); margin-top: 8px; }

/* section headings */
.sec-h { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.05; letter-spacing: -.015em; font-weight: 800; margin: 12px 0 0; }
.sec-lede { color: var(--ink-soft); font-size: 17px; max-width: 56ch; margin: 16px 0 0; }

/* problem */
.problem { background: var(--surface); }
.problem__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (max-width: 820px) { .problem__grid { grid-template-columns: 1fr; } }
.problem__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.problem__list li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.problem__list .n { font-family: var(--serif); font-weight: 800; color: var(--primary); }
.problem__list .t { font-size: 14.5px; color: var(--ink-soft); }
.problem__list strong { color: var(--ink); }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.step__n { width: 38px; height: 38px; border-radius: 11px; background: var(--primary); color: #fff; font-family: var(--serif); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step__t { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 14px 0 6px; }
.step__b { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* pricing */
.pricing { background: var(--surface); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; align-items: start; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; }
.tier--featured { border-color: var(--primary); box-shadow: var(--shadow); }
.tier__badge { position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.tier__name { font-family: var(--serif); font-weight: 800; font-size: 24px; }
.tier__tag { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.tier__price { margin: 16px 0 4px; }
.tier__price .amt { font-family: var(--serif); font-weight: 800; font-size: 40px; }
.tier__price .per { color: var(--muted); font-size: 14px; }
.tier__rate { font-size: 13px; color: var(--primary); font-weight: 600; }
.tier__hr { height: 1px; background: var(--line); margin: 18px 0; }
.feats { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.feat__check { width: 20px; height: 20px; border-radius: 999px; background: rgba(192,73,46,.12); color: var(--primary); flex: none; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 1px; }
.tier__fine { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
.tier .btn { width: 100%; justify-content: center; }
.pricing__note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: 14.5px; }

/* faq */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 820px) { .faq__grid { grid-template-columns: 1fr; } }
.faq__intro { color: var(--ink-soft); font-size: 15px; margin-top: 14px; }
.faq__item { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq__q { font-family: var(--serif); font-weight: 700; font-size: 17px; padding: 14px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; color: var(--primary); font-weight: 700; }
.faq__item[open] .faq__q::after { content: "–"; }
.faq__a { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 14px; max-width: 62ch; }

/* final cta */
.final { background: var(--ink); color: var(--bg); }
.final__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.final__h { font-size: clamp(32px, 5vw, 52px); line-height: 1.02; font-weight: 800; margin: 0; }
.final .btn--accent { color: #3a2a0e; }
.final .fine { display: block; margin-top: 10px; font-size: 13px; color: rgba(251,246,239,.7); }

/* footer */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding: 54px 0 40px; }
.foot__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
@media (max-width: 720px) { .foot__top { grid-template-columns: 1fr; } }
.foot__brand { font-family: var(--serif); font-weight: 800; font-size: 18px; }
.foot__brand .dot { color: var(--primary); }
.foot__tag { color: var(--muted); font-size: 14px; max-width: 40ch; margin: 8px 0 0; }
.foot__cols { display: flex; gap: 40px; flex-wrap: wrap; }
.foot__col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot__col a:hover { color: var(--primary); }
.foot__bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 13px; }
.imprint { display: inline-flex; align-items: center; gap: 6px; }

/* ══════════════════════════════════════════════════════════════════
   Shared page components (auth, inner pages, prose, forms) — used by
   about / contact / signin / signup / legal / onboarding sub-pages.
   ══════════════════════════════════════════════════════════════════ */

/* inner-page header */
.page-header { padding: clamp(56px, 8vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line-soft); }
.page-header__sub { max-width: 56ch; margin: 18px 0 0; font-size: 18px; color: var(--ink-soft); }
.h-display { font-family: var(--serif); font-weight: 800; font-size: clamp(38px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -.02em; margin: 10px 0 0; }
.h-display .accent { color: var(--primary); }
.h-display .strike { text-decoration: line-through; text-decoration-color: var(--primary); opacity: .55; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.h-rule { height: 1px; background: var(--line); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.accent-text { color: var(--primary); }

/* prose (legal + articles) */
.prose { max-width: 70ch; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.prose h2 { font-family: var(--serif); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.01em; margin: 44px 0 14px; color: var(--ink); }
.prose h3 { font-family: var(--serif); font-weight: 700; font-size: 19px; line-height: 1.15; margin: 30px 0 10px; color: var(--ink); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }

/* auth layout */
.auth-container { max-width: 460px; margin: 0 auto; }

/* generic card */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.card--accent { background: var(--primary); color: #fff; border-color: var(--primary); }
.card--accent .card__label, .card--accent .card__b { color: rgba(255,255,255,.85); }
.card__label { font-family: var(--sans); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.card__h { font-family: var(--serif); font-weight: 800; font-size: 24px; line-height: 1.05; margin: 8px 0 10px; }
.card__b { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* form controls */
.field-group { display: grid; gap: 6px; margin-bottom: 16px; }
.field-group label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.input, .textarea, .select { font: inherit; font-size: 16px; padding: 13px 15px; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; color: var(--ink); width: 100%; transition: border-color .12s, box-shadow .12s; }
.input:focus, .textarea:focus, .select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(192,73,46,.15); }
.textarea { min-height: 130px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--muted); }

/* alerts */
.alert { padding: 13px 16px; border-radius: 11px; font-size: 14.5px; line-height: 1.45; margin-bottom: 16px; display: none; }
.alert--error { background: #fbe9e6; color: #9c3620; border: 1px solid #f0c9c0; }
.alert--success { background: #e6f4ea; color: #256b3c; border: 1px solid #c4e4cf; }

/* step indicator (auth / onboarding) */
.step-indicator { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 30px; }
.step-indicator__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.step-indicator__dot--active { background: var(--primary); width: 26px; border-radius: 999px; }

/* small button */
.btn--sm { padding: 8px 13px; font-size: 13.5px; border-radius: 10px; }

/* ── Onboarding wizard (Warm Kitchen port of the chat/tile/url components) ── */
:root { --paper: #FFFFFF; --ink-2: #5b4a3a; --line-2: #f0e6d7; }

.onboard-tile { background: var(--card); border: 2px solid var(--line); color: var(--ink); border-radius: 12px; padding: 22px 18px; text-align: center; cursor: pointer; font-family: var(--serif); font-weight: 700; font-size: 18px; transition: border-color .15s, transform .15s; }
.onboard-tile:hover { border-color: var(--primary); transform: translateY(-2px); }
.onboard-tile--selected { border-color: var(--primary); background: var(--primary); color: #fff; }

.chat-messages { max-height: 360px; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 0; margin-bottom: 14px; }
.chat-bubble { max-width: 80%; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.45; word-wrap: break-word; }
.chat-bubble--user { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble--ai { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--ink); border-bottom-left-radius: 4px; }
.chat-input-row { display: flex; gap: 10px; align-items: stretch; }
.chat-input-row .input { flex: 1; min-width: 0; }
.chat-input-row .btn { flex-shrink: 0; white-space: nowrap; }

.number-option { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--card); border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s; }
.number-option:hover { border-color: var(--primary); }
.number-option input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.number-option input[type="radio"]:checked ~ .number-option__number { color: var(--primary); }
.number-option__number { font-family: ui-monospace, Menlo, monospace; font-size: 16px; font-weight: 600; letter-spacing: .04em; }
.number-option__location { font-size: 13px; color: var(--muted); margin-left: auto; }

.ob-step-title { font-family: var(--serif); font-weight: 800; font-size: 27px; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 8px; }
.ob-step-sub { color: var(--ink-2); margin: 0 0 24px; font-size: 15px; }
.ob-review-title { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 0 0 12px; }
.ob-url-preview { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 4px; padding: 12px 14px; background: var(--surface); border-radius: 10px; font-size: 14px; }
.ob-url-preview__label { color: var(--muted); font-size: 13px; }
.ob-live-url { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding: 16px; background: var(--surface); border-radius: 12px; }
