/* iBudge refreshed public site styles. Load after Bootstrap 5. */

:root {
    --ib-indigo: #32329b;
    --ib-indigo-hover: #282880;
    --ib-indigo-deep: #17174a;
    --ib-indigo-soft: #ececf9;
    --ib-teal: #006964;
    --ib-teal-soft: #e3f1ef;
    --ib-bronze: #9b6932;
    --ib-bronze-light: #e0aa62;
    --ib-bronze-soft: #f6ecdf;
    --ib-crimson: #9b0031;
    --ib-crimson-soft: #f7e3e9;
    --ib-paper: #f9f8f5;
    --ib-mist: #f0f0f6;
    --ib-ink: #1d1d33;
    --ib-muted: #5f6075;
    --ib-line: #e2e2ea;

    --ib-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --ib-font-accent: 'Instrument Serif', Georgia, serif;

    --ib-radius: 14px;
    --ib-radius-lg: 22px;
    --ib-shadow: 0 1px 2px rgba(23, 23, 74, .06), 0 8px 24px rgba(23, 23, 74, .08);
    --ib-shadow-lg: 0 2px 4px rgba(23, 23, 74, .08), 0 28px 56px rgba(23, 23, 74, .22);

    --bs-primary: var(--ib-indigo);
    --bs-primary-rgb: 50, 50, 155;
    --bs-secondary: var(--ib-indigo-deep);
    --bs-secondary-rgb: 23, 23, 74;
    --bs-success: var(--ib-teal);
    --bs-success-rgb: 0, 105, 100;
    --bs-danger: var(--ib-crimson);
    --bs-danger-rgb: 155, 0, 49;
    --bs-light-rgb: 249, 248, 245;
    --bs-dark-rgb: 29, 29, 51;
    --bs-body-color: var(--ib-ink);
    --bs-body-bg: var(--ib-paper);
    --bs-body-font-family: var(--ib-font-body);
    --bs-link-color: var(--ib-indigo);
    --bs-link-color-rgb: 50, 50, 155;
    --bs-link-hover-color: var(--ib-teal);
    --bs-link-hover-color-rgb: 0, 105, 100;
    --bs-border-color: var(--ib-line);
}

/* Base */
html { scroll-behavior: smooth; }

body {
    font-family: var(--ib-font-body);
    color: var(--ib-ink);
    background: var(--ib-paper);
    padding-top: 72px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--ib-font-body);
    font-weight: 800;
    color: var(--ib-indigo-deep);
    letter-spacing: -0.025em;
    line-height: 1.1;
}
h1 em, h2 em {
    font-family: var(--ib-font-accent);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.lead { font-size: 1.15rem; line-height: 1.6; color: var(--ib-muted); }
.ib-num { font-variant-numeric: tabular-nums; }

/* the four logo colours as a small bar above each section title */
.ib-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ib-teal);
    margin-bottom: .85rem;
}
.ib-eyebrow::before {
    content: "";
    width: 34px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ib-teal) 0 50%, var(--ib-indigo) 50% 75%, var(--ib-bronze) 75% 87%, var(--ib-crimson) 87%);
}
.ib-eyebrow-light { color: var(--ib-bronze-light); }

.ib-section { padding: 96px 0; }
.ib-section-sm { padding: 64px 0; }
@media (max-width: 767px) {
    .ib-section { padding: 64px 0; }
    .ib-section-sm { padding: 48px 0; }
}
.ib-section-title { font-size: clamp(2rem, 4vw, 2.85rem); margin-bottom: .85rem; }
.bg-mist { background: var(--ib-mist); }

a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ib-bronze-light); outline-offset: 2px; }

.ib-link { font-weight: 700; text-decoration: none; }
.ib-link i { transition: transform .15s ease; }
.ib-link:hover i { transform: translateX(3px); }

/* Buttons */
.btn {
    --bs-btn-font-weight: 700;
    --bs-btn-border-radius: 999px;
    --bs-btn-padding-x: 1.3rem;
    --bs-btn-padding-y: .6rem;
    --bs-btn-focus-box-shadow: 0 0 0 .25rem rgba(50, 50, 155, .25);
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn-lg { --bs-btn-padding-x: 1.7rem; --bs-btn-padding-y: .8rem; --bs-btn-font-size: 1.05rem; --bs-btn-border-radius: 999px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
    --bs-btn-bg: var(--ib-indigo);
    --bs-btn-border-color: var(--ib-indigo);
    --bs-btn-hover-bg: var(--ib-indigo-hover);
    --bs-btn-hover-border-color: var(--ib-indigo-hover);
    --bs-btn-active-bg: var(--ib-indigo-deep);
    --bs-btn-active-border-color: var(--ib-indigo-deep);
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
}
.btn-outline-primary {
    --bs-btn-color: var(--ib-indigo);
    --bs-btn-border-color: var(--ib-indigo);
    --bs-btn-hover-bg: var(--ib-indigo);
    --bs-btn-hover-border-color: var(--ib-indigo);
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: var(--ib-indigo-hover);
    --bs-btn-active-color: #fff;
    border-width: 1.5px;
}
.btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--ib-indigo-deep);
    --bs-btn-hover-bg: var(--ib-indigo-soft);
    --bs-btn-hover-border-color: var(--ib-indigo-soft);
    --bs-btn-hover-color: var(--ib-indigo-deep);
}
.btn-outline-light { --bs-btn-hover-color: var(--ib-indigo-deep); border-width: 1.5px; }

