/* InnsPOS — public site (promo, signup, purchase, renew)
   Loaded only on public pages. Every colour comes from the design tokens in
   style.css so the marketing site follows the same light/dark theme as the
   app. Text placed on the dark --surface panels uses the --nav-* tokens,
   which are defined for exactly that surface. */

/* Public pages have no signed-in user, so the app chrome is suppressed and
   the content area is allowed to go full-bleed. */
.navbar { display: none !important; }
body { padding-top: 0; }
main.container { max-width: none; padding: 0; }
/* overflow-x: clip keeps the hero glow from widening the page on phones
   without turning the wrapper into a scroll container. */
.public-page-wrap { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
/* Sections centre themselves with `margin: 0 auto`, which in a column flex
   container would otherwise shrink them to their content width. */
.public-page-wrap > * { width: 100%; }
.public-page-wrap > .promo-footer { margin-top: auto; }

/* ─── Header ─── */
.promo-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.promo-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.promo-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.3px;
    text-decoration: none;
    white-space: nowrap;
}
.promo-brand:hover { color: var(--text); }
.promo-logo { width: 28px; height: 28px; border-radius: 6px; display: block; flex-shrink: 0; }
.promo-brand-accent { color: var(--primary-text); }
.promo-nav { display: flex; gap: 2px; min-width: 0; }
.promo-nav a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.promo-nav a:hover { color: var(--text); background: var(--card-soft); }
.promo-header-actions { display: flex; align-items: center; gap: 10px; }
/* A plain text link beside the header buttons ("List your inn" on the InnsPOS site). */
.promo-header-link {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}
.promo-header-link:hover { color: var(--text); background: var(--card-soft); }
/* Phones: the header keeps the brand, the header link, the theme toggle and
   the main button on one row; the narrowest drop the brand name for its logo. */
@media (max-width: 480px) {
    .promo-header-inner { padding: 12px 14px; gap: 8px; }
    .promo-header-actions { gap: 4px; }
    .promo-header-link { padding: 6px 5px; }
    .promo-header-actions .promo-btn-sm { padding: 7px 10px; }
}
@media (max-width: 370px) {
    .promo-brand > span { display: none; }
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    background: var(--card);
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.theme-toggle:hover { color: var(--text); background: var(--card-soft); border-color: var(--primary); }
.theme-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .theme-icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-moon { display: block; }

/* ─── Buttons ─── */
.promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.promo-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.promo-btn-sm { padding: 7px 14px; font-size: 13px; }
.promo-btn-lg { padding: 13px 28px; font-size: 15px; }
.promo-btn-block { width: 100%; }
.promo-btn-primary { background: var(--primary); color: #fff; }
.promo-btn-primary:hover { background: var(--primary-dark); color: #fff; }
.promo-btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.promo-btn-ghost:hover { background: var(--card-soft); border-color: var(--primary); color: var(--text); }
.promo-btn-success { background: var(--success); color: #fff; }
.promo-btn-success:hover { background: var(--success-dark); color: #fff; }
/* Ghost buttons sitting on a --surface panel need the light-on-dark tokens. */
.promo-on-surface .promo-btn-ghost { color: var(--nav-text-active); border-color: var(--nav-border); }
.promo-on-surface .promo-btn-ghost:hover { background: var(--nav-hover-bg); border-color: var(--nav-text); color: var(--nav-text-active); }

/* ─── Announcement strip ─── */
.promo-announce {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 9px 20px;
    background: var(--surface-2);
    color: var(--nav-text);
    font-size: 13px;
    font-weight: 500;
    text-align: center;
}
.promo-announce a { color: var(--nav-text-active); font-weight: 600; text-decoration: none; white-space: nowrap; }
.promo-announce a:hover { text-decoration: underline; }
.promo-announce-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    flex-shrink: 0;
}

/* ─── Hero ─── */
.promo-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: 48px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 72px 24px 64px;
}
.promo-hero-content { position: relative; z-index: 1; }
.promo-badge-top {
    display: inline-block;
    background: var(--primary-soft);
    border: 1px solid var(--primary-border);
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.promo-hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -2.2px;
    margin-bottom: 18px;
    color: var(--text);
}
/* The accent line is painted with a gradient; the colour fallback matters
   because background-clip: text is unsupported in a few older engines. */
.promo-hero-title .promo-accent {
    color: var(--primary-text);
    background: linear-gradient(95deg, var(--primary) 0%, var(--info) 55%, var(--primary-text) 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .promo-hero-title .promo-accent { color: transparent; }
}
.promo-hero-sub strong { color: var(--text); font-weight: 700; }

/* A phrase lifted out of a sentence, the way the section intros use it. */
.hl {
    color: var(--text);
    font-weight: 600;
    background: linear-gradient(to top, var(--primary-soft) 0 30%, transparent 30%);
    padding: 0 2px;
}
/* On the dark bands the page text colour would disappear into the surface. */
.promo-on-surface .hl {
    color: var(--nav-text-active);
    background: linear-gradient(to top, rgba(255, 255, 255, 0.18) 0 30%, transparent 30%);
}
.promo-hero-sub {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 30px;
}
.promo-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.promo-trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}
.promo-trust li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}
.promo-trust li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -1px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-text);
}

