/* ═══ MARKETING SITE (Loylet) — loaded after app.css ═══════ */
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: var(--paper); font-weight: 700; }
.skip:focus { top: 12px; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 6px 10px; border-radius: 99px; white-space: nowrap; }
.lang-switch svg { width: 18px; height: 18px; }
.lang-switch:hover { background: var(--paper-2); color: var(--ink); }
.lang-switch.on-brand { color: var(--m-fg); opacity: .85; }
.lang-switch.on-brand:hover { background: color-mix(in srgb, var(--m-fg) 12%, transparent); color: var(--m-fg); }
.nav-login { text-decoration: none; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-2); cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 22px; height: 22px; }
.mnav-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 220px; display: grid; padding: 8px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mnav-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--paper); color: var(--accent); }

.h1 { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px, 5.4vw, 64px); line-height: 1.1; margin: 0; }
.h3 { font: 800 22px/1.3 var(--f-display); margin: 0 0 16px; }
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-head .lede { margin-bottom: 0; }
.pt0 { padding-top: 0; }
.narrow { max-width: 820px; margin-inline: auto; }
.trial-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.hero-actions.is-center { justify-content: center; }
.btn-onaccent { --b-bg: transparent; --b-fg: #fff; --b-bd: rgba(255, 255, 255, .7); }
.btn-onaccent:hover { --b-bg: rgba(255, 255, 255, .12); }
[dir="ltr"] .i-arrow { transform: scaleX(-1); }
[dir="ltr"] .btn-lg:hover .i-arrow { transform: scaleX(-1) translateX(-3px); }
[dir="ltr"] .display, [dir="ltr"] .h1, [dir="ltr"] .h2 { letter-spacing: -.02em; }

/* phone mockup */
.hero-stage { min-height: 0; padding: 40px 0 10px; }
.phone {
  position: relative; z-index: 1;
  width: min(300px, 78%); aspect-ratio: 9 / 19;
  padding: 11px; border-radius: 48px;
  background: linear-gradient(145deg, #2A221E, #0D0A09 60%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #4A3E37, inset 0 0 0 4px #0D0A09;
  transform: rotate(-3deg);
  animation: float 6s ease-in-out infinite;
}
.phone-island { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 86px; height: 25px; border-radius: 20px; background: #000; z-index: 2; }
.phone-screen { height: 100%; border-radius: 38px; background: #F2F2F7; overflow: hidden; padding: 14px 10px; display: flex; flex-direction: column; color: #000; }
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; font: 600 13px/1 -apple-system, 'SF Pro Text', 'Segoe UI', sans-serif; }
.ps-status svg { width: 52px; height: 11px; }
.ps-head { display: flex; justify-content: space-between; align-items: center; padding: 26px 6px 10px; font: 800 27px/1 -apple-system, 'SF Pro Display', 'Segoe UI', sans-serif; }
.ps-head svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: #E5E5EA; color: #007AFF; }
.ps-stack i { display: block; height: 16px; margin: 0 6px -8px; border-radius: 12px 12px 0 0; background: var(--c); }
.ps-card .wcard { max-width: none; padding: 13px 13px 14px; border-radius: 14px; }
.ps-card .wc-strip { margin: 12px -13px 10px; padding: 12px 13px; }
.ps-card .wc-stamps { gap: 6px; }
.ps-card .wc-goal b { font-size: 15px; }
.ps-card .wc-qr { width: 104px; margin-top: 12px; padding: 8px 8px 4px; }
.hero-stage .lock-notif { top: 10px; }
.hero-stage .stamp-pop { top: 46%; z-index: 4; }

/* benefits 4-up */
.feats-4 { grid-template-columns: repeat(4, 1fr); }

/* industries */
.industries {
  list-style: none; margin: 0;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 82vw); gap: 18px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 6px max(var(--gutter), (100% - 1180px) / 2) 28px;
  scrollbar-width: thin;
}
.industry { scroll-snap-align: center; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.industry h3 { font: 800 21px/1.3 var(--f-display); margin: 0; }
.industry p { margin: 0 0 14px; color: var(--ink-2); font-size: 15px; }
.industry-card { margin-top: auto; }
.industry-card .wcard { max-width: none; box-shadow: var(--shadow); }

/* pricing teaser + check lists */
.section-paper2 { background: var(--paper-2); }
.teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.teaser .lede { margin: 16px 0 18px; }
.from-price { font-size: 18px; margin: 0 0 24px; }
.from-price b { font: 900 34px/1 var(--f-display); color: var(--accent); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--ok); margin-top: 3px; }
.check-list.cols { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.teaser .check-list { padding: 28px; border-radius: var(--r-lg); background: var(--surface); }

/* FAQ */
.faq-list { display: grid; gap: 10px; margin-bottom: 24px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; font-size: 17px; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex: none; transition: transform .25s var(--ease); color: var(--accent); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }
.final-sub { font-size: 19px; margin: -16px 0 32px; opacity: .9; }

/* features page */
.feature-rows { display: grid; gap: 18px; }
.feature-row { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.feature-row h2 { font: 800 24px/1.3 var(--f-display); margin: 0 0 4px; }
.feature-row .muted { margin: 0 0 16px; }
.feature-row .check-list { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* pricing page */
.price-controls { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.seg-period { min-width: min(100%, 360px); }
.save { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 99px; margin-inline-start: 6px; }
.cur-select { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.cur-select select { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; }
.card-explain { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; margin-bottom: 26px; border-radius: var(--r); background: var(--accent-soft); color: #5A240C; }
.card-explain h2 { font: 800 17px/1.3 var(--f-display); margin: 2px 0 4px; }
.card-explain p { margin: 0; }
.card-explain .feat-ico { flex: none; }
.plans-4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan h2 { font: 800 20px/1.2 var(--f-display); margin: 0; }
.plan-hot h2 { color: var(--paper); }
.plan-blurb { margin: 6px 0 0; color: var(--muted); font-size: 14px; min-height: 2.8em; }
.plan-hot .plan-blurb { color: var(--on-ink-2); }
.plan .price { margin: 18px 0 4px; flex-wrap: wrap; }
.plan .price b { font-size: 44px; }
.price-note { margin: 0 0 18px; font-size: 13px; color: var(--muted); min-height: 1.5em; }
.plan-hot .price-note { color: var(--on-ink-3); }
.plan-cards { display: flex; gap: 10px; align-items: center; margin: 0 0 22px; padding: 12px 0; border-block: 1px dashed var(--line); }
.plan-hot .plan-cards { border-color: rgba(243, 236, 224, .2); }
.plan-cards svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.plan .btn { margin-top: auto; }
.approx-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.included { margin: 56px 0; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.compare { margin-bottom: 64px; }
.compare-table { min-width: 620px; }
.compare-table th[scope="row"] { font-weight: 600; font-size: 14px; color: var(--ink); background: none; text-align: start; white-space: normal; }
.compare-table td { text-align: center; }
.compare-table thead th:not(:first-child) { text-align: center; font: 800 15px/1.2 var(--f-display); color: var(--ink); }
.yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.yes svg { width: 15px; height: 15px; }

/* prose (about, legal) */
.prose { font-size: 17px; line-height: 1.85; }
.prose h2 { font: 800 21px/1.35 var(--f-display); margin: 36px 0 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; color: var(--ink-2); }
.facts { display: grid; gap: 1px; margin: 32px 0 0; border-radius: var(--r); overflow: hidden; background: var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; background: var(--surface); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: end; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 22px; align-items: start; }
.contact-side { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
a.contact-card:hover { border-color: var(--ink); }
.contact-card > svg { width: 26px; height: 26px; color: var(--accent); flex: none; }
.contact-card small { display: block; color: var(--muted); font-size: 13px; }
.contact-card b { font-size: 16px; word-break: break-word; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }

/* legal */
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 18px 0 0; font-size: 14px; }
.legal-meta > div { display: flex; gap: 6px; }
.legal-meta dt { color: var(--muted); }
.legal-meta dt::after { content: ':'; }
.legal-meta dd { margin: 0; font-weight: 600; }
.legal-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: grid; gap: 4px; }
.legal-nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--ink-2); }
.legal-nav a:hover { background: var(--paper-2); }
.legal-nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.legal-grid .prose { max-width: 760px; }

/* footer */
.site-foot { padding: 64px 0 28px; background: var(--ink); color: var(--on-ink); border: 0; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--paper); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot-brand .brandmark { color: var(--paper); }
.foot-brand p { margin: 14px 0 0; max-width: 34ch; }
.foot-contact { display: grid; gap: 8px; }
.foot-contact a { display: inline-flex; gap: 8px; align-items: center; }
.foot-contact svg { width: 18px; height: 18px; color: var(--accent); }
.socials { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-block; padding: 6px 12px; border-radius: 99px; border: 1px solid rgba(243, 236, 224, .2); font-size: 13px; font-weight: 600; }
.foot-col h2 { font: 700 14px/1 var(--f-display); color: var(--paper); margin: 6px 0 16px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(243, 236, 224, .14); font-size: 13px; color: var(--on-ink-3); }
.site-foot .lang-switch { color: var(--on-ink); }
.site-foot .lang-switch:hover { background: rgba(243, 236, 224, .08); color: var(--paper); }

/* cookie notice */
.cookie { position: fixed; inset-inline: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 120; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; }
.cookie p { margin: 0; flex: 1; }
.cookie a { font-weight: 700; }

/* auth + join extras */
.auth-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.auth-panel .auth-top .brandmark { margin: 0; }
.plan-chip { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 6px 14px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 14px; }
.plan-chip svg { width: 16px; height: 16px; }
.auth .fine a { color: var(--ink); font-weight: 700; }
.join-top { display: flex; justify-content: flex-end; width: 100%; margin-bottom: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--m-ac, var(--accent)); }
.check a { color: var(--ink); font-weight: 700; }
.check-soft { font-size: 13px; color: var(--muted); }

/* responsive (marketing) */
@media (max-width: 1080px) {
  .plans-4 { grid-template-columns: repeat(2, 1fr); }
  .feats-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links, .nav-login { display: none; }
  .mnav { display: block; }
  .teaser, .contact-grid, .legal-grid { grid-template-columns: 1fr; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .plans-4, .feats-4 { grid-template-columns: 1fr; }
  .plan-hot { transform: none; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-sm { padding: 0 12px; }
  .site-nav .lang-switch svg { display: none; }
  .feature-row { grid-template-columns: 1fr; padding: 22px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .price-controls { flex-direction: column; align-items: stretch; }
  .cur-select { justify-content: space-between; }
  .cookie { flex-direction: column; align-items: stretch; text-align: center; }
  .phone { width: min(280px, 80%); }
  .hero-stage .lock-notif { width: 94%; }
  .facts > div { flex-direction: column; gap: 2px; }
  .facts dd { text-align: start; }
}
@media (max-width: 400px) {
  .brandmark { font-size: 20px; gap: 8px; }
  .brandmark svg { width: 26px; height: 26px; }
  .nav-cta .btn-sm { font-size: 13px; padding: 0 10px; min-height: 38px; }
  .lang-switch { padding: 6px 6px; }
}
