/* =============================================================================
   ordrMi — design system (cream-led, forest accent only)
   This file is loaded after app.css and intentionally overrides the legacy
   styles so the site reads as a single, coherent brand.
   ============================================================================= */

/* ---------- Tokens ---------- */
:root {
    --om-cream: #F7F4EE;
    --om-cream-2: #F1ECE0;
    --om-paper: #FFFFFF;
    --om-forest: #173A2B;
    --om-forest-soft: #284E3D;
    --om-gold: #D6A15B;
    --om-gold-deep: #B8884A;
    --om-ink: #1B2C24;
    --om-ink-soft: #5C6D63;
    --om-line: rgba(23, 58, 43, 0.08);
    --om-line-strong: rgba(23, 58, 43, 0.18);

    --om-shadow-1: 0 1px 2px rgba(23, 58, 43, 0.04);
    --om-shadow-2: 0 12px 32px rgba(23, 58, 43, 0.08);
    --om-shadow-3: 0 30px 80px rgba(23, 58, 43, 0.12);

    --om-radius-sm: 12px;
    --om-radius: 20px;
    --om-radius-lg: 28px;

    --om-font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --om-font-body: 'Inter', system-ui, sans-serif;

    --om-nav-h: 96px;
    --om-nav-h-mobile: 76px;

    /* Re-point legacy tokens used in app.css so they don't fight us */
    --og-bg: var(--om-cream);
    --og-card-bg: var(--om-paper);
    --og-orange: var(--om-gold);
    --og-text: var(--om-ink);
    --og-text-muted: var(--om-ink-soft);
}

/* ---------- Base ---------- */
html, body {
    background: var(--om-cream) !important;
    color: var(--om-ink) !important;
    font-family: var(--om-font-body) !important;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.55;
}

main { padding-top: var(--om-nav-h); }
@media (max-width: 991.98px) { main { padding-top: var(--om-nav-h-mobile); } }

a { color: var(--om-forest); text-decoration: none; }
a:hover { color: var(--om-gold-deep); }

::selection { background: var(--om-gold); color: var(--om-forest); }

img { max-width: 100%; height: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.om-display, .om-h2 {
    font-family: var(--om-font-display) !important;
    color: var(--om-ink);
    letter-spacing: -0.025em;
    font-weight: 800;
    line-height: 1.06;
    margin: 0;
}

.om-display {
    font-size: clamp(2.6rem, 6.2vw, 5.4rem);
    letter-spacing: -0.04em;
    line-height: 1;
}
.om-display em {
    font-style: normal;
    color: var(--om-forest);
    position: relative;
    display: inline-block;
}
.om-display em::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 6%;
    height: 14%;
    background: var(--om-gold);
    opacity: 0.35;
    border-radius: 4px;
    z-index: -1;
}

.om-h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.om-h2-light { color: var(--om-cream); }

.om-eyebrow {
    display: inline-block;
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--om-gold-deep);
    padding: 6px 14px;
    background: rgba(214, 161, 91, 0.14);
    border-radius: 999px;
}
.om-eyebrow-light {
    color: var(--om-cream);
    background: rgba(247, 244, 238, 0.12);
}

.om-lede {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: var(--om-ink-soft);
    max-width: 520px;
    line-height: 1.55;
}
.om-body {
    color: var(--om-ink-soft);
    font-size: 1rem;
    line-height: 1.65;
}
.om-body-light { color: rgba(247, 244, 238, 0.8); }