/* Screenshots of the running app, framed like a window. Captured at 1240x780
   so they stay sharp when the module column is about half that wide. */
.promo-hero-preview { position: relative; }
.shot {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-strong);
    box-shadow: 0 24px 60px rgba(2, 6, 23, 0.22);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
[data-theme="dark"] .shot { border-color: var(--nav-border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.shot:hover { transform: translateY(-4px); }
.shot img {
    display: block;
    width: 100%;
    height: auto;
}
.promo-hero-preview .shot { box-shadow: 0 30px 80px rgba(2, 6, 23, 0.32); }
/* A soft glow behind the hero screenshot, the same colour as the accent. */
.promo-hero-preview::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.16), transparent 70%);
    z-index: -1;
}

/* The staff row carries two screens, the second tucked under the first. */
.module-visual-stack { display: grid; gap: 16px; }
.module-visual-stack .shot:first-child { width: 86%; }
.module-visual-stack .shot:last-child {
    width: 74%;
    justify-self: end;
    margin-top: -48px;
}

@keyframes chip-drift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.mock-float {
    animation: chip-drift 4s ease-in-out infinite;
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}
.mock-float::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    margin-right: 7px;
    background: var(--success);
}
.mock-float-1 { top: -16px; right: 20px; }
.mock-float-2 { bottom: -16px; left: 14px; }
.mock-float-2 { animation-delay: 1.2s; }
.mock-float-2::before { background: var(--primary); }
.mock-float-3 { bottom: -16px; right: 20px; }
.mock-float-3 { animation-delay: 2.4s; }
.mock-float-3::before { background: var(--warning); }
@media (prefers-reduced-motion: reduce) {
    .mock-float { animation: none; }
    .shot, .shot:hover { transition: none; transform: none; }
}

/* ─── Module rows ─── */
.module-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-top: 1px solid var(--border);
    --accent: var(--primary);
}
.module-row:first-of-type { border-top: none; padding-top: 0; }
.module-row:last-of-type { padding-bottom: 0; }
.module-row-primary { --accent: var(--primary); }
.module-row-success { --accent: var(--success); }
.module-row-danger  { --accent: var(--danger); }
.module-row-warning { --accent: var(--warning); }
.module-row-info    { --accent: var(--info); }
.module-row-neutral { --accent: var(--neutral); }
.module-row-flip .module-copy { order: 2; }
.module-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 18px;
    border: 1px solid transparent;
}
.module-tag span { font-size: 14px; line-height: 1; }
.module-tag-primary { background: var(--primary-soft); color: var(--primary-text); border-color: var(--primary-border); }
.module-tag-success { background: var(--success-soft); color: var(--success-text); border-color: var(--success-border); }
.module-tag-danger  { background: var(--danger-soft);  color: var(--danger-text);  border-color: var(--danger-border); }
.module-tag-warning { background: var(--warning-soft); color: var(--warning-text); border-color: var(--warning-border); }
.module-tag-info    { background: var(--info-soft);    color: var(--info-text);    border-color: var(--info-border); }
.module-tag-neutral { background: var(--neutral-soft); color: var(--neutral-text); border-color: var(--neutral-border); }
.module-copy h3 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.6px;
    line-height: 1.18;
    color: var(--text);
    margin-bottom: 14px;
}
.module-copy > p { color: var(--text-secondary); font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
.module-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.module-list li {
    position: relative;
    padding-left: 26px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.module-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: -1px;
    width: 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--accent);
}

