/* OMITY marketing site. Brand: "Calm & Dependable" (Brand logo/BRAND-GUIDE.md in the app repository). */
:root {
    --lapis: #24598f;
    --lapis-2: #3a76b3;
    --lapis-soft: #e7eef6;
    --lapis-on-dark: #8db3e2;
    --slate: #55698a;
    --slate-soft: #eceff4;
    --sage: #a8c0a6;
    --sage-deep: #557a5b;
    --sage-soft: #edf3ec;
    --amber: #a8711c;
    --amber-soft: #fbf1e1;
    --offwhite: #f6f7f4;
    --white: #ffffff;
    --ink: #1a2433;
    --ink-2: #4a5568;
    --ink-3: #6b7686;
    --line: #e2e6ea;
    --shadow-sm: 0 1px 2px rgb(26 36 51 / 0.06), 0 6px 18px -8px rgb(26 36 51 / 0.18);
    --shadow: 0 2px 6px rgb(26 36 51 / 0.05), 0 24px 60px -24px rgb(26 36 51 / 0.28);
    --radius: 18px;
    --radius-sm: 12px;
    --font: 'Urbanist', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --max: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}
body {
    margin: 0;
    background: var(--offwhite);
    color: var(--ink);
    font: 500 17px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
img {
    display: block;
    max-width: 100%;
}
a {
    color: inherit;
}
h1,
h2,
h3 {
    margin: 0;
    letter-spacing: -0.025em;
    line-height: 1.05;
    font-weight: 800;
    text-wrap: balance;
}
p {
    margin: 0;
    text-wrap: pretty;
}
.sprite {
    position: absolute;
}
.ic {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
[dir='rtl'] .ic.flip {
    transform: scaleX(-1);
}
.skip {
    position: absolute;
    inset-inline-start: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}
.skip:focus {
    top: 12px;
}
:focus-visible {
    outline: 2px solid var(--lapis);
    outline-offset: 3px;
    border-radius: 8px;
}

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 14px;
    font: 700 16px/1 var(--font);
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--lapis-2), var(--lapis));
    box-shadow: 0 10px 24px -10px rgb(36 89 143 / 0.65);
}
.btn-primary:hover {
    box-shadow: 0 14px 30px -10px rgb(36 89 143 / 0.75);
}
.btn-ghost {
    color: var(--ink);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
}
.btn-sm {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14.5px;
    border-radius: 12px;
}
.btn-block {
    width: 100%;
}
.link-quiet {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink-2);
}
.link-quiet:hover {
    color: var(--lapis);
}

/* ---------- nav ---------- */
.nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 50;
    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}
.nav.is-scrolled {
    background: rgb(246 247 244 / 0.82);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 14px var(--gutter);
}
.nav-logo img {
    height: 34px;
    width: auto;
}
.nav-links {
    display: flex;
    gap: 26px;
    margin-inline: auto;
}
.nav-links a {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink-2);
}
.nav-links a:hover,
.nav-links a.is-current {
    color: var(--lapis);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink);
    cursor: pointer;
    place-items: center;
}
.mobile-menu {
    display: grid;
    gap: 2px;
    margin: 0 var(--gutter) 12px;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}
.mobile-menu[hidden] {
    display: none;
}
.mobile-menu a {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
}
.mobile-menu a:hover {
    background: var(--offwhite);
}