/* ---------- REGISTER ---------- */
.register-page-wrapper {
    min-height: calc(100vh - var(--om-nav-h));
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: clamp(72px, 9vw, 112px);
    overflow: hidden;
}
.register-layout {
    --bs-gutter-x: clamp(40px, 6vw, 86px);
}
.register-title {
    max-width: 520px;
    font-size: clamp(2.45rem, 4.2vw, 3.9rem);
    overflow-wrap: normal;
}
.register-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 160px));
    gap: 14px;
}
.register-proof > div,
.register-form-card {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    box-shadow: var(--om-shadow-2);
}
.register-proof > div {
    border-radius: var(--om-radius);
    padding: 20px;
}
.register-proof-value,
.register-proof-label { display: block; }
.register-proof-value {
    font-family: var(--om-font-display);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--om-forest);
    letter-spacing: -0.03em;
}
.register-proof-label {
    margin-top: 8px;
    color: var(--om-ink-soft);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.register-form-card {
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    border-radius: var(--om-radius-lg);
    padding: clamp(28px, 4vw, 44px);
}
.register-form-title {
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
}
.register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.register-field {
    margin-top: 18px;
}
.register-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--om-font-display);
    font-weight: 700;
    color: var(--om-ink);
    font-size: 0.92rem;
}
.register-input {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 13px 15px;
    background: var(--om-cream) !important;
    border: 1px solid var(--om-line-strong) !important;
    border-radius: 12px !important;
    color: var(--om-ink) !important;
    font: inherit;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.register-input::placeholder { color: rgba(92, 109, 99, 0.7); }
.register-input:focus {
    background: var(--om-paper) !important;
    border-color: var(--om-gold) !important;
    box-shadow: 0 0 0 4px rgba(214, 161, 91, 0.18) !important;
    outline: none !important;
}
.register-submit {
    width: 100%;
    min-height: 54px;
}
.register-submit:disabled {
    opacity: 0.7;
    cursor: progress;
    transform: none;
}
.register-terms {
    color: var(--om-ink-soft);
    font-size: 0.9rem;
    text-align: center;
}
.register-link {
    color: var(--om-forest);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
@media (max-width: 991.98px) {
    .register-page-wrapper {
        min-height: calc(100vh - var(--om-nav-h-mobile));
        padding-top: 48px;
    }
    .register-title { max-width: 680px; }
    .register-form-card { max-width: none; margin-left: 0; }
}
@media (max-width: 575.98px) {
    .register-grid,
    .register-proof { grid-template-columns: 1fr; }
}

/* ---------- Nav ---------- */
.navbar-header {
    background: rgba(247, 244, 238, 0.88) !important;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--om-line);
    padding: 0 !important;
    height: var(--om-nav-h);
    box-shadow: none;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.navbar-header.scrolled {
    background: rgba(247, 244, 238, 0.96) !important;
    box-shadow: 0 1px 0 var(--om-line), 0 8px 24px rgba(23, 58, 43, 0.05);
}
.navbar-header > .container-fluid { height: 100%; }

.om-brand-logo {
    height: 64px;
    width: auto;
    display: block;
}
@media (max-width: 991.98px) {
    .navbar-header { height: var(--om-nav-h-mobile); }
    .om-brand-logo { height: 52px; }
}

.om-nav { font-family: var(--om-font-display); }
.om-nav-link {
    color: var(--om-ink) !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0;
    transition: color 0.2s ease;
    text-decoration: none;
}
.om-nav-link:hover { color: var(--om-gold-deep) !important; }
.om-nav-link-button {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.om-burger {
    width: 44px; height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--om-line-strong);
    border-radius: 12px;
    cursor: pointer;
}
.om-burger span {
    width: 18px; height: 2px;
    background: var(--om-forest);
    border-radius: 2px;
}

.mobile-menu {
    background: var(--om-cream) !important;
    border-bottom: 1px solid var(--om-line);
    top: var(--om-nav-h-mobile) !important;
    box-shadow: 0 12px 24px rgba(23, 58, 43, 0.08);
}
.mobile-menu-inner { gap: 4px !important; padding: 8px 0; }
.mobile-link {
    color: var(--om-forest) !important;
    font-family: var(--om-font-display);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 14px 4px !important;
    border-bottom: 1px solid var(--om-line);
    background: transparent;
    border-left: 0; border-right: 0; border-top: 0;
    text-align: left;
    width: 100%;
    cursor: pointer;
}
.mobile-link:hover { color: var(--om-gold-deep) !important; }

/* ---------- Buttons ---------- */
.om-btn,
.btn-customer-login-solid,
.btn-orange-og,
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--om-font-display) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0 !important;
    line-height: 1;
    padding: 14px 24px !important;
    border-radius: 999px !important;
    border: 1.5px solid transparent !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
    white-space: nowrap;
    text-transform: none;
    box-shadow: none;
}
.om-btn:hover { transform: translateY(-1px); }

.om-btn-primary,
.btn-customer-login-solid,
.btn-orange-og {
    background: var(--om-forest) !important;
    background-image: none !important;
    color: var(--om-cream) !important;
    border-color: var(--om-forest) !important;
    box-shadow: var(--om-shadow-1) !important;
}
.om-btn-primary:hover,
.btn-customer-login-solid:hover,
.btn-orange-og:hover {
    background: var(--om-forest-soft) !important;
    color: var(--om-cream) !important;
    border-color: var(--om-forest-soft) !important;
    box-shadow: var(--om-shadow-2) !important;
}

