@import "fonts.css";
@import "base.css";
@import "header-footer.css";
@import "bricks.css";

/*------------------------*/
/* theme colors
/*------------------------*/

:root {
    --textDarker: #1e282d;
    --textDark: rgba(38, 50, 56, 1);
    --textMedium: rgba(38, 50, 56, 0.7);
    --borderMedium: rgba(38, 50, 56, 0.2);
    --borderLight: rgba(38, 50, 56, 0.075);
    --accent: #285ed1;
    --accentDarker: #1c4291;
    --light: rgba(38, 50, 56, 0.035);
}

/*------------------------*/
/* turn grayscale off
/*------------------------*/

img {
    filter: grayscale(0);
}

/*------------------------*/
/* colorize_image
/*------------------------*/

.colorize_image {
    filter: contrast(1) sepia(1) hue-rotate(160deg) grayscale(0.8) !important;
}

/*------------------------*/
/* black_2_textDark
/*------------------------*/

.map::after,
.black_2_textDark {
    filter: contrast(0.7) sepia(1) hue-rotate(160deg) !important;
}

/*------------------------*/
/* black_2_textMedium
/*------------------------*/

.black_2_textMedium {
    filter: contrast(0.3) sepia(0.3) hue-rotate(160deg) brightness(1.4) !important;
}

/*------------------------*/
/* black_2_accent
/*------------------------*/

.black_2_accent {
    filter: contrast(0.24) sepia(1) hue-rotate(138deg) contrast(6) brightness(1.6) !important;
}

/*------------------------*/
/* Xbow-like Hero
/*------------------------*/

section.intro.xbow-hero {
    position: relative;
    background: linear-gradient(180deg, rgba(40, 94, 209, 0.03) 0%, transparent 100%);
    color: var(--textDark);
    overflow: hidden;
    padding-bottom: 2rem;
    min-height: auto;
}

.xbow-hero h1,
.xbow-hero h2,
.xbow-hero h3,
.xbow-hero h4,
.xbow-hero p,
.xbow-hero li,
.xbow-hero strong {
    color: var(--textDark) !important;
}

.xbow-hero h1 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.xbow-hero p {
    line-height: 1.8;
}

.xbow-hero h3 {
    margin-top: 1.5rem;
}

.xbow-hero-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
}

.xbow-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.hero-svg {
    width: 100%;
    height: 100%;
    opacity: 1;
}

/* Fix mobile alignment for brick_image and brick_image2 */
@media (max-width: 600px) {
    section.image .twocols .image {
        order: 2;
    }
}

/*------------------------*/
/* Logo - prevent wrapping
/*------------------------*/

a.logo {
    white-space: nowrap;
}

a.logo>div>div span {
    display: inline;
}

/*------------------------*/
/* Pricing page (/pricing)
/*------------------------*/

.pricing {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, rgba(40, 94, 209, 0.04) 0%, transparent 40%);
}

.pricing-head {
    text-align: center;
    max-width: 46rem;
    margin: 0 auto 2rem;
}

.pricing-eyebrow {
    display: inline-block;
    font-family: var(--fontBody);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.72rem;
    color: var(--accent);
    background: rgba(40, 94, 209, 0.08);
    padding: 0.4rem 0.85rem;
    border-radius: 2rem;
    margin-bottom: 1.1rem;
}

.pricing-head h1 {
    margin: 0.2rem 0 0.8rem;
    font-size: clamp(1.7rem, 5vw, 3rem);
    line-height: 1.15;
    overflow-wrap: break-word;
}

.pricing-head p {
    color: var(--textMedium);
    line-height: 1.7;
    font-size: 1.05rem;
}

.pricing-cards-head {
    text-align: center;
    max-width: 42rem;
    margin: 4rem auto 2rem;
}

.pricing-cards-head h2 {
    font-size: 1.75rem;
    margin: 0;
}

.pricing-cards-head p {
    color: var(--textMedium);
    font-size: 1.02rem;
    line-height: 1.6;
    margin: 0.55rem auto 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    align-items: stretch;
}

@media (max-width: 980px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 30rem;
        margin: 0 auto;
    }
}

.pcard {
    display: flex;
    flex-direction: column;
    text-align: center;
    background: #fff;
    border: 1px solid var(--borderLight);
    border-radius: 20px;
    padding: 2.4rem 1.8rem 2rem;
    box-shadow: 0 1px 2px rgba(38, 50, 56, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    opacity: 0;
    transform: translateY(16px);
    animation: priceUp 0.6s ease forwards;
    animation-delay: var(--d, 0ms);
}

.pcard:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px -18px rgba(40, 94, 209, 0.35);
    border-color: rgba(40, 94, 209, 0.35);
}

