/* SPSM Plus landing page — restyled to match www.shankman.com.
 * Visual language taken from that site's homepage audit (read-only):
 * - Light theme (user correction 2026-10-25): all sections white / #F9FAFB with
 *   dark text; charcoal is kept only for text and borders, never as a section
 *   background. Yellow #FFE800 and cyan #00E5FF remain the accents.
 * - Accents: bright yellow #FFE800 and bright cyan #00E5FF; light sections get a
 *   pale-cyan title highlight (#BFF3FA), dark sections an olive-yellow one (#7A6F00).
 * - Headings: bold sans-serif, mostly uppercase. Body and nav: serif.
 * - Buttons: 8px rounded rectangles, yellow solid on light ground, yellow outline
 *   on dark ground. Images/cards use a hard offset frame (solid colour, no blur
 *   shadow) instead of soft shadows.
 * - Header is NOT sticky on the reference site, so this header scrolls away too.
 *   The mobile sticky download bar is kept because the SPSM spec requires it.
 * No copy, photos or logos from the reference site are used here; only its
 * layout, colour and type system, applied to SPSM Plus's own content.
 * Long Spanish / Chinese copy guards are kept: buttons wrap, flex children
 * have min-width:0, and the page never scrolls horizontally at 375px and up.
 */
* { box-sizing: border-box; }
:root {
  --ink: #1c1c1c;
  --ink2: #262626;
  --line-dark: #3a3a3a;
  --paper: #ffffff;
  --paper2: #f9fafb;
  --line-light: #e5e7eb;
  --grey: #475569;
  --muted-dark: #d4d4d4;
  --yellow: #ffe800;
  --cyan: #00e5ff;
  --cyan-light: #bff3fa;
  --olive: #7a6f00;
  --font-head: "Montserrat", Arial, Helvetica, sans-serif;
  --font-body: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: var(--ink); }
img { max-width: 100%; }
h1, h2, h3, .brand-name, .btn, .main-nav a, .footer-nav a, .step-num {
  font-family: var(--font-head);
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--yellow);
  color: var(--ink); padding: 8px 14px; z-index: 100; font-family: var(--font-head);
}
.skip-link:focus { left: 12px; top: 12px; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; min-width: 0; }

/* Sections: alternating light / dark */
section { padding: 72px 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-dark { background: var(--paper2); color: var(--ink); }  /* light theme: former dark sections are now pale grey */
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }
.section-title {
  font-size: 32px; font-weight: 800; text-transform: uppercase;
  line-height: 1.25; margin: 0 0 12px; overflow-wrap: anywhere;
  display: inline-block;
}
.section-light .section-title {
  background: linear-gradient(180deg, transparent 64%, var(--cyan-light) 64%);
}
.section-dark .section-title {
  background: linear-gradient(180deg, transparent 64%, var(--cyan-light) 64%);
}
.section-sub { margin: 0 0 28px; max-width: 720px; font-size: 17px; }
.section-light .section-sub { color: var(--grey); }
.section-dark .section-sub { color: var(--grey); }
.about-text { max-width: 720px; margin: 0 auto 14px; font-size: 18px; }

