/* =========================================================
   BOLIQ modern layer
   Light, airy, product-led styling that sits on top of styles.css.
   Loaded after styles.css, only by pages that opt in (class "m" on <body>).
   ========================================================= */

body.m{
  --m-bg: #fbfaf8;
  --m-surface: #ffffff;
  --m-ink: #0c0c10;
  --m-muted: #5c5c68;
  --m-faint: #6b6b78;
  --m-line: #ececf0;
  --m-line-strong: #dedee4;
  --m-glow: rgba(245,166,35,0.20);
  --m-shadow-sm: 0 1px 2px rgba(12,12,16,0.04), 0 1px 1px rgba(12,12,16,0.03);
  --m-shadow-md: 0 1px 2px rgba(12,12,16,0.04), 0 8px 24px -6px rgba(12,12,16,0.10);
  --m-shadow-lg: 0 2px 4px rgba(12,12,16,0.04), 0 30px 70px -20px rgba(12,12,16,0.28);
  --m-r: 24px;
  background: var(--m-bg);
  color: var(--m-ink);
  font-feature-settings: "cv11", "ss01";
}
body.m :where(h1, h2, h3){ color: var(--m-ink); }
body.m :where(p){ color: var(--m-muted); }

/* Dark bands (older components) keep light text. Specificity is higher than the
   defaults above so headings and copy stay readable on black and photo heroes. */
