/* J-Commerce site styles */
:root {
  --navy: #1F3A5F;
  --navy-deep: #172D4A;
  --navy-dark: #12233A;
  --orange: #C96A1B;          /* brand accent */
  --orange-btn: #B35C12;      /* deeper for 4.5:1 text contrast on buttons */
  --orange-btn-hover: #9A4E0E;
  --orange-soft: #F2B98A;
  --cream: #F4EFE6;
  --cream-2: #EDE4D3;
  --ink: #1B2430;
  --muted: #4E5A68;
  --on-navy: #D3DCE7;
  --line: #E2DACB;
  --white: #FFFFFF;
  --green: #23704F;
  --green-bg: #E3F1EA;
  --amber: #8A4510;
  --amber-bg: #FBEBDD;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(31, 58, 95, .06), 0 8px 24px rgba(31, 58, 95, .08);
  --shadow-lg: 0 2px 6px rgba(31, 58, 95, .08), 0 24px 60px rgba(31, 58, 95, .18);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white);
}
img, svg { max-width: 100%; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--orange-btn); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 20; }
.skip-link:focus { left: 8px; }

/* Scroll reveal (only when JS is on) */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal-d1 { transition-delay: .08s; } html.js .reveal-d2 { transition-delay: .16s; } html.js .reveal-d3 { transition-delay: .24s; }

/* ---------- Header ---------- */
.site-header { background: rgba(23, 45, 74, .97); backdrop-filter: saturate(1.4) blur(8px); color: var(--white); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; }
.logo:hover { color: var(--white); }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--cream); color: var(--navy); font-weight: 700; box-shadow: inset 0 -4px 0 var(--orange); }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 8px 13px; border-radius: 9px; color: var(--white); text-decoration: none; font-weight: 500; font-size: .97rem; }
.site-nav a:hover { background: rgba(255,255,255,.1); color: var(--white); }
.site-nav a[aria-current="page"] { color: var(--orange-soft); }
.site-nav li:last-child a { background: var(--orange-btn); margin-left: 10px; padding: 9px 18px; font-weight: 600; }
.site-nav li:last-child a:hover { background: var(--orange-btn-hover); }
.site-nav li:last-child a[aria-current="page"] { color: var(--white); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; cursor: pointer; }
  .nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { display: block; width: 20px; height: 2px; background: var(--white); position: relative; content: ""; }
  .nav-toggle-bar::before { position: absolute; top: -6px; } .nav-toggle-bar::after { position: absolute; top: 6px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; background: var(--navy-deep); padding: 8px 16px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 13px 12px; }
  .site-nav li:last-child a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 24px; border-radius: 11px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--orange-btn); color: var(--white); box-shadow: 0 6px 18px rgba(179, 92, 18, .28); }
