/* Diwan website — shared styles. Colours come from the logo: teal, blue, violet. */
:root {
  --ink: #1d1a46;
  --ink-2: #3b3770;
  --muted: #5b5f7a;
  --paper: #f5f7fd;
  --tint: #eef3fd;
  --grad: linear-gradient(120deg, #4fc3a9, #6aa8e8 50%, #9b7bf0);
  --grad-deep: linear-gradient(120deg, #1f7f6c, #2f6fb8 50%, #6d4fd8);
  --white: #ffffff;
  --line: #dde1ee;
  --teal: #1f7f6c;
  --teal-hi: #4fc3a9;
  --blue: #6aa8e8;
  --violet: #6d4fd8;
  --violet-hi: #9b7bf0;
  --display: "Bricolage Grotesque", "IBM Plex Sans", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --arabic: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--body);
  color: var(--ink);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; }
.ar { font-family: var(--arabic); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); background: rgba(245, 247, 253, 0.96); position: sticky; top: 0; z-index: 5; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.01em; }
.brand-ar { font-family: var(--arabic); font-size: 1.3rem; color: var(--violet); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--violet-hi); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--ink); cursor: pointer; }

.btn { display: inline-block; font: 600 1rem/1 var(--body); padding: 14px 20px; border-radius: 10px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-main { background: var(--grad-deep); color: var(--white); border: 0; padding: 16px 22px; }
.btn-main:hover { filter: brightness(1.08); color: var(--white); }
.btn-quiet { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-quiet:hover { background: var(--white); color: var(--ink); }
.btn-on-dark { border-color: #fff; color: #fff; }
.btn-on-dark:hover { background: #fff; color: var(--violet); }
.btn-light { background: #fff; color: var(--violet); }
.btn-light:hover { background: #e9e8f7; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Sections */
.band { padding: clamp(36px, 5.5vw, 64px) 0; }
.band-dark { background: var(--grad-deep); color: #eef0fb; }
.band-dark h2, .band-dark h3 { color: var(--white); }
.band-dark p { color: #eef0fb; font-size: 1.15rem; }
.band-dark a { color: #fff; }
.band-white { background: var(--white); border-block: 1px solid var(--line); }

/* Hero */
.hero { background: radial-gradient(60% 80% at 90% 10%, rgba(155, 123, 240, 0.14), transparent 70%), radial-gradient(50% 70% at 5% 100%, rgba(79, 195, 169, 0.14), transparent 70%); }
.hero h1 { background: linear-gradient(120deg, #1d1a46 40%, #6d4fd8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 13ch; }

/* The example card in the hero (no animation) */
.ledger { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -24px rgba(30, 27, 75, 0.45); font-variant-numeric: tabular-nums; }
.ledger-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ledger-top strong { font-family: var(--display); font-size: 1.1rem; }
.ledger-top span { color: var(--muted); font-size: 0.9rem; }
.ledger table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ledger th { text-align: left; font-weight: 500; color: var(--muted); font-size: 0.82rem; padding: 0 0 6px; border-bottom: 1px solid var(--line); }
.ledger th.n, .ledger td.n { text-align: right; }
.ledger td { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.ledger tr.row { opacity: 1; }
.ledger tfoot td { border-bottom: 0; border-top: 2px solid var(--violet); font-weight: 600; padding-top: 10px; }
.seal { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--teal); }
.seal-dot { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-hi), var(--blue) 50%, var(--violet-hi)); display: grid; place-items: center; color: var(--white); font-size: 13px; }


/* Ledger-style lists (business types, features) */
.lines { list-style: none; margin: 0; padding: 0; border-top: 2px solid currentColor; }
.lines li { display: grid; grid-template-columns: minmax(180px, 0.9fr) 2fr minmax(140px, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.band-dark .lines li { border-bottom-color: #3a3670; }
.lines h3 { margin: 0; }
.lines p { margin: 0; }
.lines .tail { color: var(--muted); font-size: 0.95rem; text-align: right; }
.band-dark .lines .tail { color: #a9a6d6; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 16px; }
.facts dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--muted); }

/* Compare table (Lite vs Diwan) */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-size: 1.15rem; background: var(--paper); }
.compare tbody th { font-weight: 500; color: var(--ink-2); width: 34%; }
.yes { color: var(--teal); font-weight: 600; }
.no { color: var(--muted); }

/* Plans (pricing) */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.plan.full { border: 2px solid var(--ink); }
.plan .price { font-family: var(--display); font-size: 2rem; font-weight: 700; margin: 6px 0 14px; }
.plan ul { padding-left: 1.1em; margin: 0 0 18px; }
.plan li { margin-bottom: 6px; }

/* Contact */
.form { display: grid; gap: 14px; max-width: 520px; }
.form label { font-weight: 500; display: grid; gap: 6px; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border: 1px solid #c8cde0; border-radius: 10px; background: var(--white); color: var(--ink); }
.form textarea { min-height: 120px; resize: vertical; }
.note { font-size: 0.92rem; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 0.95rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }

@media (max-width: 880px) {
  .hero .wrap, .split, .plans { grid-template-columns: 1fr; }
  .lines li { grid-template-columns: 1fr; gap: 6px; }
  .lines .tail { text-align: left; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; padding: 12px 20px 20px; gap: 14px; }
  .nav.open { display: flex; }
  .site-foot nav { margin-left: 0; }
}

.ledger .cur { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--violet); background: rgba(155, 123, 240, 0.1); border-radius: 6px; padding: 2px 7px; }
.ledger-note { margin: 12px 0 0; color: var(--muted); font-size: 0.85rem; }

/* Kinds of business: small example screens instead of paragraphs */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; margin-top: 22px; }
.type { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.type h3 { margin: 0 0 4px; }
.type p { margin: 0; color: var(--muted); }
.shot { background: #fff; border: 1px solid #dde5e2; border-radius: 10px; padding: 16px; height: 206px; box-shadow: 0 1px 2px rgba(16, 40, 60, 0.06); font-size: 0.9rem; font-variant-numeric: tabular-nums; position: relative; overflow: hidden; }
.shot::before { content: none; }
.shot-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; gap: 8px; }
.shot-top strong { font-family: var(--body); font-weight: 600; font-size: 0.98rem; }
.shot-top span { color: var(--muted); font-size: 0.82rem; }
.bar { display: grid; grid-template-columns: 110px 1fr 48px; gap: 10px; align-items: center; margin-bottom: 12px; }
.bar i { display: block; height: 10px; border-radius: 6px; background: #dfe6f6; position: relative; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 6px; background: var(--grad); }
.bar b { text-align: right; font-weight: 600; }
.receipt { padding-top: 12px; }
.receipt .r-line { padding: 4px 0; }
.receipt .pill { margin-top: 8px; }
.r-line, .r-total { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.r-total { border-bottom: 0; border-top: 2px solid var(--violet); margin-top: 6px; padding-top: 9px; font-weight: 700; }
.pill { display: inline-block; margin-top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.pill-teal { background: rgba(79, 195, 169, 0.18); color: #1f7f6c; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c6cde3; flex: none; }
.steps li.done { color: var(--ink); }
.steps li.done::before { background: #4fc3a9; border-color: #4fc3a9; }
.steps li.now { color: var(--violet); font-weight: 600; }
.steps li.now::before { border-color: #9b7bf0; background: rgba(155, 123, 240, 0.25); }
.recipe { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.recipe span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.tables { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.t { display: block; border: 2px solid #0b3c82; background: rgba(11, 60, 130, 0.05); border-radius: 12px; padding: 7px 9px; font-size: 0.78rem; line-height: 1.35; color: var(--ink); min-height: 62px; }
.t b { display: block; font-size: 0.9rem; }
.t small { display: block; color: var(--muted); font-size: 0.72rem; }
.t.ready { border-color: #f59e0b; background: #fffbeb; }
.t.ready small { color: #b45309; }
.t.free { border: 2px dashed #cdd6d3; background: #fff; color: var(--muted); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rm { display: block; border: 2px solid #22c55e; background: #f0fdf4; border-radius: 10px; padding: 7px 8px; font-size: 0.72rem; line-height: 1.3; color: var(--muted); min-height: 58px; }
.rm b { display: block; color: var(--ink); font-size: 0.95rem; }
.rm.in { border-color: #0b3c82; background: rgba(11, 60, 130, 0.05); }
.rm.clean { border-color: #f59e0b; background: #fffbeb; }
.rm.off { border-color: #c4cdd0; background: #eef2f1; }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--muted); font-size: 0.8rem; }
.k { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 4px; }

/* Your name on everything */
.brand-split { align-items: center; }
.invoice { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 18px 40px -24px rgba(30, 27, 75, 0.45); max-width: 460px; font-variant-numeric: tabular-nums; }
.inv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 2px solid #f0b54a; }
.inv-logo { width: 42px; height: 42px; border-radius: 10px; background: #f0b54a; color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; font-weight: 700; flex: none; }
.inv-head strong { display: block; font-family: var(--display); }
.inv-head small { color: var(--muted); }
.inv-no { margin-left: auto; text-align: right; font-size: 0.82rem; color: var(--muted); }
.inv-no b { color: var(--ink); }
.tiles { display: grid; gap: 14px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.tile p { margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 4px 10px; border-radius: 8px; font-weight: 600; font-size: 0.85rem; color: var(--violet); background: rgba(155, 123, 240, 0.12); }
.chips span:nth-child(3n+2) { color: #2f6fb8; background: rgba(106, 168, 232, 0.16); }
.chips span:nth-child(3n) { color: #1f7f6c; background: rgba(79, 195, 169, 0.18); }
.sync { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.sync .dot { width: 12px; height: 12px; border-radius: 50%; background: #4fc3a9; box-shadow: 0 0 0 5px rgba(79, 195, 169, 0.2); flex: none; }

@media (max-width: 880px) {
  .types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .types { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 96px 1fr 44px; }
}

.band-dark a.btn-light { color: var(--violet); }
.band-dark a.btn-light:hover { color: var(--violet); }

/* Features page examples */
.bar.wide { grid-template-columns: 1fr; gap: 6px; }
.aging { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.aging span { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font-size: 0.78rem; color: var(--muted); }
.aging b { display: block; color: var(--ink); font-size: 0.95rem; margin-top: 2px; }
.aging .late { border-color: #f0b54a; }
.stack { display: flex; height: 16px; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.stack i { width: var(--w); background: var(--c); }
.shot .legend { margin-bottom: 8px; }
.up { color: #1f7f6c; }
.down { color: #b4453a; }
.cur { font-style: normal; display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--violet); background: rgba(155, 123, 240, 0.12); border-radius: 6px; padding: 1px 6px; margin-left: 4px; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4fc3a9; box-shadow: 0 0 0 4px rgba(79, 195, 169, 0.25); vertical-align: middle; }
.pill-violet { background: rgba(155, 123, 240, 0.16); color: var(--violet); }
.ticket em { color: var(--violet); font-style: normal; font-size: 0.82rem; }
.ask { margin: 4px 0 16px; color: var(--muted); }
.choice { display: flex; gap: 10px; }
.choice span { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-weight: 600; }
.choice .ok { background: var(--grad-deep); color: #fff; }
.choice .no { border: 1px solid var(--line); background: #fff; }
.log { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.log b { color: var(--violet); margin-right: 8px; font-weight: 600; }
.roles { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.roles th, .roles td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.roles tbody th { text-align: left; font-weight: 500; }
.roles thead th { font-family: var(--display); background: var(--tint); }
.roles .y { color: #1f7f6c; font-weight: 700; font-size: 1.1rem; }
.roles .n { color: #b4453a; font-weight: 700; font-size: 1.1rem; }

/* Roles */
.role-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.role { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 500; }
.role.lead { background: var(--grad-deep); color: #fff; border-color: transparent; font-weight: 600; }

/* Getting started: a real sequence, so the steps are numbered */
.start { list-style: none; counter-reset: step; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.start li { counter-increment: step; display: flex; flex-direction: column; gap: 10px; }
.start h3 { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.start h3::before { content: counter(step); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-deep); color: #fff; font-size: 0.85rem; flex: none; }
.start p { margin: 0; color: var(--muted); }
.shot.mini { height: 176px; }
.file { display: flex; justify-content: space-between; padding: 6px 8px; margin-bottom: 6px; background: var(--tint); border-radius: 8px; }
.role-chip { font-size: 0.78rem; font-weight: 600; color: var(--violet); background: rgba(155, 123, 240, 0.12); padding: 1px 8px; border-radius: 999px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
@media (max-width: 880px) { .start { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .start { grid-template-columns: 1fr; } }

.tiles-row { grid-template-columns: repeat(3, 1fr); margin-top: 18px; }
@media (max-width: 880px) { .tiles-row { grid-template-columns: 1fr; } }

/* ── Round 3: header button, fit tiles, flow, tabs, business rows, FAQ, footer ── */
.btn-sm { padding: 10px 14px; font-size: 0.95rem; border-radius: 9px; }
.nav a.btn-main, .nav a.btn-main:hover { color: #fff; text-decoration: none; }

.facts-row { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 0.95rem; }
.facts-row li { display: flex; align-items: center; gap: 8px; }
.facts-row li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-hi); }

.ico { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.fit { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; }
.fit .ico { color: var(--violet); margin-top: 2px; }
.fit strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.fit small { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 2px; }
.fit:hover { border-color: var(--violet-hi); background: #fff; color: var(--ink); }
.fit:hover strong { text-decoration: underline; text-decoration-color: var(--violet-hi); text-underline-offset: 4px; }

.flow { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.flow li { position: relative; }
.flow li.shot { overflow: visible; }
.flow li + li::before { content: ""; position: absolute; left: -22px; top: 50%; width: 16px; height: 2px; background: var(--violet-hi); }
.flow li + li::after { content: ""; position: absolute; left: -10px; top: calc(50% - 4px); border: 5px solid transparent; border-left-color: var(--violet-hi); }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.jump a:hover { border-color: var(--violet-hi); color: var(--ink); }

/* Tabs: without script every panel shows, one after another */
.tabs { margin-top: 18px; }
.tablist { display: none; }
.panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px 28px; align-items: start; padding: 22px 0; border-top: 1px solid var(--line); }
.panel h3 { grid-column: 1 / -1; margin: 0; }
.panel .shot { height: auto; min-height: 190px; }
.js .tabs { display: grid; grid-template-columns: 250px 1fr; gap: 32px; }
.js .tablist { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); padding-right: 16px; }
.js .tablist button { text-align: left; font: 500 1rem/1.3 var(--body); color: var(--ink-2); background: none; border: 0; border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.js .tablist button:hover { background: var(--paper); color: var(--ink); }
.js .tablist button[aria-selected="true"] { background: var(--tint); color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--violet); }
.js .panel { border-top: 0; padding: 0; }
.js .panel[hidden] { display: none; }
.js .panel h3 { font-size: 1.6rem; }
.panel .benefit { grid-column: 1 / -1; margin: -4px 0 0; color: var(--muted, #5b6472); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: "✓"; color: var(--teal); font-weight: 700; flex: none; }

.biz { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 28px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.biz:first-of-type { border-top: 0; padding-top: 12px; }
.biz h3 { display: flex; align-items: center; gap: 10px; font-size: 1.6rem; }
.biz h3 .ico { color: var(--violet); }
.biz p { color: var(--muted); }
.biz-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#everyday, #by-business, #roles { scroll-margin-top: 70px; }

.faq { border-top: 1px solid var(--line); max-width: 820px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 600; font-size: 1.08rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; color: var(--violet); font-weight: 400; }
.qa[open] summary::after { content: "−"; }
.qa p { margin: 0 0 18px; color: var(--ink-2); }

.site-foot .foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; align-items: start; }
.site-foot nav { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.site-foot h2 { font-family: var(--body); font-size: 0.95rem; font-weight: 600; color: var(--ink); margin: 0 0 4px; letter-spacing: 0; }
.foot-brand .brand { margin: 0 0 8px; }
.foot-brand p { margin: 0; }

@media (max-width: 880px) {
  .fits { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; gap: 18px; }
  .flow li::before, .flow li::after { display: none; }
  .js .tabs { grid-template-columns: 1fr; gap: 18px; }
  .js .tablist { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 8px; }
  .js .tablist button { white-space: nowrap; }
  .js .tablist button[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--violet); }
  .panel, .biz { grid-template-columns: 1fr; }
  .site-foot .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .fits, .flow, .biz-shots { grid-template-columns: 1fr; }
}

/* ── Round 4: dashboard hero, Lite vs Diwan, work anywhere, closing band ── */
.dash-fig { margin: 0; }
.dash { display: grid; grid-template-columns: 112px 1fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(30, 27, 75, 0.45); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.dash-side { background: var(--tint); padding: 14px 8px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.dash-side span { padding: 6px 9px; border-radius: 7px; color: var(--muted); }
.dash-side .on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--violet); }
.dash-main { padding: 14px; display: grid; gap: 12px; }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; }
.dash-top strong { font-family: var(--display); font-size: 1.05rem; }
.dash-top span, .dash-chart > small { color: var(--muted); font-size: 0.78rem; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis div { border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.kpis small { display: block; color: var(--muted); font-size: 0.74rem; }
.kpis b { display: block; font-size: 0.95rem; margin-top: 2px; }
.kpis em { font-style: normal; font-size: 0.72rem; font-weight: 600; }
.dash-chart { display: grid; gap: 7px; }
.dash-chart .bar { grid-template-columns: 96px 1fr 58px; margin: 0; }
.dash-rows div { display: grid; grid-template-columns: 70px 1fr auto; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.dash-rows span:first-child { color: var(--violet); font-weight: 600; }
.eg { margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); }
.dash-fig .eg { text-align: right; }

.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.cc { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.cc-full { background: #fff; border: 2px solid var(--violet-hi); }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-head h3 { margin: 0; font-size: 1.5rem; }
.cc-head .pill { margin: 0; }
.cc p { margin: 0; color: var(--muted); }
.cc .ticks { margin-bottom: 6px; }
.cc .btn { align-self: flex-start; margin-top: auto; }

.anywhere { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.phone { width: 260px; margin-inline: auto; border: 10px solid #1d1a46; border-radius: 34px; background: #fff; padding: 18px 14px 22px; box-shadow: 0 24px 50px -28px rgba(30, 27, 75, 0.6); font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.phone-screen .shot-top { margin-bottom: 10px; }
.phone-btn { display: block; text-align: center; margin: 14px 0 12px; padding: 10px; border-radius: 10px; background: var(--grad-deep); color: #fff; font-weight: 600; }
.dot-amber { background: #f0b54a !important; box-shadow: 0 0 0 5px rgba(240, 181, 74, 0.2) !important; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { padding-left: 16px; border-left: 3px solid var(--violet-hi); }
.points strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.points span { color: var(--muted); }

.cta-band { text-align: center; }
.cta-band p { margin-inline: auto; }
.cta-band .actions { justify-content: center; }

@media (max-width: 880px) {
  .compare-cards, .anywhere { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}
.plan .per { font-size: 1rem; font-weight: 500; color: var(--muted, #5b6478); }
.plan .sub { margin: -8px 0 14px; color: var(--muted, #5b6478); }
.plans.one { grid-template-columns: 1fr; max-width: 560px; }
.mt { margin-top: 48px; }
.plans.one .plan { display: flex; flex-direction: column; align-items: flex-start; }
.plans.one .plan h2 { font-size: 1.5rem; margin: 0 0 6px; }
.plans.one .plan .sub { margin: 0 0 14px; }
@media (max-width: 700px) { .plan .price { font-size: 1.7rem; } .plan { padding: 22px; } .mt { margin-top: 32px; } }