/* ---------- intro (hero + gathering cards) ---------- */
.intro {
    position: relative;
    height: 260vh;
}
.intro-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}
.dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgb(36 89 143 / 0.14) 1.2px, transparent 1.3px);
    background-size: 26px 26px;
    mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 72%);
}
.intro-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.intro-lines line {
    stroke: rgb(36 89 143 / 0.22);
    stroke-width: 1.2;
}
.hero {
    position: absolute;
    inset-inline: 0;
    top: 50%;
    margin: 0 auto;
    max-width: 920px;
    padding: 0 var(--gutter);
    text-align: center;
    transform: translateY(-46%);
    will-change: transform, opacity;
}
.eyebrow,
.kicker {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lapis);
}
.hero h1 {
    margin-top: 14px;
    font-size: clamp(40px, 6.4vw, 76px);
}
.accent {
    background: linear-gradient(120deg, var(--lapis) 10%, var(--lapis-2) 60%, var(--sage-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead {
    margin-top: 22px;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    color: var(--ink-2);
}
.hero-text {
    margin: 14px auto 0;
    max-width: 590px;
    color: var(--ink-3);
    font-size: clamp(16px, 1.6vw, 19px);
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.float-card {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 12px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    will-change: transform;
    font-size: 14px;
}
.float-card b,
.float-card small,
.m-row b,
.m-row small,
.ph-note b,
.ph-note small,
.m-map b,
.m-map small,
.m-phone-note b,
.m-phone-note small {
    display: block;
    line-height: 1.25;
}
.float-card small {
    color: var(--ink-3);
    font-size: 12.5px;
    font-weight: 600;
}
.fc-ic {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    flex: none;
}
.fc-ic .ic {
    width: 17px;
    height: 17px;
}
.tone-blue {
    background: var(--lapis-soft);
    color: var(--lapis);
}
.tone-sage {
    background: var(--sage-soft);
    color: var(--sage-deep);
}
.tone-slate {
    background: var(--slate-soft);
    color: var(--slate);
}
.tone-amber {
    background: var(--amber-soft);
    color: var(--amber);
}
.hub {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 132px;
    height: 132px;
    margin: -66px 0 0 -66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    box-shadow:
        0 0 0 10px rgb(255 255 255 / 0.6),
        var(--shadow);
    opacity: 0;
    transform: scale(0.4);
    will-change: transform, opacity;
}
.hub svg {
    width: 78px;
    height: 78px;
}
.hub::after {
    content: '';
    position: absolute;
    inset: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(168 192 166 / 0.35), transparent 65%);
    z-index: -1;
}
.hub-caption {
    position: absolute;
    inset-inline: 0;
    bottom: 9vh;
    padding: 0 var(--gutter);
    text-align: center;
    opacity: 0;
}
.hub-caption h2 {
    font-size: clamp(26px, 3.4vw, 40px);
}
.hub-caption p {
    margin-top: 8px;
    color: var(--ink-3);
}
.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.scroll-hint::after {
    content: '';
    display: block;
    width: 1px;
    height: 28px;
    margin: 8px auto 0;
    background: linear-gradient(var(--ink-3), transparent);
    animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint {
    0%,
    100% {
        transform: scaleY(0.4);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* ---------- chapters ---------- */
.chapter {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(72px, 12vh, 140px) var(--gutter);
}
.chapter.flip-side .chapter-text {
    order: 2;
}
.chapter-text h2 {
    margin-top: 14px;
    font-size: clamp(32px, 4.2vw, 52px);
}
.chapter-text > p:not(.kicker) {
    margin-top: 18px;
    color: var(--ink-3);
    font-size: 18px;
}
.ticks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.ticks li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--ink-2);
    line-height: 1.35;
}
.ticks .ic {
    margin-top: 1px;
    width: 18px;
    height: 18px;
    padding: 3px;
    border-radius: 50%;
    background: var(--sage-soft);
    color: var(--sage-deep);
    stroke-width: 3;
}

/* the mock-ups */
.mock {
    position: relative;
    padding: 24px 0;
    min-height: 420px;
}
.m-window {
    position: relative;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.m-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.m-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}
.m-bar b {
    margin-inline-start: 10px;
    color: var(--ink-2);
}
.m-body {
    padding: 18px;
}
.m-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.m-label .ic {
    width: 14px;
    height: 14px;
}
.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 10px;
    background: var(--lapis);
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
}
.m-btn-ghost {
    background: var(--white);
    color: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line);
}
.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--offwhite);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-2);
}
.chip-blue {
    background: var(--lapis-soft);
    box-shadow: none;
    color: var(--lapis);
}
.chip-sage {
    background: var(--sage-soft);
    box-shadow: none;
    color: var(--sage-deep);
}
.tag {
    margin-inline-start: auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--lapis-soft);
    color: var(--lapis);
    font-style: normal;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
