/* Masajid Solutions – company (sales) site. Its own palette, deliberately apart from the product's green theme:
   white, ink text, terracotta for action, deep teal for structure. Light only – the site is white regardless of the device theme. */
:root {
  --bg: #FFFFFF; --bg-2: #F8F8F7; --bg-3: #ECECE8; --ink: #1E1B18; --ink-2: #4A4540; --ink-3: #6B655E; --ink-4: #8C867E;
  --line: #E6E4DE; --line-strong: #8C867E; --card: #FFFFFF;
  --brand: #B5451B; --brand-2: #A63E17; --brand-3: #D0633A; --brand-soft: #F9E6DC; --brand-glow: rgba(181, 69, 27, .22);
  --teal: #1B4D5C; --teal-soft: #DDE9ED; --accent: #1B4D5C; --accent-soft: #DDE9ED; --gold: #F2B64E; --on-brand: #FFFFFF;
  --ok: #1B7A45; --warn: #9A5B00; --bad: #B3261E;
  --shadow: 0 1px 2px rgba(30, 27, 24, .05), 0 18px 50px -24px rgba(30, 27, 24, .35);
  --shadow-lg: 0 2px 4px rgba(30, 27, 24, .06), 0 40px 90px -40px rgba(30, 27, 24, .5);
  --radius: 16px; --w: 1160px;
  --display: "Manrope", "Inter", system-ui, sans-serif; --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--text); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 22px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46rem; }
.head { max-width: 50rem; margin-bottom: 48px; }
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.head.center .lede { margin: 0 auto; }
.head.center .eyebrow::before { display: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; font: 600 .95rem/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand-3), var(--brand-2)); color: var(--on-brand); box-shadow: 0 8px 24px -10px var(--brand-glow); }
.btn-primary:hover { box-shadow: 0 12px 32px -10px var(--brand-glow); transform: translateY(-1px); color: var(--on-brand); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-light { background: #fff; color: #1B4D5C; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn svg { width: 16px; height: 16px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { white-space: nowrap; display: flex; align-items: center; gap: 10px; font: 600 1.05rem/1 var(--text); color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.logo img { height: 40px; width: auto; display: block; }
.logo .logo-dark { display: none; }
footer .logo img { height: auto; width: 120px; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 500; padding: 8px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--bg-2); }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.header-cta .login { white-space: nowrap; color: var(--ink-2); text-decoration: none; font-size: .93rem; font-weight: 500; margin-right: 6px; }
.header-cta .btn { padding: 10px 16px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink); font: 500 .9rem var(--text); }
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-block; }
  .site-header.open .nav, .site-header.open .header-cta { display: flex; }
  .site-header.open .wrap { flex-wrap: wrap; padding-bottom: 16px; }
  .site-header.open .nav { order: 3; width: 100%; flex-direction: column; gap: 2px; margin: 0; }
  .site-header.open .header-cta { order: 4; width: 100%; margin: 8px 0 0; }
}

/* product dropdown */
.dd { position: relative; }
.dd-btn { background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font: 500 .92rem var(--text); padding: 8px 10px; border-radius: 8px; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .15s; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--ink); background: var(--bg-2); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 30; }
.dd.open .dd-menu, .dd:focus-within .dd-menu { display: block; }
@media (hover: hover) { .dd:hover .dd-menu { display: block; } }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.dd-menu a:hover { background: var(--bg-2); }
.dd-menu a b { display: block; font-weight: 600; font-size: .95rem; }
.dd-menu a span { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 2px; }
.dd-menu .dd-all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; color: var(--teal); font-weight: 600; font-size: .88rem; border-radius: 0; }
@media (max-width: 900px) {
  .site-header.open .dd-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .dd-btn { padding-left: 12px; }
}
/* page hero (inner pages) */
.page-hero { padding: 72px 0 40px; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lede { max-width: 50rem; }
.page-hero .btn-row { margin-top: 22px; }
.crumbs { font-size: .85rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); }