/* Navbar */
.ib-nav {
    background: rgba(249, 248, 245, .92);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--ib-line);
    min-height: 72px;
}
.ib-brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.ib-brand img { height: 36px; width: auto; }
.ib-wordmark {
    font-family: var(--ib-font-body);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.03em;
    color: var(--ib-indigo);
}
.ib-nav .nav-link {
    color: var(--ib-ink);
    font-weight: 600;
    padding: .5rem .9rem !important;
    border-radius: 999px;
}
.ib-nav .nav-link:hover,
.ib-nav .nav-link:focus,
.ib-nav .nav-link.show,
.ib-nav .nav-link.active { color: var(--ib-indigo); background: var(--ib-indigo-soft); }
.ib-nav .navbar-toggler { border: 0; color: var(--ib-indigo); font-size: 1.25rem; padding: .5rem .75rem; }
.ib-nav .navbar-toggler:focus { box-shadow: none; }
.ib-nav .ib-nav-mobile-link { font-size: .95rem; color: var(--ib-indigo); }
/* signed-in initials (scripts/sessioncheck.js) */
.ib-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ib-indigo); color: #fff; font-size: .85rem; font-weight: 700; letter-spacing: .03em; vertical-align: middle; }
.nav-link:hover .ib-avatar, .nav-link:focus-visible .ib-avatar, .nav-link.show .ib-avatar { background: var(--ib-indigo-deep); }

.dropdown-menu {
    --bs-dropdown-border-color: var(--ib-line);
    --bs-dropdown-border-radius: var(--ib-radius);
    --bs-dropdown-link-color: var(--ib-ink);
    --bs-dropdown-link-hover-bg: var(--ib-indigo-soft);
    --bs-dropdown-link-hover-color: var(--ib-indigo);
    --bs-dropdown-link-active-bg: var(--ib-indigo);
    box-shadow: var(--ib-shadow);
    padding: .5rem;
}
.dropdown-item { border-radius: 8px; font-weight: 500; }
@media (max-width: 991px) {
    .ib-nav .navbar-collapse { padding: .5rem 0 1rem; }
}

/* Hero: full-width photo under an indigo scrim, with a product card floating on it */
.ib-hero {
    position: relative;
    isolation: isolate;
    min-height: min(84vh, 760px);
    display: flex;
    align-items: center;
    padding: 72px 0 140px;
    background-color: var(--ib-indigo-deep);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.ib-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(23, 23, 74, .86) 0%, rgba(23, 23, 74, .62) 42%, rgba(23, 23, 74, .12) 78%, rgba(23, 23, 74, 0) 100%),
        linear-gradient(0deg, rgba(23, 23, 74, .45) 0%, rgba(23, 23, 74, 0) 35%);
}
.ib-hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    margin-bottom: 1.25rem;
}
.ib-hero h1 em { color: var(--ib-bronze-light); }
.ib-hero .lead { color: rgba(255, 255, 255, .86); font-size: 1.2rem; max-width: 33rem; }
.ib-hero .ib-eyebrow { color: rgba(255, 255, 255, .85); }
.ib-reassure {
    list-style: none;
    padding: 0;
    margin: 1.75rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.4rem;
    font-size: .925rem;
    color: rgba(255, 255, 255, .8);
}
.ib-reassure i { color: var(--ib-bronze-light); margin-right: .4rem; }
@media (max-width: 991px) {
    .ib-hero { padding: 48px 0 120px; }
    .ib-hero::before { background: linear-gradient(180deg, rgba(23, 23, 74, .82) 0%, rgba(23, 23, 74, .55) 60%, rgba(23, 23, 74, .7) 100%); }
}

.ib-hero-visual { position: relative; max-width: 25rem; margin-left: auto; }
@media (max-width: 991px) { .ib-hero-visual { margin: 40px auto 0; } }