.om-btn-ghost,
.btn-learn-more {
    background: transparent !important;
    color: var(--om-forest) !important;
    border-color: var(--om-forest) !important;
}
.om-btn-ghost:hover,
.btn-learn-more:hover {
    background: var(--om-forest) !important;
    color: var(--om-cream) !important;
}

.om-btn-gold {
    background: var(--om-gold) !important;
    color: var(--om-forest) !important;
    border-color: var(--om-gold) !important;
}
.om-btn-gold:hover {
    background: var(--om-cream) !important;
    color: var(--om-forest) !important;
    border-color: var(--om-cream) !important;
}

.om-btn-outline-light {
    background: transparent !important;
    color: var(--om-cream) !important;
    border-color: rgba(247, 244, 238, 0.3) !important;
}
.om-btn-outline-light:hover {
    background: rgba(247, 244, 238, 0.08) !important;
    border-color: var(--om-cream) !important;
}

/* ---------- Sections ---------- */
.om-section {
    padding: clamp(64px, 10vw, 120px) 0;
    background: var(--om-cream);
}
.om-section-tinted { background: var(--om-cream-2) !important; }
.om-section-forest {
    background: var(--om-forest) !important;
    color: var(--om-cream) !important;
}
.om-section-forest .om-eyebrow {
    color: var(--om-gold) !important;
    background: rgba(214, 161, 91, 0.18) !important;
}
.om-section-forest .om-h2,
.om-section-forest h1, .om-section-forest h2, .om-section-forest h3,
.om-section-forest h4, .om-section-forest h5, .om-section-forest h6 {
    color: var(--om-cream) !important;
}
.om-section-forest .om-body { color: rgba(247, 244, 238, 0.78) !important; }

/* Override only legacy sections that set an inline background (the old dark
   pricing/testimonial bands), NOT every section on the page. */
section[style*="#173A2B"],
section[style*="#FFFFFF"],
section[style*="#ffffff"],
section[style*="background"] {
    background: var(--om-cream) !important;
    color: var(--om-ink) !important;
}
.lock-divider, .hero-overlay, .video-background-wrapper, .video-bg { display: none !important; }

/* Force inherited text colors back into our palette inside cream/tinted sections only. */
.om-section .text-white,
.om-section h1.text-white, .om-section h2.text-white, .om-section h3.text-white,
.om-section h4.text-white, .om-section h5.text-white, .om-section h6.text-white,
.om-section .text-dark { color: var(--om-ink) !important; }
.om-section .text-secondary, .om-section .text-muted { color: var(--om-ink-soft) !important; }
.om-section .text-orange, .om-section .text-warning, .om-section .section-tag { color: var(--om-gold-deep) !important; }