/* motion: floating chips, ticker, counters, activity feed */
.hero-stage { position: relative; }
.chip-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .82rem; animation: floaty 6s ease-in-out infinite; }
.chip-float b { display: block; font-weight: 600; color: var(--ink); }
.chip-float span { display: block; color: var(--ink-3); font-size: .76rem; }
.chip-float .dot, .feed .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.ok { background: var(--ok); } .dot.gold { background: var(--gold); } .dot.teal { background: var(--teal); }
.chip-float.c1 { left: -70px; top: 12%; } .chip-float.c2 { right: -80px; top: 24%; animation-delay: -2s; } .chip-float.c3 { left: -56px; top: 62%; animation-delay: -4s; } .chip-float.c4 { right: -64px; top: 72%; animation-delay: -1s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1240px) { .chip-float { display: none; } }
.ticker { overflow: hidden; border-top: 1px solid var(--line); background: var(--card); padding: 10px 0; margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 36px; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { white-space: nowrap; font-size: .82rem; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.ticker-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }
.strip { margin-top: 0; }
.numbers { padding: 56px 0; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.nums div { padding: 22px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.nums b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.8rem; line-height: 1; color: var(--teal); letter-spacing: -.03em; }
.nums span { display: block; margin-top: 8px; color: var(--ink-2); font-size: .9rem; }
@media (max-width: 860px) { .nums { grid-template-columns: 1fr 1fr; } }
.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feed { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; }
.feed-head { display: flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(27,122,69,.5); animation: pulse2 1.8s infinite; }
@keyframes pulse2 { 0% { box-shadow: 0 0 0 0 rgba(27,122,69,.5); } 70% { box-shadow: 0 0 0 10px rgba(27,122,69,0); } 100% { box-shadow: 0 0 0 0 rgba(27,122,69,0); } }
.feed-list { list-style: none; margin: 0; padding: 0; }
.feed-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--line); animation: slidein .45s ease; }
.feed-list li:last-child { border-bottom: 0; }
.feed-list li .dot { margin-top: 5px; }
.feed-list b { display: block; font-weight: 600; font-size: .95rem; }
.feed-list span { display: block; color: var(--ink-3); font-size: .82rem; }
.feed-list time { margin-left: auto; font-size: .76rem; color: var(--ink-4); white-space: nowrap; }
@keyframes slidein { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } }
.playpause { position: absolute; right: 14px; top: 14px; z-index: 3; font: 600 .78rem var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; cursor: pointer; color: var(--ink-2); }
.playpause:hover { color: var(--ink); }
.thumbs button.on .prog { animation: prog 5s linear forwards; }
@media (prefers-reduced-motion: reduce) { .chip-float, .ticker-track, .pulse, .feed-list li { animation: none; } }

/* hero */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 90%; z-index: -1; background:
  radial-gradient(60% 55% at 15% 20%, color-mix(in srgb, var(--teal) 22%, transparent), transparent 70%),
  radial-gradient(45% 45% at 85% 10%, var(--brand-glow), transparent 70%),
  radial-gradient(40% 40% at 70% 80%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%); filter: blur(10px); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), transparent 85%); }