.tag-sage {
    background: var(--sage-soft);
    color: var(--sage-deep);
}
.tag-slate {
    background: var(--slate-soft);
    color: var(--slate);
}
.tag-amber {
    background: var(--amber-soft);
    color: var(--amber);
}
.m-toast,
.m-phone-note,
.m-map {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 700;
}
.m-toast {
    inset-inline-end: -12px;
    bottom: -4px;
}
.m-toast .ic {
    color: var(--sage-deep);
}
.m-phone-note small,
.m-map small,
.m-row small {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--ink-3);
}

/* members */
.m-members {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.m-field {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
}
.m-field small {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-3);
}
.m-field .chip {
    justify-self: start;
}
.type {
    display: inline-block;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    border-inline-end: 2px solid transparent;
    min-height: 1.3em;
    max-width: 100%;
}
.m-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
}
.av {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex: none;
    background: var(--slate-soft);
    color: var(--slate);
    font-style: normal;
    font-size: 11.5px;
    font-weight: 800;
}
.av-new {
    background: var(--lapis);
    color: #fff;
}

/* agenda */
.cal {
    display: grid;
    grid-template-columns: 46px repeat(5, minmax(0, 1fr));
    grid-auto-rows: minmax(54px, auto);
    gap: 6px;
    font-size: 12px;
}
.cal-h {
    min-height: auto;
    font-weight: 700;
    color: var(--ink-3);
    text-align: center;
    padding-bottom: 4px;
}
.cal-t {
    color: var(--ink-3);
    font-weight: 700;
    padding-top: 6px;
}
.ev {
    padding: 7px 8px;
    border-radius: 9px;
    font-weight: 700;
    line-height: 1.25;
    border-inline-start: 3px solid currentColor;
}
.ev small {
    display: block;
    font-weight: 600;
    opacity: 0.85;
}
.ev-blue {
    background: var(--lapis-soft);
    color: var(--lapis);
}
.ev-sage {
    background: var(--sage-soft);
    color: var(--sage-deep);
}
.ev-slate {
    background: var(--slate-soft);
    color: var(--slate);
}
.ev-amber {
    background: var(--amber-soft);
    color: var(--amber);
}
.ev-tall {
    grid-row: span 2;
}
.m-phone-note {
    inset-inline-end: -10px;
    bottom: -8px;
    max-width: 330px;
    white-space: normal;
}

/* stock */
.m-stock {
    display: grid;
    gap: 8px;
}
.st-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--offwhite);
    font-size: 14px;
}
.st-row.warn {
    box-shadow: inset 0 0 0 1px rgb(168 113 28 / 0.35);
}
.count {
    position: relative;
    min-width: 30px;
    margin-inline-start: auto;
    font-weight: 800;
    font-size: 16px;
    text-align: end;
}
.st-row .count + .tag {
    margin-inline-start: 0;
}
.count .n2 {
    position: absolute;
    inset-inline-end: 0;
    opacity: 0;
}
.m-flow {
    margin-top: 16px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: s;
}
.step {
    position: relative;
    padding: 10px;
    border-radius: 12px;
    background: var(--sage-soft);
    color: var(--sage-deep);
    font-weight: 800;
    font-size: 13px;
    line-height: 1.2;
}
.step small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-3);
}
.step::before {
    counter-increment: s;
    content: counter(s);
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--sage-deep);
    color: #fff;
    font-size: 11px;
}
.m-map {
    inset-inline-end: -8px;
    top: 0;
}
.m-map .ic {
    color: var(--lapis);
}

/* treasury */
.kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.kpis div {
    padding: 12px;
    border-radius: 12px;
    background: var(--offwhite);
}
.kpis small {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.kpis b {
    display: block;
    margin-top: 2px;
    font-size: 22px;
    font-weight: 800;
}
.kpis em {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-3);
}
.kpis em.up {
    color: var(--sage-deep);
}
.bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
    margin-top: 16px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
}
.bars span {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(var(--lapis-2), var(--lapis));
    transform-origin: bottom;
    transform: scaleY(0);
}
.bars span:nth-child(odd) {
    background: linear-gradient(var(--sage), var(--sage-deep));
}
.budget {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 13.5px;
    font-weight: 700;
}
.meter {
    flex: 1;
    height: 8px;
    border-radius: 99px;
    background: var(--offwhite);
    overflow: hidden;
}
.meter i {
    display: block;
    height: 100%;
    width: var(--w);
    border-radius: inherit;
    background: var(--sage-deep);
    transform-origin: left;
    transform: scaleX(0);
}
[dir='rtl'] .meter i {
    transform-origin: right;
}
.m-ledger {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}
.lg-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    font-weight: 700;
}
.lg-row b {
    margin-inline-start: auto;
}
.lg-row .tag {
    margin-inline-start: 0;
}
.neg {
    color: #a1402f;
}
.pos {
    color: var(--sage-deep);
}