/* Header: dark, not sticky, logo left, serif nav centred, no header CTA */
.site-header { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line-light); }
.header-inner {
  display: flex; align-items: center; gap: 16px;
  min-height: 68px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-mark {
  width: 36px; height: 36px; flex: none; border-radius: 8px;
  background: var(--yellow);
  color: var(--ink); font-weight: 800; display: grid; place-items: center; font-size: 20px;
}
.brand-name { font-weight: 800; font-size: 19px; white-space: nowrap; color: var(--ink); }
.brand-name span { color: #c9a227; }  /* darker gold so it stays readable on white */
.main-nav { display: flex; gap: 4px; flex: 1; justify-content: center; flex-wrap: wrap; min-width: 0; }
.main-nav a {
  color: var(--ink); text-decoration: none; padding: 8px 12px;
  border-radius: 8px; white-space: nowrap; font-family: var(--font-body); font-size: 16px;
}
.main-nav a:hover { background: var(--paper2); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.lang-select {
  background: var(--paper); color: var(--ink); border: 1px solid var(--line-light);
  border-radius: 8px; padding: 8px 10px; font-size: 14px; max-width: 100%;
}
.menu-btn {
  display: none; background: var(--yellow); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 8px; padding: 8px 12px; font-size: 20px;
}
.mobile-menu {
  display: none; border-top: 1px solid var(--line-light); padding: 12px 20px 16px;
  flex-direction: column; gap: 4px; background: var(--paper);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--ink); text-decoration: none; padding: 10px 4px; font-family: var(--font-body); }
.mobile-menu .lang-select { margin-top: 8px; }

/* Notices / toast */
.lang-notice {
  display: none; background: var(--yellow);
  color: var(--ink); padding: 10px 20px; font-size: 14px; font-family: var(--font-head);
}
.lang-notice.show { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }
.lang-notice button { background: transparent; color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 12px; cursor: pointer; font-family: var(--font-head); }
.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%) translateY(20px);
  background: var(--yellow); color: var(--ink); border-radius: 8px; padding: 12px 18px;
  font-size: 15px; font-family: var(--font-head); max-width: calc(100vw - 40px); text-align: center;
  opacity: 0; pointer-events: none; transition: .25s; z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Buttons: 8px rectangles, yellow solid / yellow outline */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; text-decoration: none; text-align: center;
  border-radius: 8px; padding: 14px 26px; font-size: 16px; font-weight: 700;
  line-height: 1.35; max-width: 100%; white-space: normal; overflow-wrap: anywhere;
  background: var(--yellow); color: var(--ink);
}
.btn:hover { filter: brightness(1.04); }
.btn-secondary {
  background: var(--cyan); color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-light-secondary {
  background: var(--cyan); color: var(--ink);
  border: 2px solid var(--ink);
}
.btn-small { padding: 10px 18px; font-size: 15px; }

/* Hero: dark, text left, cyan block right with yellow offset frame */
.hero { background: var(--paper2); color: var(--ink); padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.hero-badge {
  display: inline-block; color: var(--ink); font-family: var(--font-body);
  font-size: 20px; font-style: italic;
}
.hero h1 { font-size: 54px; line-height: 1.1; margin: 14px 0; overflow-wrap: anywhere; color: var(--ink); font-weight: 800; border-left: 8px solid var(--yellow); padding-left: 16px; }
.hero p.lead { color: var(--grey); font-size: 18px; margin: 0 0 24px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { color: var(--grey); font-size: 14px; margin-top: 18px; }
.phone-mock {
  background: var(--cyan); border-radius: 8px;
  padding: 22px; min-height: 320px; display: grid; place-items: center; text-align: center;
  box-shadow: 12px 12px 0 var(--yellow);
}
.phone-mock .phone-screen {
  background: var(--paper); color: var(--ink); border-radius: 8px; padding: 28px 20px; width: 100%;
}
.phone-mock .app-icon {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 8px;
  background: var(--yellow);
  color: var(--ink); font-weight: 800; font-size: 30px; display: grid; place-items: center;
  font-family: var(--font-head);
}
.phone-mock p { color: var(--grey); margin: 6px 0; }
/* Hero person photo: cyan block + yellow hard offset frame (Shankman style) */
.hero-photo {
  background: var(--cyan); border-radius: 8px; padding: 14px;
  box-shadow: 12px 12px 0 var(--yellow);
}
.hero-photo img {
  display: block; width: 100%; height: 320px; object-fit: cover;
  object-position: 20% center; border-radius: 8px;
}
.hero-photo-name {
  margin: 12px 0 0; text-align: center; color: var(--ink);
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--paper); border: 1px solid var(--line-light); border-top: 6px solid var(--yellow);
  border-radius: 8px; padding: 22px; min-width: 0; color: var(--ink);
}
.section-dark .card {
  background: var(--paper); border: 1px solid var(--line-light); border-top: 6px solid var(--yellow);
  color: var(--ink);
}
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; line-height: 1.35; overflow-wrap: anywhere; }
.card p { margin: 0; }
.section-light .card p { color: var(--grey); }
.section-dark .card p { color: var(--grey); }
.showcase-thumb {
  height: 150px; border-radius: 8px; background: var(--paper2);
  border: 1px solid var(--line-light);
  display: grid; place-items: center; color: var(--grey); font-size: 14px;
  text-align: center; padding: 16px; margin-bottom: 16px; overflow-wrap: anywhere;
  box-shadow: 8px 8px 0 var(--yellow);
}
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Download (dark) */
.download-box {
  background: var(--paper); border: 1px solid var(--line-light); border-radius: 8px;
  padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; color: var(--ink);
}
.download-box h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.download-box p { color: var(--grey); margin: 0 0 12px; }
.status-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 12px 0; }
.status-label { color: var(--grey); font-size: 14px; font-family: var(--font-head); }
.download-status-pill {
  background: var(--yellow); color: var(--ink); border: 2px solid var(--ink);
  border-radius: 8px; padding: 4px 12px; font-size: 14px; font-weight: 700; white-space: normal; font-family: var(--font-head);
}
.status-msg { font-size: 15px; margin: 10px 0; min-height: 24px; overflow-wrap: anywhere; }
.status-msg.is-unavailable { color: var(--olive); }  /* olive reads on white; bright yellow does not */
.status-msg.is-checking { color: var(--grey); }
.download-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.availability-list { list-style: none; padding: 0; margin: 16px 0 0; color: var(--grey); font-size: 14px; }
.availability-list li { margin: 4px 0; }