.ib-powerup-card {
    background: rgba(255, 255, 255, .97);
    color: var(--ib-ink);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow-lg);
    padding: 1.4rem 1.5rem 1.25rem;
}
.ib-pc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.ib-pc-kicker { font-weight: 800; color: var(--ib-indigo); }
.ib-pc-stage {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ib-teal);
    background: var(--ib-teal-soft);
    border-radius: 999px;
    padding: .25rem .65rem;
}
.ib-pc-progress { height: 6px; border-radius: 3px; background: var(--ib-indigo); margin-bottom: 1.25rem; }
.ib-pc-split { display: flex; align-items: center; gap: 1.1rem; }
.ib-pc-split svg { width: 104px; height: 104px; flex: none; }
.ib-pc-total { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--ib-indigo-deep); }
.ib-pc-sub { font-size: .85rem; color: var(--ib-muted); margin-top: .3rem; }
.ib-pc-legend { list-style: none; padding: 0; margin: 1.15rem 0 0; font-size: .9rem; }
.ib-pc-legend li {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .45rem 0;
    border-top: 1px solid var(--ib-line);
}
.ib-pc-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); flex: none; }
.ib-pc-legend b { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.ib-pc-done {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: .85rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ib-teal);
}

.ib-pot-chip {
    position: absolute;
    left: -64px;
    bottom: -76px;
    width: 230px;
    background: #fff;
    color: var(--ib-ink);
    border-radius: var(--ib-radius);
    box-shadow: var(--ib-shadow-lg);
    padding: .85rem 1rem;
    transform: rotate(-3deg);
    font-size: .85rem;
}
.ib-pot-chip strong { display: flex; justify-content: space-between; color: var(--ib-indigo-deep); }
.ib-pot-chip span { color: var(--ib-muted); font-size: .78rem; }
.ib-pot-bar { height: 6px; border-radius: 3px; background: var(--ib-indigo-soft); margin: .5rem 0 .35rem; overflow: hidden; }
.ib-pot-bar i { display: block; height: 100%; width: 69%; background: var(--ib-indigo); border-radius: 3px; }
@media (max-width: 1199px) { .ib-pot-chip { left: -24px; } }
@media (max-width: 575px) { .ib-pot-chip { display: none; } }

/* Inner page head: the page's own photo, shorter than the home hero */
.ib-pagehead {
    position: relative;
    isolation: isolate;
    min-height: 420px;
    display: flex;
    align-items: center;
    padding: 64px 0 96px;
    background-color: var(--ib-indigo-deep);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.ib-pagehead::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(23, 23, 74, .85) 0%, rgba(23, 23, 74, .6) 50%, rgba(23, 23, 74, .2) 100%);
}
.ib-pagehead h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.9rem); max-width: 18ch; margin-bottom: 1rem; overflow-wrap: break-word; }
.ib-pagehead h1 em { color: var(--ib-bronze-light); }
.ib-pagehead .lead { color: rgba(255, 255, 255, .86); max-width: 36rem; margin-bottom: 0; }
.ib-pagehead .ib-eyebrow { color: rgba(255, 255, 255, .85); }

.ib-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.ib-pills a {
    display: inline-block;
    padding: .4rem .95rem;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease;
}
.ib-pills a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.ib-pills a[aria-current="page"] { background: #fff; border-color: #fff; color: var(--ib-indigo-deep); }

/* Numbered contents, overlapping the foot of the page head */
.ib-jump, .ib-overlap { position: relative; margin-top: -36px; z-index: 2; }
.ib-jump ol {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}
@media (max-width: 575px) {
    .ib-jump ol { gap: 8px; }
    .ib-jump a { padding: .75rem .8rem; gap: .55rem; font-size: .875rem; }
}
.ib-jump a {
    display: flex;
    align-items: center;
    gap: .75rem;
    height: 100%;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius);
    box-shadow: var(--ib-shadow);
    color: var(--ib-indigo-deep);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.25;
    text-decoration: none;
    transition: transform .15s ease, border-color .15s ease;
}
.ib-jump a:hover { transform: translateY(-2px); border-color: var(--c, var(--ib-indigo)); }
.ib-jump .ib-step-num { margin: 0; flex: none; width: 32px; height: 32px; font-size: .9rem; }

.ib-feature[id] { scroll-margin-top: 96px; }
.ib-feature-num {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--c, var(--ib-indigo));
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
}
.ib-feature .ib-feature-links a { font-weight: 700; }
.ib-tip {
    margin: 1.5rem 0 0;
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--c, var(--ib-indigo));
    background: var(--soft, var(--ib-indigo-soft));
    border-radius: 0 var(--ib-radius) var(--ib-radius) 0;
    font-size: .95rem;
    color: var(--ib-ink);
}
.ib-tip strong { color: var(--ib-indigo-deep); }
.ib-dark .ib-feature p { color: rgba(255, 255, 255, .8); }
.ib-dark .ib-feature p.lead { color: #fff; }

/* Three steps, overlapping the foot of the hero */
.ib-steps { position: relative; margin-top: -88px; z-index: 2; }
/* split card: the logo colour in a panel on the left (~25%) holding the number or icon, text on the right */
.ib-split {
    display: grid;
    grid-template-columns: min(25%, 110px) 1fr;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
}
.ib-split-panel {
    display: grid;
    place-items: center;
    background: var(--c, var(--ib-indigo));
    color: #fff;
    font-size: 1.6rem;
}
.ib-split-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 1.5rem 1.5rem 1.35rem;
}
.ib-step { box-shadow: var(--ib-shadow); }
.ib-step .ib-split-panel { font-size: 2.2rem; font-weight: 800; }
.ib-step-num {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c, var(--ib-indigo));
    color: #fff;
    font-weight: 800;
    margin-bottom: .9rem;
}
.ib-step h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: .4rem; }
.ib-step p { color: var(--ib-muted); font-size: .95rem; margin: 0; }