/* secretary */
.m-docs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.doc {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: var(--offwhite);
    font-size: 14px;
}
.doc small {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-3);
}
.doc.active {
    background: var(--lapis-soft);
    box-shadow: inset 0 0 0 2px rgb(36 89 143 / 0.35);
}
.m-share {
    position: absolute;
    inset-inline-end: -14px;
    bottom: -10px;
    width: 270px;
    padding: 16px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 13.5px;
    font-weight: 700;
}
.sh-url {
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--offwhite);
    color: var(--lapis);
    font-size: 13px;
}
.sh-opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}
.switch {
    position: relative;
    width: 34px;
    height: 20px;
    border-radius: 99px;
    background: var(--line);
}
.switch::after {
    content: '';
    position: absolute;
    top: 3px;
    inset-inline-start: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
    transition: inset-inline-start 0.3s;
}
.switch.on {
    background: var(--sage-deep);
}
.switch.on::after {
    inset-inline-start: 17px;
}
.sh-views {
    display: block;
    margin-top: 12px;
    color: var(--ink-3);
    font-weight: 600;
}

/* reports */
.rp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}
.hbars {
    display: grid;
    gap: 10px;
}
.hbars div {
    display: grid;
    grid-template-columns: 64px 1fr 30px;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
}
.hbars i {
    height: 14px;
    width: var(--w);
    border-radius: 6px;
    background: linear-gradient(90deg, var(--lapis), var(--lapis-2));
    transform-origin: left;
    transform: scaleX(0);
}
[dir='rtl'] .hbars i {
    transform-origin: right;
    background: linear-gradient(270deg, var(--lapis), var(--lapis-2));
}
.hbars b {
    text-align: end;
}
.rp-actions {
    display: flex;
    gap: 8px;
    margin-top: 18px;
}

/* feature store */
.m-store {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.fs-card {
    display: grid;
    gap: 4px;
    align-content: start;
    padding: 14px;
    border-radius: 14px;
    background: var(--offwhite);
    font-size: 14px;
}
.fs-card .fc-ic {
    margin-bottom: 6px;
}
.fs-card small {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-3);
    line-height: 1.35;
}
.fs-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 10px;
}
.price-tag {
    font-style: normal;
    font-weight: 800;
    font-size: 15px;
}
.price-tag.tag-sage {
    padding: 2px 9px;
    border-radius: 99px;
    font-size: 12px;
}
.fs-btn,
.fs-state {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 9px;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: 12px;
    font-weight: 700;
    color: var(--lapis);
    white-space: nowrap;
}
.fs-state .s2 {
    position: absolute;
    inset: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
    border-radius: inherit;
    opacity: 0;
}
.fs-state .s2 .ic {
    width: 13px;
    height: 13px;
}
.fs-trying .fs-state .s2 {
    background: var(--lapis);
    color: #fff;
}
.fs-free .fs-state .s2 {
    background: var(--sage-deep);
    color: #fff;
}
.fs-trying .fs-state {
    min-width: 132px;
    justify-content: center;
}
.mock.is-in .fs-trying {
    animation: fs-glow 0.6s ease 1s forwards;
}
.mock.is-in .fs-trying .s2 {
    animation: fade-in 0.3s ease 1s forwards;
}
.mock.is-in .fs-free .s2 {
    animation: fade-in 0.3s ease 1.8s forwards;
}
@keyframes fs-glow {
    to {
        background: var(--lapis-soft);
        box-shadow: inset 0 0 0 2px rgb(36 89 143 / 0.35);
    }
}