/* ─── Where it runs ─── */
.promo-reach { background: var(--surface); }
.promo-reach .promo-section-title { color: var(--nav-text-active); }
.promo-reach .promo-section-desc { color: var(--nav-text); }
.reach-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.reach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
/* The phone capture is portrait, so it gets a plain frame with no title bar. */
.shot-phone { border-radius: 20px; box-shadow: 0 26px 60px rgba(2, 6, 23, 0.36); }
.reach-card {
    background: var(--surface-2);
    border: 1px solid var(--nav-border);
    border-radius: 20px;
    padding: 28px 26px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.reach-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.reach-icon { font-size: 34px; line-height: 1; margin-bottom: 18px; }
.reach-card h3 { font-size: 17px; font-weight: 600; color: var(--nav-text-active); margin-bottom: 8px; }
.reach-card p { font-size: 14px; color: var(--nav-text); line-height: 1.55; }

/* ─── Why ─── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.why-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 30px 28px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.why-card:hover { transform: translateY(-4px); border-color: var(--primary-border); box-shadow: var(--shadow-lg); }
.why-icon { font-size: 34px; line-height: 1; margin-bottom: 18px; }
.why-card h3 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ─── Plan comparison ─── */
.compare-title {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--text);
    margin: 52px 0 18px;
}
.compare-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--border); background: var(--card); }
.band-alt .compare-wrap { background: var(--bg); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 11px 14px; text-align: left; font-size: 13px; }
.compare-table thead th {
    background: var(--card-soft);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.compare-table thead th + th, .compare-table tbody td { text-align: center; }
.compare-table tbody th[scope="row"] { font-weight: 500; color: var(--text-secondary); }
.compare-table tbody td { color: var(--success-text); font-weight: 700; }
.compare-table tbody tr + tr th, .compare-table tbody tr + tr td { border-top: 1px solid var(--border); }
.compare-group th {
    background: var(--card-soft);
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}
.compare-no { color: var(--text-muted) !important; font-weight: 400 !important; }
.compare-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 14px; }

/* ─── FAQ ─── */
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
}
.faq-item summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary-text); font-weight: 700; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ─── Sections ─── */
/* Sections run edge to edge so they can carry a band colour; the content
   inside sits in .promo-section-inner. Alternate bands with .band-alt, whose
   cards then take the page tone so they still stand out. */
.promo-section { padding: 88px 32px; }
.promo-section-inner { max-width: 1280px; margin: 0 auto; }
.band-alt { background: var(--card); }
.band-alt .feature-card, .band-alt .why-card, .band-alt .pricing-card, .band-alt .legal-card { background: var(--bg); }
.promo-section-label {
    text-align: center;
    color: var(--primary-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
}
.promo-section-title {
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1.2px;
    line-height: 1.12;
    margin-bottom: 14px;
    color: var(--text);
}
.promo-section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto 56px;
    line-height: 1.6;
}
.promo-section-title + .why-grid,
.promo-section-title + .faq-grid { margin-top: 44px; }
.promo-section-desc a { color: var(--primary-text); }

/* ─── Features ─── */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feature-card {
    background: var(--card);
    padding: 30px 28px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--primary-border); box-shadow: var(--shadow-lg); }
.feature-icon { font-size: 36px; line-height: 1; margin-bottom: 18px; }
.feature-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; }
.feature-tag {
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
    padding: 1px 6px;
    border-radius: var(--radius-sm);
    background: var(--neutral-soft);
    color: var(--neutral-text);
    border: 1px solid var(--neutral-border);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Pricing ─── */
.promo-pricing-section {
    background: var(--card-soft);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: none;
}
.promo-pricing-section .promo-section-inner { max-width: 1200px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; align-items: stretch; }
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card-featured { border-color: var(--primary); box-shadow: var(--shadow-md); }

/* Clicking a card marks it as the visitor's choice before they use its
   Choose button; clicking again unmarks it. */
.pricing-card { cursor: pointer; }
.pricing-card:focus-visible { outline: 3px solid var(--primary-border); outline-offset: 3px; }
.pricing-card-selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft), var(--shadow-md);
}
.pricing-card-selected::after {
    content: "\2713";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}