/* Feature rows */
.ib-feature + .ib-feature { margin-top: 96px; }
@media (max-width: 767px) { .ib-feature + .ib-feature { margin-top: 64px; } }
.ib-feature h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin-bottom: 1rem; }
.ib-feature p { color: var(--ib-muted); font-size: 1.05rem; line-height: 1.7; }
.ib-feature p.lead { color: var(--ib-ink); font-size: 1.2rem; }

.ib-shot {
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow-lg);
    padding: 10px;
}
.ib-shot img { display: block; width: 100%; height: auto; border-radius: 12px; }
.ib-shot-plain { background: none; border: 0; box-shadow: none; padding: 0; }
.ib-shot-plain img { max-width: 420px; margin: 0 auto; }

/* Payday Powerup band */
.ib-dark { background: var(--ib-indigo-deep); color: rgba(255, 255, 255, .8); overflow: hidden; }
.ib-dark h2 { color: #fff; }
.ib-dark h2 em { color: var(--ib-bronze-light); }
.ib-dark .lead { color: rgba(255, 255, 255, .8); }
.ib-checks { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: .9rem; }
.ib-checks li { display: grid; grid-template-columns: 26px 1fr; gap: .75rem; align-items: start; }
.ib-checks i {
    width: 26px;
    height: 26px;
    margin-top: 1px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ib-teal);
    color: #fff;
    font-size: .75rem;
}
.ib-checks strong { color: #fff; }
.ib-dark .ib-shot { border-color: rgba(255, 255, 255, .1); transform: rotate(1.5deg); }

/* Everything in one place */
.ib-tile { transition: transform .2s ease, box-shadow .2s ease; }
.ib-tile:hover { transform: translateY(-3px); box-shadow: var(--ib-shadow); }
.ib-tile h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: .4rem; }
.ib-tile p { color: var(--ib-muted); font-size: .95rem; margin: 0; }
.ib-c-teal { --c: var(--ib-teal); --soft: var(--ib-teal-soft); }
.ib-c-indigo { --c: var(--ib-indigo); --soft: var(--ib-indigo-soft); }
.ib-c-bronze { --c: var(--ib-bronze); --soft: var(--ib-bronze-soft); }
.ib-c-crimson { --c: var(--ib-crimson); --soft: var(--ib-crimson-soft); }

/* Blog */
.ib-post {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ib-post:hover { transform: translateY(-3px); box-shadow: var(--ib-shadow-lg); color: inherit; }
.ib-post-date { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ib-teal); margin-bottom: .6rem; }
.ib-post h3 { font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: .6rem; }
.ib-post p { color: var(--ib-muted); font-size: .95rem; }
.ib-post .ib-more { margin-top: auto; font-weight: 700; color: var(--ib-indigo); }

/* Blog index: the newest post as a wide lead card, then every other post newest first */
.ib-postcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 991px) { .ib-postcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .ib-postcards { grid-template-columns: 1fr; } }
.ib-postcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}
.ib-postcard:hover { transform: translateY(-3px); box-shadow: var(--ib-shadow-lg); color: inherit; }
.ib-postcard-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ib-mist); }
.ib-postcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ib-postcard:hover .ib-postcard-img img { transform: scale(1.03); }
.ib-postcard-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.ib-postcard-date { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ib-teal); margin-bottom: .55rem; }
.ib-postcard h2, .ib-postcard h3 { font-size: 1.35rem; letter-spacing: -0.015em; margin-bottom: .6rem; }
.ib-postcard p { color: var(--ib-muted); font-size: .95rem; }
.ib-postcard .ib-more { margin-top: auto; font-weight: 700; color: var(--ib-indigo); }
.ib-postcard .ib-more i { transition: transform .15s ease; }
.ib-postcard:hover .ib-more i { transform: translateX(3px); }
.ib-postcard.is-lead { margin-bottom: 24px; }
@media (min-width: 992px) {
    .ib-postcard.is-lead { flex-direction: row; }
    .ib-postcard.is-lead .ib-postcard-img { flex: 0 0 55%; aspect-ratio: auto; min-height: 400px; }
    .ib-postcard.is-lead .ib-postcard-body { padding: 2.75rem; justify-content: center; }
    .ib-postcard.is-lead h2 { font-size: 2.3rem; }
    .ib-postcard.is-lead p { font-size: 1.05rem; }
    .ib-postcard.is-lead .ib-more { margin-top: .5rem; }
}