/* support */
.m-support {
    display: grid;
    gap: 14px;
}
.sp-ticket {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 14px;
    background: var(--offwhite);
    font-size: 14px;
}
.sp-ticket b,
.sp-ticket small,
.sp-msg small {
    display: block;
    line-height: 1.3;
}
.sp-ticket small,
.sp-msg small {
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-3);
}
.sp-chat {
    display: grid;
    gap: 8px;
}
.sp-msg {
    max-width: 82%;
    padding: 10px 12px;
    border-radius: 16px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
}
.sp-them {
    justify-self: start;
    border-end-start-radius: 6px;
    background: var(--lapis-soft);
    color: var(--ink);
}
.sp-me {
    justify-self: end;
    border-end-end-radius: 6px;
    background: var(--lapis);
    color: #fff;
}
.sp-me small {
    color: rgb(255 255 255 / 0.75);
}
.sp-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sp-track li {
    padding: 7px 4px;
    border-radius: 9px;
    background: var(--sage-soft);
    color: var(--sage-deep);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}
.sp-track .sp-done {
    background: var(--sage-deep);
    color: #fff;
}

/* phone */
.mock-phone {
    display: grid;
    place-items: center;
}
.phone {
    position: relative;
    width: 290px;
    height: 560px;
    padding: 12px;
    border-radius: 44px;
    background: var(--ink);
    box-shadow: var(--shadow);
}
.phone-notch {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 90px;
    height: 24px;
    margin-left: -45px;
    border-radius: 99px;
    background: #000;
    z-index: 2;
}
.phone-screen {
    height: 100%;
    padding: 64px 14px 14px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 30% 10%, rgb(141 179 226 / 0.6), transparent 55%),
        radial-gradient(circle at 80% 70%, rgb(168 192 166 / 0.55), transparent 55%),
        linear-gradient(160deg, #2e5f8f, #1e3954);
}
.ph-time {
    margin-bottom: 26px;
    color: #fff;
    font-size: 52px;
    font-weight: 600;
    text-align: center;
    letter-spacing: -0.02em;
}
.ph-note {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 18px;
    background: rgb(255 255 255 / 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 13px;
}
.ph-note small {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-2);
}
.ph-app {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex: none;
    background: #fff;
}
.ph-app img {
    width: 22px;
    height: 22px;
}