.pricing-card-featured.pricing-card-selected::after { top: 40px; }
.pricing-badge {
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    padding: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.pricing-card-inner { padding: 26px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.pricing-name { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.pricing-price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 18px; }
.pricing-currency { font-size: 18px; color: var(--text-muted); font-weight: 600; }
.pricing-amount { font-size: 42px; font-weight: 800; color: var(--text); letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.pricing-period { font-size: 14px; color: var(--text-muted); }
.pricing-divider { height: 1px; background: var(--border); margin: 0 0 18px; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.pricing-features li {
    position: relative;
    padding: 7px 0 7px 26px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
}
.pricing-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-sm);
    background: var(--success-soft);
    border: 1px solid var(--success-border);
}
.pricing-features li::after {
    content: "\2713";
    position: absolute;
    left: 4px;
    top: 7px;
    color: var(--success-text);
    font-weight: 700;
    font-size: 11px;
}
.pricing-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px;
    border-radius: var(--radius);
    background: var(--card-soft);
    color: var(--text);
    border: 1px solid var(--border-strong);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.pricing-cta:hover { border-color: var(--primary); color: var(--text); }
.pricing-cta-featured { background: var(--primary); color: #fff; border-color: var(--primary); }
.pricing-cta-featured:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.pricing-trial-note { text-align: center; margin-top: 26px; color: var(--text-secondary); font-size: 14px; }
.pricing-trial-note a { color: var(--primary-text); font-weight: 600; }

/* ─── Sales consultants (/sales and the promo section) ─── */
.sales-result { text-align: center; }
.sales-qr {
    display: block;
    margin: 18px auto;
    background: #fff;  /* QR codes need a light background in dark mode too */
    padding: 8px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.sales-link-row { display: flex; gap: 8px; margin: 12px 0; }
.sales-link-row input { flex: 1; min-width: 0; font-family: monospace; font-size: 13px; }
.sales-code { font-family: monospace; letter-spacing: 0.08em; }
.sales-summary { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.sales-table td, .sales-table th { text-align: left; }
.sales-subhead { font-size: 16px; margin: 18px 0 8px; }
#lookup { margin-top: 28px; }
.promo-sales-cta { text-align: center; margin-top: 26px; }
.promo-inns-ph .promo-sales-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.promo-inns-ph-note { text-align: center; color: var(--text-secondary); font-size: 14px; margin: 22px auto 0; max-width: 640px; }

/* ─── How It Works (dark surface) ─── */
.promo-how-section {
    max-width: none;
    background: var(--surface);
    padding: 72px 24px;
}
.promo-how-section .promo-section-inner { max-width: 1200px; margin: 0 auto; }
.promo-how-section .promo-section-title { color: var(--nav-text-active); }
.promo-how-section .promo-section-desc { color: var(--nav-text); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.how-step {
    background: var(--surface-2);
    border: 1px solid var(--nav-border);
    border-radius: 20px;
    padding: 28px 26px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.how-step:hover { border-color: var(--primary); transform: translateY(-4px); }
.how-step-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.how-number {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
}
.how-icon { color: var(--nav-text); display: inline-flex; }
.how-icon svg { width: 22px; height: 22px; }
.how-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--nav-text-active); }
.how-step p { font-size: 13px; color: var(--nav-text); line-height: 1.55; }
.how-step code {
    color: var(--nav-text-active);
    background: var(--nav-hover-bg);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
}

/* ─── CTA Banner ─── */
.promo-cta-banner {
    text-align: center;
    padding: 88px 32px;
    background: linear-gradient(135deg, var(--surface-2), var(--surface));
}
.promo-cta-banner h2 { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; margin-bottom: 14px; color: var(--nav-text-active); }
.promo-cta-banner p { color: var(--nav-text); font-size: 17px; margin-bottom: 32px; }
.promo-cta-banner .promo-btn-ghost { color: var(--nav-text-active); border-color: var(--nav-border); }
.promo-cta-banner .promo-btn-ghost:hover { background: var(--nav-hover-bg); border-color: var(--nav-text); color: var(--nav-text-active); }
.promo-cta-banner-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Legal ─── */
.legal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.legal-card {
    background: var(--card);
    padding: 28px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.legal-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}
.legal-list { list-style: none; padding: 0; margin: 0; }
.legal-list li {
    position: relative;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding: 8px 0 8px 16px;
    border-bottom: 1px solid var(--border);
}
.legal-list li:last-child { border-bottom: none; }
.legal-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: var(--primary);
}
.legal-list li strong { color: var(--text); }
.legal-list li code {
    background: var(--primary-soft);
    color: var(--primary-text);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
}

/* ─── Footer ─── */
.promo-footer {
    background: var(--surface);
    border-top: 1px solid var(--nav-border);
    padding: 44px 24px;
    text-align: center;
}
.promo-footer-inner { max-width: 640px; margin: 0 auto; }
.promo-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--nav-text-active);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
}
.promo-footer-brand .promo-logo { width: 26px; height: 26px; }
.promo-footer-tagline { color: var(--nav-text); font-size: 13px; margin-bottom: 16px; }
.promo-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-bottom: 18px; }
.promo-footer-links a { color: var(--nav-text); font-size: 12.5px; text-decoration: none; transition: var(--transition); }
.promo-footer-links a:hover { color: var(--nav-text-active); }
.promo-footer-copy { color: var(--nav-text); font-size: 12px; line-height: 1.6; opacity: 0.8; }
.promo-footer-copy a { color: var(--nav-text); text-decoration: underline; }

/* ─── Cookie notice ─── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--card);
    border-top: 1px solid var(--border-strong);
    padding: 14px 24px;
    box-shadow: var(--shadow-lg);
}
.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-banner-text { color: var(--text-secondary); font-size: 13px; line-height: 1.5; flex: 1; min-width: 280px; }
.cookie-banner-text strong { color: var(--text); }
.cookie-banner-text a { color: var(--primary-text); }
.cookie-banner-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}
.cookie-banner-btn:hover { background: var(--primary-dark); }

/* ─── Sub-page shell (signup, purchase, renew) ─── */
.public-page-hero {
    text-align: center;
    padding: 48px 24px 36px;
    background: linear-gradient(180deg, var(--primary-soft) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}
.public-page-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.8px; margin-bottom: 8px; color: var(--text); }
.public-page-hero p { color: var(--text-secondary); font-size: 15px; max-width: 560px; margin: 0 auto; line-height: 1.55; }
.public-narrow { max-width: 620px; margin: 0 auto; padding: 36px 20px 64px; }
.public-wide { max-width: 980px; margin: 0 auto; padding: 36px 20px 64px; }
.public-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}
.public-card + .public-card { margin-top: 18px; }
.public-card h2, .public-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.public-card-note { margin-top: 14px; font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.back-link { display: inline-block; margin-bottom: 14px; color: var(--primary-text); text-decoration: none; font-size: 13px; font-weight: 500; }
.back-link:hover { text-decoration: underline; }
.public-center-link { text-align: center; margin-top: 22px; font-size: 13px; }
.public-center-link a { color: var(--primary-text); text-decoration: none; }
.public-center-link a:hover { text-decoration: underline; }

/* Alerts inside public pages (the app's flash/banner rows are for signed-in users). */
.public-alert {
    padding: 11px 14px;
    border: 1px solid;
    border-left-width: 3px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    line-height: 1.5;
}
.public-alert-error { background: var(--danger-soft); color: var(--danger-text); border-color: var(--danger-border); border-left-color: var(--danger); }
.public-alert-success { background: var(--success-soft); color: var(--success-text); border-color: var(--success-border); border-left-color: var(--success); }
.public-alert-info { background: var(--info-soft); color: var(--info-text); border-color: var(--info-border); border-left-color: var(--info); }
.public-alert-warning { background: var(--warning-soft); color: var(--warning-text); border-color: var(--warning-border); border-left-color: var(--warning); }
.public-alert a { color: inherit; font-weight: 600; }

/* Form fields on public pages (built on the app's .form-field rules). */
.public-form { display: flex; flex-direction: column; gap: 16px; }
.public-form .form-field label .req { color: var(--danger-text); margin-left: 2px; }
.public-form .form-field input { padding: 10px 12px; font-size: 14px; }
.form-field.has-error input,
.form-field.has-error select { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-soft); }
.form-field.has-error label { color: var(--danger-text); }
.field-error { font-size: 12px; color: var(--danger-text); font-weight: 500; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.form-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.form-check a { color: var(--primary-text); }
.form-check.has-error { color: var(--danger-text); }
.public-form .form-actions { margin-top: 4px; flex-direction: column; align-items: stretch; }
.form-helper { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.code-input {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

/* Signup: form + benefits sidebar */
.signup-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, 1fr); gap: 20px; align-items: start; }
.benefits-card {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 22px 18px;
    position: sticky;
    top: 76px;
}
.benefits-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
.benefits-list { list-style: none; padding: 0; margin: 0 0 16px; }
.benefits-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--text-secondary); line-height: 1.45; }
.benefits-list li:last-child { border-bottom: none; }
.benefits-list li strong { display: block; color: var(--text); font-weight: 600; }
.benefit-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-sm);
    background: var(--success-soft);
    border: 1px solid var(--success-border);
    color: var(--success-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}