.btn-primary:hover { background: var(--orange-btn-hover); color: var(--white); transform: translateY(-1px); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--cream); color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn-disabled { background: #E7E3DB; color: #5E6670; cursor: not-allowed; box-shadow: none; }
.link-arrow { font-weight: 600; color: var(--orange-btn); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.on-dark .link-arrow, .section-navy .link-arrow { color: var(--orange-soft); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p, .section-navy .lead { color: var(--on-navy); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--orange-btn); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--orange-soft); }
.section-head { max-width: 700px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }
.section-head .lead { margin-bottom: 0; }

/* Patterned navy background used by heroes */
.hero, .page-hero {
  color: var(--white); position: relative; overflow: hidden;
  background:
    radial-gradient(800px 480px at 88% 10%, rgba(201,106,27,.28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(92,130,180,.22), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }
.hero h1, .page-hero h1 { color: var(--white); }
.hero .lead, .page-hero .lead { color: var(--on-navy); }
.hero { padding: 84px 0 96px; }
.page-hero { padding: 72px 0 80px; }
.page-hero .lead { margin-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 32px 0 0; color: var(--on-navy); font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: "✓"; color: var(--orange-soft); font-weight: 700; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 540px; align-items: center; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 8px; }
}

/* ---------- Phone mockup ---------- */
.device { width: 272px; aspect-ratio: 9 / 18.6; background: #0D1A2B; border-radius: 42px; padding: 10px; position: relative; flex: none;
  box-shadow: 0 40px 80px rgba(5, 15, 30, .45), inset 0 0 0 2px rgba(255,255,255,.08); }
.device::before { content: ""; position: absolute; top: 19px; left: 50%; width: 80px; height: 22px; margin-left: -40px; background: #0D1A2B; border-radius: 12px; z-index: 2; }
.device.sm { width: 236px; }
.screen { background: #F7F4EE; border-radius: 33px; height: 100%; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); font-size: .8rem; line-height: 1.35; }
.app-top { background: var(--navy); color: var(--white); padding: 50px 16px 16px; }
.app-top small { display: block; opacity: .7; font-size: .68rem; margin-bottom: 2px; }
.app-top strong { font-size: 1.05rem; letter-spacing: -.01em; }
.app-body { padding: 12px; display: grid; gap: 7px; flex: 1; align-content: start; }
.app-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 4px 0; font-weight: 700; }
.app-row { background: var(--white); border-radius: 12px; padding: 10px 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.app-row b { color: var(--navy); white-space: nowrap; }
.app-row.total { background: var(--navy); color: var(--white); } .app-row.total b { color: var(--white); }
.app-row.accent { background: var(--amber-bg); } .app-row.accent b { color: var(--amber); }
.app-btn { margin: 0 12px 16px; background: var(--orange-btn); color: var(--white); text-align: center; font-weight: 600; border-radius: 12px; padding: 12px; }
.app-input { background: var(--white); border: 1.5px solid var(--orange); border-radius: 12px; padding: 9px 12px; display: flex; justify-content: space-between; }
.app-input span { color: var(--muted); } .app-input b { color: var(--navy); }
.app-pdf { background: var(--white); border-radius: 12px; padding: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); display: grid; gap: 6px; }
.app-pdf .logo-line { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.app-pdf .logo-line i { width: 22px; height: 22px; border-radius: 6px; background: var(--orange); display: block; }
.app-pdf .ln { height: 7px; border-radius: 4px; background: var(--cream-2); }
.app-pdf .ln.w60 { width: 60%; } .app-pdf .ln.w80 { width: 80%; } .app-pdf .ln.w40 { width: 40%; }
.app-pdf .sum { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; font-weight: 700; color: var(--navy); }

/* Floating notification cards around the phone */
.float-card { position: absolute; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 16px 12px 12px; box-shadow: 0 18px 44px rgba(5, 15, 30, .3); display: flex; gap: 11px; align-items: center; font-size: .86rem; line-height: 1.3; z-index: 3; }
.float-card strong { display: block; color: var(--navy); }
.float-card small { display: block; color: var(--muted); font-size: .76rem; }
.fc-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--green-bg); color: var(--green); font-weight: 700; flex: none; }
.fc-ico.orange { background: var(--amber-bg); color: var(--amber); }
.hero-visual { justify-content: flex-start; padding-left: 4%; }
.fc-1 { right: 0; top: 22%; } .fc-2 { right: 6%; bottom: 22%; } .fc-3 { right: 0; top: 30%; }
html.js .float-card { animation: bob 6s ease-in-out infinite; } html.js .fc-2 { animation-delay: -2s; } html.js .fc-3 { animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
@media (max-width: 960px) { .hero-visual { justify-content: center; padding-left: 0; } .fc-1 { right: auto; left: 0; top: 10%; } .fc-2 { right: 0; bottom: 12%; } .fc-3 { right: 0; top: 12%; } }
@media (max-width: 520px) { .device { width: 236px; } .float-card { font-size: .76rem; padding: 9px 12px 9px 9px; } .fc-ico { width: 30px; height: 30px; } .fc-3 { display: none; } }

/* ---------- Built-for strip ---------- */
.built-for { background: var(--white); border-bottom: 1px solid var(--line); }
.built-for .container { display: flex; align-items: center; justify-content: center; gap: 14px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 24px; }
.built-for p { margin: 0; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.built-for ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; justify-content: center; }
.built-for li { padding: 7px 15px; border-radius: 99px; background: var(--cream); color: var(--navy); font-weight: 500; font-size: .92rem; }

/* ---------- Grids, cards, tiles ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.card-action { margin-top: auto; padding-top: 8px; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--navy); flex: none; }
.icon svg { width: 27px; height: 27px; }
.icon.solid { background: var(--navy); color: var(--white); }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 11px; border-radius: 99px; background: var(--cream); color: var(--navy); margin-bottom: 14px; align-self: flex-start; }
.tag.orange { background: var(--amber-bg); color: var(--amber); }

.tile { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: var(--cream); opacity: .7; transition: transform .3s; }
.tile > * { position: relative; z-index: 1; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #D5C9B3; color: inherit; }
.tile:hover::after { transform: scale(1.15); }
.tile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.tile-head h3 { margin: 0; font-size: 1.4rem; }
.tile p { color: var(--muted); }
.tile ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 9px; }
.tile li { display: flex; gap: 10px; align-items: center; font-weight: 500; font-size: .98rem; }
.tile li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); flex: none; }
.tile .link-arrow { margin-top: auto; }

.value { padding: 32px; border-radius: 20px; background: var(--cream); }
.value .icon { background: var(--white); margin-bottom: 20px; }
.value p { color: var(--muted); margin: 0; }

/* Split / feature rows */
.split { display: grid; gap: 56px; grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 72px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 0; }
.feature-row.flip .feature-copy { order: 2; }
@media (max-width: 900px) { .feature-row { grid-template-columns: 1fr; gap: 36px; padding: 56px 0; } .feature-row.flip .feature-copy { order: 0; } }
.check-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange-btn); color: var(--white); display: grid; place-items: center; font-size: .78rem; font-weight: 700; margin-top: 2px; }

/* ---------- Panel mockups (dashboards) ---------- */
.mock-stage { padding: 32px; border-radius: 24px; background: linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 100%); position: relative; }
.section-cream .mock-stage { background: linear-gradient(135deg, #FFFFFF 0%, #F8F4EC 100%); }
.panel { background: var(--white); border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; font-size: .85rem; color: var(--ink); line-height: 1.4; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBF9F5; font-weight: 600; color: var(--navy); }
.panel-head .chip { margin-left: auto; }
.dots { display: inline-flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #E2DACB; display: block; }
.panel-body { padding: 16px; }
.panel-foot { display: flex; gap: 8px; padding: 0 16px 16px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: .74rem; font-weight: 600; background: var(--cream); color: var(--navy); white-space: nowrap; }
.chip.ok { background: var(--green-bg); color: var(--green); }
.chip.warn { background: var(--amber-bg); color: var(--amber); }
.rota { display: grid; grid-template-columns: 62px repeat(7, minmax(0, 1fr)); gap: 6px; align-items: center; }
.rota .d { text-align: center; font-size: .7rem; color: var(--muted); font-weight: 700; }
.rota .site { font-size: .76rem; font-weight: 600; color: var(--navy); }
.rota .s { height: 26px; border-radius: 6px; background: var(--navy); }
.rota .s.o { background: var(--orange); } .rota .s.c { background: #9DB0C8; }
.rota .s.open { background: repeating-linear-gradient(45deg, #FFF6EE, #FFF6EE 4px, #F7DCC4 4px, #F7DCC4 8px); border: 1.5px dashed var(--orange); }
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.log li:last-child { border-bottom: 0; }
.log b { display: block; color: var(--navy); font-weight: 600; }
.log small { color: var(--muted); font-size: .76rem; }
.log .chip { margin-left: auto; }
.log-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--cream); display: grid; place-items: center; color: var(--navy); flex: none; }
.log-ico svg { width: 18px; height: 18px; }
.sheet { width: 100%; border-collapse: collapse; font-size: .8rem; }
.sheet th { background: var(--navy); color: var(--white); text-align: left; padding: 8px 10px; font-weight: 600; }
.sheet td { padding: 8px 10px; border-bottom: 1px solid var(--line); }
.sheet .num { text-align: right; font-variant-numeric: tabular-nums; }
.sheet tr.total td { font-weight: 700; color: var(--navy); background: var(--cream); border-bottom: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--cream); border-radius: 10px; padding: 10px 12px; }
.kpi small { display: block; color: var(--muted); font-size: .7rem; font-weight: 600; }
.kpi b { font-size: 1.25rem; color: var(--navy); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 0 4px; border-bottom: 2px solid var(--line); }
.bars span { flex: 1; background: var(--navy); border-radius: 6px 6px 0 0; }
.bars span:nth-child(3n) { background: var(--orange); }

/* ---------- Steps, FAQ, CTA ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.step::before { counter-increment: step; content: counter(step); width: 42px; height: 42px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 2px 22px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--orange-btn); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 18px; }
.cta-band { background: radial-gradient(500px 300px at 100% 0%, rgba(255,255,255,.14), transparent 60%), linear-gradient(120deg, var(--orange-btn), #8C450B); color: var(--white); border-radius: 28px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; box-shadow: 0 24px 60px rgba(140, 69, 11, .25); }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #FBE3CF; margin: 0; max-width: 520px; font-size: 1.1rem; }
.cta-band .hero-actions { margin-top: 0; }
@media (max-width: 600px) { .cta-band { padding: 36px 28px; } }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 8px 20px 8px 15px; border-radius: 12px; background: #0B0F14; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.05rem; line-height: 1.1; border: 1px solid rgba(255,255,255,.12); }
.store-badge small { display: block; font-size: .68rem; font-weight: 500; opacity: .85; }
.store-badge:hover { background: #2A3038; color: var(--white); }
.store-badge.is-disabled { background: #ECE7DE; color: #5E6670; cursor: not-allowed; border-color: transparent; }
.hero .store-badge.is-disabled, .page-hero .store-badge.is-disabled, .section-navy .store-badge.is-disabled { background: rgba(255,255,255,.1); color: var(--on-navy); border-color: rgba(255,255,255,.14); }

/* Feature list (SkimQuote) */
.feature-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.feature .icon { margin-bottom: 16px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .35em; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.feature.highlight { background: var(--navy); border-color: var(--navy); }
.feature.highlight h3 { color: var(--white); } .feature.highlight p { color: var(--on-navy); }
.feature.highlight .icon { background: var(--orange-btn); color: var(--white); }

.device-row { display: flex; justify-content: center; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.device-row figure { margin: 0; text-align: center; }
.device-row figcaption { margin-top: 18px; font-weight: 600; color: var(--navy); }
.device-row figure:nth-child(2) { margin-top: -24px; }
@media (max-width: 820px) { .device-row figure:nth-child(2) { margin-top: 0; } }

/* Prose (policies) */
.prose h2 { font-size: 1.35rem; margin-top: 1.9em; }
.prose ul { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.meta { color: var(--muted); font-size: .95rem; }
.page-hero .meta { color: var(--on-navy); margin: 0; }
.notice { background: var(--cream); border-left: 4px solid var(--orange); padding: 18px 22px; border-radius: 0 12px 12px 0; margin: 0 0 24px; }
.notice p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form { padding: 24px; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1px solid #C9C0AF; border-radius: 11px; background: #FDFCFA; color: var(--ink); }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(201,106,27,.3); border-color: var(--orange); background: var(--white); }
.hint { font-size: .92rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FCEBE7; border: 1px solid #E5B4A8; color: #7A2414; padding: 14px 18px; border-radius: 10px; }
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1.6fr 1fr; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-aside { display: grid; gap: 16px; }
.contact-card { background: var(--cream); border-radius: 20px; padding: 28px; }
.contact-card h2 { font-size: 1.2rem; margin-bottom: .4em; }
.contact-card p { margin: 0; }
.contact-card.navy { background: var(--navy); }
.contact-card.navy h2 { color: var(--white); } .contact-card.navy p, .contact-card.navy li { color: var(--on-navy); }
.mini-steps { list-style: none; counter-reset: ms; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.mini-steps li { counter-increment: ms; display: flex; gap: 12px; align-items: flex-start; }
.mini-steps li::before { content: counter(ms); flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--orange-btn); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }

/* Retail */
.paw-band { position: relative; overflow: hidden; }
.paw-band::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 24 24' fill='%23E5DAC6'%3E%3Ccircle cx='5.5' cy='10' r='2'/%3E%3Ccircle cx='9.5' cy='5.5' r='2'/%3E%3Ccircle cx='14.5' cy='5.5' r='2'/%3E%3Ccircle cx='18.5' cy='10' r='2'/%3E%3Cpath d='M12 11.5c-3 0-5.5 3.5-5.5 6 0 1.7 1.3 3 3 3 1 0 1.6-.5 2.5-.5s1.5.5 2.5.5c1.7 0 3-1.3 3-3 0-2.5-2.5-6-5.5-6z'/%3E%3C/svg%3E");
  background-size: 90px 90px; transform: rotate(-8deg) scale(1.3); }
.paw-band > .container { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #B9C6D6; font-size: .94rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 40px; }
.footer-partner { font-size: .88rem; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand p { margin: 14px 0 0; max-width: 320px; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--white); margin: 6px 0 14px; font-weight: 700; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: #DCE4EE; text-decoration: none; }
.site-footer a:hover { color: var(--orange-soft); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0 32px; display: grid; gap: 8px; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-copy { opacity: .7; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* Small screens: tighten dashboard mockups */
@media (max-width: 520px) {
  .mock-stage { padding: 16px; border-radius: 18px; }
  .rota { grid-template-columns: 46px repeat(7, minmax(0, 1fr)); gap: 4px; }
  .rota .d { font-size: .6rem; }
  .rota .site { font-size: .68rem; }
  .rota .s { height: 22px; }
  .panel-body { padding: 12px; }
  .log li { padding: 10px 12px; gap: 10px; }
  .log .chip { display: none; }
  .sheet { font-size: .72rem; } .sheet th, .sheet td { padding: 7px 6px; }
}
@media (max-width: 520px) {
  .hero-visual { padding-bottom: 40px; }
  .fc-1 { top: -6px; left: 0; }
  .fc-2 { bottom: -10px; right: 0; }
}
@media (max-width: 520px) {
  .screen { font-size: .74rem; }
  .app-top { padding: 44px 14px 12px; }
  .app-body { gap: 6px; padding: 10px; }
  .app-row, .app-input { padding: 8px 10px; }
  .app-btn { padding: 10px; margin: 0 10px 14px; }
}
@media (max-width: 1100px) and (min-width: 521px) {
  .device.sm .app-row, .device.sm .app-input { padding: 9px 11px; }
}

/* =========================================================
   Services-company components
   ========================================================= */

/* Trust strip under the hero */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; }
.trust li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.trust svg { width: 20px; height: 20px; color: var(--orange-btn); flex: none; }

/* Hero composition: browser window + small phone */
.stack { position: relative; width: 100%; max-width: 580px; margin-left: auto; padding-bottom: 56px; }
.browser { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px rgba(5, 15, 30, .45); font-size: .8rem; color: var(--ink); line-height: 1.35; }
.browser-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #EEF1F5; border-bottom: 1px solid #DDE3EA; }
.browser-url { flex: 1; background: var(--white); border-radius: 7px; padding: 5px 10px; color: var(--muted); font-size: .72rem; }
.app-shell { display: grid; grid-template-columns: 128px 1fr; min-height: 310px; }
.app-side { background: var(--navy); color: #C9D3DF; padding: 14px 10px; display: grid; gap: 3px; align-content: start; font-size: .76rem; }
.app-side b { color: var(--white); padding: 0 10px 12px; font-size: .86rem; }
.app-side span { padding: 7px 10px; border-radius: 7px; }
.app-side span.on { background: rgba(255,255,255,.13); color: var(--white); font-weight: 600; box-shadow: inset 3px 0 0 var(--orange); }
.app-main { padding: 16px; background: #F7F8FA; display: grid; gap: 12px; align-content: start; }
.app-main h4 { margin: 0; color: var(--navy); font-size: .95rem; }
.app-main .kpis { margin: 0; }
.app-main .kpi { background: var(--white); border: 1px solid #E6EAF0; }
.table-mini { background: var(--white); border: 1px solid #E6EAF0; border-radius: 10px; overflow: hidden; }
.table-mini div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #EEF1F5; }
.table-mini div:last-child { border-bottom: 0; }
.table-mini span { color: var(--ink); }
.device.xs { position: absolute; right: -18px; bottom: 0; width: 168px; border-radius: 30px; padding: 7px; z-index: 2; }
.device.xs::before { top: 13px; width: 54px; height: 15px; margin-left: -27px; }
.device.xs .screen { border-radius: 24px; font-size: .64rem; }
.device.xs .app-top { padding: 32px 11px 10px; }
.device.xs .app-top strong { font-size: .82rem; }
.device.xs .app-body { padding: 8px; gap: 5px; }
.device.xs .app-row { padding: 7px 8px; border-radius: 9px; }
.device.xs .app-btn { padding: 8px; margin: 0 8px 10px; border-radius: 9px; }
.stack .fc-1 { left: -26px; right: auto; top: auto; bottom: 18px; }
@media (max-width: 960px) { .stack { margin: 8px auto 0; } }
@media (max-width: 560px) {
  .app-shell { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .device.xs { width: 128px; right: -6px; }
  .device.xs .screen { font-size: .56rem; }
  .stack .fc-1 { left: 0; bottom: 0; }
  .app-main .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .app-main .kpi b { font-size: 1rem; }
}

/* 4-up grid and 4-step process */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps.four { grid-template-columns: 1fr; } }

/* Service tiles (compact) */
.svc { padding: 28px; }
.svc .tile-head { margin-bottom: 10px; }
.svc .tile-head h3 { font-size: 1.2rem; }
.svc p { margin-bottom: 18px; }

/* Product cards on navy */
.product-mini { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background-color .2s, transform .2s; }
.product-mini:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); color: inherit; }
.product-mini .tag { background: rgba(242,185,138,.16); color: var(--orange-soft); }
.product-mini h3 { color: var(--white); margin-bottom: .35em; }
.product-mini p { color: var(--on-navy); font-size: .97rem; }
.product-mini .link-arrow { margin-top: auto; color: var(--orange-soft); }

/* UK contract card */
.contract { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; color: var(--ink); }
.contract-head { background: var(--navy); color: var(--white); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contract-head strong { font-size: 1.05rem; }
.contract-head small { display: block; color: var(--on-navy); font-size: .78rem; }
.contract dl { margin: 0; padding: 6px 24px 14px; }
.contract dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.contract dl div:last-child { border-bottom: 0; }
.contract dt { color: var(--muted); }
.contract dd { margin: 0; font-weight: 600; color: var(--navy); text-align: right; }
.stamp { display: inline-flex; align-items: center; gap: 6px; background: var(--green-bg); color: var(--green); padding: 5px 11px; border-radius: 99px; font-size: .75rem; font-weight: 700; white-space: nowrap; }

/* Integration flow diagram */
.flow { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; }
.flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50%; border-top: 2px dashed #D3C3A8; }
.flow-col { display: grid; gap: 10px; position: relative; }
.node { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 600; color: var(--navy); font-size: .84rem; display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow); }
.node i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.hub { position: relative; background: var(--navy); color: var(--white); border-radius: 16px; padding: 20px 18px; text-align: center; font-weight: 700; font-size: .88rem; box-shadow: 0 0 0 8px rgba(201,106,27,.16), var(--shadow-lg); }
.hub small { display: block; color: var(--orange-soft); font-weight: 600; font-size: .72rem; margin-top: 4px; }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow::before { display: none; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: tl; }
.timeline li { counter-increment: tl; display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding-bottom: 34px; position: relative; }
.timeline li::before { content: counter(tl); width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; position: relative; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin: 10px 0 4px; }
.timeline p { margin: 0; color: var(--muted); }

/* Industry cards */
.industry { display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.industry h3 { margin: 0 0 4px; font-size: 1.12rem; }
.industry p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Partner band */
.partner { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; padding: 30px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.partner p { margin: 0; color: var(--muted); }
.partner h3 { margin-bottom: 6px; }
@media (max-width: 600px) { .partner { grid-template-columns: 1fr; } }