/* the steps of each mock-up play when it comes into view */
.pop {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
}
.mock.is-in .pop {
    animation: pop 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0s) forwards;
}
.mock.is-in .type {
    animation: type 0.9s steps(var(--chars), end) var(--d, 0.2s) forwards;
}
.mock.is-in .bars span {
    animation: grow-y 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.mock.is-in .bars span:nth-child(2) {
    animation-delay: 0.08s;
}
.mock.is-in .bars span:nth-child(3) {
    animation-delay: 0.16s;
}
.mock.is-in .bars span:nth-child(4) {
    animation-delay: 0.24s;
}
.mock.is-in .bars span:nth-child(5) {
    animation-delay: 0.32s;
}
.mock.is-in .bars span:nth-child(6) {
    animation-delay: 0.4s;
}
.mock.is-in .meter i {
    animation: grow-x 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s forwards;
}
.mock.is-in .hbars i {
    animation: grow-x 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.mock.is-in .hbars div:nth-child(2) i {
    animation-delay: 0.12s;
}
.mock.is-in .hbars div:nth-child(3) i {
    animation-delay: 0.24s;
}
.mock.is-in .hbars div:nth-child(4) i {
    animation-delay: 0.36s;
}
.mock.is-in .hbars div:nth-child(5) i {
    animation-delay: 0.48s;
}
.mock.is-in .count .n1 {
    animation: fade-out 0.3s ease 1s forwards;
}
.mock.is-in .count .n2 {
    animation: fade-in 0.3s ease 1s forwards;
}
@keyframes pop {
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes type {
    to {
        width: calc(var(--chars) * 1ch + 2px);
    }
}
@keyframes grow-y {
    to {
        transform: scaleY(1);
    }
}
@keyframes grow-x {
    to {
        transform: scaleX(1);
    }
}
@keyframes fade-out {
    to {
        opacity: 0;
    }
}
@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* ---------- communities ---------- */
.kinds,
.plans {
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(72px, 12vh, 140px) var(--gutter);
}
.section-head {
    max-width: 760px;
}
.section-head h2 {
    margin-top: 14px;
    font-size: clamp(30px, 4vw, 50px);
}
.section-head > p:not(.kicker) {
    margin-top: 16px;
    color: var(--ink-3);
    font-size: 18px;
}
.kinds-ui {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    margin-top: 40px;
}
.kinds-tabs {
    display: grid;
    align-content: start;
    gap: 6px;
}
.kinds-tabs button {
    padding: 14px 18px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--ink-2);
    font: 700 16px/1.2 var(--font);
    text-align: start;
    cursor: pointer;
}
.kinds-tabs button:hover {
    background: var(--white);
}
.kinds-tabs button[aria-selected='true'] {
    background: var(--white);
    color: var(--lapis);
    box-shadow: var(--shadow-sm);
}
.kind {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    animation: pop 0.4s ease both;
}
.kind-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
}
.kind-title small {
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-3);
}
.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 48px;
}
.trust > div {
    padding: 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.trust b {
    display: block;
    margin-top: 14px;
    font-size: 17px;
}
.trust p {
    margin-top: 6px;
    color: var(--ink-3);
    font-size: 14.5px;
    line-height: 1.5;
}

/* ---------- connected ---------- */
.connected {
    padding: clamp(80px, 14vh, 150px) var(--gutter);
    background:
        radial-gradient(circle at 20% 0%, rgb(141 179 226 / 0.25), transparent 45%),
        radial-gradient(circle at 85% 100%, rgb(168 192 166 / 0.25), transparent 45%),
        var(--ink);
    color: #fff;
    text-align: center;
}
.kicker-light {
    color: var(--lapis-on-dark);
}
.flow-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    max-width: 900px;
    margin: 28px auto 0;
}
.flow-chips span {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.08);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14);
    font-size: 14px;
    font-weight: 700;
}
.flow-chips i {
    width: 18px;
    height: 1px;
    background: rgb(255 255 255 / 0.3);
}
.connected h2 {
    max-width: 900px;
    margin: 40px auto 0;
    font-size: clamp(32px, 5vw, 60px);
}
.connected h2 span {
    color: var(--sage);
}
.connected > p:last-child {
    max-width: 620px;
    margin: 20px auto 0;
    color: rgb(255 255 255 / 0.72);
    font-size: 18px;
}

/* ---------- plans ---------- */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 44px;
    align-items: stretch;
}
.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.plan .ticks {
    grid-template-columns: 1fr;
    margin-bottom: 26px;
}
.plan .btn {
    margin-top: auto;
}
.plan h3 {
    font-size: 26px;
}
.plan-for {
    margin-top: 6px;
    color: var(--ink-3);
    font-size: 15px;
    min-height: 3em;
}
.price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 18px;
}
.price b {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.price span {
    color: var(--ink-3);
    font-weight: 600;
}
.price-year {
    color: var(--ink-3);
    font-size: 13.5px;
    font-weight: 600;
}
.plan-featured {
    box-shadow:
        0 0 0 2px var(--lapis),
        var(--shadow);
}
.badge {
    position: absolute;
    top: -13px;
    inset-inline-start: 24px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--lapis);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}
.ticks li.soon {
    color: var(--lapis);
}
.ticks li.soon .ic {
    background: var(--lapis-soft);
    color: var(--lapis);
    stroke-width: 2;
}
.plans-note {
    margin-top: 22px;
    color: var(--ink-3);
    font-size: 14px;
    text-align: center;
}

