/*
 * Webitu theme for webitu.com. Loaded after the default theme's style.css and only changes
 * what makes the Webitu site its own: Archivo (self-hosted), the logo's slanted blue planes
 * behind the screenshots, and calmer, list-based sections instead of cards.
 */

@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-latin-ext.woff2") format("woff2");
    font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Archivo";
    src: url("fonts/archivo-latin.woff2") format("woff2");
    font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* The marketing site is always light, so the brand colours stay exact. */
:root {
    color-scheme: light;
    --bg: #ffffff;
    --surface: #f2f3fb;
    --surface-2: #e8eaf6;
    --text: #161a33;
    --muted: #535873;
    --line: #e1e3ef;
    --accent: #3546d8;
    --accent-hover: #2534b8;
    --accent-soft: #e8eaff;
    --on-accent: #ffffff;
    --periwinkle: #8f9bff;
    --ink: #161a33;
    --check: #1d7f55;
    --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgb(22 26 51 / 0.05), 0 8px 24px rgb(22 26 51 / 0.07);
    --shadow-hover: 0 2px 6px rgb(22 26 51 / 0.08), 0 20px 48px rgb(22 26 51 / 0.14);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #ffffff; --surface: #f2f3fb; --surface-2: #e8eaf6; --text: #161a33; --muted: #535873; --line: #e1e3ef;
        --accent: #3546d8; --accent-hover: #2534b8; --accent-soft: #e8eaff; --on-accent: #ffffff;
        --success: #17663a; --success-soft: #e7f5ec; --error: #b42318; --error-soft: #fdeceb;
        --shadow: 0 1px 2px rgb(22 26 51 / 0.05), 0 8px 24px rgb(22 26 51 / 0.07);
        --shadow-hover: 0 2px 6px rgb(22 26 51 / 0.08), 0 20px 48px rgb(22 26 51 / 0.14);
    }
}

body { font-size: 1.0625rem; font-stretch: 100%; }
h1, h2, h3 { font-stretch: 112%; letter-spacing: -0.025em; }
h1, h2 { font-weight: 800; }
h2 { font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.6rem); }
.button { border-radius: 10px; padding: 0.9rem 1.5rem; font-weight: 650; }
.button-ghost { box-shadow: inset 0 0 0 1.5px var(--line); }
.button-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--muted); }

/* ---------- Header ---------- */
.site-header { background: rgb(255 255 255 / 0.9); }
.header-inner { min-height: 4.75rem; }
.brand-logo { height: 2rem; }
.main-nav a { color: var(--text); font-weight: 550; border-radius: 8px; }
.main-nav a[aria-current="page"] { background: none; color: var(--accent); }
.header-cta { order: 3; padding: 0.65rem 1.1rem; font-size: 0.95rem; }
@media (max-width: 720px) {
    .header-cta { order: 0; margin-left: auto; padding: 0.55rem 0.9rem; font-size: 0.9rem; }
}

/* ---------- Sections ---------- */
.block { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.block-tinted { background: var(--surface); border: 0; }
.blocks > .block:last-child { padding-bottom: clamp(4rem, 8vw, 7rem); }
.block-header { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.block-intro { font-size: 1.15rem; }
.prose li::marker { color: var(--accent); }

/* ---------- Hero ---------- */
.wb-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); background: var(--bg); border: 0; overflow: hidden; }
.wb-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 960px) { .wb-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; } }
.wb-hero h1 { font-size: clamp(2.4rem, 1.5rem + 3vw, 3.75rem); line-height: 1.04; font-stretch: 108%; letter-spacing: -0.035em; text-wrap: balance; }
.wb-hero-lead { margin: 1.5rem 0 0; max-width: 34rem; color: var(--muted); font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.55; }
.wb-hero .hero-actions { margin-top: 2rem; justify-content: flex-start; }
.wb-hero-note { margin: 1.25rem 0 0; color: var(--muted); font-size: 0.95rem; }

/* The logo's two slanted planes, overlapping like its letters. */
.wb-visual { position: relative; isolation: isolate; }
.wb-visual img { position: relative; z-index: 2; display: block; width: 100%; height: auto; }
.wb-plane { position: absolute; z-index: 0; transform: skewX(-18deg); mix-blend-mode: multiply; }
.wb-plane-a { inset: 4% 18% 10% 34%; background: var(--accent); }
.wb-plane-b { inset: 22% 2% -6% 58%; background: var(--periwinkle); }
.wb-visual-quiet .wb-plane-a { inset: 10% 30% 12% 40%; background: var(--periwinkle); opacity: 0.55; }
.wb-visual-quiet .wb-plane-b { display: none; }
.wb-visual-quiet img { border-radius: var(--radius); box-shadow: var(--shadow-hover); }