.hero .intro { text-align: center; max-width: 56rem; margin: 0 auto 44px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { margin: 0 auto 28px; font-size: 1.2rem; }
.hero .btn-row { justify-content: center; }
.hero .note { margin-top: 16px; font-size: .9rem; color: var(--ink-3); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .note span { display: inline-flex; align-items: center; gap: 6px; }
.hero .note svg { width: 14px; height: 14px; color: var(--brand); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: .82rem; color: var(--ink-2); margin-bottom: 22px; }
.pill b { background: var(--teal); color: #fff; border-radius: 999px; padding: 3px 9px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

/* hero slider */
.slider { position: relative; max-width: 1060px; margin: 0 auto; }
.slider .frame { border: 1px solid var(--line); border-radius: 18px 18px 0 0; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); border-bottom: 0; }
.slider .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.slider .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.slider .bar i:nth-child(1) { background: #e56e5a; } .slider .bar i:nth-child(2) { background: #e2b65a; } .slider .bar i:nth-child(3) { background: #5fc38f; }
.slider .bar span { margin-left: 10px; font-size: .78rem; color: var(--ink-3); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 360px; }
.slides { position: relative; aspect-ratio: 16 / 10; }
.slides figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.slides figure.on { opacity: 1; }
.slides img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.slides figcaption { position: absolute; left: 16px; bottom: 16px; background: color-mix(in srgb, var(--ink) 88%, transparent); color: var(--bg); font-size: .82rem; padding: 7px 12px; border-radius: 8px; backdrop-filter: blur(6px); }
.thumbs { display: flex; gap: 8px; justify-content: center; margin-top: -1px; border: 1px solid var(--line); border-radius: 0 0 18px 18px; background: var(--bg-2); padding: 10px; flex-wrap: wrap; }
.thumbs button { border: 1px solid transparent; background: transparent; color: var(--ink-2); font: 500 .85rem var(--text); padding: 8px 14px; border-radius: 10px; cursor: pointer; position: relative; overflow: hidden; }
.thumbs button.on { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow); }
.thumbs button .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--brand); }
.thumbs button.on .prog { animation: prog 6s linear forwards; }
@keyframes prog { to { width: 100%; } }
.slider .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.slider .arrow svg { width: 18px; height: 18px; }
.slider .arrow.prev { left: -22px; } .slider .arrow.next { right: -22px; }
@media (max-width: 1140px) { .slider .arrow.prev { left: 8px; } .slider .arrow.next { right: 8px; } }

/* facts strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; margin-top: 64px; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip .fact { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.strip .fact svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }
.strip .fact strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .strip .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .strip .wrap { grid-template-columns: 1fr; } }

/* sections */
section { padding: 96px 0; }
.alt { background: var(--bg-2); }

/* interactive demo */
.demo { display: grid; grid-template-columns: 330px 1fr; gap: 28px; align-items: start; }
.demo-flows { display: flex; gap: 8px; margin-bottom: 16px; }
.dflow { flex: 1; text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 12px; cursor: pointer; font: 600 .9rem/1.3 var(--text); color: var(--ink-2); }
.dflow small { display: block; font-weight: 500; color: var(--ink-3); font-size: .76rem; margin-top: 2px; }
.dflow.on { border-color: var(--brand); color: var(--ink); box-shadow: 0 0 0 3px var(--brand-soft); }
.demo-intro { color: var(--ink-2); font-size: .92rem; margin-bottom: 14px; }
.demo-steps { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: d; }
.demo-steps li { counter-increment: d; display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; color: var(--ink-2); font-size: .9rem; line-height: 1.4; border: 1px solid transparent; }
.demo-steps li::before { content: counter(d); flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: var(--ink-3); background: var(--card); }
.demo-steps li.done::before { background: var(--brand); border-color: var(--brand); color: var(--on-brand); content: "✓"; }
.demo-steps li.on { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
.demo-steps li.on::before { border-color: var(--brand); color: var(--brand); }
.demo-steps li b { display: block; font-weight: 600; color: var(--ink); }
.demo-steps li span { display: none; margin-top: 3px; }
.demo-steps li.on span { display: block; color: var(--ink-2); }
.demo-ctl { display: flex; gap: 10px; }
.demo-ctl .btn { flex: 1; justify-content: center; }
.demo-stage { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); }
.demo-stage .bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.demo-stage .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.demo-stage .bar i:nth-child(1) { background: #e56e5a; } .demo-stage .bar i:nth-child(2) { background: #e2b65a; } .demo-stage .bar i:nth-child(3) { background: #5fc38f; }
.demo-stage .bar span { margin-left: 10px; font-size: .78rem; color: var(--ink-3); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; flex: 1; max-width: 360px; }
.demo-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.demo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.demo-img.swap { opacity: 0; }
.demo-hot { position: absolute; border: 2px solid var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); border-radius: 8px; cursor: pointer; padding: 0; display: none; }
.demo-hot.on { display: block; }
.demo-hot i { position: absolute; inset: -6px; border-radius: 12px; border: 2px solid var(--brand); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
.demo-tip { position: absolute; max-width: 300px; background: var(--ink); color: var(--bg); font-size: .82rem; line-height: 1.4; padding: 8px 12px; border-radius: 8px; display: none; pointer-events: none; box-shadow: var(--shadow); }
.demo-tip.on { display: block; }
.demo-progress { height: 4px; background: var(--bg-2); }
.demo-progress i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .3s; }
.demo-frame.flash::after { content: ""; position: absolute; inset: 0; background: var(--brand); opacity: .08; animation: flash .4s; }
@keyframes flash { to { opacity: 0; } }
@media (max-width: 960px) { .demo { grid-template-columns: 1fr; } .demo-stage { order: -1; } .demo-steps li:not(.on) { display: none; } }