/* ---------- HERO ---------- */
.om-hero {
    position: relative;
    padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 120px);
    overflow: hidden;
}
.om-hero::before {
    content: '';
    position: absolute;
    inset: -10% -5% auto auto;
    width: 50vw; height: 50vw;
    background: radial-gradient(closest-side, rgba(214, 161, 91, 0.18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.om-hero::after {
    content: '';
    position: absolute;
    inset: auto auto -20% -10%;
    width: 50vw; height: 50vw;
    background: radial-gradient(closest-side, rgba(23, 58, 43, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.om-hero > .container { position: relative; z-index: 1; }

.om-trustline {
    color: var(--om-ink-soft);
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
}
.om-trustline > span {
    display: inline-flex;
    align-items: center;
}
.om-dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: var(--om-forest);
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}
.om-sep { display: none; }

/* Hero stage (right column): logo bubble + floating chips on a cream-paper card */
.om-hero-stage {
    position: relative;
    aspect-ratio: 1 / 1;
    max-width: 540px;
    margin-left: auto;
}
.om-hero-stage-bg {
    position: absolute;
    inset: 0;
    background: var(--om-paper);
    border-radius: 36px;
    box-shadow: var(--om-shadow-3);
    border: 1px solid var(--om-line);
}
.om-hero-stage-bg::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 2px dashed rgba(23, 58, 43, 0.08);
    border-radius: 28px;
}
.om-hero-mark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.om-hero-mark img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.om-hero-chip {
    position: absolute;
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: var(--om-shadow-2);
    min-width: 180px;
}
.om-hero-chip-1 { top: 10%; left: -4%; transform: rotate(-2deg); }
.om-hero-chip-2 { bottom: 10%; right: -4%; transform: rotate(2deg); }
.om-hero-chip-label {
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--om-gold-deep);
}
.om-hero-chip-value {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--om-forest);
    margin-top: 4px;
    letter-spacing: -0.02em;
}
.om-hero-chip-meta {
    font-size: 0.82rem;
    color: var(--om-ink-soft);
    margin-top: 2px;
}
@media (max-width: 991.98px) {
    .om-hero-stage { margin: 32px auto 0; max-width: 420px; }
    .om-hero-chip-1 { left: -2%; }
    .om-hero-chip-2 { right: -2%; }
}

/* ---------- TRUST STRIP ---------- */
.om-strip {
    background: var(--om-forest);
    color: var(--om-cream);
    padding: 36px 0;
}
.om-stat-num {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
    color: var(--om-cream);
    line-height: 1;
}
.om-stat-label {
    font-size: 0.85rem;
    color: rgba(247, 244, 238, 0.65);
    letter-spacing: 0.05em;
    margin-top: 6px;
    text-transform: uppercase;
}

/* ---------- CARD ---------- */
.om-card,
.om-step,
.om-pricecard {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    padding: 32px;
    box-shadow: var(--om-shadow-1);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.om-card:hover,
.om-step:hover,
.om-pricecard:hover {
    transform: translateY(-4px);
    box-shadow: var(--om-shadow-2);
    border-color: var(--om-line-strong);
}
.om-card-icon {
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(23, 58, 43, 0.06);
    color: var(--om-forest);
    border-radius: 14px;
    margin-bottom: 20px;
}
.om-card-icon svg { width: 24px; height: 24px; }
.om-card-title {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--om-ink);
    margin: 0 0 10px;
    letter-spacing: -0.015em;
}

/* ---------- STEPS ---------- */
.om-step-num {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--om-gold);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1;
}

/* ---------- IMAGE CARD ---------- */
.om-imagecard {
    border-radius: var(--om-radius-lg);
    overflow: hidden;
    box-shadow: var(--om-shadow-3);
    border: 1px solid var(--om-line);
    background: var(--om-paper);
    aspect-ratio: 4 / 3;
}
.om-imagecard img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- INSIDE ORDRMI (showcase) ---------- */
.om-feature-row { margin-top: clamp(40px, 6vw, 72px); }
.om-feature-row:first-of-type { margin-top: 0; }

/* Big browser-style frame for desktop screenshots */
.om-shotframe {
    position: relative;
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius-lg);
    box-shadow: var(--om-shadow-3);
    padding: 14px 14px 0;
    overflow: hidden;
}
.om-shotframe::before {
    content: '';
    display: block;
    height: 10px;
    width: 36px;
    background:
        radial-gradient(circle 4px at 4px 5px, #E76F62 99%, transparent 100%),
        radial-gradient(circle 4px at 18px 5px, #E2B23A 99%, transparent 100%),
        radial-gradient(circle 4px at 32px 5px, #4FAE7C 99%, transparent 100%);
    margin-bottom: 12px;
}
.om-shotframe img {
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid var(--om-line);
    border-bottom: 0;
}

/* Wider variant for full-row screenshots */
.om-shotframe-wide {
    max-width: 1280px;
    margin: 0 auto;
}

.om-ordering-showcase {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: clamp(20px, 3vw, 34px);
    align-items: end;
}

/* Phone mock for mobile screenshots */
.om-phone-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    /* Matches the source screenshot (435 x 841) plus frame padding */
    aspect-ratio: 9 / 17.4;
    background: var(--om-ink);
    border-radius: 42px;
    padding: 14px;
    box-shadow: var(--om-shadow-3);
    border: 1px solid rgba(23, 58, 43, 0.4);
}
.om-phone-frame::before {
    content: '';
    position: absolute;
    top: 18px; left: 50%;
    transform: translateX(-50%);
    width: 90px; height: 24px;
    background: var(--om-ink);
    border-radius: 0 0 16px 16px;
    z-index: 2;
}
.om-phone-frame img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--om-cream);
    border-radius: 30px;
    display: block;
}
.om-phone-frame-compact { max-width: 300px; }

/* Two-up feature card with image header */
.om-feature-card {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    overflow: hidden;
    box-shadow: var(--om-shadow-1);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.om-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--om-shadow-2);
    border-color: var(--om-line-strong);
}
.om-feature-card-shot {
    background: var(--om-cream-2);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--om-line);
}
.om-feature-card-shot img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}
.om-feature-card-body { padding: 28px 28px 32px; }