/* ---------- What you get: a calm two-column list ---------- */
.wb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 3.5rem; }
@media (min-width: 760px) { .wb-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wb-list li { display: grid; grid-template-columns: 2.25rem 1fr; align-content: start; align-items: center; gap: 0 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.wb-list-icon { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; color: var(--accent); }
.wb-list-icon span { display: block; width: 1.1rem; height: 1.6rem; background: var(--accent); transform: skewX(-18deg); box-shadow: 0.45rem 0.35rem 0 var(--periwinkle); }
.wb-list h3 { margin: 0; font-size: 1.2rem; }
.wb-list p { grid-column: 2; margin: 0.4rem 0 0; color: var(--muted); }

/* ---------- Legal: a dark band that reads like the real checklist ---------- */
.wb-legal { background: var(--ink); color: #e9ebf7; }
.wb-legal .block-heading { color: #ffffff; }
.wb-legal .block-intro { color: #a9aed0; }
.wb-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgb(255 255 255 / 0.08); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .wb-checks { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wb-checks.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wb-checks li { padding: 1.75rem; background: var(--ink); }
.wb-check { display: grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 1.1rem; border-radius: 50%; background: #1d7f55; color: #ffffff; }
.wb-checks h3 { margin: 0 0 0.5rem; color: #ffffff; font-size: 1.2rem; }
.wb-checks p { margin: 0; color: #b8bcd9; }

/* ---------- How it works: a connected sequence ---------- */
.wb-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 860px) { .wb-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
.wb-steps li { position: relative; counter-increment: step; }
.wb-steps li::before {
    content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1.25rem;
    border-radius: 50%; background: var(--accent); color: #ffffff; font-weight: 800; font-size: 1.2rem; font-stretch: 112%;
    position: relative; z-index: 1;
}
@media (min-width: 860px) {
    .wb-steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.5rem; left: 3.75rem; right: -1.75rem; height: 2px; background: var(--line); }
}
.wb-steps h3 { margin: 0 0 0.5rem; font-size: 1.2rem; }
.wb-steps p { margin: 0; color: var(--muted); max-width: 22rem; }

/* ---------- Text and image ---------- */
.block-split .split-grid { gap: 3rem 5rem; }
.block-split .block-heading { font-size: clamp(1.75rem, 1.25rem + 1.6vw, 2.4rem); }
.block-split .prose { font-size: 1.08rem; }
.block-split .prose ul { padding-left: 1.2em; }
.block-split .prose li { margin: 0.6em 0; }

/* ---------- Questions: heading on the left, answers on the right ---------- */
.wb-faq-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .wb-faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); align-items: start; } .wb-faq-aside { position: sticky; top: 7rem; } }
.wb-faq-aside p { margin: 1rem 0 0; color: var(--muted); }
.wb-faq-list { border-top: 1px solid var(--line); }
.wb-faq-list details { border-bottom: 1px solid var(--line); }
.wb-faq-list summary { cursor: pointer; list-style: none; position: relative; padding: 1.35rem 3rem 1.35rem 0; font-weight: 650; font-size: 1.1rem; }
.wb-faq-list summary::-webkit-details-marker { display: none; }
.wb-faq-list summary::after { content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.5rem; font-weight: 400; transition: transform 0.2s ease; }
.wb-faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.wb-faq-list .prose { padding: 0 3rem 1.5rem 0; color: var(--muted); }

/* ---------- Contact ---------- */
.wb-contact { background: var(--surface); }
.wb-contact-grid { display: grid; gap: 2rem 4rem; }
@media (min-width: 900px) { .wb-contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); align-items: start; } }
.wb-contact .block-heading { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.wb-contact .contact-form { margin: 0; background: var(--bg); box-shadow: var(--shadow); border: 0; }
.wb-contact-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.wb-contact-points li { display: flex; gap: 0.75rem; align-items: baseline; }
.wb-contact-points li::before { content: ""; flex: none; width: 0.55rem; height: 0.85rem; background: var(--accent); transform: skewX(-18deg); }

/* ---------- Footer ---------- */
.site-footer { --f-bg: #161a33; --f-text: #ffffff; --f-muted: #a3a8c7; --f-dim: #7c82a6; --f-line: rgb(255 255 255 / 0.09); --f-accent: #c3c9ff; }
.wb-footer-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 2rem; padding-block: clamp(3rem, 6vw, 4.5rem) 3.75rem; }
.wb-footer-brand { grid-column: 1 / -1; }
@media (min-width: 960px) {
    .wb-footer-top { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
    .wb-footer-brand { grid-column: auto; }
}
.footer-logo img { height: 2.25rem; }
.wb-footer-pitch { max-width: 22rem; margin: 1rem 0 1.5rem; color: var(--f-muted); line-height: 1.6; }
.site-footer a.wb-footer-cta { padding: 0.6rem 1.05rem; font-size: 0.9rem; background: rgb(255 255 255 / 0.08); color: var(--f-text); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); }
.site-footer a.wb-footer-cta:hover { background: var(--accent); color: #ffffff; text-decoration: none; box-shadow: none; }
.wb-footer-heading { margin: 0 0 1rem; color: var(--f-text); font-size: 0.95rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; }
.wb-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.wb-footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem;
    padding-block: 1.4rem 2rem; color: var(--f-dim); font-size: 0.84rem;
    /* divider as wide as the text, not the container padding */
    background: linear-gradient(var(--f-line), var(--f-line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.wb-footer-bottom p { margin: 0; }
.wb-footer-operator { display: flex; flex-wrap: wrap; }
/* logo and menus, the copyright centred just below them, divider, operator and "No cookies" */
.wb-footer-copyright { padding-bottom: 1.6rem; text-align: center; color: var(--f-muted); font-size: 0.86rem; }
.wb-footer-copyright p { margin: 0; }
.wb-footer-operator span:not(:last-child)::after { content: "·"; margin: 0 0.55rem; }
.site-footer .wb-footer-operator a { color: var(--f-dim); }
.site-footer .wb-footer-operator a:hover { color: var(--f-accent); text-decoration: underline; }

/* ---------- Focus and motion ---------- */
:focus-visible { outline-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .wb-faq-list summary::after { transition: none; } }

/* Text sections line up with the other sections instead of a centred column. */
.block-text .container.narrow { max-width: var(--container); font-size: 1.1rem; }
.block-text .prose > * { max-width: 44rem; }
