/* Marketing pages (landing, support, terms, privacy).
   Responsive by container width, so the same page also works inside the phone frame. */
/* ---- Landing page (responsive by container width, so the same page works in the phone frame) ---- */
.device.web { width: 1280px; height: auto; border-radius: 10px; container-type: inline-size; background: var(--surface); }
.embed .device.web { width: 100%; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #e9e6e1; border-bottom: 1px solid #d6d2cc; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9c4bd; display: block; }
.browser-bar .url { margin-left: 16px; flex: 1; max-width: 520px; background: #fff; border-radius: 6px; padding: 4px 12px; font: 13px system-ui, sans-serif; color: #666; }
.embed .browser-bar { display: none; }

.lp { color: var(--ink); }
.lp section { padding: 88px 64px; }
.lp .wrap { max-width: 1120px; margin: 0 auto; }
.lp .eyebrow { font-size: var(--fs-sm); font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.lp h2.big { font-size: 40px; line-height: 1.15; }
.lp .lead { font-size: var(--fs-lg); color: var(--ink-2); line-height: 1.5; }
.lp .center { text-align: center; justify-items: center; }
.lp .alt { background: var(--bg); }
.lp .ph { display: inline-block; font: 600 11px system-ui, sans-serif; color: #9a5b00; background: #fff4d6; border: 1px dashed #e0b44c; border-radius: 4px; padding: 1px 6px; }

/* Nav */
.lp-nav { display: flex; align-items: center; gap: 28px; padding: 18px 64px; border-bottom: 1px solid var(--line); background: var(--surface); }
.embed .lp-nav { position: sticky; top: 0; z-index: 2; }
.lp-nav .links { display: flex; gap: 24px; font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.lp-nav .links a { text-decoration: none; }
.lp-nav .menu-btn { display: none; width: 40px; padding: 0; font-size: 20px; }

/* Phone menu: opens when the URL ends in #menu (pure CSS), closes on #close */
.m-menu { display: none; position: fixed; inset: 0; z-index: 5; background: var(--surface); flex-direction: column; padding: 14px 20px 28px; gap: 8px; }
.m-menu:target { display: flex; }
.m-menu .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.m-menu .links { display: grid; }
.m-menu .links a { padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: var(--fs-lg); font-weight: 700; }
.m-menu .actions { margin-top: auto; display: grid; gap: 10px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 56px; line-height: 1.05; letter-spacing: -0.03em; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-3); font-size: var(--fs-sm); }

/* Hero visual: a small register screen + a kitchen ticket, drawn in CSS */
.shot { position: relative; padding: 0 0 40px 0; }
.shot .tab { background: var(--bg); border: 10px solid #1b1a18; border-radius: 22px; box-shadow: 0 30px 60px rgb(0 0 0 / .18); display: grid; grid-template-columns: 1.5fr 1fr; height: 360px; overflow: hidden; }
.shot .menu { padding: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.shot .tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; display: grid; gap: 2px; font-size: 11px; }
.shot .tile b { font-size: 12px; }
.shot .tile .e { font-size: 20px; }
.shot .tile.on { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.shot .cart { background: var(--surface); border-left: 1px solid var(--line); padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.shot .cart .l { display: flex; justify-content: space-between; }
.shot .cart .pay { margin-top: auto; background: var(--brand); color: var(--brand-ink); border-radius: var(--r-btn); text-align: center; padding: 10px; font-weight: 700; }
.shot .ticket { position: absolute; right: -18px; bottom: 0; width: 200px; background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 20px 40px rgb(0 0 0 / .2); padding: 14px; display: grid; gap: 6px; font-size: 12px; border-top: 6px solid var(--ok); }
.shot .ticket .ready { background: var(--ok); color: #fff; border-radius: var(--r-btn); text-align: center; padding: 6px; font-weight: 700; }

/* Problem / features / steps / devices */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.pain { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; text-align: left; }
.pain s { color: var(--ink-3); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; text-align: left; }
.feature .ico { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--brand-soft); display: grid; place-items: center; font-size: 22px; }
.feature p { color: var(--ink-2); font-size: var(--fs-sm); }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; counter-reset: s; }
.step3 { display: grid; gap: 10px; text-align: left; }
.step3 .n { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; }
.step3 p { color: var(--ink-2); }
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.dev-card { padding: 24px 16px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 6px; justify-items: center; text-align: center; }
.dev-card .e { font-size: 34px; }
.dev-card span { color: var(--ink-3); font-size: var(--fs-sm); }

/* Quote, pricing, FAQ, CTA, footer */
.quote { max-width: 760px; margin: 0 auto; display: grid; gap: 20px; text-align: center; justify-items: center; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: 28px; line-height: 1.35; font-weight: 600; }
.price-card { max-width: 440px; margin: 40px auto 0; padding: 36px; border-radius: var(--r-lg); background: var(--surface); border: 2px solid var(--brand); display: grid; gap: 16px; text-align: left; }
.price-card .amt { font-size: 48px; font-weight: 800; letter-spacing: -0.03em; }
.price-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.faq { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 10px; color: var(--ink-2); }
.cta-band { background: var(--panel); color: var(--panel-ink); text-align: center; }
.cta-band .lead { color: var(--panel-muted); }
.cta-band .btn.primary { background: var(--panel-accent); border-color: var(--panel-accent); color: var(--panel-accent-ink); }
.lp-foot { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; padding: 28px 64px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: var(--fs-sm); }
.lp-foot a { text-decoration: none; }

/* ---- Phone width ---- */
@container (max-width: 720px) {
  .lp section { padding: 56px 20px; }
  .lp-nav { padding: 14px 20px; }
  .lp-nav .links, .lp-nav .signin, .lp-nav .nav-cta { display: none; }
  .lp-nav .menu-btn { display: inline-flex; }
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 38px; }
  .lp h2.big { font-size: 30px; }
  .lp .lead { font-size: var(--fs-md); }
  .shot .tab { height: 260px; border-width: 7px; }
  .shot .menu { grid-template-columns: repeat(2, 1fr); }
  .shot .ticket { right: 0; width: 160px; }
  .pains, .features, .steps3 { grid-template-columns: 1fr; }
  .devices { grid-template-columns: 1fr 1fr; }
  .quote blockquote { font-size: 22px; }
  .lp-foot { padding: 24px 20px; }
  .hero .ctas .btn { width: 100%; }
}

/* Support page */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.topic { display: grid; gap: 4px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.topic:hover { border-color: var(--brand); }
.topic .ico { font-size: 24px; margin-bottom: 6px; }
.support-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 32px; }
.article { display: flex; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.article:last-child { border-bottom: 0; }
.article span { color: var(--ink-3); }
.contact-ways { display: grid; gap: 14px; }
.ico-sm { width: 36px; height: 36px; border-radius: var(--r-md); background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; flex: none; }

/* Legal pages */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { display: grid; gap: 4px; position: sticky; top: 24px; font-size: var(--fs-sm); }
.toc strong { margin-bottom: 8px; }
.toc a { color: var(--ink-2); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--brand); }
.legal-sec { display: grid; gap: 12px; }
.legal-sec .in-short { background: var(--surface-2); border-left: 3px solid var(--brand); padding: 10px 14px; border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }
.lines { display: grid; gap: 10px; }
.lines i { display: block; height: 10px; border-radius: 4px; background: var(--line); width: 100%; }

@container (max-width: 720px) {
  .topics { grid-template-columns: 1fr 1fr; }
  .support-2col, .legal { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
}