@media (max-width: 991.98px) {
    .om-feature-row { text-align: left; }
    .om-ordering-showcase {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .om-phone-frame { max-width: 300px; }
}

/* ---------- CHECKS ---------- */
.om-checks {
    list-style: none;
    padding: 0; margin: 0;
}
.om-checks li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: var(--om-ink);
    font-size: 0.98rem;
}
.om-checks li::before {
    content: '';
    position: absolute;
    left: 0; top: 13px;
    width: 16px; height: 16px;
    background: var(--om-gold);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3.5 3.5L13 5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8l3.5 3.5L13 5' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

/* ---------- PRICING ---------- */
.om-pricecard { position: relative; padding: 40px 32px; }
.om-pricecard-feature {
    border: 2px solid var(--om-forest);
    transform: translateY(-8px);
    box-shadow: var(--om-shadow-2);
}
.om-pricecard-flag {
    position: absolute;
    top: -14px; left: 50%;
    transform: translateX(-50%);
    background: var(--om-forest);
    color: var(--om-cream);
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}
.om-pricecard-tier {
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--om-gold-deep);
}
.om-pricecard-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 14px 0 4px;
}
.om-pricecard-amount {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: 3rem;
    letter-spacing: -0.04em;
    color: var(--om-ink);
    line-height: 1;
}
.om-pricecard-per {
    color: var(--om-ink-soft);
    font-size: 1rem;
    font-weight: 500;
}

/* ---------- QUOTE ---------- */
.om-quote {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    padding: 32px;
    height: 100%;
    margin: 0;
    box-shadow: var(--om-shadow-1);
    position: relative;
}
.om-quote::before {
    content: '“';
    position: absolute;
    top: 8px; left: 20px;
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--om-gold);
    line-height: 1;
}
.om-quote p {
    font-family: var(--om-font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--om-ink);
    line-height: 1.45;
    margin: 0 0 18px;
    padding-top: 12px;
}
.om-quote footer {
    font-size: 0.92rem;
    color: var(--om-ink-soft);
}
.om-quote footer strong { color: var(--om-forest); font-weight: 700; }

/* ---------- FAQ ---------- */
.om-faq {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}
.om-faq[open] { border-color: var(--om-line-strong); }
.om-faq summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-family: var(--om-font-display);
    font-weight: 700;
    color: var(--om-ink);
    font-size: 1.02rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.om-faq summary::-webkit-details-marker { display: none; }
.om-faq summary::after {
    content: '+';
    font-family: var(--om-font-display);
    font-weight: 400;
    font-size: 1.6rem;
    color: var(--om-gold-deep);
    line-height: 1;
    transition: transform 0.2s ease;
}
.om-faq[open] summary::after { content: '−'; }
.om-faq-body {
    padding: 0 22px 20px;
    color: var(--om-ink-soft);
    line-height: 1.6;
}