/* Blog article */
.ib-crumb { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.25rem; color: rgba(255, 255, 255, .85); font-size: .9rem; font-weight: 600; text-decoration: none; }
.ib-crumb:hover { color: #fff; }
.ib-crumb i { transition: transform .15s ease; }
.ib-crumb:hover i { transform: translateX(-3px); }
.ib-byline { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .25rem; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.ib-byline span { display: inline-flex; align-items: center; gap: .45rem; }
.ib-byline i { color: var(--ib-bronze-light); }

.ib-article { max-width: 42rem; margin: 0 auto; font-size: 1.1rem; line-height: 1.8; color: var(--ib-ink); }
.ib-article p { margin-bottom: 1.4rem; }
.ib-article p.lead { font-size: 1.3rem; line-height: 1.65; color: var(--ib-indigo-deep); }
.ib-article h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 2.75rem 0 1rem; }
.ib-article ol, .ib-article ul { padding-left: 0; margin: 0 0 1.6rem; list-style: none; counter-reset: ib-step; display: grid; gap: 1.1rem; }
.ib-article ol > li { counter-increment: ib-step; display: grid; grid-template-columns: 2.25rem 1fr; gap: .9rem; }
.ib-article ol > li::before {
    content: counter(ib-step);
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: .2rem;
    border-radius: 50%;
    background: var(--ib-indigo-soft);
    color: var(--ib-indigo);
    font-weight: 800;
    font-size: .95rem;
}
.ib-pullquote {
    margin: 2.25rem 0;
    padding: .25rem 0 .25rem 1.5rem;
    border-left: 4px solid var(--ib-bronze);
    font-family: var(--ib-font-accent);
    font-style: italic;
    font-size: clamp(1.45rem, 2.6vw, 1.75rem);
    line-height: 1.35;
    color: var(--ib-indigo);
}
.ib-pullquote p { margin: 0; }
.ib-article-end { max-width: 42rem; margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--ib-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .95rem; color: var(--ib-muted); }

/* Closing CTA: the photography returns to bookend the page */
.ib-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--ib-radius-lg);
    padding: 4.5rem 2rem;
    background-color: var(--ib-indigo-deep);
    background-size: cover;
    background-position: center;
    color: #fff;
}
.ib-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(23, 23, 74, .55), rgba(23, 23, 74, .8));
}
.ib-cta h2 { color: #fff; }
.ib-cta h2 em { color: var(--ib-bronze-light); }
.ib-cta p { color: rgba(255, 255, 255, .85); }

/* Compare features table */
.ib-compare-wrap {
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
    overflow: clip;
}
.ib-compare { width: 100%; margin: 0; border-collapse: collapse; }
.ib-compare th, .ib-compare td { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--ib-line); vertical-align: middle; }
.ib-compare thead th {
    position: sticky;
    top: 72px;
    z-index: 1;
    background: var(--ib-indigo-deep);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.ib-compare .ib-col-plan { width: 9rem; text-align: center; }
.ib-compare tbody th { font-weight: 400; }
.ib-compare tbody th a { display: inline-block; font-weight: 700; color: var(--ib-indigo-deep); text-decoration: none; margin-bottom: .2rem; }
.ib-compare tbody th a:hover { color: var(--ib-indigo); text-decoration: underline; }
.ib-compare tbody th span { display: block; font-size: .925rem; color: var(--ib-muted); line-height: 1.55; }
.ib-compare tr.ib-group th {
    background: var(--soft, var(--ib-mist));
    color: var(--c, var(--ib-indigo-deep));
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding-top: .75rem;
    padding-bottom: .75rem;
}
.ib-compare tbody tr:last-child th, .ib-compare tbody tr:last-child td { border-bottom: 0; }
.ib-yes, .ib-no { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .85rem; }
.ib-yes { background: var(--ib-teal); color: #fff; }
.ib-no { background: var(--ib-mist); color: var(--ib-muted); }
@media (max-width: 575px) {
    .ib-compare th, .ib-compare td { padding: .9rem .75rem; }
    .ib-compare .ib-col-plan { width: 4.75rem; }
    .ib-compare thead th { font-size: .7rem; letter-spacing: .06em; }
}

.ib-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 767px) { .ib-plans { grid-template-columns: 1fr; } }
.ib-plans .ib-split-body h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.ib-plans .ib-split-body p { color: var(--ib-muted); margin-bottom: .9rem; }
.ib-plans .ib-split-body .btn { align-self: flex-start; }

/* Pricing plans */
.ib-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
@media (max-width: 767px) { .ib-pricing { grid-template-columns: 1fr; } }
.ib-plan { box-shadow: var(--ib-shadow); }
.ib-plan.is-featured { border: 2px solid var(--ib-indigo); box-shadow: var(--ib-shadow-lg); }
.ib-plan .ib-split-panel { align-items: start; padding-top: 2rem; font-size: 1.9rem; }
.ib-plan .ib-split-body { justify-content: flex-start; padding: 1.9rem 1.75rem; }
.ib-plan h2 { font-size: 1.4rem; margin-bottom: .75rem; }
.ib-plan-price {
    font-size: clamp(2.6rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
    color: var(--ib-indigo-deep);
    font-variant-numeric: tabular-nums;
}
.ib-plan-price small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--ib-muted); margin-left: .3rem; }
.ib-plan-sub { color: var(--ib-muted); margin: .6rem 0 1.4rem; font-size: .95rem; }
.ib-plan-sub strong { color: var(--ib-teal); }
.ib-plan .btn { align-self: flex-start; }
.ib-plan-lead { font-weight: 700; color: var(--ib-indigo-deep); margin: 1.6rem 0 .75rem; font-size: .95rem; }
.ib-plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.ib-plan-list li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; }
.ib-plan-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--soft, var(--ib-teal-soft));
    color: var(--c, var(--ib-teal));
    font-size: .65rem;
}
.ib-plan-list { margin-bottom: 1.5rem; }
.ib-plan-foot { margin: auto 0 0; padding-top: 1.1rem; border-top: 1px solid var(--ib-line); font-size: .9rem; }
@media (max-width: 575px) {
    .ib-plan { grid-template-columns: 1fr; }
    .ib-plan .ib-split-panel { padding: 1rem 0; font-size: 1.6rem; place-items: center; }
    .ib-plan .ib-split-body { padding: 1.5rem 1.25rem; }
}

