:root {
    color-scheme: dark;
    --sb-ink: #f4f6ff;
    --sb-muted: #b4bfd5;
    --sb-purple: #8b5cf6;
    --sb-purple-dark: #a78bfa;
    --sb-purple-pale: #211a3e;
    --sb-blue-pale: #111c39;
    --sb-line: #29334e;
    --sb-surface: #101629;
    --sb-page: #080c18;
    --sb-radius: 1rem;
    --sb-shadow: 0 18px 48px rgb(0 0 0 / 28%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body.sb-page {
    margin: 0;
    background: var(--sb-page);
    color: var(--sb-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.sb-page a {
    color: inherit;
}

.sb-page a:focus-visible,
.sb-page button:focus-visible,
.sb-page input:focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 3px;
}

.sb-container {
    width: min(100% - 2.5rem, 74rem);
    margin-inline: auto;
}

.sb-sr-only,
.sb-skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sb-skip-link:focus {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: #f8f7ff;
    color: #29165f;
    box-shadow: var(--sb-shadow);
}

.sb-site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgb(127 145 190 / 18%);
    background: rgb(8 12 24 / 90%);
    backdrop-filter: blur(10px);
}

.sb-nav {
    position: relative;
    display: flex;
    min-height: 4.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sb-brand {
    color: #f7f7ff !important;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.045em;
    text-decoration: none;
}

.sb-desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.sb-desktop-nav > a:not(.sb-button),
.sb-mobile-menu > a {
    color: #c0cbe1;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.sb-desktop-nav > a:not(.sb-button):hover,
.sb-mobile-menu > a:hover,
.sb-footer nav a:hover,
.sb-footer__brand p a:hover {
    color: #67e8f9;
}

.sb-button {
    display: inline-flex;
    min-height: 2.9rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    border: 1px solid #8b5cf6;
    border-radius: 0.7rem;
    background: linear-gradient(115deg, #7847ef, #4e59e8);
    color: #fff !important;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 24px rgb(101 70 228 / 24%);
    transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
}

.sb-button:hover {
    transform: translateY(-1px);
    border-color: #9b83ff;
    background: linear-gradient(115deg, #895af5, #5368f2);
    box-shadow: 0 12px 28px rgb(101 70 228 / 34%);
}

.sb-button--small {
    min-height: 2.5rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.9rem;
}

.sb-button--light {
    border-color: #e6eaff;
    background: #f5f7ff;
    color: #31216e !important;
    white-space: nowrap;
}

.sb-button--light:hover {
    border-color: #fff;
    background: #fff;
}

.sb-menu-button {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #35415f;
    border-radius: 0.65rem;
    background: #121a2d;
    color: #f7f8ff;
    cursor: pointer;
}

.sb-menu-icon,
.sb-menu-icon::before,
.sb-menu-icon::after {
    display: block;
    width: 1.1rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.sb-menu-icon {
    position: relative;
}

.sb-menu-icon::before,
.sb-menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.sb-menu-icon::before {
    top: -0.35rem;
}

.sb-menu-icon::after {
    top: 0.35rem;
}

.sb-mobile-menu {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0.1rem;
    padding: 0.75rem 1rem 1rem;
    border: 1px solid #2b3651;
    border-top: 0;
    border-radius: 0 0 0.85rem 0.85rem;
    background: #0d1425;
    box-shadow: var(--sb-shadow);
}

.sb-mobile-menu[hidden] {
    display: none;
}

.sb-mobile-menu > a {
    padding: 0.65rem 0.3rem;
}

.sb-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 6.5rem) 0;
    background:
        radial-gradient(ellipse at 18% 15%, rgb(44 88 220 / 24%), transparent 36rem),
        radial-gradient(ellipse at 82% 8%, rgb(142 53 223 / 24%), transparent 34rem),
        linear-gradient(130deg, #090f21 0%, #10102a 54%, #0c1121 100%);
}

.sb-hero::before,
.sb-hero::after {
    position: absolute;
    z-index: -1;
    width: min(56vw, 42rem);
    aspect-ratio: 1;
    border: 1px solid rgb(132 113 255 / 15%);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.sb-hero::before {
    top: -68%;
    left: -18%;
    background: radial-gradient(circle at 60% 60%, rgb(68 115 255 / 16%), transparent 62%);
    box-shadow: 0 0 100px rgb(73 83 255 / 12%), inset 0 0 80px rgb(80 104 255 / 8%);
}

.sb-hero::after {
    right: -20%;
    bottom: -78%;
    background: radial-gradient(circle at 40% 40%, rgb(181 56 215 / 19%), transparent 62%);
    box-shadow: 0 0 110px rgb(170 62 219 / 12%), inset 0 0 80px rgb(205 72 194 / 8%);
}

.sb-hero__content {
    position: relative;
    z-index: 1;
}

.sb-hero__content {
    max-width: 52rem;
    text-align: center;
}

.sb-eyebrow {
    margin: 0 0 0.65rem;
    color: #a99aff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.sb-hero h1,
.sb-page-intro h1 {
    margin: 0;
    color: #f8f8ff;
    font-size: clamp(2.25rem, 5.4vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1.08;
}

.sb-hero h1 {
    background: linear-gradient(100deg, #fff 20%, #c3b5ff 54%, #7de8ff 92%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sb-hero__intro {
    max-width: 40rem;
    margin: 1.2rem auto 0;
    color: #c4cde0;
    font-size: clamp(1.05rem, 2.4vw, 1.25rem);
}

.sb-search-form {
    display: flex;
    max-width: 42rem;
    gap: 0.65rem;
    margin: 2rem auto 0;
    padding: 0.45rem;
    border: 1px solid rgb(182 191 226 / 28%);
    border-radius: 0.9rem;
    background: rgb(15 21 39 / 94%);
    box-shadow: 0 18px 52px rgb(0 0 0 / 36%), 0 0 32px rgb(79 92 231 / 12%);
}

.sb-search-form input {
    width: 100%;
    min-width: 0;
    min-height: 2.9rem;
    padding: 0.6rem 0.8rem;
    border: 0;
    border-radius: 0.55rem;
    background: transparent;
    color: #f7f8ff;
    font: inherit;
}

.sb-search-form input::placeholder {
    color: #aab5ce;
    opacity: 1;
}

.sb-search-form input:focus-visible {
    outline-offset: -1px;
}

.sb-search-form .sb-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.sb-search-note {
    margin: 0.8rem 0 0;
    color: #b8c3da;
    font-size: 0.85rem;
}

.sb-page .sb-text-link,
.sb-search-note a,
.sb-more-categories a {
    color: #a99aff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.sb-hero__browse {
    display: inline-block;
    margin-top: 1.3rem;
    text-decoration: none !important;
}

.sb-section {
    padding: clamp(3rem, 6vw, 4.75rem) 0;
}

.sb-section--tinted {
    background: linear-gradient(180deg, #0b1120, #0d1425);
}

.sb-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.sb-section-heading h2,
.sb-cta h2 {
    margin: 0;
    color: #f5f6ff;
    font-size: clamp(1.6rem, 3.4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.sb-section-heading > p {
    max-width: 29rem;
    margin: 0;
    color: #b2bed5;
}

.sb-goal-grid,
.sb-category-grid,
.sb-tool-grid,
.sb-planned-grid {
    display: grid;
    gap: 1rem;
}

.sb-goal-grid,
.sb-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.sb-goal-card,
.sb-category-card,
.sb-tool-card {
    min-width: 0;
    border: 1px solid var(--sb-line);
    border-radius: var(--sb-radius);
    background: linear-gradient(145deg, #131b30, #0f1527);
    box-shadow: 0 12px 32px rgb(0 0 0 / 20%);
}

.sb-goal-card,
.sb-category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.35rem;
    text-decoration: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.sb-goal-card:hover,
.sb-category-card:hover {
    transform: translateY(-3px);
    border-color: rgb(146 123 255 / 54%);
    box-shadow: 0 20px 46px rgb(0 0 0 / 32%), 0 0 25px rgb(116 83 239 / 12%);
}

.sb-goal-card__number,
.sb-category-card__label {
    color: #b7a8ff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sb-goal-card__number {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 0.65rem;
    background: rgb(132 93 255 / 17%);
}

.sb-goal-card__title,
.sb-category-card__title {
    color: #f5f6ff;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.35;
}

.sb-goal-card__description,
.sb-category-card__description {
    margin-top: 0.45rem;
    color: #b3bed5;
    font-size: 0.93rem;
}

.sb-card-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 1rem;
    color: #a99aff;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.sb-tool-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.sb-tool-card:hover {
    transform: translateY(-3px);
    border-color: rgb(98 193 255 / 42%);
    box-shadow: 0 20px 44px rgb(0 0 0 / 32%), 0 0 24px rgb(64 160 255 / 9%);
}

.sb-tool-card .tool-logo-frame {
    margin-bottom: 0.9rem;
}

.sb-card-category {
    margin: 0 0 0.3rem;
    color: #70d8f7;
    font-size: 0.76rem;
    font-weight: 700;
}

.sb-tool-card h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.35;
}

.sb-tool-card h3 a {
    color: #f5f6ff;
    text-decoration: none;
}

.sb-tool-card h3 a:hover {
    color: #a99aff;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.sb-tool-card > p:not(.sb-card-category) {
    margin: 0.55rem 0 0.2rem;
    color: #b3bed5;
    font-size: 0.91rem;
}

.sb-tool-card .sb-card-link {
    margin-top: auto;
}

.sb-category-card__count {
    margin-top: 1rem;
    color: #c1cbe0;
    font-size: 0.82rem;
    font-weight: 700;
}

.sb-category-card .sb-card-link {
    padding-top: 0.65rem;
}

.sb-more-categories {
    margin: 1.25rem 0 0;
    color: #b4bfd5;
    font-size: 0.9rem;
}

.sb-cta-section {
    padding: clamp(2.5rem, 5vw, 3.75rem) 0;
    background:
        radial-gradient(ellipse at 15% 50%, rgb(92 76 220 / 20%), transparent 34rem),
        linear-gradient(105deg, #12152e, #10172a);
}

.sb-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sb-cta h2 {
    max-width: 40rem;
}

.sb-cta p:last-child {
    margin: 0.65rem 0 0;
    color: #bbc5db;
}

.sb-footer {
    padding: 3rem 0 1.25rem;
    background: #060a14;
    color: #e8edf7;
}

.sb-footer__main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.25rem;
}

.sb-brand--footer {
    color: #fff !important;
}

.sb-footer__brand p {
    max-width: 24rem;
    margin: 0.7rem 0 0;
    color: #b4bfd5;
    font-size: 0.9rem;
}

.sb-footer__brand p a,
.sb-footer nav a,
.sb-footer__bottom a {
    color: #d5ddf0;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.sb-footer nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
}

.sb-footer nav h2 {
    margin: 0 0 0.4rem;
    color: #f5f6ff;
    font-size: 0.95rem;
}

.sb-footer nav a,
.sb-footer__bottom {
    font-size: 0.86rem;
}

.sb-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(151 166 205 / 20%);
    color: #b4bfd5;
}

.sb-directory-main {
    min-height: 65vh;
    padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.sb-page-intro {
    max-width: 48rem;
    margin-bottom: 2.75rem;
}

.sb-page-intro h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.25rem);
}

.sb-page-intro > p:last-child {
    max-width: 43rem;
    margin: 0.9rem 0 0;
    color: #b4bfd5;
    font-size: 1.05rem;
}

.sb-directory-section {
    padding: 1.65rem 0 2.5rem;
    scroll-margin-top: 5.25rem;
}

.sb-directory-section + .sb-directory-section {
    border-top: 1px solid rgb(142 158 199 / 17%);
}

.sb-directory-section--planned .sb-section-heading {
    align-items: center;
}

.sb-category-card .sb-card-link,
.sb-planned-card {
    overflow-wrap: anywhere;
}

.sb-planned-group {
    margin-top: 1.75rem;
    padding: 1.15rem;
    border: 1px solid var(--sb-line);
    border-radius: 0.9rem;
    background: #0d1425;
}

.sb-planned-group h3 {
    margin: 0 0 0.8rem;
    color: #d8def0;
    font-size: 0.92rem;
}

.sb-planned-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-planned-card {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--sb-line);
    border-radius: 0.75rem;
    background: linear-gradient(145deg, #131b30, #0f1527);
    color: #f0f3ff !important;
    text-decoration: none;
}

.sb-planned-card:hover {
    border-color: rgb(87 191 225 / 45%);
    box-shadow: 0 12px 28px rgb(0 0 0 / 26%);
}

.sb-planned-card strong,
.sb-planned-card small {
    display: block;
}

.sb-planned-card strong {
    font-size: 0.9rem;
    line-height: 1.35;
}

.sb-planned-card small {
    margin-top: 0.2rem;
    color: #b0bdd5;
    font-size: 0.75rem;
    line-height: 1.4;
}

.sb-planned-card > span:last-child {
    flex: 0 0 auto;
    color: #78dff4;
}

.sb-directory-section#sales .sb-section-heading .sb-eyebrow,
.sb-directory-section#sales .sb-section-heading h2 {
    color: #c1a5ff;
}

.sb-directory-section#marketing .sb-section-heading .sb-eyebrow,
.sb-directory-section#marketing .sb-section-heading h2 {
    color: #83caff;
}

.sb-directory-section#marketing .sb-planned-card {
    border-left: 2px solid rgb(83 157 255 / 60%);
}

.sb-directory-section#ecommerce .sb-section-heading .sb-eyebrow,
.sb-directory-section#ecommerce .sb-section-heading h2 {
    color: #ff9eb6;
}

.sb-directory-section#ecommerce .sb-planned-card {
    border-left: 2px solid rgb(239 104 150 / 62%);
}

.sb-directory-section#other .sb-section-heading .sb-eyebrow,
.sb-directory-section#other .sb-section-heading h2 {
    color: #65e4d5;
}

.sb-directory-section#other .sb-planned-card {
    border-left: 2px solid rgb(53 197 185 / 56%);
}

.sb-goal-card:nth-child(1) .sb-goal-card__number,
.sb-category-card[href*="sales-ai-tools"] .sb-category-card__label {
    color: #c2a4ff;
    background-color: rgb(137 87 255 / 18%);
}

.sb-goal-card:nth-child(2) .sb-goal-card__number,
.sb-category-card[href*="ad-copy-and-creatives"] .sb-category-card__label {
    color: #7cc9ff;
    background-color: rgb(49 128 245 / 18%);
}

.sb-goal-card:nth-child(3) .sb-goal-card__number,
.sb-category-card[href*="ecommerce-ai-tools"] .sb-category-card__label {
    color: #ff9eb6;
    background-color: rgb(239 91 139 / 16%);
}

.sb-planned-card[href*="customer-support-ai"] {
    border-color: rgb(53 197 185 / 30%);
}

.sb-planned-card[href*="customer-support-ai"] > span:last-child {
    color: #65e4d5;
}

/* Shared dark treatment for legacy Tailwind-based category and profile pages. */
body:not(.sb-page) {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 82% 0%, rgb(83 55 174 / 15%), transparent 38rem),
        radial-gradient(ellipse at 0% 35%, rgb(26 79 171 / 13%), transparent 42rem),
        #080c18 !important;
    color: #eef2ff !important;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body:not(.sb-page) > header {
    border-bottom: 1px solid rgb(139 155 198 / 18%);
    background: rgb(8 12 24 / 92%) !important;
    box-shadow: 0 12px 36px rgb(0 0 0 / 18%);
    backdrop-filter: blur(10px);
}

body:not(.sb-page) > header a,
body:not(.sb-page) > header nav a {
    color: #c8d2eb !important;
}

body:not(.sb-page) > header a:first-child {
    color: #f7f7ff !important;
}

body:not(.sb-page) header a:hover,
body:not(.sb-page) main a:hover {
    color: #9edfff !important;
}

body:not(.sb-page) main {
    position: relative;
}

body:not(.sb-page) main > nav {
    color: #aebbd4;
}

body:not(.sb-page) main > nav span:last-child {
    color: #f0f3ff;
}

body:not(.sb-page) h1,
body:not(.sb-page) h2,
body:not(.sb-page) h3 {
    color: #f6f7ff !important;
    letter-spacing: -0.025em;
}

body:not(.sb-page) main > header h1,
body:not(.sb-page) main > article > header h1 {
    background: linear-gradient(100deg, #fff 24%, #c4b8ff 62%, #81e4f7);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body:not(.sb-page) .text-gray-900,
body:not(.sb-page) .text-gray-800,
body:not(.sb-page) .text-gray-700,
body:not(.sb-page) .text-gray-600,
body:not(.sb-page) .text-gray-500 {
    color: #bdc8df !important;
}

body:not(.sb-page) .text-gray-900,
body:not(.sb-page) .text-gray-800 {
    color: #eff2ff !important;
}

body:not(.sb-page) .text-purple-700,
body:not(.sb-page) .text-purple-600 {
    color: #b7a5ff !important;
}

body:not(.sb-page) .bg-white,
body:not(.sb-page) article.bg-white,
body:not(.sb-page) .grid > div.bg-white {
    border-color: #29344f !important;
    background: linear-gradient(145deg, #141c31, #0e1527) !important;
    color: #eef2ff !important;
    box-shadow: 0 16px 38px rgb(0 0 0 / 24%);
}

body:not(.sb-page) #search-results article {
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body:not(.sb-page) #search-results article:hover {
    transform: translateY(-2px);
    border-color: rgb(142 119 255 / 52%) !important;
    box-shadow: 0 20px 42px rgb(0 0 0 / 32%);
}

body:not(.sb-page) #search-results article h2 {
    color: #f6f7ff !important;
}

body:not(.sb-page) #search-results article p:first-child {
    color: #7ddcf3 !important;
}

body:not(.sb-page) #search-status {
    padding: 0.9rem 1rem;
    border: 1px solid rgb(135 153 197 / 20%);
    border-radius: 0.8rem;
    background: rgb(16 24 41 / 76%);
    color: #c2cce1 !important;
}

body:not(.sb-page) main > article {
    border: 1px solid #29344f;
    background:
        radial-gradient(ellipse at 95% 0%, rgb(97 74 208 / 10%), transparent 28rem),
        linear-gradient(150deg, #11192c, #0b1120) !important;
    box-shadow: 0 24px 60px rgb(0 0 0 / 30%);
}

body:not(.sb-page) main > article > section {
    padding: 1.15rem 1.25rem;
    border: 1px solid rgb(140 158 204 / 14%);
    border-radius: 0.9rem;
    background: rgb(17 25 43 / 62%);
}

body:not(.sb-page) main > article > section h2 {
    color: #ded7ff !important;
}

body:not(.sb-page) main > article > aside,
body:not(.sb-page) aside.rounded-lg {
    border: 1px solid rgb(139 114 255 / 26%);
    background: linear-gradient(110deg, rgb(92 66 169 / 20%), rgb(27 75 111 / 18%)) !important;
    color: #d3d9ec !important;
}

body:not(.sb-page) .border-gray-100,
body:not(.sb-page) .border-gray-200 {
    border-color: #2b3651 !important;
}

body:not(.sb-page) .bg-gray-50,
body:not(.sb-page) .bg-gray-100 {
    background-color: #121a2d !important;
}

body:not(.sb-page) .divide-gray-200 > :not([hidden]) ~ :not([hidden]) {
    border-color: #2b3651 !important;
}

body:not(.sb-page) table {
    color: #c6d0e4;
}

body:not(.sb-page) th {
    color: #f1f3ff;
}

body:not(.sb-page) footer {
    border-top: 1px solid rgb(139 155 198 / 16%);
    background: #060a14 !important;
    color: #c4cde0 !important;
}

body:not(.sb-page) footer a {
    color: #c9beff;
}

body:not(.sb-page) .tool-logo-frame {
    border-color: #34405d;
    background: #f8f9fc;
    box-shadow: 0 8px 22px rgb(0 0 0 / 20%);
}

body:not(.sb-page) .tool-logo-fallback {
    color: #26324a;
}

body:not(.sb-page) .bg-purple-600,
body:not(.sb-page) .bg-purple-700 {
    border-color: #805cf0 !important;
    background: linear-gradient(115deg, #7847ef, #4e59e8) !important;
    color: #fff !important;
}

body:not(.sb-page) .bg-purple-600:hover,
body:not(.sb-page) .bg-purple-700:hover {
    background: linear-gradient(115deg, #895af5, #5368f2) !important;
}

body:not(.sb-page) .hover\:bg-purple-50:hover {
    background: rgb(139 92 246 / 12%) !important;
}

body:not(.sb-page) a:focus-visible,
body:not(.sb-page) button:focus-visible,
body:not(.sb-page) input:focus-visible {
    outline: 3px solid #67e8f9;
    outline-offset: 3px;
}

body:not(.sb-page) footer p,
body:not(.sb-page) main p,
body:not(.sb-page) main li,
body:not(.sb-page) main td {
    color: #bdc8df;
}

@media (max-width: 650px) {
    body:not(.sb-page) main > article > section {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.sb-page) *,
    body:not(.sb-page) *::before,
    body:not(.sb-page) *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 950px) {
    .sb-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-planned-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .sb-desktop-nav {
        display: none;
    }

    .sb-menu-button {
        display: inline-flex;
    }

    .sb-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }

    .sb-section-heading > p {
        max-width: 42rem;
    }
}

@media (max-width: 650px) {
    .sb-container {
        width: min(100% - 2rem, 74rem);
    }

    .sb-goal-grid,
    .sb-category-grid,
    .sb-tool-grid,
    .sb-planned-grid {
        grid-template-columns: 1fr;
    }

    .sb-search-form {
        flex-direction: column;
        padding: 0.55rem;
    }

    .sb-search-form .sb-button {
        width: 100%;
    }

    .sb-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }

    .sb-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }

    .sb-footer__brand {
        grid-column: 1 / -1;
    }

    .sb-planned-group {
        padding: 0.85rem;
    }
}

@media (max-width: 380px) {
    .sb-container {
        width: min(100% - 1.5rem, 74rem);
    }

    .sb-nav {
        min-height: 3.9rem;
    }

    .sb-brand {
        font-size: 1.18rem;
    }

    .sb-hero {
        padding-block: 3.25rem;
    }

    .sb-footer__main {
        grid-template-columns: 1fr;
    }

    .sb-footer__brand {
        grid-column: auto;
    }
}

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