/* ---------- demo ---------- */
.demo {
    padding: 0 var(--gutter) clamp(72px, 12vh, 120px);
}
.demo-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 64px);
    max-width: var(--max);
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 0%, rgb(141 179 226 / 0.35), transparent 50%),
        linear-gradient(140deg, #1e4d7d, var(--lapis) 55%, #2f6aa3);
    color: #fff;
    box-shadow: var(--shadow);
}
.demo-text h2 {
    margin-top: 14px;
    font-size: clamp(30px, 3.8vw, 46px);
}
.demo-text > p:not(.kicker) {
    margin-top: 16px;
    color: rgb(255 255 255 / 0.8);
    font-size: 17px;
}
.ticks-light li {
    color: #fff;
}
.ticks-light .ic {
    background: rgb(255 255 255 / 0.16);
    color: #fff;
}
.demo-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-content: start;
    padding: 24px;
    border-radius: 22px;
    background: var(--white);
    color: var(--ink);
}
.demo-form .full {
    grid-column: 1 / -1;
}
.demo-form label {
    display: grid;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
}
.demo-form small {
    color: var(--ink-3);
    font-weight: 600;
}
.demo-form input,
.demo-form textarea {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--offwhite);
    color: var(--ink);
    font: 500 16px/1.4 var(--font);
}
.demo-form textarea {
    resize: vertical;
}
.demo-form input:focus,
.demo-form textarea:focus {
    outline: 2px solid var(--lapis);
    outline-offset: 0;
    background: #fff;
}
.demo-form [aria-invalid='true'] {
    border-color: #b3452f;
}
.form-note {
    color: var(--ink-3);
    font-size: 13.5px;
    text-align: center;
}
.form-note.is-error {
    color: #a1402f;
}
.form-note.is-ok {
    color: var(--sage-deep);
}

/* ---------- footer ---------- */
.footer {
    border-top: 1px solid var(--line);
    background: var(--white);
}
.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--max);
    margin: 0 auto;
    padding: 36px var(--gutter);
}
.footer-brand img {
    height: 32px;
    width: auto;
}
.footer-brand p {
    margin-top: 10px;
    color: var(--ink-3);
    font-size: 14px;
}
.footer-brand b {
    color: var(--lapis);
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}
.footer-links a {
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink-2);
}
.footer-links a:hover {
    color: var(--lapis);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px var(--gutter) 24px;
    color: var(--ink-3);
    font-size: 13px;
}
.footer-bottom img {
    height: 16px;
    width: auto;
}

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
    .nav-links {
        display: none;
    }
    .nav-actions {
        margin-inline-start: auto;
    }
    .nav-toggle {
        display: grid;
    }
    .trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .chapter,
    .demo-card {
        grid-template-columns: 1fr;
    }
    .chapter.flip-side .chapter-text {
        order: 0;
    }
    .kinds-ui {
        grid-template-columns: 1fr;
    }
    .kinds-tabs {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .kinds-tabs button {
        flex: none;
    }
    .plan-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }
    .m-toast,
    .m-phone-note,
    .m-map,
    .m-share {
        inset-inline-end: 8px;
    }
}
@media (max-width: 640px) {
    body {
        font-size: 16px;
    }
    .nav-actions .link-quiet,
    .nav-actions .btn {
        display: none;
    }
    .ticks {
        grid-template-columns: 1fr;
    }
    .trust {
        grid-template-columns: 1fr;
    }
    .m-members,
    .m-docs {
        grid-template-columns: 1fr;
    }
    .m-store {
        grid-template-columns: 1fr;
    }
    .m-list .m-row:nth-child(n + 4) {
        display: none;
    }
    .cal {
        grid-template-columns: 38px repeat(5, minmax(0, 1fr));
        font-size: 10.5px;
    }
    .ev {
        padding: 5px;
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .kpis b {
        font-size: 18px;
    }
    .m-share {
        position: relative;
        inset: auto;
        width: auto;
        margin-top: 14px;
    }
    .m-toast,
    .m-phone-note,
    .m-map {
        position: relative;
        inset: auto;
        margin-top: 14px;
    }
    .lg-row {
        flex-wrap: wrap;
    }
    .demo-form {
        grid-template-columns: 1fr;
        padding: 18px;
    }
    .float-card {
        padding: 9px 12px 9px 9px;
        font-size: 12.5px;
    }
    .float-card small {
        font-size: 11px;
    }
    .fc-ic {
        width: 28px;
        height: 28px;
    }
    .hub {
        width: 104px;
        height: 104px;
        margin: -52px 0 0 -52px;
    }
    .hub svg {
        width: 60px;
        height: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .pop,
    .type,
    .bars span,
    .meter i,
    .hbars i,
    .count .n2,
    .fs-state .s2 {
        opacity: 1;
        transform: none;
        width: auto;
        animation: none !important;
    }
    .count .n1 {
        opacity: 0;
    }
    .scroll-hint::after {
        animation: none;
    }
}