/* Footer */
.ib-footer { background: var(--ib-indigo-deep); color: rgba(255, 255, 255, .7); padding: 72px 0 32px; }
.ib-footer h3 {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ib-bronze-light);
    margin-bottom: 1rem;
}
.ib-footer ul { list-style: none; padding: 0; margin: 0; }
.ib-footer li { margin-bottom: .45rem; }
.ib-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; font-size: .925rem; }
.ib-footer a:hover { color: #fff; text-decoration: underline; }
.ib-footer .ib-wordmark { color: #fff; }
.ib-footer-base {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 48px;
    padding-top: 24px;
    font-size: .875rem;
}

/* Contact */
.ib-form-card {
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
    padding: 2rem;
}
@media (max-width: 575px) { .ib-form-card { padding: 1.35rem; } }
.ib-form-card h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.ib-form-card .ib-form-intro { color: var(--ib-muted); margin-bottom: 1.6rem; }
.ib-form-card .form-label { font-weight: 700; font-size: .9rem; color: var(--ib-indigo-deep); }
.ib-form-card .form-control {
    border-color: var(--ib-line);
    border-radius: 10px;
    padding: .7rem .9rem;
    background-color: var(--ib-paper);
}
.ib-form-card .form-control:focus { border-color: var(--ib-indigo); box-shadow: 0 0 0 .2rem rgba(50, 50, 155, .15); background-color: #fff; }
.ib-form-card .form-control.alert-danger { border-color: var(--ib-crimson); background-color: var(--ib-crimson-soft); color: var(--ib-ink); }
.ib-robot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem 1.5rem;
    align-items: start;
    background: var(--ib-indigo-soft);
    border-radius: var(--ib-radius);
    padding: 1.1rem 1.25rem;
}
@media (max-width: 767px) { .ib-robot { grid-template-columns: 1fr; } }
.ib-robot p { margin: 0; font-size: .92rem; color: var(--ib-indigo-deep); }
.ib-robot p strong { display: block; font-size: .95rem; margin-bottom: .15rem; }
.ib-robot i { color: var(--ib-indigo); margin-right: .35rem; }
.ib-robot .captchad { min-height: 60px; }
.ib-form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ib-form-actions p { margin: 0; font-size: .875rem; color: var(--ib-muted); }
#formresponse { border-radius: var(--ib-radius); margin: 1.25rem 0 0; }
#formresponse .card-body { padding: 0; }
#formresponse.alert-success { background: var(--ib-teal-soft); border-color: #c4e2dd; color: #00433f; }
#formresponse.alert-danger { background: var(--ib-crimson-soft); border-color: #efc6d2; color: #6e0023; }

.ib-aside h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
@media (min-width: 992px) { .ib-aside { padding-top: 80px; } }
.ib-aside-links { display: grid; gap: 12px; margin-bottom: 2rem; }
.ib-aside-link {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 1rem;
    align-items: center;
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius);
    padding: 1rem 1.1rem;
    color: var(--ib-ink);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease;
}
.ib-aside-link:hover { border-color: var(--c, var(--ib-indigo)); transform: translateY(-2px); color: var(--ib-ink); }
.ib-aside-link .ib-aside-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--c, var(--ib-indigo));
    color: #fff;
}
.ib-aside-link strong { display: block; color: var(--ib-indigo-deep); }
.ib-aside-link span span { font-size: .875rem; color: var(--ib-muted); }
.ib-aside-link > .fa-arrow-right { color: var(--ib-indigo); }
.ib-details { background: var(--ib-mist); border-radius: var(--ib-radius); padding: 1.25rem 1.35rem; }
.ib-details h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
.ib-details dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.1rem; margin: 0; font-size: .9rem; }
.ib-details dt { font-weight: 700; color: var(--ib-indigo-deep); }
.ib-details dd { margin: 0; color: var(--ib-muted); }
@media (max-width: 400px) { .ib-details dl { grid-template-columns: 1fr; gap: .1rem; } .ib-details dd { margin-bottom: .5rem; } }