/* Install steps (light) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--paper); border: 1px solid var(--line-light); border-top: 6px solid var(--yellow); border-radius: 8px; padding: 22px; min-width: 0; }
.step-num {
  width: 36px; height: 36px; border-radius: 8px; background: var(--yellow); color: var(--ink);
  font-weight: 800; display: grid; place-items: center; margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; overflow-wrap: anywhere; }
.step p { color: var(--grey); margin: 0; font-size: 15px; }

/* FAQ (dark) */
.faq-item { background: var(--paper); border: 1px solid var(--line-light); border-radius: 8px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--ink); text-align: left;
  font-size: 17px; font-weight: 700; padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px; line-height: 1.4;
  font-family: var(--font-head);
}
.faq-q span:last-child { flex: none; color: #c9a227; }
.faq-a { display: none; padding: 0 22px 18px; color: var(--grey); }
.faq-item.open .faq-a { display: block; }

/* Notify (light): text left, cyan form panel right with yellow offset frame */
.notify-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.notify-panel {
  background: var(--cyan); color: var(--ink); border-radius: 8px; padding: 28px;
  box-shadow: 12px 12px 0 var(--yellow);
}
.notify-panel label { display: block; font-weight: 700; margin-bottom: 8px; font-family: var(--font-head); }
.notify-row { display: flex; gap: 10px; flex-wrap: wrap; }
.notify-row input {
  flex: 1 1 220px; min-width: 0; background: var(--paper); border: 1px solid var(--ink);
  color: var(--ink); border-radius: 8px; padding: 12px 18px; font-size: 16px;
}
.form-feedback { margin-top: 12px; font-size: 15px; min-height: 24px; overflow-wrap: anywhere; font-family: var(--font-head); }
.form-feedback.is-error { color: #8b0000; }
.form-feedback.is-success { color: #14532d; }
.form-note { color: var(--ink); font-size: 13px; margin: 8px 0 0; opacity: .85; }

/* Footer (dark, Shankman-style: brand + nav columns + legal + back-to-top) */
.site-footer { background: var(--paper2); color: var(--grey); border-top: 1px solid var(--line-light); padding: 48px 0 96px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand p { max-width: 360px; }
.footer-nav { display: flex; flex-direction: column; gap: 4px; }
.footer-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; font-family: var(--font-body); }
.footer-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links button[data-legal] { background: none; border: none; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: 15px; padding: 6px 0; font-family: var(--font-body); }
.modal {
  display: none; position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.65); align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal-box { background: var(--paper); color: var(--ink); border: 1px solid var(--line-light); border-radius: 8px; padding: 28px; max-width: 560px; width: 100%; }
.modal-box p { color: var(--grey); }
.modal-box .btn-secondary { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Sticky mobile download bar (kept per SPSM spec) */
.sticky-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--paper); border-top: 1px solid var(--line-light); padding: 10px 16px;
}
.sticky-bar .btn { width: 100%; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .download-box { grid-template-columns: 1fr; }
  .notify-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-block; }
  .header-actions .lang-select { display: none; }
  .sticky-bar { display: block; }
  section { padding: 48px 0; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 26px; }
  .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn, .download-actions .btn { width: 100%; }
  .wrap { padding: 0 16px; }
  .brand-name { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