html body.m :is(.site-footer, .photo-hero, .on-dark, .card-dark, .hero, .login-side, .cta-band, .phone, .order-summary, .planner-result, .login-shell, .tile, .cost-card, .app-card, .app-tabbar, .product-art, .planner-canvas) :where(h1, h2, h3, h4){ color: #fff; }
html body.m :is(.site-footer, .photo-hero, .on-dark, .card-dark, .hero, .login-side, .cta-band, .phone, .order-summary, .planner-result, .login-shell, .tile, .cost-card, .app-card, .app-tabbar, .product-art, .planner-canvas) :where(p){ color: var(--grey-300); }

html body.m :is(.site-footer, .photo-hero, .on-dark, .card-dark, .hero, .login-side, .cta-band, .phone, .order-summary, .planner-result, .login-shell, .tile, .cost-card, .app-card, .app-tabbar, .product-art, .planner-canvas) .eyebrow{ color: var(--amber-light); }

/* Plain page headers and the old black bands become light, like the homepage.
   Photo heroes, cards marked card-dark, the CTA band and the footer stay dark. */
body.m .page-hero.on-dark,
body.m .section-dark,
body.m .section-panel{
  --grey-500: #6b6b78;
  --amber-dark: #995100;
  color: var(--m-ink);
}
body.m .page-hero.on-dark{
  position: relative;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--m-line);
  background:
    radial-gradient(800px 360px at 85% -30%, var(--m-glow), transparent 70%),
    radial-gradient(520px 300px at 5% 0%, rgba(120,140,255,0.07), transparent 70%),
    var(--m-bg);
}
body.m .page-hero.on-dark h1{ color: var(--m-ink); font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
body.m .page-hero.on-dark :where(p){ color: var(--m-muted); }
body.m .page-hero.on-dark .lede{ color: var(--m-muted); font-size: 1.15rem; line-height: 1.6; }
body.m .page-hero.on-dark .eyebrow{ color: var(--m-ink); }
body.m .page-hero.on-dark .breadcrumb, body.m .page-hero.on-dark .breadcrumb a{ color: var(--m-faint); }
body.m .page-hero.on-dark .breadcrumb a:hover{ color: var(--m-ink); }
body.m .page-hero.on-dark p a:not(.btn){ color: var(--amber-dark); text-decoration: underline; text-underline-offset: 3px; }
body.m .page-hero.on-dark .summary{ background: var(--m-surface); border: 1px solid var(--m-line); border-left: 3px solid var(--amber); box-shadow: var(--m-shadow-sm); color: var(--m-muted); }
body.m .page-hero.on-dark .summary b{ color: var(--m-ink); }
body.m .page-hero.on-dark .badge-soon{ background: rgba(245,166,35,0.14); color: var(--amber-dark); }
body.m .section-dark{ background: var(--m-surface); border-block: 1px solid var(--m-line); }
body.m .section-panel{ background: var(--m-bg); }
body.m .section-dark :where(h1, h2, h3, h4), body.m .section-panel :where(h1, h2, h3, h4){ color: var(--m-ink); }
body.m .section-dark :where(p), body.m .section-panel :where(p){ color: var(--m-muted); }
body.m .section-dark .eyebrow, body.m .section-panel .eyebrow{ color: var(--m-ink); }
body.m .app-showcase-row .phone-wrap .cap{ color: var(--m-ink); }
body.m .app-showcase-row .phone-wrap .cap small{ color: var(--m-faint); }
/* dark cards inside the now light bands keep their own look */
body.m .card-dark{ --grey-500: #9a9aa6; --amber-dark: #f5a623; box-shadow: var(--m-shadow-md); border-radius: var(--m-r); }
body.m .card-dark :where(h1, h2, h3, h4){ color: #fff; }
body.m .card-dark :where(p){ color: var(--grey-300); }

/* ---------- Header: light glass ---------- */
body.m .site-header{
  background: rgba(251,250,248,0.78);
  border-bottom: 1px solid var(--m-line);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
body.m .nav-row{ padding-block: 12px; }
body.m .brand-word{ color: var(--m-ink); }
body.m .brand-mark{ border-radius: 9px; height: 34px; }
body.m .nav-links a{ color: var(--m-muted); border-bottom: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; }
body.m .nav-links{ gap: 2px; }
body.m .nav-links a:hover, body.m .nav-links a.active{ color: var(--m-ink); background: rgba(12,12,16,0.05); }
body.m .nav-login{ color: var(--m-muted); }
body.m .nav-login:hover{ color: var(--m-ink); }
body.m .btn-outline{ border-color: var(--m-line-strong); color: var(--m-ink); background: var(--m-surface); }
body.m .btn-outline:hover{ border-color: var(--m-ink); color: var(--m-ink); }
body.m .nav-toggle{ border-color: var(--m-line-strong); }
body.m .nav-toggle span, body.m .nav-toggle::before, body.m .nav-toggle::after{ background: var(--m-ink); }
body.m .mobile-panel{ border-top-color: var(--m-line); }
body.m .mobile-panel a{ color: var(--m-ink); border-bottom-color: var(--m-line); }

/* ---------- Buttons ---------- */
body.m .btn{ font-weight: 600; letter-spacing: -0.005em; }
body.m .btn-primary{
  background: linear-gradient(180deg, #ffb83d, var(--amber));
  color: #1a1204;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 1px 2px rgba(214,134,12,0.4), 0 8px 20px -6px rgba(245,166,35,0.55);
}
body.m .btn-primary:hover{ background: linear-gradient(180deg, #ffc65e, #f7ab2c); transform: translateY(-1px); }
body.m .btn-dark{ background: var(--m-ink); box-shadow: var(--m-shadow-md); }
body.m .btn-dark:hover{ background: #23232b; transform: translateY(-1px); }
body.m .btn-outline-dark{ border-color: var(--m-line-strong); background: var(--m-surface); }
body.m .btn-outline-dark:hover{ border-color: var(--m-ink); }
body.m .btn-lg{ padding: 16px 30px; font-size: 1rem; }
.m-arrow{ transition: transform .18s ease; }
.btn:hover .m-arrow{ transform: translateX(3px); }

/* ---------- Forms ---------- */
/* Safari draws a plain select as its own control and ignores padding, so it came
   out shorter than the text boxes. Drop the native look and draw the arrow. */
body.m .form-field select{
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  height: 47px;
  line-height: 1.2;
  padding-right: 44px;
  cursor: pointer;
  background-color: var(--m-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1.5l6 6 6-6' stroke='%235c5c68' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ---------- Type ---------- */
body.m .eyebrow{ color: var(--m-ink); font-size: 12px; letter-spacing: 0.12em; }
body.m .eyebrow::before{ width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,166,35,0.2); }
.m-h2{ font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.m-sub{ font-size: 1.12rem; line-height: 1.6; color: var(--m-muted); max-width: 620px; margin-top: 16px; }
.m-head{ margin-bottom: 52px; }
.m-head.center{ text-align: center; }
.m-head.center .m-sub{ margin-left: auto; margin-right: auto; }
.m-head .eyebrow{ margin-bottom: 18px; }
.m-section{ padding: 112px 0; }
@media (max-width: 700px){ .m-section{ padding: 72px 0; } }

/* ---------- Hero ---------- */
.m-hero{
  position: relative;
  padding: 72px 0 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -8%, var(--m-glow), transparent 70%),
    radial-gradient(600px 400px at 10% 20%, rgba(120,140,255,0.08), transparent 70%),
    var(--m-bg);
}
.m-hero::before{
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--m-line) 1px, transparent 1px), linear-gradient(90deg, var(--m-line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.m-hero .container{ position: relative; }
.m-pill{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 8px;
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: 999px;
  box-shadow: var(--m-shadow-sm);
  font-size: 0.85rem; font-weight: 600; color: var(--m-ink);
  transition: box-shadow .2s ease, transform .2s ease;
}
.m-pill:hover{ box-shadow: var(--m-shadow-md); transform: translateY(-1px); }
.m-pill b{
  background: var(--m-ink); color: #fff;
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.m-hero h1{
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 920px;
  margin: 26px auto 0;
}
.m-grad{ background: linear-gradient(100deg, #a85b00, #c26f00 55%, #b86a00); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-hero .m-lede{ font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 640px; margin: 24px auto 0; line-height: 1.6; color: var(--m-muted); }
.m-hero .hero-cta{ justify-content: center; margin-top: 36px; }
.m-trust{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin-top: 28px; font-size: 0.9rem; font-weight: 500; color: var(--m-muted);
}
.m-trust span{ display: inline-flex; align-items: center; gap: 8px; }
.m-trust svg{ width: 16px; height: 16px; color: #1c9a6c; flex: none; }

.m-stage{
  position: relative;
  margin: 64px auto 0;
  max-width: 1100px;
  padding: 10px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.4));
  border: 1px solid var(--m-line);
  border-bottom: none;
  box-shadow: var(--m-shadow-lg);
}
.m-stage picture, .m-stage > img{ display: block; border-radius: 24px 24px 0 0; overflow: hidden; }
.m-stage img{ width: 100%; height: auto; aspect-ratio: 16 / 8.2; object-fit: cover; object-position: center 62%; }
.m-stage::after{
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--m-bg));
  pointer-events: none;
  border-radius: 0;
}
.m-float{
  position: absolute; z-index: 3;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 18px;
  box-shadow: var(--m-shadow-lg);
  text-align: left;
}
.m-float-price{ left: -28px; bottom: 120px; padding: 16px 20px; animation: m-bob 6s ease-in-out infinite; }
.m-float-price small{ display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--m-faint); }
.m-float-price b{ display: block; font-size: 1.9rem; letter-spacing: -0.03em; line-height: 1.1; margin-top: 2px; }
.m-float-price span{ font-size: 0.82rem; color: var(--m-muted); }
.m-float-speed{ right: -20px; top: 56px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; animation: m-bob 7s ease-in-out -2s infinite; }
.m-float-speed i{ width: 40px; height: 40px; border-radius: 12px; background: rgba(245,166,35,0.16); color: var(--amber-dark); display: flex; align-items: center; justify-content: center; font-style: normal; }
.m-float-speed i svg{ width: 22px; height: 22px; }
.m-float-speed b{ display: block; font-size: 0.95rem; }
.m-float-speed span{ font-size: 0.8rem; color: var(--m-muted); }
@keyframes m-bob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
@media (max-width: 1180px){ .m-float-price{ left: 14px; } .m-float-speed{ right: 14px; } }
@media (max-width: 700px){
  .m-hero{ padding-top: 44px; }
  .m-float{ display: none; }
  .m-stage{ margin-top: 44px; border-radius: 22px 22px 0 0; padding: 6px; }
  .m-stage picture, .m-stage > img{ border-radius: 17px 17px 0 0; }
  .m-stage img{ aspect-ratio: 4 / 3; }
}

/* ---------- Stat strip ---------- */
.m-stats{ padding: 56px 0 0; }
.m-stats-grid{
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-r);
  box-shadow: var(--m-shadow-sm);
  overflow: hidden;
}
.m-stat{ padding: 28px 28px; border-left: 1px solid var(--m-line); }
.m-stat:first-child{ border-left: none; }
.m-stat b{ display: block; font-size: clamp(1.3rem, 2vw, 1.8rem); white-space: nowrap; font-weight: 700; letter-spacing: -0.03em; color: var(--m-ink); line-height: 1.1; }
.m-stat span{ display: block; margin-top: 6px; font-size: 0.9rem; color: var(--m-muted); }
@media (max-width: 860px){
  .m-stats-grid{ grid-template-columns: repeat(2, 1fr); }
  .m-stat:nth-child(3){ border-left: none; }
  .m-stat:nth-child(n+3){ border-top: 1px solid var(--m-line); }
}

/* ---------- Models ---------- */
.m-models{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px){ .m-models{ grid-template-columns: 1fr; } }
.m-model{
  display: flex; flex-direction: column;
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--m-shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease;
}
.m-model:hover{ box-shadow: var(--m-shadow-lg); transform: translateY(-4px); }
.m-model-img{ position: relative; overflow: hidden; aspect-ratio: 16 / 9; }
.m-model-img img{ width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.m-model:hover .m-model-img img{ transform: scale(1.04); }
.m-badge{
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--m-ink); box-shadow: var(--m-shadow-sm);
}
.m-model-body{ padding: 32px 34px 34px; display: flex; flex-direction: column; flex: 1; }
.m-model h3{ font-size: 1.6rem; letter-spacing: -0.02em; }
.m-model h3 a:hover{ color: var(--amber-dark); }
.m-model-body > p{ margin-top: 10px; font-size: 0.98rem; }
.m-price{ display: flex; align-items: baseline; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.m-price b{ font-size: 2.6rem; font-weight: 700; letter-spacing: -0.04em; color: var(--m-ink); line-height: 1; }
.m-price span{ font-size: 0.9rem; color: var(--m-muted); }
.m-checks{ margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--m-line); display: grid; gap: 11px; }
.m-checks li{ display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--m-ink); }
.m-checks svg{ width: 18px; height: 18px; flex: none; margin-top: 2px; color: #1c9a6c; }
.m-model .hero-cta{ margin-top: auto; padding-top: 28px; }

/* ---------- Bento ---------- */
.m-bento{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.m-cell{
  position: relative;
  background: var(--m-surface);
  border: 1px solid var(--m-line);
  border-radius: var(--m-r);
  padding: 30px;
  box-shadow: var(--m-shadow-sm);
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.m-cell:hover{ box-shadow: var(--m-shadow-md); border-color: var(--m-line-strong); transform: translateY(-2px); }
.m-cell h3{ font-size: 1.18rem; letter-spacing: -0.015em; margin-top: 18px; }
.m-cell p{ margin-top: 8px; font-size: 0.95rem; line-height: 1.6; }
.m-ico{
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #fff6e5, #ffeccb);
  border: 1px solid rgba(245,166,35,0.3);
  color: #a85b00;
}
.m-ico svg{ width: 22px; height: 22px; }
.m-c-3{ grid-column: span 3; } .m-c-2{ grid-column: span 2; } .m-c-4{ grid-column: span 4; }
@media (max-width: 960px){ .m-c-3, .m-c-4{ grid-column: span 6; } .m-c-2{ grid-column: span 3; } }
@media (max-width: 620px){ .m-c-2{ grid-column: span 6; } .m-cell{ padding: 26px; } }

.m-cell-feature{
  background:
    radial-gradient(500px 260px at 100% 0%, rgba(245,166,35,0.22), transparent 70%),
    linear-gradient(160deg, #15151b, #0a0a0d);
  border-color: #23232b; color: #fff;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: end;
  padding-bottom: 0;
}
.m-cell-feature h3{ color: #fff; font-size: 1.6rem; letter-spacing: -0.025em; }
.m-cell-feature p{ color: #b8b8c6; }
.m-cell-feature .m-ico{ background: rgba(245,166,35,0.16); border-color: rgba(245,166,35,0.35); color: var(--amber-light); }
.m-cell-feature .m-copy{ padding-bottom: 30px; align-self: center; }
.m-cell-feature .m-shot{ align-self: end; margin-bottom: -2px; }
.m-cell-feature .m-shot img{ height: auto; width: 100%; max-width: 250px; margin-left: auto; border-radius: 26px 26px 0 0; border: 6px solid #26262d; border-bottom: none; box-shadow: 0 -10px 50px rgba(245,166,35,0.18); }
@media (max-width: 700px){
  .m-cell-feature{ grid-template-columns: 1fr; }
  .m-cell-feature .m-shot img{ margin: 0 auto; }
}
.m-fobimg{ display: block; width: 100%; max-width: 280px; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 18px; margin: 22px auto 0; border: 1px solid var(--m-line); background: #fff; }
.m-fob{
  margin-top: 22px; display: flex; gap: 10px; align-items: center;
}
.m-fob i{ width: 42px; height: 42px; border-radius: 14px; background: var(--m-ink); display: block; position: relative; box-shadow: var(--m-shadow-md); }
.m-fob i::after{ content: ""; position: absolute; left: 50%; top: 12px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px rgba(245,166,35,0.8); }
.m-fob span{ font-size: 0.82rem; font-weight: 600; color: var(--m-muted); }

/* ---------- Sectors ---------- */
.m-sectors{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px){ .m-sectors{ grid-template-columns: 1fr; } }
.m-sector{
  position: relative; display: block; border-radius: 26px; overflow: hidden;
  aspect-ratio: 4 / 5; isolation: isolate; background: #111;
  box-shadow: var(--m-shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
}
@media (max-width: 900px){ .m-sector{ aspect-ratio: 16 / 10; } }
.m-sector:hover{ box-shadow: var(--m-shadow-lg); transform: translateY(-4px); }
.m-sector img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; z-index: -2; }
.m-sector:hover img{ transform: scale(1.06); }
.m-sector::after{ content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,8,12,0) 38%, rgba(8,8,12,0.88) 100%); }
.m-sector-body{ position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; }
.m-sector-body .m-badge{ position: static; display: inline-block; margin-bottom: 14px; }
.m-sector-body h3{ color: #fff; font-size: 1.4rem; letter-spacing: -0.02em; }
.m-sector-body p{ color: rgba(255,255,255,0.78); font-size: 0.93rem; margin-top: 6px; }
.m-sector-body .more{ display: inline-flex; margin-top: 14px; font-weight: 600; font-size: 0.9rem; color: var(--amber-light); }

/* ---------- Segmented how it works ---------- */
.m-seg{
  display: inline-flex; padding: 5px; gap: 4px;
  background: #efeee9; border-radius: 999px; border: 1px solid var(--m-line);
}
.m-seg button{
  border: none; background: transparent; padding: 11px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; color: var(--m-muted);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.m-seg button[aria-selected="true"]{ background: var(--m-surface); color: var(--m-ink); box-shadow: var(--m-shadow-md); }
.m-seg button:focus-visible{ outline: 2px solid var(--amber); outline-offset: 2px; }
.m-flow{ display: none; margin-top: 40px; }
.m-flow.is-on{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: flow; }
@media (max-width: 860px){ .m-flow.is-on{ grid-template-columns: 1fr; } }
.m-flow-step{
  position: relative; background: var(--m-surface); border: 1px solid var(--m-line);
  border-radius: var(--m-r); padding: 30px; box-shadow: var(--m-shadow-sm); text-align: left;
  counter-increment: flow;
}
.m-flow-step::before{
  content: counter(flow);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--m-ink); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.m-flow-step:not(:last-child)::after{
  content: ""; position: absolute; top: 48px; left: 78px; right: -18px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--m-line-strong) 0 6px, transparent 6px 12px);
}
@media (max-width: 860px){ .m-flow-step:not(:last-child)::after{ display: none; } }
.m-flow-step h3{ margin-top: 20px; font-size: 1.15rem; }
.m-flow-step p{ margin-top: 8px; font-size: 0.95rem; }
.m-flow-note{ margin-top: 22px; font-size: 0.95rem; color: var(--m-muted); }

/* ---------- Business split ---------- */
.m-split{ display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
@media (max-width: 900px){ .m-split{ grid-template-columns: 1fr; gap: 36px; } }
.m-split-img{ border-radius: 28px; overflow: hidden; box-shadow: var(--m-shadow-lg); border: 1px solid var(--m-line); }
.m-split-img img{ width: 100%; height: auto; display: block; }
.m-split .m-h2{ margin-top: 0; }
.m-split p{ margin-top: 16px; font-size: 1.04rem; line-height: 1.65; }
.m-split .hero-cta{ margin-top: 28px; }

/* ---------- App showcase ---------- */
.m-app{
  background:
    radial-gradient(800px 420px at 50% 0%, rgba(245,166,35,0.16), transparent 70%),
    linear-gradient(180deg, #0f0f14, #07070a);
  color: #fff; overflow: hidden;
}
.m-app h2{ color: #fff; }
.m-app .eyebrow{ color: #fff; }
.m-app .m-sub{ color: #b4b4c2; }
.m-phones{ display: flex; justify-content: center; align-items: flex-end; gap: 28px; margin-top: 56px; }
.m-phone{ flex: none; width: 250px; text-align: center; transition: transform .4s ease; }
.m-phone:nth-child(2){ width: 290px; transform: translateY(-24px); }
.m-phone .frame{
  border-radius: 38px; padding: 9px; background: linear-gradient(160deg, #3a3a44, #17171c);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.07) inset;
}
.m-phone:nth-child(2) .frame{ box-shadow: 0 50px 100px -20px rgba(245,166,35,0.28), 0 40px 80px -20px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.1) inset; }
.m-phone img{ width: 100%; height: auto; border-radius: 30px; display: block; }
.m-phone .cap{ margin-top: 20px; font-weight: 600; font-size: 0.95rem; color: #fff; }
.m-phone .cap small{ display: block; margin-top: 3px; font-weight: 400; color: #8f8f9e; font-size: 0.85rem; }
@media (max-width: 900px){
  .m-phones{ justify-content: flex-start; overflow-x: auto; padding: 0 28px 24px; margin-inline: -28px; scroll-snap-type: x mandatory; }
  .m-phone, .m-phone:nth-child(2){ width: 230px; transform: none; scroll-snap-align: center; }
}
.m-app-points{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; }
@media (max-width: 800px){ .m-app-points{ grid-template-columns: 1fr; } }
.m-app-points div{ padding: 22px 24px; border: 1px solid rgba(255,255,255,0.09); border-radius: 18px; background: rgba(255,255,255,0.03); }
.m-app-points b{ display: block; color: #fff; font-size: 1.02rem; letter-spacing: -0.01em; }
.m-app-points span{ display: block; margin-top: 6px; font-size: 0.92rem; color: #a2a2b2; }
.m-app .btn-outline{ background: transparent; border-color: rgba(255,255,255,0.2); color: #fff; }
.m-app .btn-outline:hover{ border-color: var(--amber); color: var(--amber-light); }

/* ---------- CTA ---------- */
.m-cta{
  position: relative; overflow: hidden; text-align: center;
  border-radius: 36px; padding: 88px 28px;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(245,166,35,0.35), transparent 70%),
    linear-gradient(160deg, #17171d, #08080b);
  color: #fff; box-shadow: var(--m-shadow-lg);
}
.m-cta h2{ color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); letter-spacing: -0.035em; line-height: 1.05; max-width: 720px; margin: 0 auto; }
.m-cta p{ color: #b4b4c2; max-width: 520px; margin: 18px auto 0; font-size: 1.08rem; }
.m-cta .hero-cta{ justify-content: center; margin-top: 34px; }
.m-cta .btn-outline{ background: transparent; border-color: rgba(255,255,255,0.22); color: #fff; }
.m-cta .btn-outline:hover{ border-color: var(--amber); color: var(--amber-light); }

/* ---------- Footer: light ---------- */
body.m .site-footer{ background: var(--m-bg); border-top: 1px solid var(--m-line); color: var(--m-muted); }
body.m .footer-grid{ border-bottom-color: var(--m-line); }
body.m .footer-brand p{ color: var(--m-muted); }
body.m .footer-brand a:not(.brand){ color: var(--m-ink); font-weight: 600; }
body.m .footer-col h4{ color: var(--m-ink); }
body.m .footer-col a{ color: var(--m-muted); }
body.m .footer-col a:hover{ color: var(--m-ink); }
body.m .footer-bottom{ color: var(--m-faint); }

/* ---------- Reveal on scroll ---------- */
.js .m-reveal{ opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .m-reveal.is-in{ opacity: 1; transform: none; }
.js .m-reveal[data-d="1"]{ transition-delay: .08s; }
.js .m-reveal[data-d="2"]{ transition-delay: .16s; }
.js .m-reveal[data-d="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){
  .js .m-reveal{ opacity: 1; transform: none; transition: none; }
  .m-float{ animation: none !important; }
  html{ scroll-behavior: auto; }
}

/* ---------- Colour overrides inside dark panels (must beat body.m h2 / p) ---------- */
body.m .m-app h2, body.m .m-cta h2, body.m .m-cell-feature h3, body.m .m-sector-body h3, body.m .m-app-points b{ color: #fff; }
body.m .m-app .m-sub, body.m .m-cta p{ color: #b4b4c2; }
body.m .m-cell-feature p{ color: #b8b8c6; }
body.m .m-sector-body p{ color: rgba(255,255,255,0.8); }
body.m .m-app .eyebrow, body.m .m-cta .eyebrow{ color: #fff; }

@media (max-width: 860px){
  .m-stat{ padding: 22px 20px; }
  .m-stat b{ white-space: normal; font-size: 1.3rem; }
}
@media (max-width: 520px){
  .m-pill{ font-size: 0.78rem; }
  .m-hero .hero-cta .btn{ width: 100%; max-width: 320px; }
}

/* Accessibility: keep the amber for buttons and glows, use a darker tone for text and icons on light surfaces */
body.m .m-float-speed i{ color: #a85b00; }
body.m .m-model h3 a:hover{ color: #a85b00; }

/* Cookie banner stays dark on the light theme */
body.m .cookie-banner p{ color: var(--grey-100); }
body.m .cookie-banner .btn-outline{ background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
body.m .site-footer .footer-col .footer-h{ color: var(--m-ink); }
body.m .m-cell p{ color: #5c5c68; }

/* Works-with chips */
.m-chips{ display: flex; flex-wrap: wrap; gap: 10px; }
.m-chips span, .m-chips a{
  display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 999px;
  background: var(--m-surface); border: 1px solid var(--m-line-strong); color: var(--m-ink);
  font-weight: 600; font-size: 0.95rem; box-shadow: var(--m-shadow-sm);
}
.m-chips a:hover{ border-color: var(--m-ink); }