/* About */
.ib-prose { font-size: 1.075rem; line-height: 1.75; color: var(--ib-ink); }
.ib-prose p { margin-bottom: 1.2rem; }
.ib-prose p.lead { font-size: 1.25rem; line-height: 1.6; color: var(--ib-indigo-deep); }
.ib-prose h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); margin-bottom: 1.25rem; }
.ib-facts {
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow);
    padding: 1.75rem;
}
@media (min-width: 992px) { .ib-facts.is-sticky { position: sticky; top: 96px; } }
.ib-facts h2 { font-size: 1.1rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
.ib-facts ul { list-style: none; padding: 0; margin: 0; }
.ib-facts li { display: grid; grid-template-columns: 34px 1fr; gap: .85rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--ib-line); font-size: .95rem; }
.ib-facts li:first-child { border-top: 0; padding-top: 0; }
.ib-facts li i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--soft, var(--ib-indigo-soft));
    color: var(--c, var(--ib-indigo));
    font-size: .9rem;
}

.ib-founder { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: center; }
@media (max-width: 767px) { .ib-founder { grid-template-columns: 1fr; gap: 1.75rem; } }
.ib-founder-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid rgba(255, 255, 255, .12);
    box-shadow: var(--ib-shadow-lg);
}
@media (max-width: 767px) { .ib-founder-photo { width: 160px; height: 160px; } }
.ib-founder .ib-checks { margin-bottom: 0; }

/* Log in and sign up */
.ib-auth {
    min-height: calc(100vh - 72px);
    padding: 56px 0 80px;
    background: radial-gradient(1000px 420px at 0% 0%, var(--ib-indigo-soft) 0%, transparent 60%), var(--ib-paper);
}
.ib-auth h1 { font-size: clamp(2.3rem, 4.6vw, 3.2rem); margin-bottom: .75rem; }
.ib-auth h1 em { color: var(--ib-indigo); }
.ib-auth .lead { margin-bottom: 1.75rem; }
.ib-auth .alert { border-radius: var(--ib-radius); }
.ib-auth .input-group-text,
.ib-auth .input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: .7rem .9rem;
    border: 1px solid var(--ib-line);
    background: var(--ib-paper);
    color: var(--ib-indigo);
}
.ib-auth .input-group-text { border-radius: 10px 0 0 10px; }
.ib-auth .input-group-addon { border-left: 0; border-radius: 0 10px 10px 0; cursor: pointer; }
.ib-auth .input-group .form-control { border-radius: 0 10px 10px 0; }
.ib-auth .input-group .form-control:not(:last-child) { border-radius: 0; }
.ib-auth .input-group:focus-within { box-shadow: 0 0 0 .2rem rgba(50, 50, 155, .15); border-radius: 10px; }
.ib-auth .input-group:focus-within .form-control { box-shadow: none; border-color: var(--ib-indigo); }
.ib-auth .form-check-input:checked { background-color: var(--ib-indigo); border-color: var(--ib-indigo); }
.ib-auth .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(50, 50, 155, .2); border-color: var(--ib-indigo); }
.ib-auth .form-check-label { font-size: .92rem; color: var(--ib-muted); }

.ib-auth-aside {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--ib-radius-lg);
    padding: 2.25rem 2rem;
    background-color: var(--ib-indigo-deep);
    background-size: cover;
    background-position: center;
    color: rgba(255, 255, 255, .85);
    box-shadow: var(--ib-shadow-lg);
}
.ib-auth-aside::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(23, 23, 74, .15) 0%, rgba(23, 23, 74, .7) 45%, rgba(23, 23, 74, .92) 100%);
}
.ib-auth-aside h2 { color: #fff; font-size: 1.75rem; margin-bottom: 1.1rem; }
.ib-auth-aside .ib-checks { margin: 0 0 1.75rem; }
.ib-auth-aside .btn { align-self: flex-start; }

.ib-loading { min-height: 50vh; display: grid; place-items: center; }
.ib-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--ib-indigo-soft);
    border-top-color: var(--ib-indigo);
    border-radius: 50%;
    animation: ib-spin .8s infinite linear;
}
@keyframes ib-spin { to { transform: rotate(360deg); } }