.benefits-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.benefits-card p a { color: var(--primary-text); }

/* Signup welcome: inn code display */
.inn-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 26px 20px;
    background: var(--card-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-lg);
    margin-bottom: 22px;
}
.inn-code-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.inn-code-value {
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text);
    padding-left: 0.3em; /* visually centre: trailing letter-spacing adds space on the right only */
    user-select: all;
    line-height: 1.1;
}
.copy-btn-done { background: var(--success) !important; border-color: var(--success) !important; }
.steps-list { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps-list li {
    position: relative;
    padding: 12px 0 12px 44px;
    border-bottom: 1px solid var(--border);
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.55;
    counter-increment: step;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 11px;
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.steps-list li strong { color: var(--text); }
.steps-list code {
    background: var(--primary-soft);
    color: var(--primary-text);
    padding: 1px 6px;
    border-radius: var(--radius-sm);
}

/* Renew: license key */
.renew-key-input {
    width: 100%;
    text-align: center;
    font-family: "SF Mono", Menlo, Consolas, monospace;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text);
    padding: 14px 12px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    background: var(--input-bg);
}
.renew-result { margin-top: 22px; padding: 18px; border-radius: var(--radius); border: 1px solid; }
.renew-success { background: var(--success-soft); border-color: var(--success-border); }
.renew-error   { background: var(--danger-soft);  border-color: var(--danger-border); }
.renew-result-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.renew-result-head strong { font-size: 15px; color: var(--text); }
.renew-status-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}
.renew-status-ok  { background: var(--success); }
.renew-status-bad { background: var(--danger); }
.renew-detail-table { margin-top: 6px; width: auto; background: transparent; border: none; box-shadow: none; }
.renew-detail-table td { font-size: 13px; padding: 5px 16px 5px 0; border: none; background: transparent; }
.renew-detail-table tr:hover td { background: transparent; }
.renew-next-step { margin-top: 12px; font-size: 13px; color: var(--text-secondary); }
.renew-error-msg { font-size: 13px; color: var(--danger-text); margin: 0; }
.renew-info {
    margin-top: 22px;
    padding: 20px 22px;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: var(--radius);
}
.renew-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.renew-info p { font-size: 13px; color: var(--text-secondary); margin: 0 0 8px; line-height: 1.55; }
.renew-info p a { color: var(--primary-text); }