@keyframes priceUp {
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pcard {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.pcard-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.1rem;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(40, 94, 209, 0.08);
    color: var(--accent);
}

.pcard-icon svg {
    width: 34px;
    height: 34px;
}

.pcard-unit {
    margin: 0;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.pcard-opt {
    font-size: 1.06rem;
    font-weight: 700;
}

.pcard-or {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--textMedium);
}

.pcard-or::before,
.pcard-or::after {
    content: "";
    height: 1px;
    width: 1.5rem;
    background: var(--borderLight);
}

.pcard-price {
    margin: 1.4rem 0 0.4rem;
}

.pcard-price-label {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--textMedium);
    margin-bottom: 0.3rem;
}

.pcard-amount {
    font-family: var(--fontTitles);
    font-weight: 700;
    font-size: 3.1rem;
    line-height: 1;
    color: var(--accent);
}

.pcard-amount .cur {
    font-size: 1.4rem;
    vertical-align: super;
    margin-right: 0.1rem;
    font-weight: 600;
}

.pcard-includes {
    font-size: 0.8rem;
    color: var(--textMedium);
    margin: 0.6rem auto 0;
    max-width: 18rem;
}

.pcard-divider {
    height: 1px;
    background: var(--borderLight);
    margin: 1.6rem -0.4rem;
}

.pcard-items {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.pitem {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--textDark);
}

.pitem .plus {
    color: var(--accent);
    font-weight: 700;
}

.qty {
    color: var(--accent);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.pcard-cta {
    margin-top: auto;
    display: block;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.pcard-cta:hover {
    background: var(--accentDarker);
    transform: translateY(-1px);
    color: #fff;
}

.pricing-disclaimer {
    text-align: center;
    color: var(--textMedium);
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 1.8rem auto 0;
    max-width: 44rem;
}

.pricing-itemized {
    margin: 1.5rem auto 0;
    max-width: 44rem;
    text-align: center;
}

.pricing-itemized h2 {
    font-size: 1.75rem;
    margin: 0 0 0.5rem;
}

.pi-note {
    color: var(--textMedium);
    margin: 0 auto 1.6rem;
    line-height: 1.6;
}

.pi-table-wrap {
    border: 1px solid var(--borderLight);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(38, 50, 56, 0.04);
}

.pi-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pi-table th {
    background: var(--accent);
    color: #fff;
    font-family: var(--fontBody);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.9rem 1.2rem;
}

.pi-table th:last-child,
.pi-table td:last-child {
    text-align: right;
}

.pi-table td {
    padding: 0.85rem 1.2rem;
    border-top: 1px solid var(--borderLight);
    color: var(--textDark);
}

.pi-table tbody tr:nth-child(even) {
    background: rgba(40, 94, 209, 0.025);
}

.pi-table tbody tr:hover {
    background: rgba(40, 94, 209, 0.06);
}

.pi-price {
    font-weight: 700;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pi-was {
    color: var(--textMedium);
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    margin-right: 0.35rem;
    opacity: 0.8;
}

.pi-tag {
    display: inline-block;
    margin-left: 0.4rem;
    padding: 0.08rem 0.5rem;
    border-radius: 999px;
    background: rgba(40, 94, 209, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    vertical-align: middle;
    white-space: nowrap;
}

.pi-foot {
    color: var(--textMedium);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/*------------------------*/
/* Modern soft-pill top navigation (desktop)
/*------------------------*/

body:not(.mobilemenu) header .navnav:not(.languages) > ul {
    gap: 0.4rem;
}

/* replace the faint underline with a tinted pill */
body:not(.mobilemenu) header .navnav:not(.languages) > ul > li::after {
    display: none;
}

body:not(.mobilemenu) header .navnav:not(.languages) > ul > li > a {
    padding: 0.55rem 0.95rem;
    border-radius: 0.55rem;
    font-weight: 600;
    transition: background-color 0.18s ease, color 0.18s ease;
}

body:not(.mobilemenu) header .navnav:not(.languages) > ul > li > a:hover {
    background: rgba(40, 94, 209, 0.08);
    color: var(--accent);
}

body:not(.mobilemenu) header .navnav:not(.languages) > ul > li.active > a {
    background: rgba(40, 94, 209, 0.12);
    color: var(--accent);
    font-weight: 700;
}

/* CTA button - subtle lift */
header a.button {
    box-shadow: 0 0.35rem 1rem -0.35rem rgba(40, 94, 209, 0.6);
}

/*------------------------*/
/* Blog photo placeholder slot
/*------------------------*/

.photo-slot {
    margin: 1.8rem 0;
}

.photo-slot__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 200px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--borderMedium);
    border-radius: 0.9rem;
    background: rgba(40, 94, 209, 0.03);
    color: var(--textMedium);
}

.photo-slot__cap {
    font-weight: 600;
    color: var(--textDark);
    max-width: 32ch;
}

.photo-slot__hint {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.photo-slot svg {
    color: var(--accent);
    opacity: 0.6;
}

/*------------------------*/
/* Inline SVG thumbnail in blog cards
/*------------------------*/

section.posts .grid .item .img svg {
    width: 100%;
    height: auto;
    display: block;
}

/*------------------------*/
/* Gentler post lead paragraph (theme default is 1.52rem)
/*------------------------*/

section.post .container.post p:first-of-type {
    font-size: 1.15rem;
}