.modal-content { border: 0; border-radius: var(--ib-radius-lg); background: var(--ib-paper); box-shadow: var(--ib-shadow-lg); }
.modal-header, .modal-footer { border-color: var(--ib-line); }
.modal-title { font-weight: 800; color: var(--ib-indigo-deep); letter-spacing: -0.01em; }
.btn-secondary {
    --bs-btn-bg: transparent;
    --bs-btn-color: var(--ib-indigo-deep);
    --bs-btn-border-color: var(--ib-line);
    --bs-btn-hover-bg: var(--ib-mist);
    --bs-btn-hover-color: var(--ib-indigo-deep);
    --bs-btn-hover-border-color: var(--ib-line);
}

/* Legal pages (also shown inside the terms and privacy modals on register.html) */
.ib-legal { font-size: 1rem; line-height: 1.75; color: var(--ib-ink); max-width: 46rem; }
.ib-legal h2 {
    font-size: 1.35rem;
    letter-spacing: -0.015em;
    margin: 2.25rem 0 .75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--ib-line);
    scroll-margin-top: 96px;
}
.ib-legal h3 { font-size: 1rem; margin: 1.35rem 0 .5rem; }
.ib-legal ul { padding-left: 1.25rem; }
.ib-legal li { margin-bottom: .5rem; }
.ib-legal li::marker { color: var(--ib-indigo); }
.ib-legal-meta {
    display: inline-block;
    font-size: .875rem;
    background: var(--ib-indigo-soft);
    color: var(--ib-indigo-deep);
    border-radius: 999px;
    padding: .3rem .85rem;
    margin-bottom: 1.5rem;
}
.ib-legal-glance { background: var(--ib-mist); border-radius: var(--ib-radius); padding: 1.35rem 1.5rem; margin: 0 0 2rem; }
.ib-legal .ib-legal-glance h2 { margin: 0 0 .85rem; padding: 0; border: 0; font-size: 1.2rem; }
.ib-legal-ticks { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: .6rem; }
.ib-legal-ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; margin: 0; }
.ib-legal-ticks li i {
    width: 22px;
    height: 22px;
    margin-top: 3px;
    border-radius: 50%;
    background: var(--ib-teal);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .7rem;
}
.ib-ltable-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; border: 1px solid var(--ib-line); border-radius: var(--ib-radius); background: #fff; }
.ib-ltable { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; line-height: 1.55; }
.ib-ltable th, .ib-ltable td { padding: .7rem 1rem; border-bottom: 1px solid var(--ib-line); text-align: left; vertical-align: top; }
.ib-ltable thead th { background: var(--ib-mist); color: var(--ib-indigo-deep); font-weight: 700; }
.ib-ltable tbody tr:last-child td { border-bottom: 0; }
.ib-ltable td:first-child { font-weight: 600; }
.ib-legal-contact { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 1rem 0; }
.ib-legal-contact dt { font-weight: 700; color: var(--ib-indigo-deep); }
.ib-legal-contact dd { margin: 0; }
@media (max-width: 575px) { .ib-legal-contact { grid-template-columns: 1fr; gap: 0; } .ib-legal-contact dd { margin-bottom: .5rem; } }
.modal-body .ib-legal h2 { font-size: 1.15rem; margin-top: 1.5rem; padding-top: 1rem; }
.ib-toc h2 { font-size: 1rem; }
.ib-toc ol { list-style: decimal; padding-left: 1.2rem; margin: 0; font-size: .9rem; }
.ib-toc li { display: list-item; padding: 0; border: 0; margin-bottom: .35rem; font-size: inherit; }
.ib-toc a { color: var(--ib-ink); text-decoration: none; }
.ib-toc a:hover { color: var(--ib-indigo); text-decoration: underline; }

/* Cookie banner from scripts/sessioncheck.js */
#CookiePrefs.alert-warning {
    background: #fff;
    border: 1px solid var(--ib-line);
    border-radius: var(--ib-radius-lg);
    box-shadow: var(--ib-shadow-lg);
    color: var(--ib-ink);
    left: 16px;
    right: 16px;
    width: auto !important;
}
#CookiePrefs .text-warning { color: var(--ib-ink) !important; }
#CookiePrefs h5.display-5 { font-size: 1.4rem; font-weight: 800; color: var(--ib-indigo-deep) !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