.renew-export-card { margin-top: 22px; border-left: 3px solid var(--success); }
.renew-export-card .public-card-note a { color: var(--primary-text); font-weight: 600; }
.renew-export-actions { margin: 14px 0 10px; }
.renew-export-signout { margin-top: 12px; }

/* Thank-you / result cards */
.thanks-card { text-align: center; padding: 36px 28px; }
.thanks-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 12px; color: var(--success-text); }
.thanks-card p { color: var(--text-secondary); margin-bottom: 12px; line-height: 1.55; font-size: 14px; }
.thanks-note { font-size: 13px; color: var(--text-muted); }

/* ─── Responsive ─── */
@media (max-width: 1180px) {
    .promo-nav-extra { display: none; }
}
@media (max-width: 960px) {
    .promo-nav-mid { display: none; }
}
@media (max-width: 860px) {
    .signup-layout { grid-template-columns: 1fr; }
    .benefits-card { position: static; }
}
/* Below this width the hero and the module rows stack, with the sketch of
   the app underneath the copy it illustrates. */
@media (max-width: 980px) {
    .promo-hero { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 64px; }
    .reach-layout { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
    .reach-grid { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
    .feature-grid, .faq-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .shot-phone { max-width: 260px; }
    .module-visual-stack .shot:last-child { width: 92%; }
    .promo-hero-sub { max-width: none; }
    .module-row { grid-template-columns: 1fr; gap: 24px; padding: 34px 0; }
    .module-row-flip .module-copy { order: 0; }
    .mock-float-2 { left: auto; right: 18px; bottom: 30px; }
}
@media (max-width: 768px) {
    .promo-nav { display: none; }
    .promo-hero { padding: 48px 20px 56px; }
    .promo-hero-title { font-size: 36px; letter-spacing: -1px; }
    .promo-section { padding: 52px 20px; }
    .promo-section-title { font-size: 26px; }
    .promo-reach, .promo-how-section { padding: 52px 20px; }
    .module-copy h3 { font-size: 22px; }
    .mock-float { display: none; }
    .promo-cta-banner h2 { font-size: 26px; }
    .compare-title { margin-top: 40px; }
    .inn-code-value { font-size: 36px; letter-spacing: 0.22em; padding-left: 0.22em; }
    .renew-key-input { font-size: 22px; letter-spacing: 0.2em; }
}