/* ---------- CTA / CONTACT ---------- */
.om-cta { padding: clamp(48px, 6vw, 80px) 0; background: var(--om-cream); }
.om-cta-card {
    background: var(--om-forest);
    border-radius: clamp(20px, 3vw, 36px);
    padding: clamp(40px, 5vw, 72px);
    color: var(--om-cream);
    box-shadow: var(--om-shadow-3);
    position: relative;
    overflow: hidden;
}
.om-cta-card::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 60%; height: 160%;
    background: radial-gradient(closest-side, rgba(214, 161, 91, 0.18), transparent 70%);
    pointer-events: none;
}
.om-cta-card > .row { position: relative; z-index: 1; }
.om-contact-form label {
    display: block;
    font-family: var(--om-font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(247, 244, 238, 0.7);
    margin-bottom: 8px;
}
.om-input {
    display: block;
    width: 100%;
    background: rgba(247, 244, 238, 0.08);
    border: 1px solid rgba(247, 244, 238, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--om-cream);
    font-family: var(--om-font-body);
    font-size: 1rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.om-input::placeholder { color: rgba(247, 244, 238, 0.4); }
.om-input:focus {
    outline: none;
    border-color: var(--om-gold);
    background: rgba(247, 244, 238, 0.12);
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--om-forest) !important;
    color: var(--om-cream) !important;
    padding: 80px 0 40px !important;
    border-top: 0 !important;
}
.footer .footer-logo img { height: 56px !important; }
.footer h6,
.footer .text-white { color: var(--om-cream) !important; font-family: var(--om-font-display); }
.footer .text-secondary,
.footer p,
.footer a.footer-link { color: rgba(247, 244, 238, 0.6) !important; transition: color 0.2s ease; }
.footer a.footer-link:hover { color: var(--om-gold) !important; }
.footer .text-warning { color: var(--om-gold) !important; }
.footer hr { border-color: rgba(247, 244, 238, 0.12) !important; opacity: 1 !important; }
.footer-social-icons a {
    width: 38px; height: 38px;
    display: inline-flex !important;
    align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(247, 244, 238, 0.08);
    color: var(--om-gold) !important;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social-icons a:hover { background: var(--om-gold); color: var(--om-forest) !important; transform: translateY(-2px); }
.footer-social-icons a i { line-height: 1; }

/* ---------- LOGIN SLIDER (forest-on-cream styling) ---------- */
.login-slider-content {
    background: var(--om-forest) !important;
    color: var(--om-cream) !important;
    display: flex;
    flex-direction: column;
}
.login-slider-content h3 { color: var(--om-cream) !important; font-family: var(--om-font-display); }
.login-slider-content .text-orange,
.login-slider-content .text-warning { color: var(--om-gold) !important; }
.login-slider-content .form-control,
.login-slider-content .form-control-slider {
    background: rgba(247, 244, 238, 0.08) !important;
    border: 1px solid rgba(247, 244, 238, 0.18) !important;
    color: var(--om-cream) !important;
    border-radius: 12px !important;
    height: auto !important;
    padding: 14px 16px !important;
}
.login-slider-content .form-control:focus,
.login-slider-content .form-control-slider:focus {
    border-color: var(--om-gold) !important;
    background: rgba(247, 244, 238, 0.12) !important;
    box-shadow: none !important;
}
.login-slider-content label { color: rgba(247, 244, 238, 0.7) !important; }
.login-slider-content .btn[style*="linear-gradient"] {
    background: var(--om-gold) !important;
    background-image: none !important;
    color: var(--om-forest) !important;
    border: 0 !important;
    box-shadow: var(--om-shadow-1) !important;
    border-radius: 999px !important;
}
.login-slider-content .btn[style*="linear-gradient"]:hover {
    background: var(--om-cream) !important;
    color: var(--om-forest) !important;
    transform: translateY(-1px);
}

.login-slider-footer {
    margin-top: auto;
    background: var(--om-cream);
    border-top: 1px solid rgba(214, 161, 91, 0.35);
    padding: 18px 28px;
}

.login-slider-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-slider-logo {
    display: block;
    width: min(170px, 56%);
    max-width: 170px;
    height: auto !important;
    opacity: 1 !important;
}

/* ---------- LEGACY FORM/PAGE OVERRIDES ----------
   For pages we haven't redesigned yet (Login, Register, Pricing, etc.) */
.form-control {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: 12px;
    color: var(--om-ink);
    padding: 14px 16px;
}
.form-control:focus {
    border-color: var(--om-gold);
    box-shadow: 0 0 0 3px rgba(214, 161, 91, 0.18);
}

/* Dashboard layout cream */
.dashboard-layout, .dashboard-content, .dashboard-main { background: var(--om-cream) !important; color: var(--om-ink) !important; }

/* Kill all gold-gradient text from inline styles on legacy pages */
[style*="-webkit-text-fill-color: transparent"],
[style*="-webkit-text-fill-color:transparent"] {
    color: var(--om-gold) !important;
    -webkit-text-fill-color: var(--om-gold) !important;
    background: transparent !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* ---------- Responsive niceties ---------- */
@media (max-width: 575.98px) {
    .om-display { font-size: 2.4rem; }
    .om-h2 { font-size: 1.8rem; }
    .om-pricecard-feature { transform: none; }
}

/* ---------- Single-tier price plan card ---------- */
.om-priceplan {
    position: relative;
    background: var(--om-paper);
    border: 2px solid var(--om-forest);
    border-radius: var(--om-radius-lg);
    padding: 40px 36px 36px;
    box-shadow: var(--om-shadow-2);
}
.om-priceplan-flag {
    position: absolute;
    top: -14px; left: 32px;
    background: var(--om-forest);
    color: var(--om-cream);
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
}
.om-priceplan-tier {
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--om-gold-deep);
}
.om-priceplan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 12px 0 6px;
}
.om-priceplan-amount {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: clamp(3.2rem, 6vw, 4.4rem);
    letter-spacing: -0.04em;
    color: var(--om-ink);
    line-height: 0.95;
}
.om-priceplan-per {
    color: var(--om-ink-soft);
    font-size: 1.05rem;
    font-weight: 500;
}
.om-priceplan-sub {
    color: var(--om-ink-soft);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.om-priceplan-fineprint {
    color: var(--om-ink-soft);
    font-size: 0.82rem;
    text-align: center;
    letter-spacing: 0.04em;
}
.om-priceplan code {
    font-family: 'SF Mono', ui-monospace, Menlo, monospace;
    font-size: 0.88em;
    background: rgba(23, 58, 43, 0.06);
    color: var(--om-forest);
    padding: 1px 6px;
    border-radius: 4px;
}
.om-priceplan-wide { padding: 44px 40px; }

/* Tighten checks on the price plan card */
.om-checks-tight li { padding: 5px 0 5px 26px; font-size: 0.95rem; }
.om-checks-tight li::before { top: 10px; }

/* ---------- Maths card (delivery rebate) ---------- */
.om-mathscard {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    padding: 32px;
    box-shadow: var(--om-shadow-1);
}
.om-mathscard-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 12px 0;
}
.om-mathscard-label {
    color: var(--om-ink-soft);
    font-size: 0.95rem;
}
.om-mathscard-value {
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--om-ink);
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.om-mathscard-positive { color: var(--om-gold-deep) !important; }
.om-mathscard hr {
    border: 0;
    border-top: 1px dashed var(--om-line-strong);
    margin: 8px 0;
}
.om-mathscard-total .om-mathscard-label {
    color: var(--om-ink);
    font-family: var(--om-font-display);
    font-weight: 700;
}
.om-mathscard-total .om-mathscard-value {
    font-size: 1.6rem;
    color: var(--om-forest);
}
.om-mathscard-note {
    margin: 16px 0 0;
    font-style: italic;
    color: var(--om-ink-soft);
    font-size: 0.9rem;
    text-align: right;
}

/* ---------- Comparison cards ---------- */
.om-compare {
    background: var(--om-paper);
    border: 1px solid var(--om-line);
    border-radius: var(--om-radius);
    padding: 32px;
    text-align: center;
    height: 100%;
    box-shadow: var(--om-shadow-1);
}
.om-compare-feature {
    border: 2px solid var(--om-forest);
    box-shadow: var(--om-shadow-2);
}
.om-compare-name {
    font-family: var(--om-font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--om-gold-deep);
}
.om-compare-amount {
    font-family: var(--om-font-display);
    font-weight: 800;
    font-size: 3.2rem;
    letter-spacing: -0.04em;
    margin: 12px 0 8px;
    line-height: 1;
}
.om-compare-bad { color: #B85B4A; }
.om-compare-good { color: var(--om-forest); }

/* ============================================================================
   Dashboard hard-overrides — beat Bootstrap .bg-dark / .bg-black on cards.
   These live in a stylesheet loaded AFTER bootstrap.min.css so ordering is
   guaranteed; selectors are bumped to body-level specificity.
   ============================================================================ */

body .dashboard-wrapper { color: #1B2C24 !important; }
body .dashboard-content { background-color: #F7F4EE !important; color: #1B2C24 !important; }

/* Cards / panels — every variant the pages use */
body .dashboard-content .card,
body .dashboard-content .stat-card,
body .dashboard-content .bg-dark,
body .dashboard-content .bg-black,
body .dashboard-content .bg-secondary,
body .dashboard-content .bg-body-tertiary,
body .dashboard-content .card.bg-dark,
body .dashboard-content .card.bg-black,
body .dashboard-content div.bg-dark,
body .dashboard-content div.bg-black {
    background-color: #FFFFFF !important;
    background-image: none !important;
    color: #1B2C24 !important;
    border-color: rgba(23, 58, 43, 0.12) !important;
}

/* Welcome banner stays forest */
body .dashboard-content .welcome-banner,
body .dashboard-content .welcome-banner.bg-dark {
    background: linear-gradient(135deg, #173A2B 0%, #284E3D 100%) !important;
    color: #F7F4EE !important;
    border-color: rgba(214, 161, 91, 0.20) !important;
}
body .dashboard-content .welcome-banner *,
body .dashboard-content .welcome-banner .text-white { color: #F7F4EE !important; }
body .dashboard-content .welcome-banner .text-secondary,
body .dashboard-content .welcome-banner .text-muted { color: rgba(247, 244, 238, 0.72) !important; }
body .dashboard-content .welcome-banner .text-orange,
body .dashboard-content .welcome-banner .text-warning { color: #D6A15B !important; }
body .dashboard-content .welcome-banner .bg-black,
body .dashboard-content .welcome-banner .bg-dark {
    background-color: rgba(0, 0, 0, 0.18) !important;
    color: #F7F4EE !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
}

/* Text colours inside cards */
body .dashboard-content .text-white,
body .dashboard-content .text-light { color: #1B2C24 !important; }
body .dashboard-content .text-secondary,
body .dashboard-content .text-muted { color: #5C6D63 !important; }
body .dashboard-content .text-warning,
body .dashboard-content .text-orange { color: #B8884A !important; }
body .dashboard-content .text-success { color: #173A2B !important; }
body .dashboard-content .text-danger { color: #B85B4A !important; }

/* Borders */
body .dashboard-content .border-secondary,
body .dashboard-content .border-dark { border-color: rgba(23, 58, 43, 0.12) !important; }

/* Inputs */
body .dashboard-content .form-control,
body .dashboard-content .form-control-dark,
body .dashboard-content .form-select,
body .dashboard-content textarea {
    background-color: #FFFFFF !important;
    background-image: none !important;
    border: 1px solid rgba(23, 58, 43, 0.20) !important;
    color: #1B2C24 !important;
    border-radius: 12px !important;
}
body .dashboard-content .form-control::placeholder,
body .dashboard-content textarea::placeholder { color: #5C6D63 !important; opacity: 0.7; }
body .dashboard-content .form-control:focus,
body .dashboard-content .form-select:focus,
body .dashboard-content textarea:focus {
    border-color: #D6A15B !important;
    box-shadow: 0 0 0 3px rgba(214, 161, 91, 0.18) !important;
}

/* Toggle switches */
body .dashboard-content .form-check-input { background-color: #F1ECE0 !important; border-color: rgba(23, 58, 43, 0.20) !important; }
body .dashboard-content .form-check-input:checked { background-color: #D6A15B !important; border-color: #D6A15B !important; }

/* Buttons */
body .dashboard-content .btn-primary,
body .dashboard-content .btn-warning,
body .dashboard-content .btn-orange {
    background-color: #173A2B !important;
    background-image: none !important;
    border-color: #173A2B !important;
    color: #F7F4EE !important;
    border-radius: 999px !important;
}
body .dashboard-content .btn-primary:hover,
body .dashboard-content .btn-warning:hover,
body .dashboard-content .btn-orange:hover {
    background-color: #284E3D !important;
    border-color: #284E3D !important;
    color: #F7F4EE !important;
}
body .dashboard-content .btn-success {
    background-color: #D6A15B !important;
    border-color: #D6A15B !important;
    color: #173A2B !important;
    border-radius: 999px !important;
}
body .dashboard-content .btn-outline-primary,
body .dashboard-content .btn-outline-secondary,
body .dashboard-content .btn-outline-light {
    background-color: transparent !important;
    border: 1.5px solid #173A2B !important;
    color: #173A2B !important;
    border-radius: 999px !important;
}
body .dashboard-content .btn-outline-primary:hover,
body .dashboard-content .btn-outline-secondary:hover,
body .dashboard-content .btn-outline-light:hover {
    background-color: #173A2B !important;
    color: #F7F4EE !important;
}

/* Badges */
body .dashboard-content .badge.bg-warning,
body .dashboard-content .badge.bg-orange { background-color: #D6A15B !important; color: #173A2B !important; }
body .dashboard-content .badge.bg-success { background-color: #173A2B !important; color: #F7F4EE !important; }
body .dashboard-content .badge.bg-secondary,
body .dashboard-content .badge.bg-dark { background-color: #F1ECE0 !important; color: #1B2C24 !important; }

/* Tables */
body .dashboard-content .table {
    color: #1B2C24 !important;
    --bs-table-color: #1B2C24;
    --bs-table-bg: transparent;
    --bs-table-border-color: rgba(23, 58, 43, 0.10);
}
body .dashboard-content .table thead th { color: #5C6D63 !important; border-color: rgba(23, 58, 43, 0.10) !important; }
body .dashboard-content .table tbody td { color: #1B2C24 !important; border-color: rgba(23, 58, 43, 0.10) !important; }

/* Code chips */
body .dashboard-content code {
    color: #B8884A !important;
    background-color: #F1ECE0 !important;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Icon circles (orange-light tint -> gold tint) */
body .dashboard-content .bg-orange-light { background-color: rgba(214, 161, 91, 0.15) !important; }
body .dashboard-content .text-orange { color: #B8884A !important; }
body .dashboard-content .icon-circle.bg-orange-light { color: #B8884A !important; }
