/* =========================================================================
   public.css — POLISH-002 public-marketing CSS split.

   Extracted from app.css so the lean public QR menu/guide pages (which
   extend base.html directly) STOP shipping marketing/landing/auth styles.
   Loaded ONLY by public_base.html (marketing landings, home, features,
   pricing, contact, page, auth shell) on top of the shared app.css core.

   Contains: .landing-* and .marketing-* surfaces, the legacy .auth-card,
   and the .auth-page-* / billing-plan polish. Shared primitives (flash,
   public header/footer, error page, .menu-page, .admin-form) intentionally
   stayed in app.css because QR/guide/error/admin surfaces use them too.
   ========================================================================= */

.landing-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background: #f7f5ef;
  border-bottom: 1px solid #d8e0db;
}
.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7f5ef;
  opacity: 0.92;
}
/* Pages that drop content straight into .landing-container (partners, features,
   pricing…) had no stacking context, so the absolutely-positioned ::before
   overlay painted ON TOP of the copy and washed the whole hero out to ~8%
   (grey-on-beige, barely legible). The homepage uses .landing-hero__copy with
   its own z-index; this raises the plain container the same way. */
.landing-hero > .landing-container {
  position: relative;
  z-index: 2;
}
.landing-hero__grid {
  position: relative;
  min-height: 430px;
  display: block;
}
.landing-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
  padding-top: 20px;
}
.landing-hero h1 {
  font-size: 3.6rem;
  line-height: 1.03;
  margin: 8px 0 16px;
  letter-spacing: 0;
  font-weight: 800;
  max-width: 18ch;
}
.landing-subtitle {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #484848;
  margin: 0 0 24px;
  max-width: 60ch;
}
.landing-proof { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.landing-proof span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d8e0db;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #123235;
  font-size: 0.85rem;
  font-weight: 700;
}
.landing-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.landing-cta a + a { color: #484848; }
.landing-cta--center { justify-content: center; }

.landing-product-shot {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -10px;
  width: 420px;
  height: 420px;
  pointer-events: none;
}
.product-phone {
  position: absolute;
  right: 82px;
  bottom: 6px;
  width: 230px;
  min-height: 360px;
  border: 1px solid rgba(11, 79, 85, 0.18);
  border-radius: 28px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(18, 50, 53, 0.16);
}
.product-phone__top {
  width: 58px;
  height: 5px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: #d8e0db;
}
.product-phone__hero {
  min-height: 92px;
  padding: 16px;
  border-radius: 18px;
  background: #0b4f55;
  color: #fff;
}
.product-phone__hero span { display: block; color: rgba(255,255,255,0.72); font-size: 0.72rem; }
.product-phone__hero strong { display: block; margin-top: 8px; font-size: 1.4rem; line-height: 1.05; }
.product-line { height: 10px; width: 66%; margin: 14px 0; border-radius: 999px; background: #e7ece8; }
.product-line--wide { width: 94%; margin-top: 18px; }
.product-menu-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #edf1ee;
  color: #123235;
  font-size: 0.82rem;
}
.product-menu-row strong { white-space: nowrap; }
.product-qr {
  width: 74px;
  height: 74px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
  padding: 8px;
  border-radius: 12px;
  background: #f7f5ef;
}
.product-qr span { border-radius: 4px; background: #0b4f55; }
.product-card {
  position: absolute;
  left: 14px;
  width: 208px;
  padding: 14px 16px;
  border: 1px solid rgba(11, 79, 85, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 50, 53, 0.12);
}
.product-card--one { top: 88px; }
.product-card--two { bottom: 78px; left: 0; }
.product-card strong { display: block; color: #123235; }
.product-card span { display: block; color: #536467; font-size: 0.84rem; }

.landing-band { padding: 56px 0; background: #fff; }
.landing-band--alt { background: #f7f5ef; border-top: 1px solid #d8e0db; border-bottom: 1px solid #d8e0db; }
.landing-band--proof { padding: 22px 0; background: #0b4f55; color: #fff; }
.landing-band__title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 24px;
}
.landing-section-head { max-width: 780px; margin-bottom: 24px; }
.landing-section-head p:not(.eyebrow) { color: #536467; margin: -10px 0 0; line-height: 1.6; }
.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.landing-grid--demos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.landing-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 8px;
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.landing-card h3 { margin: 0; font-size: 1.1rem; font-weight: 600; }
.landing-card p { margin: 0; color: #555; line-height: 1.55; }
.landing-card--demo {
  overflow: hidden;
  padding: 0;
}
.landing-card--demo__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  background: #edf2ef;
}
/* R3-08: demo cards in the audience/home demo grids used raw <img> with natural
   heights, so one card looked short and another tall. Force a uniform crop. */
.landing-grid .landing-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* R3-07: real scannable QR on each demo card. */
.demo-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px 20px 20px;
}
.demo-qr__code {
  width: 104px;
  height: 104px;
  padding: 7px;
  background: #fff;
  border: 1px solid #e3e8e5;
  border-radius: 12px;
}
.demo-qr__code svg {
  display: block;
  width: 100%;
  height: 100%;
}
.demo-qr__label {
  font-size: 0.74rem;
  color: #6a7a7c;
  text-align: center;
}
.landing-card--demo > :not(.landing-card--demo__image) {
  margin-left: 20px;
  margin-right: 20px;
}
.landing-card--demo > .eyebrow { margin-top: 20px; }
.landing-card--demo h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.landing-card--demo .button { margin: 4px 20px 20px; align-self: flex-start; }
.demo-season-cta {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #f7fbf8;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}
.demo-season-cta h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  line-height: 1.2;
}
.demo-season-cta p { margin: 0; color: #536467; line-height: 1.55; }
.demo-season-cta .button { white-space: nowrap; }
.landing-card__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #e7f0ed;
  color: #0b4f55;
}
.landing-band--alt .landing-card { background: #fff; }
.landing-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.landing-proof-grid article { display: flex; flex-direction: column; gap: 2px; }
.landing-proof-grid strong { color: #f4c76b; font-size: 1.05rem; }
.landing-proof-grid span { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.landing-band--trust {
  background: #f7fbf8;
}
.landing-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.landing-trust-grid article {
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}
.landing-trust-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.02rem;
}
.landing-trust-grid span {
  color: var(--muted);
  line-height: 1.55;
}
.landing-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.landing-steps li {
  counter-increment: step;
  min-height: 180px;
  padding: 22px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
}
.landing-steps li::before {
  content: counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #0b4f55;
  color: #f4c76b;
  font-weight: 800;
}
.landing-steps strong { display: block; margin-bottom: 8px; color: #123235; font-size: 1.05rem; }
.landing-steps span { color: #536467; line-height: 1.55; }
.landing-copy-block {
  max-width: 820px;
}
.landing-copy-block h2 { font-size: 1.9rem; line-height: 1.18; margin-bottom: 16px; letter-spacing: 0; }
.landing-copy-block p { color: #536467; font-size: 1rem; line-height: 1.7; }
.landing-faq { display: grid; gap: 10px; max-width: 860px; }
.landing-faq details {
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}
.landing-faq summary { cursor: pointer; font-weight: 800; color: #123235; }
.landing-faq p { margin: 12px 0 0; color: #536467; line-height: 1.6; }

.landing-footer-cta {
  padding: 64px 0 80px;
  background: #123235;
  color: #fff;
  text-align: center;
}
.landing-footer-cta h2 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.landing-footer-cta p { color: rgba(255, 255, 255, 0.78); margin: 0 0 20px; }
.landing-footer-cta .button { background: #fff; color: #111; border-color: #fff; }
.landing-footer-cta .button:hover { background: #f5f5f5; }

.marketing-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.marketing-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.marketing-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 38, 41, 0.86), rgba(6, 38, 41, 0.58) 46%, rgba(6, 38, 41, 0.18));
}
.marketing-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 88px;
}
.marketing-hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}
.marketing-hero .landing-subtitle {
  max-width: 680px;
  color: rgba(255,255,255,0.84);
  font-size: 1.16rem;
}
.marketing-hero .eyebrow { color: #f4c76b; }
.marketing-hero .landing-proof span {
  border-color: rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.marketing-hero .button-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08);
}

/* The homepage split hero shares the .marketing-hero class but is NOT a
   full-bleed photo hero. Without this it inherits the flex / align-items:
   flex-end / min-height:680px / clamp(...,7vw,5.9rem) h1 rules above (public.css
   loads after app.css, so the base .marketing-hero won the cascade over
   app.css's .marketing-hero--split{display:block}). The result: the centered
   intro and the audience cards collapsed into a broken side-by-side with a
   huge bottom-aligned title — badly on tablet portrait. Reset to normal block
   flow: centered intro on top, hero-paths grid below. */
.marketing-hero--split {
  display: block;
  min-height: 0;
  align-items: initial;
  overflow: visible;
  color: #123235;
}
.marketing-hero--split h1 {
  max-width: 820px;
  margin: 8px auto 14px;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04;
  font-weight: 800;
  color: #102f33;
}
/* FIND-R4-05a: the reset above fixed layout/h1 but forgot the descendant text
   rules — `.marketing-hero .landing-subtitle` (white, for photo heroes) and
   `.marketing-hero .eyebrow` (gold) sit later in the cascade than app.css's
   dark --split colors (equal specificity, public.css loads last), so the
   subtitle rendered white-on-cream = invisible. Re-assert the light-surface
   ink here, after the photo-hero rules, scoped to the split variant. */
.marketing-hero--split .landing-subtitle {
  color: #4a5a5c;
  margin-left: auto;
  margin-right: auto;
}
.marketing-hero--split .eyebrow { color: #0b4f55; }
.marketing-hero--split .landing-proof span {
  border-color: #d8e0db;
  background: rgba(255, 255, 255, 0.72);
  color: #123235;
}
/* Same cross-wiring: the photo-hero white ghost button turned the secondary
   CTAs inside the split hero's white cards white-on-white. */
.marketing-hero--split .button-secondary {
  background: #fff;
  color: #111;
  border-color: #d9d9d9;
}

.marketing-split-grid {
  grid-template-columns: 0.9fr 1.15fr 0.95fr;
}
.landing-card--bad { background: #fbf5f2; border-color: #efd8d0; }
.landing-card--good { background: #edf5f1; border-color: #c9ded4; }
.marketing-showcase .landing-section-head { margin-bottom: 30px; }
.marketing-feature-rows {
  display: grid;
  gap: 18px;
}
.marketing-feature-rows article {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  border: 1px solid #d8e0db;
  border-radius: 10px;
  background: #fff;
}
.marketing-feature-rows img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.marketing-feature-rows h3 { margin: 0 0 8px; color: #123235; font-size: 1.35rem; }
.marketing-feature-rows p { margin: 0 0 12px; color: #536467; line-height: 1.65; }
.marketing-feature-rows a { color: #0b4f55; font-weight: 800; text-decoration: none; }
.marketing-pricing-preview {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}
.marketing-pricing-preview p { color: #536467; line-height: 1.6; }

.marketing-page-hero {
  padding: 90px 0 56px;
  background: #f7f5ef;
  border-bottom: 1px solid #d8e0db;
}
.marketing-page-hero--center { text-align: center; }
.marketing-page-hero h1 {
  max-width: 920px;
  margin: 8px 0 16px;
  color: #123235;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 800;
}
.marketing-page-hero--center h1,
.marketing-page-hero--center p { margin-left: auto; margin-right: auto; }
.marketing-page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #536467;
  font-size: 1.08rem;
  line-height: 1.65;
}
.marketing-feature-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.marketing-feature-matrix article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid #d8e0db;
  border-radius: 10px;
  background: #fff;
}
.marketing-feature-matrix span {
  display: inline-flex;
  margin-bottom: 34px;
  color: #0b4f55;
  font-weight: 800;
}
.marketing-feature-matrix h2 { margin: 0 0 10px; color: #123235; font-size: 1.28rem; }
.marketing-feature-matrix p { margin: 0; color: #536467; line-height: 1.6; }
.marketing-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: start;
}
.marketing-two-column p { color: #536467; line-height: 1.7; }
.marketing-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.marketing-check-list li {
  padding: 14px 16px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
  color: #123235;
  font-weight: 700;
}
.marketing-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.marketing-price-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  background: #fff;
}
.marketing-price-card--featured {
  border-color: #0b4f55;
  box-shadow: 0 20px 52px rgba(18, 50, 53, 0.13);
}
.marketing-price-card h2 {
  margin: 0;
  color: #123235;
  font-size: 3rem;
  line-height: 1;
}
.marketing-price-card h2 span { color: #536467; font-size: 1rem; font-weight: 700; }
.marketing-price-card p:not(.eyebrow) { margin: 0; color: #536467; line-height: 1.55; }
.marketing-price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 6px 0 8px;
  padding: 0;
}
.marketing-price-card li {
  padding-left: 22px;
  color: #123235;
  line-height: 1.45;
  position: relative;
}
.marketing-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0b4f55;
}
.marketing-price-card .button { margin-top: auto; justify-content: center; }
.marketing-volume-table {
  display: grid;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.marketing-volume-table > div {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid #edf1ee;
}
.marketing-volume-table > div:first-child {
  background: #0b4f55;
  color: #fff;
}
.marketing-volume-table > div:last-child { border-bottom: 0; }
.marketing-volume-table span,
.marketing-volume-table strong {
  min-width: 0;
  overflow-wrap: anywhere;
}
.marketing-volume-table span {
  color: #123235;
  font-weight: 700;
}
.marketing-contact-note,
.marketing-contact-side {
  padding: 24px;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  background: #fff;
}
.marketing-contact-note strong,
.marketing-contact-note span { display: block; }
.marketing-contact-note strong { margin-bottom: 10px; color: #123235; font-size: 1.15rem; }
.marketing-contact-note span { color: #536467; line-height: 1.6; }
.marketing-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}
.marketing-contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid #d8e0db;
  border-radius: 12px;
  background: #fff;
}

.public-form-hp {
  left: -10000px;
  position: absolute;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.marketing-contact-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.marketing-contact-form label {
  display: grid;
  gap: 8px;
  color: #123235;
  font-weight: 800;
}
.marketing-contact-form input,
.marketing-contact-form select,
.marketing-contact-form textarea {
  width: 100%;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: #123235;
  font: inherit;
}
.marketing-contact-form textarea { resize: vertical; }
.marketing-contact-form input:focus,
.marketing-contact-form select:focus,
.marketing-contact-form textarea:focus {
  outline: none;
  border-color: #0b4f55;
  box-shadow: 0 0 0 3px rgba(11,79,85,0.12);
}
.marketing-contact-form .form-error { color: #b02929; font-weight: 700; }
.marketing-contact-side h2 { margin: 0 0 16px; color: #123235; }
.marketing-contact-side ol {
  margin: 0 0 18px;
  padding-left: 20px;
  color: #123235;
  line-height: 1.6;
  font-weight: 700;
}
.marketing-contact-side p { margin: 0; color: #536467; line-height: 1.6; }

@media (max-width: 900px) {
  .landing-hero { padding: 72px 0 48px; }
  .landing-hero__grid { min-height: auto; }
  .landing-hero h1 { font-size: 2.65rem; }
  .landing-product-shot {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 420px);
    height: 360px;
    margin-top: 28px;
  }
  .product-phone { right: 60px; }
  .landing-proof-grid,
  .landing-trust-grid,
  .landing-steps,
  .marketing-split-grid,
  .marketing-feature-matrix,
  .marketing-pricing-grid,
  .marketing-two-column,
  .marketing-contact-layout { grid-template-columns: 1fr; }
  .landing-grid--demos { grid-template-columns: 1fr; }
  .marketing-feature-rows article { grid-template-columns: 1fr; }
  .marketing-pricing-preview { align-items: flex-start; flex-direction: column; }
  /* FIND-R4-07: below 900px the 3 columns can't fit, but plain stacking loses
     the value↔column mapping. Hide the header row and render each row as a
     card where every value carries its own label (data-label pattern). */
  .marketing-volume-table > div { grid-template-columns: 1fr; gap: 8px; }
  .marketing-volume-table > div:first-child { display: none; }
  .marketing-volume-table span {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
  }
  .marketing-volume-table span::before {
    content: attr(data-label);
    color: #536467;
    font-weight: 600;
    font-size: 0.92rem;
  }
}

/* Tablet portrait (e.g. OnePlus Pad ≈ 1000px CSS width): the split hero's two
   cards and the 3-up "Hostora σε αριθμούς" proof band sit side by side and feel
   cramped/small. Collapse both to one full-width column so each card is big and
   readable. Landscape (≈1400px) is above this and keeps the multi-column look.
   This block lives in public.css (loaded after app.css) so it wins the cascade. */
@media (max-width: 1100px) {
  .hero-paths { grid-template-columns: 1fr; }
  .landing-proof-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .landing-container { padding: 0 18px; }
  .marketing-hero { min-height: 620px; }
  .marketing-hero__content { padding-top: 96px; padding-bottom: 54px; }
  .landing-hero h1 { font-size: 2.25rem; }
  .landing-product-shot { display: none; }
  .landing-card--demo { gap: 8px; }
  .landing-card--demo__image { aspect-ratio: 4 / 3; }
  .landing-card--demo > :not(.landing-card--demo__image) {
    margin-left: 16px;
    margin-right: 16px;
  }
  .landing-card--demo > .eyebrow { margin-top: 16px; }
  .landing-card--demo h3 {
    font-size: 1rem;
    line-height: 1.25;
  }
  .landing-card--demo p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.45;
  }
  .landing-card--demo .button { margin: 4px 16px 16px; width: auto; }
  .demo-season-cta {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }
  .demo-season-cta h2 { font-size: 1.18rem; }
  .demo-season-cta .button {
    width: 100%;
    text-align: center;
  }
  .landing-cta .button,
  .landing-cta .button-secondary { width: 100%; }
  .marketing-contact-form .form-grid { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------------
   /features visuals — phone mockup hero, illustrated feature cards and
   PDF-vs-Hostora before/after comparison. Pure CSS so the marketing page
   stays zero-network beyond HTML+CSS payload.
   ----------------------------------------------------------------------- */

.marketing-page-hero--split { padding-bottom: 36px; }
.marketing-features-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: center;
}
.marketing-features-hero__text .landing-cta { margin-top: 24px; }
.marketing-features-hero__visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  padding: 14px;
  background: #111;
  border-radius: 38px;
  box-shadow: 0 30px 60px -20px rgba(11, 79, 85, 0.35),
              0 12px 24px -12px rgba(0, 0, 0, 0.25);
}
.phone-mockup__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #111;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 2;
}
.phone-mockup__screen {
  width: 100%;
  height: 100%;
  background: #fdfaf2;
  border-radius: 26px;
  overflow: hidden;
  padding: 36px 18px 18px;
}
.phone-menu {
  font-size: 12px;
  color: #1f1f1f;
  line-height: 1.4;
}
.phone-menu__eyebrow {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c5a059;
  font-weight: 700;
}
.phone-menu__title {
  margin: 4px 0 2px;
  font-size: 20px;
  font-weight: 800;
  color: #123235;
  letter-spacing: -0.01em;
}
.phone-menu__subtitle {
  margin: 0 0 14px;
  font-size: 11px;
  color: #6b6b6b;
}
.phone-menu__chips {
  display: flex;
  gap: 6px;
  margin: 0 -18px 16px;
  padding: 0 18px;
  overflow: hidden;
  white-space: nowrap;
}
.phone-menu__chips span {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ebebeb;
  color: #1f1f1f;
  font-size: 10px;
  font-weight: 600;
}
.phone-menu__chips span:first-child {
  background: #111;
  color: #fff;
  border-color: #111;
}
.phone-menu__category {
  margin: 14px 0 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #0b4f55;
}
.phone-menu__item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid #ebebeb;
}
.phone-menu__item strong {
  display: block;
  font-size: 12px;
  color: #123235;
  font-weight: 700;
}
.phone-menu__item span:not(.phone-menu__price) {
  display: block;
  font-size: 10px;
  color: #6b6b6b;
  margin-top: 2px;
}
.phone-menu__price {
  font-weight: 800;
  color: #c5a059;
  font-size: 12px;
  white-space: nowrap;
}

/* Illustrated feature cards (overrides the basic .marketing-feature-matrix). */
.marketing-feature-matrix--illustrated article {
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
}
.marketing-feature-matrix--illustrated .feature-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f1f4f0;
  color: #0b4f55;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.marketing-feature-matrix--illustrated .feature-icon svg {
  width: 24px;
  height: 24px;
}
.marketing-feature-matrix--illustrated .feature-step {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c5a059;
}
.marketing-feature-matrix--illustrated h2 { margin: 2px 0 8px; }

/* Before/after comparison. */
.marketing-before-after {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: center;
}
.marketing-before-after__text p { color: #536467; line-height: 1.7; }
.marketing-before-after__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.visual-card {
  position: relative;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #d8e0db;
  background: #fff;
  box-shadow: 0 12px 32px -24px rgba(11, 79, 85, 0.35);
}
.visual-card--before { background: #f3f1ea; }
.visual-card--after { background: #fff; border-color: #c5a059; }
.visual-card__tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.visual-card--after .visual-card__tag { background: #0b4f55; }
.visual-pdf {
  background: #fff;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  padding: 14px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.visual-pdf__line {
  height: 7px;
  border-radius: 3px;
  background: #c8c2b3;
  filter: blur(0.4px);
}
.visual-pdf__line--title { height: 11px; width: 60%; background: #6b6b6b; }
.visual-pdf__line--short { width: 70%; }
.visual-pdf__caption {
  margin: auto 0 0;
  font-size: 0.72rem;
  color: #6b6b6b;
  font-style: italic;
}
.visual-mini-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 240px;
}
.visual-mini-menu__hero {
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, #c5a059, #d4b97a 60%, #ebd9a8);
}
.visual-mini-menu__brand {
  margin: 6px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #c5a059;
  font-weight: 800;
  text-transform: uppercase;
}
.visual-mini-menu__heading {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: #123235;
  font-weight: 800;
}
.visual-mini-menu__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid #ebebeb;
  font-size: 0.85rem;
}
.visual-mini-menu__row span:last-child { color: #c5a059; font-weight: 800; }

/* Stats stack used on the second column of /features two-column section. */
.marketing-stat-stack {
  display: grid;
  gap: 12px;
}
.marketing-stat-stack article {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #d8e0db;
  border-radius: 10px;
  background: #fff;
}
.marketing-stat-stack strong {
  font-size: 1.55rem;
  color: #0b4f55;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.marketing-stat-stack span { color: #536467; }

@media (max-width: 980px) {
  .marketing-features-hero { grid-template-columns: 1fr; gap: 36px; }
  .marketing-features-hero__visual { order: -1; }
  .marketing-before-after { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .phone-mockup { width: 240px; height: 500px; padding: 12px; border-radius: 32px; }
  .phone-mockup__screen { border-radius: 22px; padding: 30px 14px 14px; }
  .marketing-before-after__visual { grid-template-columns: 1fr; }
}

/* Auth card (login + register) */
.auth-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}
.auth-card--wide { max-width: 640px; }
.auth-card__head { margin: 0 0 20px; }
.auth-card__head h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 4px 0 6px;
}
.auth-card__head .muted { margin: 0; color: #6b6b6b; }
.auth-form .form-field + .form-field,
.auth-form .form-grid { margin-top: 12px; }
.auth-form__actions {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}
.auth-form__actions .button { min-width: 140px; }
.auth-card__foot {
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #ebebeb;
  color: #6b6b6b;
  text-align: center;
}

/* --- auth-page polish (was FIND-002/003 block in app.css) --------------- */
/* FIND-002/003: auth form polish ==========================================
   Rebuilds /auth/login and /auth/register on top of the public_base shell
   (inheriting the FIND-001/004 public header) and reuses the exact
   .admin-form / .form-summary / .form-actions primitives defined above.
   This namespace only adds the page-level chrome — centered card on a soft
   gradient backdrop, eyebrow + heading spacing tuned for auth, footer link
   under a divider. No form-control restyling lives here: inputs, focus
   rings, legends, error summary and action-row all inherit from the shared
   .admin-form rules so auth forms stay visually identical to interior admin
   forms forever. Scoped selectors: .auth-page-shell, .auth-page-card,
   .auth-page-head, .auth-page-form, .auth-page-foot.
*/

.auth-page-shell {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 20px 64px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.auth-page-card.page-content {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 18px;
  padding: 32px 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  gap: 16px;
}

/* Register form carries paired grids — give it a wider card so the form
   breathes at ~640px the same way the business_form page does. */
.auth-page-shell--wide .auth-page-card.page-content {
  max-width: 640px;
}

/* Trim the admin-page-head chrome for auth — no right-hand action slot,
   tighter vertical spacing, smaller hero headline. */
.auth-page-card .auth-page-head {
  padding: 0;
  margin: 0 0 4px;
}
.auth-page-card .auth-page-head h1 {
  font-size: 1.75rem;
  margin: 4px 0 6px;
}
.auth-page-card .auth-page-head p {
  color: #6b6b6b;
  font-size: 0.95rem;
}

/* Collapse the admin-form card-within-card: the page is already a card, so
   the form just needs the internal fieldset rhythm. Fieldset/label/input
   styles from the shared .admin-form block are inherited untouched. */
.auth-page-form.admin-form {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 14px;
}

/* Footer link sits below a divider so it reads as a secondary action zone. */
.auth-page-foot {
  margin: 4px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid #ebebeb;
  color: #6b6b6b;
  text-align: center;
  font-size: 0.92rem;
}
.auth-page-foot a { color: #111; font-weight: 500; }
.auth-page-foot a:hover { text-decoration: underline; }

.billing-plan-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.billing-plan-card {
  align-items: flex-start;
  border: 1px solid #dbe6e0;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  padding: 14px;
}

.billing-plan-card.is-selected {
  background: #eef7f0;
  border-color: #3d7c5c;
}

.billing-plan-card strong,
.billing-plan-card small {
  display: block;
}

.billing-plan-card small {
  color: #536467;
  margin-top: 4px;
}