/* scroll-driven showcase */
.scrolly { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.scrolly .texts { display: flex; flex-direction: column; }
.scrolly .text { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .35; transition: opacity .3s; padding-right: 20px; }
.scrolly .text.on { opacity: 1; }
.scrolly .text h3 { font-size: 1.5rem; }
.scrolly .text p { color: var(--ink-2); }
.scrolly .text .k { display: inline-block; font: 600 .74rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.scrolly .screen { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); aspect-ratio: 16/10; }
.scrolly .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .5s; }
.scrolly .screen img.on { opacity: 1; }
@media (max-width: 900px) { .scrolly { grid-template-columns: 1fr; } .scrolly .screen { position: sticky; top: 70px; z-index: 1; } .scrolly .text { min-height: auto; padding: 28px 0; opacity: 1; } .scrolly .texts { order: 2; } }

/* product tour: tabs */
.tour { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.tabs { display: flex; flex-direction: column; gap: 6px; }
.tab { text-align: left; background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 14px 16px; cursor: pointer; color: var(--ink-2); font: 500 .95rem/1.4 var(--text); display: flex; gap: 14px; align-items: flex-start; transition: background .15s, border-color .15s; }
.tab svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 1px; }
.tab b { display: block; color: var(--ink); font-weight: 600; }
.tab small { display: none; color: var(--ink-2); font-size: .86rem; line-height: 1.45; margin-top: 4px; }
.tab:hover { background: var(--bg-2); }
.tab.on { background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }
.tab.on small { display: block; }
.panes { position: sticky; top: 90px; }
.pane { display: none; }
.pane.on { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pane .shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); }
.pane .points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.pane .points div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: .9rem; color: var(--ink-2); }
.pane .points b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.pane .rule { margin-top: 16px; font-size: .9rem; color: var(--ink-2); background: var(--teal-soft); border-left: 3px solid var(--teal); padding: 12px 16px; border-radius: 0 10px 10px 0; }
@media (max-width: 960px) {
  .tour { grid-template-columns: 1fr; }
  .tabs { flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .tab { flex: none; scroll-snap-align: start; padding: 10px 14px; }
  .tab small { display: none !important; }
  .panes { position: static; }
  .pane .points { grid-template-columns: 1fr; }
}

/* module grid */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.module { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.module svg { width: 26px; height: 26px; color: var(--brand); }
.module b { font-weight: 600; }
.module span { font-size: .88rem; color: var(--ink-2); line-height: 1.5; }
.module .plan-tag { margin-top: auto; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 960px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modules { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--display); font-weight: 800; font-size: 2.2rem; color: var(--teal); line-height: 1; display: block; margin-bottom: 12px; }
.step p { color: var(--ink-2); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* two column feature (website + roles) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split .card-shot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.split .card-shot .img { aspect-ratio: 16/10; overflow: hidden; border-bottom: 1px solid var(--line); }
.split .card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.split .card-shot:hover img { transform: scale(1.02); }
.split .card-shot .body { padding: 22px 24px 26px; }
.split .card-shot p { color: var(--ink-2); margin: 0 0 12px; }
.split .card-shot ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: .93rem; }
.split .card-shot li { margin: 4px 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* member app */
.app-head { max-width: 54rem; margin-bottom: 40px; }
.app-head .status { background: var(--brand-soft); color: var(--ink); border-left: 3px solid var(--brand); padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: .92rem; max-width: 46rem; }
.app-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.app-points li { display: flex; gap: 12px; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.app-points svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.app-points b { color: var(--ink); font-weight: 600; }
.phones-wrap { position: relative; }
.phones-wrap .ctl { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 14px; }
.phones-wrap .ctl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.phones-wrap .ctl svg { width: 16px; height: 16px; }
.phones { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 4px 22px; scrollbar-width: none; }
.phones::-webkit-scrollbar { display: none; }
.phones figure { flex: 0 0 236px; margin: 0; scroll-snap-align: start; text-align: center; }
.phone { border-radius: 34px; border: 1px solid var(--line); background: #0b1512; padding: 10px; box-shadow: var(--shadow-lg); position: relative; }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 12px; background: #0b1512; z-index: 1; }
.phone img { border-radius: 26px; width: 100%; height: auto; }
.phones figcaption { margin-top: 12px; font-size: .88rem; color: var(--ink-2); font-weight: 500; }
@media (max-width: 760px) { .app-points { grid-template-columns: 1fr; } .phones figure { flex-basis: 210px; } }

/* connectors */
.connectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.conn { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.conn h3 { font-family: var(--text); font-weight: 600; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.conn h3 svg { width: 22px; height: 22px; color: var(--brand); }
.conn p { color: var(--ink-2); font-size: .92rem; margin: 0 0 16px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: .8rem; font-weight: 600; color: var(--ink); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
@media (max-width: 900px) { .connectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .connectors { grid-template-columns: 1fr; } }

.planned { margin-top: 18px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 12px; font-size: .9rem; color: var(--ink-2); }
.planned b { color: var(--ink); }
.planned span { display: inline-block; margin: 2px 2px; font-size: .78rem; font-weight: 600; border: 1px dashed var(--ink-3); border-radius: 999px; padding: 3px 10px; color: var(--ink-2); }

/* product icons */
.picon { display: block; border-radius: 12px; margin-bottom: 14px; box-shadow: 0 6px 18px -8px rgba(30,27,24,.35); }
.picon.big { width: 64px; height: 64px; border-radius: 16px; margin-bottom: 18px; }
.plines a img { width: 22px; height: 22px; border-radius: 6px; vertical-align: -5px; margin-right: 8px; }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; }
.dd-menu a img { width: 28px; height: 28px; border-radius: 8px; flex: none; margin-top: 2px; }
.strip .fact img { width: 36px; height: 36px; border-radius: 10px; flex: none; }

/* product line chips */
.plines { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.plines a { text-decoration: none; font: 600 .9rem var(--text); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.plines a:hover { border-color: var(--teal); color: var(--teal); }
.feature[id] { scroll-margin-top: 90px; }

/* feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 40px 0; }
.feature.flip .text { order: 2; }
.feature + .feature { border-top: 1px dashed var(--line); }
.feature h3 { font-size: 1.45rem; }
.feature ul { padding-left: 1.1em; margin: 0 0 .5em; color: var(--ink-2); }
.feature li { margin: 6px 0; }
.feature .rule { font-size: .9rem; color: var(--ink-2); background: var(--teal-soft); border-left: 3px solid var(--teal); padding: 10px 14px; border-radius: 0 10px 10px 0; margin-top: 14px; }
.feature .shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow-lg); margin: 0; }
.feature .shot img { width: 100%; }
.planned-inline { display: inline-block; margin-top: 6px; border: 1px dashed var(--line); border-radius: 8px; padding: 4px 10px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; gap: 22px; } .feature.flip .text { order: 0; } }

/* process flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: f; }
.flow li { counter-increment: f; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px 18px; position: relative; }
.flow li::before { content: counter(f, decimal-leading-zero); font-family: var(--display); font-size: 1.6rem; color: var(--brand); display: block; margin-bottom: 8px; line-height: 1; }
.flow li b { display: block; font-weight: 600; margin-bottom: 6px; font-size: 1.05rem; }
.flow li span { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
@media (max-width: 1000px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* trust: three wide cards */
.trust.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .trust.three { grid-template-columns: 1fr; } }

/* walkthrough form */
.wt { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.wt .app-points { grid-template-columns: 1fr; margin-top: 18px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font: 600 .88rem/1.3 var(--text); color: var(--ink); }
.form label small { font-weight: 400; color: var(--ink-3); }
.form input, .form select { font: 400 1rem var(--text); color: var(--ink); background: var(--card); border: 1px solid var(--line-strong, #7B8288); border-radius: 10px; padding: 11px 12px; min-height: 44px; }
.form input:focus, .form select:focus { outline: 2px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { justify-content: center; }
.form .error { color: var(--bad, #B3261E); font-size: .85rem; font-weight: 500; }
.form input[aria-invalid="true"], .form select[aria-invalid="true"] { border-color: var(--bad, #B3261E); }
.form-msg { margin: 0; font-size: .95rem; color: var(--brand-2); font-weight: 500; min-height: 1.4em; }
@media (max-width: 860px) { .wt { grid-template-columns: 1fr; } .form .row2 { grid-template-columns: 1fr; } }

.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards.four { grid-template-columns: 1fr; } }
a.card.rel { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
a.card.rel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
a.card.rel .more { margin-top: auto; padding-top: 12px; color: var(--teal); font-weight: 600; font-size: .9rem; }

/* carousel (what's new) */
.carousel { position: relative; }
.track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track .card { flex: 0 0 320px; scroll-snap-align: start; }
.carousel .ctl { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 18px; }
.carousel .ctl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.carousel .ctl svg { width: 16px; height: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .4em; font-size: 1.15rem; }
.card p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.card .date { font-size: .76rem; color: var(--brand); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; display: block; }
.card .thumb { margin: -24px -24px 18px; aspect-ratio: 16/8; overflow: hidden; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* switching table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 10px; font-size: .95rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare th { font-weight: 600; color: var(--ink-3); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; background: var(--bg-2); }
.compare td:first-child { color: var(--ink-2); width: 34%; background: color-mix(in srgb, var(--bg-2) 50%, transparent); }
.compare td:last-child::before { content: ""; }
.compare td:last-child { font-weight: 500; color: var(--ink); }
@media (max-width: 700px) { .compare thead { display: none; } .compare td { display: block; width: auto !important; border: 0; padding: 4px 16px; background: none !important; } .compare tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); } .compare td:first-child { font-weight: 600; color: var(--ink); } }

/* pricing */
.toggle { display: inline-flex; background: var(--bg-3); border-radius: 999px; padding: 4px; margin: 0 auto 36px; gap: 2px; }
.toggle button { border: 0; background: transparent; color: var(--ink-2); font: 600 .9rem var(--text); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.toggle button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.toggle .save { font-size: .72rem; color: var(--brand); margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan.highlight { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-soft), var(--shadow-lg); }
.plan .tag { position: absolute; top: -13px; left: 24px; background: var(--teal); color: #fff; color: var(--on-brand); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.plan h3 { font-family: var(--text); font-weight: 600; font-size: 1.05rem; color: var(--ink-2); }
.plan .price { font-family: var(--display); font-size: 2.8rem; line-height: 1; margin: 10px 0 2px; display: flex; align-items: baseline; gap: 6px; }
.plan .price small { font: 400 .9rem/1 var(--text); color: var(--ink-3); }
.plan .yearly { font-size: .85rem; color: var(--ink-3); margin-bottom: 22px; min-height: 1.2em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; color: var(--ink-2); font-size: .94rem; flex: 1; }
.plan li { padding: 8px 0 8px 26px; border-top: 1px solid var(--line); position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 14px; border-radius: 50%; background: var(--teal-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4d5c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); background-size: 9px; background-position: center; background-repeat: no-repeat; }
.plan li:first-child { border-top: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.trust svg { width: 24px; height: 24px; color: var(--teal); margin-bottom: 12px; }
.trust h3 { font-size: 1.02rem; font-family: var(--text); font-weight: 600; margin-bottom: 6px; }
.trust p { color: var(--ink-2); margin: 0; font-size: .92rem; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 52rem; margin: 0 auto; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; }
.faq summary::after { content: "+"; color: var(--teal); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

/* closing cta */
.closing { position: relative; overflow: hidden; background: linear-gradient(135deg, #143B47, #1B4D5C 60%, #246577); color: #fff; text-align: center; padding: 96px 0; }
.closing::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.14), transparent 40%), radial-gradient(circle at 80% 70%, rgba(240,160,120,.28), transparent 45%); }
.closing .wrap { position: relative; }
.closing h2 { max-width: 36rem; margin: 0 auto .5em; color: #fff; }
.closing .lede { color: rgba(255,255,255,.82); margin: 0 auto; }
.closing .btn-row { justify-content: center; margin-top: 26px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 52px 0 36px; font-size: .9rem; color: var(--ink-2); background: var(--bg-2); }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
footer h4 { margin: 0 0 10px; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin: 7px 0; }
footer a { color: var(--ink-2); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }
footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: var(--ink-3); font-size: .85rem; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .thumbs button.on .prog { animation: none; } .pane.on { animation: none; } }

/* ---------- pricing: plan builder (pricing_page.py) ---------- */
.pb { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.pb fieldset { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
.pb legend { display: flex; align-items: center; gap: 10px; font: 800 1.15rem/1.2 var(--display); margin-bottom: 14px; padding: 0; }
.pb-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .85rem; }
.pb-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pb-preset { position: relative; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 14px 12px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.pb-preset b { display: block; font-size: .98rem; }
.pb-preset small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.35; margin-top: 3px; }
.pb-preset:hover { border-color: var(--ink-3); }
.pb-preset[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.pb-pop { position: absolute; top: -10px; right: 10px; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.pb-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.pb-size input { position: absolute; opacity: 0; }
.pb-size span { display: block; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; font-weight: 600; font-size: .92rem; }
.pb-size small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.pb-size input:checked + span { border-color: var(--teal); background: var(--teal-soft); }
.pb-size input:focus-visible + span, .pb-switch input:focus-visible + .pb-track { outline: 3px solid var(--brand-3); outline-offset: 2px; }
.pb-bill { display: inline-flex; background: var(--bg-3); border-radius: 12px; padding: 4px; margin-bottom: 14px; }
.pb-bill button { border: 0; background: transparent; font: 600 .9rem/1 var(--text); padding: 10px 16px; border-radius: 9px; cursor: pointer; color: var(--ink-2); }
.pb-bill button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.pb-bill button span { color: var(--ok); font-size: .78rem; margin-left: 4px; }
.pb-mods { display: grid; gap: 12px; }
.pb-mod { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.pb-mod.is-on { border-color: var(--teal); box-shadow: 0 10px 30px -22px rgba(27,77,92,.7); }
.pb-mod-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 16px 18px; }
.pb-ico { width: 44px; height: 44px; border-radius: 12px; }
.pb-mod-title h3 { font-size: 1.08rem; margin: 0 0 2px; }
.pb-mod-title p { margin: 0; color: var(--ink-3); font-size: .88rem; line-height: 1.4; }
.pb-mod-price { text-align: right; white-space: nowrap; }
.pb-amt { font: 800 1.3rem/1 var(--display); }
.pb-mod-price small { display: block; color: var(--ink-3); font-size: .76rem; }
.pb-req { font-size: .78rem; font-weight: 700; color: var(--teal); background: var(--teal-soft); padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.pb-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: .88rem; }
.pb-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pb-track { width: 44px; height: 26px; border-radius: 999px; background: var(--bg-3); border: 1px solid var(--line-strong); position: relative; transition: background .15s; flex: none; }
.pb-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s; }
.pb-switch input:checked + .pb-track { background: var(--teal); border-color: var(--teal); }
.pb-switch input:checked + .pb-track::after { transform: translateX(18px); }
.pb-switch input:checked ~ .pb-switch-label { color: var(--teal); }
.pb-details > summary { list-style: none; cursor: pointer; padding: 10px 18px; border-top: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--teal); }
.pb-details > summary::-webkit-details-marker { display: none; }
.pb-details > summary::before { content: "+"; display: inline-block; width: 1.1em; font-weight: 800; }
.pb-details[open] > summary::before { content: "–"; }
.pb-body { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; padding: 4px 18px 18px; }
.pb-body h4 { font: 700 .74rem/1 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 8px 0 10px; }
.pb-check { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.pb-check li { position: relative; padding: 4px 0 4px 24px; }
.pb-check li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 11px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.pb-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pb-opt { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.pb-opt:hover { border-color: var(--ink-4); }
.pb-opt input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
.pb-opt:has(input:checked) { border-color: var(--brand); background: #FDF6F2; }
.pb-opt:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.pb-opt-text b { display: block; font-size: .9rem; }
.pb-opt-text small { display: block; color: var(--ink-3); font-size: .8rem; line-height: 1.35; }
.pb-opt-price { font-weight: 700; font-size: .9rem; white-space: nowrap; }
.pb-opt-price small { font-weight: 500; color: var(--ink-3); }
.pb-beta { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--warn); border: 1px solid currentColor; border-radius: 6px; padding: 1px 5px; margin-left: 4px; vertical-align: 2px; }
.pb-coming { border-style: dashed; background: transparent; }
.pb-coming .pb-mod-head { grid-template-columns: 44px minmax(0, 1fr) auto auto; }
.pb-soon { font-size: .78rem; font-weight: 700; color: var(--warn); border: 1px dashed currentColor; border-radius: 999px; padding: 5px 10px; }
.pb-wait { padding: 9px 14px; font-size: .85rem; }
.pb-sum { position: sticky; top: 90px; }
.pb-sum-card { background: var(--card); border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.pb-sum-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.pb-lines { list-style: none; margin: 0 0 12px; padding: 0; font-size: .88rem; max-height: 46vh; overflow: auto; }
.pb-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.pb-lines li > span:last-child { font-weight: 700; white-space: nowrap; }
.pb-lines small { display: block; color: var(--ink-3); font-size: .78rem; line-height: 1.35; }
.pb-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; font-weight: 600; }
.pb-total strong { font: 800 2rem/1 var(--display); color: var(--ink); }
.pb-alt { font-size: .84rem; color: var(--ok); margin: 6px 0 12px; }
.pb-today { font-size: .88rem; color: var(--ink-2); background: var(--bg-2); border-radius: 10px; padding: 10px 12px; }
.pb-cta { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.pb-sum-actions { display: flex; justify-content: space-between; margin-top: 12px; font-size: .88rem; }
.pb-sum-actions button { background: none; border: 0; padding: 0; color: var(--teal); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pb-share-msg { min-height: 1.2em; margin: 6px 0 0; color: var(--ok); word-break: break-all; }
.pb-promise { list-style: none; padding: 12px 0 0; margin: 10px 0 0; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-2); display: grid; gap: 4px; }
.pb-promise li::before { content: "✓ "; color: var(--ok); font-weight: 700; }
.pb-bar { display: none; }
@media (max-width: 980px) {
  .pb { grid-template-columns: 1fr; }
  .pb-sum { position: static; }
  .pb-presets { grid-template-columns: repeat(2, 1fr); }
  .pb-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(0,0,0,.4); transition: transform .2s; }
  .pb-bar.hide { transform: translateY(110%); }
  .pb-bar small { display: block; color: var(--ink-3); font-size: .76rem; }
  .pb-bar strong { font: 800 1.4rem/1 var(--display); }
}
@media (max-width: 640px) {
  .pb-mod-head { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .pb-mod-head .pb-switch, .pb-mod-head .pb-req, .pb-mod-head .pb-wait { grid-column: 2 / -1; justify-self: start; }
  .pb-body { grid-template-columns: 1fr; }
  .pb-presets { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .pb-track::after, .pb-bar { transition: none; } }
@media print { .pb-bar, .pb-cta, .pb-sum-actions { display: none; } }
/* plan builder: groups and roadmap (2026-10-25) */
.pb-group { display: grid; gap: 12px; }
.pb-group + .pb-group { margin-top: 22px; }
.pb-group-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 4px 2px 0; }
.pb-group-head h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0; font-family: var(--text); font-weight: 700; }
.pb-group-head p { margin: 0; font-size: .86rem; color: var(--ink-3); }
.pb-road { margin-top: 14px; }
.pb-road ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pb-road li span { display: inline-block; font-size: .8rem; color: var(--ink-2); border: 1px dashed var(--ink-4); border-radius: 999px; padding: 4px 10px; }
