/* Palette: only the Expertition360 logo colors (black, red, green, blue, orange) plus greys.
   The logo brights are too light for small text on white, so they are used for large
   headline words, fills (with ink text on top), icons and lines. Green is never used as
   text or icon colour on white (2.7:1). */
:root {
    --ink: #1D1D1F;
    --ink-2: #424245;
    --muted: #6E6E73;
    --white: #FFFFFF;
    --surface: #F5F5F7;
    --line: #E8E8ED;
    --line-strong: #D2D2D7;
    --black: #000000;
    --red: #FF3130;
    --green: #6FAE40;
    --blue: #1B99E1;
    --orange: #F2643E;
    --accent: var(--red);
    --radius-lg: 28px;
    --radius: 20px;
    --radius-sm: 12px;
    --space-section: clamp(4.5rem, 12vw, 10rem);
    --space-head: clamp(3rem, 6vw, 5rem);
    --gap: clamp(1.25rem, 2.6vw, 2rem);
    --pad-card: clamp(1.75rem, 3vw, 2.5rem);
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --font-display: 'Bitter', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --header-h: 68px;
}

@media (min-width: 1100px) {
    :root { --header-h: 120px; }
}

/* One logo colour per section, so the page echoes the "360" in the logo. */
.accent-red { --accent: var(--red); }
.accent-green { --accent: var(--green); }
.accent-blue { --accent: var(--blue); }
.accent-orange { --accent: var(--orange); }

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 8px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.65;
    letter-spacing: -0.003em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* While scripts swap in the visitor's language and prices, show only the gate. Pages are
   pre-rendered, so without JavaScript (and for crawlers) the content is visible as is. */
html.js.i18n-loading body {
    visibility: hidden;
}

html.js.i18n-loading body > #i18nGate {
    visibility: visible;
}

html:not(.js) .i18n-gate {
    display: none;
}

.i18n-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    background: var(--white);
}

.i18n-gate::after {
    width: 2rem;
    height: 2rem;
    border: 2px solid var(--line);
    border-bottom-color: var(--red);
    border-radius: 999px;
    content: "";
    animation: spin 700ms linear infinite;
}

html:not(.i18n-loading) .i18n-gate {
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

h1, h2, .display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h3, h4 {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

p {
    text-wrap: pretty;
}

.hl { color: var(--red); }
.on-dark .hl { color: var(--accent); }

img, iframe {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button, select {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}

button {
    cursor: pointer;
}

a, button, select, summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

::selection {
    background: var(--ink);
    color: #FFFFFF;
}

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

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 80;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    background: var(--ink);
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: none;
}

svg.lucide {
    width: 1.5rem;
    height: 1.5rem;
    stroke-width: 1.75;
    flex-shrink: 0;
}

.container {
    width: min(100% - 3rem, 72rem);
    margin-inline: auto;
}

@media (max-width: 640px) {
    .container { width: min(100% - 2.5rem, 72rem); }
}

.section {
    padding-block: var(--space-section);
}

.bg-white { background: var(--white); }
.bg-surface { background: var(--surface); }
.bg-dark { background: var(--ink); color: #FFFFFF; }

/* Section heading: a short logo-colour bar, a bordered label, the title and an intro */
.section-head {
    max-width: 46rem;
    margin-bottom: var(--space-head);
}

.section-head::before,
.accent-bar::before {
    display: block;
    width: 3rem;
    height: 4px;
    margin-bottom: 1.75rem;
    border-radius: 4px;
    background: var(--accent);
    content: "";
}

.section-head.center {
    margin-inline: auto;
    text-align: center;
}

.section-head.center::before { margin-inline: auto; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border: 1px solid currentColor;
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.3;
}

.on-dark .eyebrow { color: #FFFFFF; }

.section-title {
    margin-top: 1.5rem;
    font-size: clamp(2.1rem, 4.4vw, 3.25rem);
    line-height: 1.14;
}

.section-lead {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
    line-height: 1.6;
}

.on-dark .section-lead { color: #A1A1A6; }

/* Buttons: Apple-style pills that respond the moment they are pressed */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 52px;
    padding: 0.8rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out), transform 100ms ease-out;
}

.btn:active { transform: scale(0.97); }
.btn svg.lucide { width: 1.125rem; height: 1.125rem; }

.btn-primary {
    background: var(--ink);
    color: #FFFFFF;
}

.btn-primary:hover { background: var(--black); }

.btn-outline {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--ink);
}

.btn-outline:hover {
    border-color: var(--ink);
}

.btn-light {
    background: #FFFFFF;
    color: var(--ink);
}

.btn-light:hover { background: var(--surface); }

.on-dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
}

.on-dark .btn-outline:hover { border-color: #FFFFFF; }

.btn-small {
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9375rem;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
}

.link-arrow svg.lucide {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--red);
    stroke-width: 2.4;
    transition: transform 200ms var(--ease-out);
}

.link-arrow:hover { text-decoration: underline; text-underline-offset: 5px; }
.link-arrow:hover svg.lucide { transform: translateX(3px); }

/* Header: frosted, two rows on large screens (brand row + navigation row) */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    backdrop-filter: saturate(1.8) blur(20px);
}

@media (prefers-reduced-transparency: reduce) {
    .site-header {
        background: #FFFFFF;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 68px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    flex-shrink: 0;
}

.brand-link img {
    width: auto;
    height: 1.6rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-select {
    min-height: 44px;
    padding: 0 2rem 0 0.95rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%231D1D1F' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.header-cta { display: none; white-space: nowrap; }

/* Phones and tablets: an always-visible EN | ID switch in the header bar
   (the dropdown is reserved for the wide desktop header). */
.lang-toggle {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #FFFFFF;
}

.lang-toggle button {
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 160ms ease-out, color 160ms ease-out;
}

.lang-toggle button[aria-pressed="true"] {
    background: var(--ink);
    color: #FFFFFF;
}

@media (min-width: 1100px) {
    .lang-toggle { display: none; }
}

/* Smallest phones: shrink the logo so logo, switch and menu share one row */
@media (max-width: 380px) {
    .brand-link img { height: 1.15rem; }
    .header-actions { gap: 0.4rem; }
    .lang-toggle button { min-width: 42px; padding: 0 0.45rem; }
}

.menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: transparent;
}

.menu-button:active { background: var(--surface); }
.menu-button .icon-close { display: none; }
.menu-button[aria-expanded="true"] .icon-open { display: none; }
.menu-button[aria-expanded="true"] .icon-close { display: block; }

.header-lang-desktop { display: none; }

.header-nav { display: none; }

.nav-desktop {
    display: flex;
    min-height: 52px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-group {
    position: relative;
}

/* Group buttons look like the links next to them, plus a chevron */
.nav-trigger {
    gap: 0.35rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.nav-trigger svg.lucide {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.2;
    transition: transform 200ms var(--ease-out);
}

.nav-trigger[aria-expanded="true"] { color: var(--ink); }
.nav-trigger[aria-expanded="true"] svg.lucide { transform: rotate(180deg); }

/* Sub-menu panel: grows from the button that opened it */
.nav-panel {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: -0.9rem;
    z-index: 60;
    min-width: 15rem;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 44px rgba(0, 0, 0, 0.14);
    transform-origin: top left;
}

.nav-panel:not([hidden]) {
    animation: nav-panel-in 180ms var(--ease-out);
}

/* Invisible bridge over the gap above the panel, so moving the mouse from the
   button down into the panel doesn't count as leaving the menu. */
.nav-panel::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 0.75rem;
    content: "";
}

@keyframes nav-panel-in {
    from { opacity: 0; transform: translateY(-4px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

.nav-sublink {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.55rem 0.9rem;
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 150ms ease-out;
}

.nav-sublink:hover { background: var(--surface); }

.nav-sublink[aria-current="true"],
.nav-sublink[aria-current="page"] {
    background: var(--surface);
    font-weight: 600;
}

.nav-sublink[aria-current="true"]::before,
.nav-sublink[aria-current="page"]::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--red);
    content: "";
    flex-shrink: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--ink-2);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease-out;
}

.nav-link:hover,
.nav-link[aria-current="true"],
.nav-link[aria-current="page"] { color: var(--ink); }

.nav-desktop .nav-link::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms var(--ease-out);
}

.nav-desktop .nav-link:hover::after,
.nav-desktop .nav-link[aria-current="true"]::after,
.nav-desktop .nav-group.is-active > .nav-trigger::after {
    transform: scaleX(1);
}

.nav-group.is-active > .nav-trigger { color: var(--ink); }

.mobile-menu {
    border-top: 1px solid var(--line);
    background: #FFFFFF;
}

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

/* The open menu can be taller than a phone screen: let it scroll on its own */
.mobile-menu {
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-group-label {
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mobile-menu .nav-link { display: flex; }

.mobile-menu .nav-sublink-mobile {
    min-height: 52px;
    padding-left: 1rem;
    font-weight: 500;
}

.mobile-menu .nav-link[aria-current="true"],
.mobile-menu .nav-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--red);
}

.mobile-menu-inner {
    display: grid;
    padding-block: 0.75rem 1.75rem;
}

.mobile-menu .nav-link {
    min-height: 56px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.1875rem;
    font-weight: 600;
}

.mobile-menu-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.mobile-menu-footer .btn { flex: 1; }

@media (min-width: 640px) {
    .header-cta { display: inline-flex; }
}

@media (min-width: 1100px) {
    .header-nav { display: block; }
    .menu-button { display: none; }
    .header-lang-desktop { display: block; }
    .mobile-menu { display: none !important; }
    .brand-link img { height: 1.75rem; }
}

/* Hero */
.hero {
    padding-block: clamp(4rem, 9vw, 8rem) clamp(6rem, 11vw, 10rem);
    background: #FFFFFF;
}

.hero-grid {
    display: grid;
    gap: clamp(4rem, 8vw, 6rem);
    align-items: center;
}

.hero-pre {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-pre::before {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0.9rem 0 0 var(--green), 1.8rem 0 0 var(--blue);
    margin-right: 1.8rem;
    content: "";
}

.hero-title {
    margin-top: 1.5rem;
    font-size: clamp(2.6rem, 5.2vw, 4.25rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.hero-copy {
    max-width: 36rem;
    margin-top: 2rem;
    color: var(--muted);
    font-size: clamp(1.1875rem, 1.8vw, 1.375rem);
    line-height: 1.55;
}

.hero-points {
    display: grid;
    gap: 1rem;
    margin-top: 2.25rem;
}

.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-weight: 500;
    line-height: 1.5;
}

/* Solid green circle with a bold white tick, the familiar "done" check.
   Decorative only (aria-hidden); the text beside it carries the meaning. */
.check-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    margin-top: 0.1rem;
    border-radius: 999px;
    background: var(--green);
    color: #FFFFFF;
    flex-shrink: 0;
}

.check-mark svg.lucide { width: 0.85rem; height: 0.85rem; stroke-width: 3.5; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 2rem;
    margin-top: 3rem;
}

.hero-cta-slot {
    display: inline-flex;
    align-items: center;
    min-height: 56px;
}

#heroCta:empty { display: none; }

/* Google Calendar scheduling button: restyle to the primary pill. */
#heroCta button,
#heroCta [role="button"],
#heroCta a,
#heroCta ~ button,
#heroCta ~ [role="button"],
#heroCta ~ a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 56px !important;
    min-width: 11rem !important;
    margin: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background-color: var(--ink) !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    font-family: var(--font-body) !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    padding: 0.85rem 1.9rem !important;
    text-decoration: none !important;
    text-transform: none !important;
}

#heroCta button:hover,
#heroCta [role="button"]:hover,
#heroCta a:hover,
#heroCta ~ button:hover,
#heroCta ~ [role="button"]:hover,
#heroCta ~ a:hover {
    background-color: var(--black) !important;
}

.hero-cta-slot.has-scheduler #heroCtaFallback { display: none !important; }

/* Google Calendar scheduling dialog.
   Google's scheduling-button-script.css paints the popup iframe with
   var(--gm3-sys-color-surface) but never defines that Material 3 token,
   so the declaration is invalid here and the dialog renders transparent
   (the page shows through it). Define the token for the popup only. */
.hur54b,
.mmGMM {
    --gm3-sys-color-surface: #FFFFFF;
    --gm3-sys-color-on-surface: var(--ink);
}

/* Near-fullscreen scheduling dialog on phones: the stock 72px overlay
   padding leaves only ~250px of width on a small screen. Keep a slim
   top strip so the close button still floats above the dialog. */
@media (max-width: 640px) {
    .hur54b {
        padding: 56px 8px 8px;
    }

    .Xfsokf {
        top: 10px;
        right: 10px;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 4rem;
    margin-top: 4rem;
    padding-top: 2.25rem;
    border-top: 1px solid var(--line);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.35;
}

.hero-art {
    position: relative;
}

.hero-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 15;
    border-radius: var(--radius-lg);
    object-fit: cover;
}

.hero-card {
    position: relative;
    margin: -4rem 1.25rem 0;
    padding: 1.75rem 1.9rem 1.9rem;
    border-radius: var(--radius);
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px rgba(0, 0, 0, 0.14);
}

.hero-card-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
}

.hero-card-label::before {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--red);
    content: "";
    flex-shrink: 0;
}

.hero-card-quote {
    margin-top: 0.85rem;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.hero-card-by {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: 1.2fr 0.8fr; }

    .hero-card {
        position: absolute;
        bottom: -3rem;
        left: -3rem;
        max-width: 24rem;
        margin: 0;
    }
}

/* Cards: white on grey bands, grey on white sections */
.card {
    border-radius: var(--radius);
    background: #FFFFFF;
}

.bg-white .card { background: var(--surface); }

/* Icon tiles: a soft tint of the section's logo colour with an ink icon */
.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 18%, #FFFFFF);
    color: var(--ink);
    flex-shrink: 0;
}

/* Problems */
.problem-grid {
    display: grid;
    gap: var(--gap);
}

.problem-card {
    display: flex;
    flex-direction: column;
    padding: var(--pad-card);
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.problem-card h3 {
    margin-top: 1.75rem;
    font-size: 1.3125rem;
}

.problem-card p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.benefits {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.benefits li {
    display: flex;
    align-items: flex-start;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}

.benefits svg.lucide {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.15rem 0.7rem 0 0;
    color: var(--red);
    stroke-width: 2.2;
}

.problems-cta {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    margin-top: var(--space-head);
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #FFFFFF;
}

.problems-cta h3 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.problems-cta p {
    margin-top: 0.6rem;
    color: #A1A1A6;
    font-size: 1.125rem;
}

.problems-cta .btn svg.lucide { color: var(--red); }

@media (min-width: 720px) {
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .problems-cta { grid-template-columns: 1fr auto; }
}

@media (min-width: 1024px) {
    .problem-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Promise */
.promise .section-title {
    font-size: clamp(2.3rem, 5vw, 3.75rem);
    color: #FFFFFF;
}

.promise .section-head { max-width: 56rem; }

.promise-steps {
    display: grid;
    gap: 3rem;
}

.promise-step {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.promise-step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promise-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
}

.promise-step .icon-tile {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent);
}

.promise-step h3 {
    margin-top: 1.75rem;
    color: #FFFFFF;
    font-size: 1.4375rem;
}

.promise-step p {
    margin-top: 0.75rem;
    color: #A1A1A6;
    font-size: 1.0625rem;
    line-height: 1.65;
}

.compare {
    margin-top: clamp(4rem, 8vw, 6rem);
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    color: var(--ink);
}

.compare-title {
    padding: clamp(2rem, 4vw, 2.75rem) clamp(1.75rem, 4vw, 2.75rem) 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.compare-head { display: none; }

.compare-rows { padding: 1.25rem 0 1rem; }

.compare-row {
    display: grid;
    gap: 0.6rem;
    padding: 1.4rem clamp(1.75rem, 4vw, 2.75rem);
    border-top: 1px solid var(--line);
}

.compare-row:first-child { border-top: 0; }

.compare-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    line-height: 1.5;
}

.compare-cell svg.lucide { width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; stroke-width: 2.2; }

.compare-cell.usual {
    color: var(--muted);
    font-size: 1.0625rem;
}

.compare-cell.usual svg.lucide { color: #AEAEB2; }

.compare-cell.us {
    font-size: 1.0625rem;
    font-weight: 600;
}

.compare-cell.us .check-mark { margin-top: 0; }

.compare-cell .cell-label {
    display: block;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 960px) {
    .promise-steps { grid-template-columns: repeat(3, 1fr); gap: 3.5rem; }
}

@media (min-width: 720px) {
    .compare-head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 1.75rem clamp(1.75rem, 4vw, 2.75rem) 0;
        color: var(--muted);
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .compare-head .us { color: var(--ink); }

    .compare-row {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .compare-cell .cell-label { display: none; }
}

/* Comic */
.comic-tabs {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    padding: 0.25rem 0.25rem 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.comic-tabs::-webkit-scrollbar { display: none; }

.comic-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 46px;
    padding: 0 1.15rem 0 0.5rem;
    border: 0;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 180ms ease-out, color 180ms ease-out, transform 100ms ease-out;
}

.comic-tab:active { transform: scale(0.97); }

.comic-tab-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.8125rem;
    font-weight: 600;
}

.comic-tab-num svg.lucide { width: 0.95rem; height: 0.95rem; }

.comic-tab[aria-current="true"] {
    background: var(--ink);
    color: #FFFFFF;
}

.comic-tab[aria-current="true"] .comic-tab-num {
    background: var(--blue);
    color: var(--ink);
}

.comic-book {
    padding: clamp(1.25rem, 3vw, 2.75rem);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
}

.comic-stage {
    position: relative;
    touch-action: pan-y;
}

.comic-stage.is-entering {
    animation: comic-enter 320ms var(--ease-out) both;
}

.comic-stage.is-entering.from-left {
    animation-name: comic-enter-left;
}

@keyframes comic-enter {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes comic-enter-left {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: none; }
}

.comic-page-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 1.75rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.comic-page-title .chapter-no {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
}

.comic-page-title .chapter-no::before {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--blue);
    content: "";
}

.comic-panels {
    display: grid;
    gap: clamp(1.25rem, 2.4vw, 2rem);
}

.panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 18px;
    background: #FFFFFF;
}

.panel-caption {
    padding: 1.1rem 1.35rem 1.2rem;
    border-bottom: 2px solid var(--ink);
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

.panel-caption strong { font-weight: 600; }

/* Art fills whatever height is left after the caption, so side-by-side panels stay level. */
.panel-art {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: var(--surface);
}

.panel-zoom {
    position: relative;
    display: block;
    flex: 1 0 auto;
    width: 100%;
    aspect-ratio: 16 / 15;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.panel-zoom img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.panel-zoom-hint {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(29, 29, 31, 0.6);
    color: #FFFFFF;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.panel-zoom-hint svg.lucide { width: 1.05rem; height: 1.05rem; }

/* Speech bubbles. comic.js places each bubble beside its speaker and sets --tail
   to the speaker's horizontal position, so the pointer always lands on the right person. */
.panel-bubbles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.4rem 0.9rem 1rem;
    border-top: 2px solid var(--ink);
    background: #FFFFFF;
}

.bubble {
    position: relative;
    max-width: min(88%, 25rem);
    padding: 0.7rem 1rem 0.8rem;
    border: 1.5px solid var(--ink);
    border-radius: 18px;
    background: #FFFFFF;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}

.bubble-speaker {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.bubble-speaker svg.lucide { width: 0.85rem; height: 0.85rem; stroke-width: 2.4; }

.bubble::before,
.bubble::after {
    position: absolute;
    left: var(--tail, 1.5rem);
    width: 0;
    height: 0;
    border-style: solid;
    content: "";
    transform: translateX(-50%);
}

/* Pointer up (speaker is above the bubble) */
.bubble::before {
    top: -11px;
    border-width: 0 9px 11px 9px;
    border-color: transparent transparent var(--ink) transparent;
}

.bubble::after {
    top: -8.5px;
    border-width: 0 7px 9px 7px;
    border-color: transparent transparent #FFFFFF transparent;
}

.bubble.type-thought {
    border-style: dashed;
    border-radius: 24px;
}

.bubble.type-thought::before,
.bubble.type-thought::after {
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    background: #FFFFFF;
}

.bubble.type-thought::before {
    top: -15px;
    width: 12px;
    height: 12px;
}

.bubble.type-thought::after {
    top: -26px;
    width: 7px;
    height: 7px;
}

.bubble.type-phone {
    border-style: dashed;
    background: var(--surface);
}

.bubble.no-tail::before,
.bubble.no-tail::after { display: none; }

@media (min-width: 640px) {
    .panel-bubbles {
        position: absolute;
        right: 0.9rem;
        bottom: 0.9rem;
        left: 0.9rem;
        padding: 0;
        border-top: 0;
        background: transparent;
        pointer-events: none;
    }

    .panel-bubbles.anchor-top {
        top: 0.9rem;
        bottom: auto;
    }

    .panel-bubbles .bubble {
        max-width: min(80%, 24rem);
        pointer-events: auto;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }

    /* Pointer down when the bubble sits above the speaker */
    .panel-bubbles.anchor-top .bubble::before {
        top: auto;
        bottom: -11px;
        border-width: 11px 9px 0 9px;
        border-color: var(--ink) transparent transparent transparent;
    }

    .panel-bubbles.anchor-top .bubble::after {
        top: auto;
        bottom: -8.5px;
        border-width: 9px 7px 0 7px;
        border-color: #FFFFFF transparent transparent transparent;
    }

    .panel-bubbles.anchor-top .bubble.type-thought::before {
        bottom: -15px;
        border: 1.5px solid var(--ink);
    }

    .panel-bubbles.anchor-top .bubble.type-thought::after {
        bottom: -26px;
        border: 1.5px solid var(--ink);
    }
}

@media (min-width: 900px) {
    .comic-panels { grid-template-columns: 1fr 1fr; }
}

.comic-cover {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.comic-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 884;
    border-radius: var(--radius);
    object-fit: cover;
}

.comic-cover-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 600;
}

.comic-cover-kicker::before {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--blue);
    content: "";
}

.comic-cover-title {
    margin-top: 1rem;
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    line-height: 1.14;
}

.comic-cover-blurb {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 1.1875rem;
    line-height: 1.6;
}

.comic-cover .btn { margin-top: 2rem; }

.comic-disclaimer {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

@media (min-width: 900px) {
    .comic-cover { grid-template-columns: 1.25fr 1fr; }
}

.comic-end {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-top: clamp(1.25rem, 2.4vw, 2rem);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius);
    background: var(--ink);
    color: #FFFFFF;
}

.comic-end-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
}

.comic-end p:not(.comic-end-title) {
    margin-top: 0.4rem;
    color: #A1A1A6;
}

.comic-end-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (min-width: 720px) {
    .comic-end { grid-template-columns: 1fr auto; }
}

.comic-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.comic-progress {
    flex: 1;
    min-width: 0;
}

.comic-progress-track {
    height: 4px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--line);
}

.comic-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: var(--blue);
    transition: width 360ms var(--ease-out);
}

.comic-indicator {
    display: block;
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.9375rem;
    text-align: center;
}

.comic-nav-btn[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Icon-only on phones; the label stays available to screen readers. */
@media (max-width: 639px) {
    .comic-nav-btn {
        width: 52px;
        padding: 0;
    }

    .comic-nav-btn .label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

.comic-dialog {
    width: min(100% - 1.5rem, 64rem);
    max-height: calc(100% - 1.5rem);
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    color: var(--ink);
}

.comic-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.comic-dialog img {
    width: 100%;
    height: auto;
    max-height: 68vh;
    object-fit: contain;
    background: var(--surface);
}

.comic-dialog-caption {
    padding: 1.5rem 1.75rem 1.75rem;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.comic-dialog-line {
    display: block;
    margin-top: 0.6rem;
}

.comic-dialog-line b {
    font-weight: 600;
}

.comic-dialog-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Process */
.steps {
    display: grid;
    gap: var(--gap);
}

.steps .step {
    display: flex;
    flex-direction: column;
    padding: var(--pad-card);
}

/* Numbers stay ink on the grey cards (orange on grey is only 2.9:1); the logo colour
   moves to a short bar above each number instead. */
.steps .step::before {
    display: block;
    width: 2.5rem;
    height: 4px;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    background: var(--accent);
    content: "";
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ink);
}

.step.is-featured .step-num { color: var(--accent); }

.step h3 {
    margin-top: 1.5rem;
    font-size: 1.3125rem;
}

.step p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

/* The first step is where most of the time goes, so it is the dark, featured card */
.steps .step.is-featured {
    background: var(--ink);
    color: #FFFFFF;
}

.step.is-featured p { color: #A1A1A6; }

.step-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    margin-top: 1.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: var(--accent);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.step-badge svg.lucide { width: 0.95rem; height: 0.95rem; }

@media (min-width: 720px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
}

/* Split layout: heading column + content column */
.split {
    display: grid;
    gap: 3.5rem;
}

.split-head {
    align-self: start;
}

.split-head.section-head { margin-bottom: 0; }

.split-head .btn { margin-top: 2.5rem; }

@media (min-width: 1024px) {
    .split { grid-template-columns: 0.8fr 1.2fr; gap: 6rem; }
    .split-head { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* Services */
.service-grid {
    display: grid;
    gap: var(--gap);
}

.service-card {
    padding: var(--pad-card);
}

.service-card h3 {
    margin-top: 1.75rem;
    font-size: 1.3125rem;
}

.service-card p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* AI services: one wide white card per package on the dark band */
.packages {
    display: grid;
    gap: var(--gap);
}

.package-card {
    display: grid;
    gap: 2.25rem;
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    color: var(--ink);
}

.package-top {
    display: grid;
    gap: 1.75rem;
}

.package-intro h2 {
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.package-intro p {
    margin-top: 0.75rem;
    max-width: 38rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.package-price {
    align-self: start;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--surface);
}

.package-price-label,
.package-label {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    text-transform: uppercase;
}

.package-price-main {
    margin-top: 0.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 1.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.package-price-sub {
    margin-top: 0.2rem;
    color: var(--ink-2);
    font-size: 0.9375rem;
}

.package-price-list {
    display: grid;
    gap: 0.85rem;
    margin: 1.25rem 0 0;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.9375rem;
    line-height: 1.45;
}

.package-price-list:empty { display: none; }
.package-price-list dt { color: var(--muted); }
.package-price-list dd { margin: 0.1rem 0 0; font-weight: 600; }

.package-price-note {
    display: block;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 400;
}

/* Package sizes (e.g. the agent alone, or bundled with workflows) as equal options */
.tier-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.tier {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.tier-name {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.tier-price {
    margin-top: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

.tier-note {
    margin-top: 0.4rem;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.45;
}

/* Three or four options sit on one row when there is room, and stack on phones */
@media (min-width: 720px) {
    .tier-list { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
}

.package-cols {
    display: grid;
    gap: 2rem;
}

.package-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.package-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--ink-2);
    font-size: 1.0625rem;
    line-height: 1.5;
}

.package-list svg.lucide { width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; stroke-width: 2; }
.package-list .check-mark svg.lucide { width: 0.85rem; height: 0.85rem; margin-top: 0; stroke-width: 3.5; }
.package-list.is-who svg.lucide { color: var(--ink); }

/* Before / after: grey "today" panel, green-tinted "with us" panel */
.before-after {
    display: grid;
    gap: 1rem;
    align-items: stretch;
}

.ba-col {
    padding: 1.5rem;
    border-radius: var(--radius);
}

.ba-col.is-before { background: var(--surface); }
.ba-col.is-before svg.lucide { color: #AEAEB2; }
.ba-col.is-after { background: color-mix(in srgb, var(--green) 14%, #FFFFFF); }
.ba-col.is-after .package-label { color: #3D6B1E; }

.ba-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transform: rotate(90deg);
}

/* Savings: the dark panel inside the white card, so the numbers stand out */
.savings {
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: var(--radius);
    background: var(--ink);
    color: #FFFFFF;
}

.savings .package-label { color: #A1A1A6; }

.savings-stats {
    display: grid;
    gap: 1.5rem;
    margin: 1.25rem 0 0;
}

.savings-stats dt {
    color: #D2D2D7;
    font-size: 0.9375rem;
    font-weight: 600;
}

.savings-stats dd { margin: 0.25rem 0 0; }

.savings-number {
    display: block;
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.4vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.savings-note {
    display: block;
    margin-top: 0.3rem;
    color: #A1A1A6;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.savings-payback {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.45;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-weight: 600;
}

.savings-payback svg.lucide { width: 1.25rem; height: 1.25rem; margin-top: 0.05rem; color: var(--green); }

.savings-math { margin-top: 1rem; }

.savings-math summary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    color: #D2D2D7;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.savings-math summary::-webkit-details-marker { display: none; }
.savings-math summary svg.lucide { width: 1rem; height: 1rem; transition: transform 200ms var(--ease-out); }
.savings-math[open] summary svg.lucide { transform: rotate(180deg); }

.savings-math p {
    color: #A1A1A6;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.packages-foot {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    margin-top: var(--space-head);
}

.packages-basis h3 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.125rem;
}

.packages-basis h3 svg.lucide { width: 1.25rem; height: 1.25rem; color: var(--ink); }

.packages-basis p {
    margin-top: 0.75rem;
    max-width: 46rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.packages-basis .packages-disclaimer { color: var(--ink-2); }

/* Jump links land a package just under the sticky header (html's scroll-padding
   already clears the header; this adds a little breathing room) */
.package-card { scroll-margin-top: 1.5rem; }

@media (min-width: 720px) {
    .package-cols,
    .savings-stats { grid-template-columns: repeat(2, 1fr); }

    .before-after { grid-template-columns: 1fr auto 1fr; }
    .ba-arrow { transform: none; }
}

@media (min-width: 1024px) {
    .package-top { grid-template-columns: 1fr 20rem; gap: 3rem; }
    .packages-foot { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* Hero (home): a WhatsApp-style chat showing the AI assistant at work */
.hero-chat {
    position: relative;
}

.chat-window {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 24px 60px rgba(0, 0, 0, 0.1);
}

.chat-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background: var(--ink);
    color: #FFFFFF;
}

.chat-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: var(--green);
    color: var(--ink);
    flex-shrink: 0;
}

.chat-avatar svg.lucide { width: 1.25rem; height: 1.25rem; }

.chat-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.chat-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #A1A1A6;
    font-size: 0.8125rem;
    line-height: 1.3;
}

.chat-status::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--green);
    content: "";
}

.chat-body {
    display: grid;
    gap: 0.75rem;
    padding: 1.5rem 1.25rem 1.75rem;
}

.chat-msg {
    max-width: 85%;
    padding: 0.7rem 0.95rem 0.5rem;
    border-radius: 16px;
    background: #FFFFFF;
    color: var(--ink);
    font-size: 0.9875rem;
    line-height: 1.45;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.chat-msg.is-in { justify-self: start; border-top-left-radius: 4px; }

.chat-msg.is-out {
    justify-self: end;
    border-top-right-radius: 4px;
    background: color-mix(in srgb, var(--green) 24%, #FFFFFF);
}

.chat-meta {
    display: flex;
    justify-content: flex-end;
    gap: 0.35rem;
    margin-top: 0.2rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.chat-meta svg.lucide { width: 0.95rem; height: 0.95rem; color: var(--blue); stroke-width: 2.2; }

.chat-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    justify-self: end;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
}

.chat-tag svg.lucide { width: 0.95rem; height: 0.95rem; }

/* The savings card overlaps the bottom of the chat; the extra padding keeps the
   last messages clear of it. */
.hero-chat .chat-body { padding-bottom: 4rem; }
.hero-chat .hero-card { margin-top: -2.5rem; }

@media (min-width: 1024px) {
    .hero-chat .chat-body { padding-bottom: 10rem; }

    .hero-chat .hero-card {
        position: absolute;
        bottom: -3.5rem;
        left: -3rem;
        max-width: 21rem;
        margin: 0;
    }
}

/* Trust strip: proof right under the hero, before any selling */
.trust-strip {
    padding-block: clamp(2.75rem, 6vw, 4rem);
    background: var(--surface);
}

.trust-label {
    color: var(--muted);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0;
    text-align: center;
}

.trust-strip .logo-row { margin-top: 1.5rem; }
.trust-strip .logo-tile { min-height: 5.5rem; padding: 1.25rem; }
.trust-strip .logo-tile img { max-height: 2.25rem; }

.trust-facts {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.trust-fact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.35rem;
    border-radius: var(--radius);
    background: #FFFFFF;
}

.trust-fact-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}

.trust-fact-label {
    color: var(--ink-2);
    font-size: 0.9875rem;
    font-weight: 500;
    line-height: 1.4;
}

@media (min-width: 720px) {
    .trust-facts { grid-template-columns: repeat(3, 1fr); }
}

/* Package teasers (home): the three offers side by side, details one click away */
.teaser-grid {
    display: grid;
    gap: var(--gap);
}

.teaser-card {
    display: flex;
    flex-direction: column;
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.teaser-card h3 {
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* The tagline takes up the slack, so savings boxes line up across the row */
.teaser-tagline {
    flex-grow: 1;
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.teaser-saving {
    margin-top: 1.75rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--ink);
    color: #FFFFFF;
}

.teaser-saving-label {
    color: #A1A1A6;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.teaser-saving-number {
    margin-top: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.15;
}

.teaser-saving-note {
    margin-top: 0.3rem;
    color: #A1A1A6;
    font-size: 0.9375rem;
    line-height: 1.45;
}

.teaser-saving-payback {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
}

.teaser-saving-payback svg.lucide { width: 1.1rem; height: 1.1rem; color: var(--green); }

.teaser-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.5rem;
    margin-top: 1.5rem;
}

.teaser-price-label { color: var(--muted); font-size: 0.9375rem; }

.teaser-price-value {
    font-size: 1.1875rem;
    font-weight: 700;
}

.teaser-card .link-arrow {
    margin-top: auto;
    padding-top: 1rem;
}

/* Compact teaser (home software row): labelled time-saved and build-time lines instead of the dark box */
.teaser-time {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.25rem;
    color: var(--ink-2);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
}

.teaser-time svg.lucide { width: 1.1rem; height: 1.1rem; margin-top: 0.1rem; color: var(--ink); }
.teaser-time.is-build { margin-top: 0.5rem; }
.teaser-time-label { color: var(--muted); font-weight: 500; }

.teaser-card.is-compact .teaser-price { margin-top: 1rem; }

/* Two sections on the same background, separated by a hairline */
.section-divided { border-top: 1px solid var(--line); }

.section-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: var(--space-head);
    text-align: center;
}

.section-more p { color: var(--muted); }
.on-dark .section-more p { color: #A1A1A6; }
.on-dark .link-arrow { color: #FFFFFF; }

@media (min-width: 900px) {
    .teaser-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Inner pages: a short heading band with jump links to the sections below */
.page-hero {
    padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem);
    background: #FFFFFF;
}

.page-hero .section-head { max-width: 50rem; margin-bottom: 0; }

.page-title {
    margin-top: 1.5rem;
    font-size: clamp(2.4rem, 5vw, 3.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.25rem;
}

.jump-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.5rem 1.05rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.jump-links a:hover { border-color: var(--ink); background: var(--surface); }
.jump-links svg.lucide { width: 1.05rem; height: 1.05rem; }

/* Services sub-navigation: sticks under the header so every service is one tap away */
:root { --subnav-h: 65px; }

html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 8px); }

.subnav {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.8) blur(20px);
    backdrop-filter: saturate(1.8) blur(20px);
}

@media (prefers-reduced-transparency: reduce) {
    .subnav {
        background: #FFFFFF;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

.subnav-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.5rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
}

.subnav-list::-webkit-scrollbar { display: none; }

.subnav-list.has-more-end {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
}

.subnav-list.has-more-start {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3rem);
    mask-image: linear-gradient(90deg, transparent, #000 3rem);
}

.subnav-list.has-more-start.has-more-end {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
}

.subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), color 180ms var(--ease-out);
}

.subnav-link svg.lucide { width: 1rem; height: 1rem; }
.subnav-link:hover { border-color: var(--ink); color: var(--ink); }

.subnav-link[aria-current="true"] {
    border-color: var(--ink);
    background: var(--ink);
    color: #FFFFFF;
}

.subnav-divider {
    flex: none;
    align-self: stretch;
    width: 1px;
    margin: 0.5rem 0.25rem;
    background: var(--line-strong);
}

@media (forced-colors: active) {
    .subnav-link[aria-current="true"] { outline: 2px solid CanvasText; }
}

/* "Not sure which package fits?" block: a free consultation where we build the bundle */
.bundle-cta {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-top: var(--space-head);
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #FFFFFF;
}

.bundle-cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 600;
}

.bundle-cta-eyebrow svg.lucide { width: 1rem; height: 1rem; color: var(--green); }

.bundle-cta h3 {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.bundle-cta-copy > p {
    max-width: 42rem;
    margin-top: 0.75rem;
    color: #A1A1A6;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.bundle-cta-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin-top: 1.5rem;
}

.bundle-cta-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #D2D2D7;
    font-size: 0.9875rem;
    font-weight: 500;
}

.bundle-cta-points .check-mark { margin-top: 0; }

.bundle-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.bundle-cta-actions .btn svg.lucide { color: var(--red); }
.bundle-cta .link-arrow { color: #FFFFFF; }
.bundle-cta .link-arrow svg.lucide { color: #A1A1A6; }

@media (min-width: 900px) {
    .bundle-cta { grid-template-columns: 1fr auto; gap: 3rem; }
    .bundle-cta-actions { align-items: center; }
}

/* One line at the foot of each package card pointing to the same free consultation */
.package-bundle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 1rem;
}

/* "Prices are estimates" notices: a banner at the top of the services page, a line under each
   price row, and a line in every price box. Each points to the free consultation. */
.estimate-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid color-mix(in srgb, var(--blue) 35%, #FFFFFF);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--blue) 8%, #FFFFFF);
}

.estimate-banner svg.lucide { width: 1.25rem; height: 1.25rem; color: var(--ink); }

.estimate-banner p {
    flex: 1 1 18rem;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
}

.estimate-line {
    margin-top: 1.75rem;
    color: var(--muted);
    font-size: 0.9375rem;
    text-align: center;
}

.on-dark .estimate-line { color: #A1A1A6; }

.price-estimate {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.45;
}

.price-estimate a {
    color: var(--ink);
    font-weight: 600;
    text-underline-offset: 3px;
}

/* First steps (entry offers) */
.offer-grid {
    display: grid;
    gap: var(--gap);
}

.offer-card {
    display: flex;
    flex-direction: column;
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
}

.offer-card h3 {
    margin-top: 1.25rem;
    font-size: 1.25rem;
}

.offer-summary {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.55;
}

.offer-card.is-compact .offer-summary { flex-grow: 1; }
.offer-card .package-list { flex-grow: 1; align-content: start; margin-top: 1.25rem; }
.offer-card .package-list li { font-size: 0.9875rem; }

.offer-price {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--line);
}

.offer-price-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.offer-price-note {
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.offer-card .link-arrow { margin-top: 0.5rem; }

@media (min-width: 900px) {
    .offer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Partner plans */
.plan-grid {
    display: grid;
    gap: calc(var(--gap) + 0.75rem) var(--gap);   /* room for the featured badge when stacked */
}

.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
    color: var(--ink);
}

.plan-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.plan-head h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.plan-hours {
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 600;
}

.plan-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 1.5rem;
}

.plan-price-value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
}

.plan-price-per { color: var(--muted); font-weight: 600; }

.plan-card.is-featured { box-shadow: 0 0 0 3px var(--orange); }

/* Sits on the card's top edge, so the featured card's content lines up with the others. */
.plan-badge {
    position: absolute;
    top: 0;
    left: var(--pad-card);
    transform: translateY(-50%);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--orange);
    color: #FFFFFF;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.plan-summary {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.55;
}

.plan-card .package-list { margin-top: 1.25rem; }

.plan-actions {
    margin-top: auto;
    padding-top: 1.75rem;
}

.plan-card .link-arrow { color: var(--ink); }

.plan-rules {
    margin-top: var(--space-head);
}

.plan-rules h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.plan-rules ul {
    display: grid;
    gap: 0.85rem 2.5rem;
    margin-top: 1.25rem;
}

.plan-rules li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #D2D2D7;
    line-height: 1.55;
}

@media (min-width: 900px) {
    .plan-rules ul { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .plan-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (forced-colors: active) {
    .plan-card,
    .offer-card,
    .estimate-banner { border: 1px solid CanvasText; }
}

/* Guide pages: one readable column of sections, tables, a call to action and a related link */
.guide-meta {
    margin-top: 1.25rem;
    color: var(--muted);
    font-size: 0.9375rem;
}

.guide-article {
    max-width: 46rem;
}

.guide-section + .guide-section {
    margin-top: 3.25rem;
}

.guide-section h2,
.guide-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 1.875rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.guide-section p,
.guide-cta p {
    margin-top: 1rem;
    color: var(--ink-2);
    line-height: 1.7;
}

.guide-list,
.guide-steps {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
    padding-left: 1.4rem;
    color: var(--ink-2);
    line-height: 1.65;
}

.guide-list { list-style: disc; }
.guide-steps { list-style: decimal; }
.guide-list li::marker,
.guide-steps li::marker { color: var(--accent); font-weight: 700; }
.guide-list strong,
.guide-steps strong { color: var(--ink); }

.guide-table-wrap {
    margin-top: 1.5rem;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.guide-table {
    width: 100%;
    min-width: 34rem;
    border-collapse: collapse;
    font-size: 0.9875rem;
    line-height: 1.5;
}

.guide-table th,
.guide-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.guide-table thead th {
    background: var(--surface);
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 700;
}

.guide-table tbody th { color: var(--ink); font-weight: 600; }
.guide-table td { color: var(--ink-2); }
.guide-table tbody tr:last-child > * { border-bottom: 0; }

.guide-note {
    font-size: 0.9375rem;
    color: var(--muted) !important;
}

.guide-cta {
    margin-top: 3.5rem;
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.guide-cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.5rem;
}

.guide-related {
    margin-top: 2rem;
    color: var(--muted);
}

.guide-related a,
.faq-item p a {
    color: var(--ink);
    font-weight: 600;
    text-underline-offset: 3px;
}

/* Partner plans: long-term contract banner under the plan cards (light on the dark section) */
.plan-term {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: var(--gap);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    background: color-mix(in srgb, var(--orange) 10%, #FFFFFF);
    color: var(--ink);
}

.plan-term svg.lucide { width: 1.75rem; height: 1.75rem; color: var(--orange); flex: none; }
.plan-term-text { flex: 1 1 20rem; }
.plan-term-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.plan-term-text p + p { margin-top: 0.25rem; color: var(--ink-2); line-height: 1.55; }

@media (forced-colors: active) {
    .plan-term { border: 1px solid CanvasText; }
}

/* Package previews: an illustration of the service next to three "how it works" steps */
.package-preview {
    display: grid;
    gap: 1.75rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.preview-figure { margin: 0; min-width: 0; }
.preview-figure figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.8125rem; text-align: center; }
.preview-mock { font-size: 0.875rem; line-height: 1.45; color: var(--ink); }
.preview-mock svg.lucide { width: 1em; height: 1em; flex: none; }

.preview-steps ol { display: grid; gap: 1rem; margin-top: 1rem; }
.preview-steps li { display: flex; gap: 0.85rem; color: var(--ink-2); line-height: 1.55; }
.preview-step-number {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 1.75rem; height: 1.75rem; border-radius: 999px;
    background: var(--ink); color: #FFFFFF; font-size: 0.875rem; font-weight: 700;
}

@media (max-width: 639px) {
    .package-preview { margin-inline: calc(var(--pad-card) * -0.6); padding: 0.85rem; }
    .preview-mock { font-size: 0.8125rem; }
    .dash-main, .store-body, .app { padding: 0.75rem; }
    .dash-kpi-value { font-size: 0.875rem; }
}

@media (min-width: 1024px) {
    .package-preview { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2.5rem; padding: 2rem; }
}

/* Home page cards: the top of the preview, fading out (full version on the services page) */
.teaser-preview {
    position: relative;
    max-height: 15.5rem;
    margin-top: 1.25rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
    mask-image: linear-gradient(to bottom, #000 70%, transparent);
    pointer-events: none;
}
.teaser-preview .preview-mock { font-size: 0.8125rem; }
.teaser-preview .dash-side { display: none; }
.teaser-preview .dash { grid-template-columns: 1fr; }
.teaser-preview .store-body { grid-template-columns: 1fr; }
.teaser-preview .flow { grid-template-columns: 1fr; gap: 1.4rem; }
.teaser-preview .flow-node + .flow-node::before { left: 50%; top: -1.2rem; transform: translateX(-50%); content: "↓"; }
.teaser-preview .flow-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.teaser-preview .chat-window, .teaser-preview .mock-browser, .teaser-preview .doc { box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }
.teaser-preview .chat-head { padding: 0.6rem 0.85rem; gap: 0.6rem; }
.teaser-preview .chat-avatar { width: 2rem; height: 2rem; }
.teaser-preview .chat-name { font-size: 0.875rem; }
.teaser-preview .chat-status { display: none; }
.teaser-preview .chat-body { padding: 0.85rem 0.75rem; }
.teaser-preview .chat-msg { font-size: 0.8125rem; max-width: 92%; }
.teaser-preview .chat-photo { height: 2.75rem; }
.teaser-preview .store-head, .teaser-preview .store-body, .teaser-preview .dash-main, .teaser-preview .app { padding: 0.75rem; }
.teaser-preview .store-nav { display: none; }
.teaser-preview .store-grid { gap: 0.45rem; }
.teaser-preview .store-img { aspect-ratio: 4 / 3; }
.teaser-preview .store-grid .mock-btn { display: none; }
.teaser-preview .dash-kpis li { padding: 0.5rem 0.6rem; }
.teaser-preview .dash-kpi-value { font-size: 0.8125rem; }
.teaser-preview .mock-bar { padding: 0.45rem 0.7rem; }

/* Brand website preview: the client's own colours, with a mascot guide */
.brand { --brand: #0E7C66; --brand-soft: #E3F4EF; }
.brand-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.brand-logo { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--brand); font-family: var(--font-display); font-weight: 700; }
.brand-nav { display: inline-flex; flex: 1; gap: 0.85rem; color: var(--muted); font-size: 0.8125rem; }
.brand-lang { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.brand-hero { display: grid; gap: 1rem; align-items: end; padding: 1.25rem 1rem; background: var(--brand-soft); }
.brand-eyebrow { color: var(--brand); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.brand-title { margin: 0.35rem 0 0.85rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.mock-btn.is-brand { border-color: var(--brand); background: var(--brand); color: #FFFFFF; }
.brand-mascot { display: grid; justify-items: end; gap: 0.4rem; }
.brand-bubble { max-width: 12rem; padding: 0.5rem 0.7rem; border-radius: 12px 12px 4px 12px; background: #FFFFFF; font-size: 0.8125rem; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.brand-mascot-face { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 999px; background: var(--brand); color: #FFFFFF; }
.brand-mascot-face svg.lucide { width: 1.6rem !important; height: 1.6rem !important; }
.brand-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.85rem 1rem; }
.brand-tags li { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 0.75rem; font-weight: 600; }
.teaser-preview .brand-nav { display: none; }

@media (min-width: 640px) {
    .brand-hero { grid-template-columns: minmax(0, 1fr) auto; }
}

/* Home page software row: four builds as a 2 × 2 grid */
@media (min-width: 900px) {
    .teaser-grid.is-four { grid-template-columns: repeat(2, 1fr); }
}

/* Shared mock pieces */
.mock-browser {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.08);
}

.mock-bar { display: flex; align-items: center; gap: 0.75rem; padding: 0.55rem 0.85rem; border-bottom: 1px solid var(--line); background: #FAFAFA; }
.mock-dots { display: inline-flex; gap: 0.3rem; }
.mock-dots i { width: 0.55rem; height: 0.55rem; border-radius: 999px; background: #D2D2D7; }
.mock-url { display: inline-flex; align-items: center; gap: 0.35rem; flex: 1; padding: 0.2rem 0.65rem; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--line); color: var(--muted); font-size: 0.75rem; }

.mock-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.35rem 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px;
    background: #FFFFFF; color: var(--ink); font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.mock-btn.is-primary { border-color: var(--ink); background: var(--ink); color: #FFFFFF; }
.mock-btn.is-small { padding: 0.2rem 0.6rem; font-size: 0.75rem; }
.mock-btn.is-block { display: flex; margin-top: 0.75rem; }

/* Agent: the WhatsApp chat reuses the hero chat styles */
.preview-mock .chat-body { gap: 0.6rem; padding: 1.1rem 1rem 1.25rem; }
.preview-mock .chat-msg { font-size: 0.875rem; }
.chat-photo {
    display: flex; align-items: center; justify-content: center;
    height: 4.5rem; margin-bottom: 0.45rem; border-radius: 10px;
    background: color-mix(in srgb, var(--ink) 8%, #FFFFFF); color: var(--muted);
}
.chat-photo svg.lucide { width: 1.75rem !important; height: 1.75rem !important; }

/* Workflow: three steps joined by arrows */
.flow { display: grid; gap: 1.4rem; }
.flow-node {
    position: relative; padding: 0.9rem 1rem; border: 1px solid var(--line);
    border-radius: var(--radius); background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.flow-node + .flow-node::before {
    position: absolute; left: 50%; top: -1.2rem; transform: translateX(-50%);
    color: var(--muted); font-size: 1rem; content: "↓";
}
.flow-node.is-final { border-color: color-mix(in srgb, var(--green) 55%, #FFFFFF); }
.flow-step { display: flex; align-items: center; gap: 0.4rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.flow-title { margin-top: 0.4rem; font-weight: 600; }
.flow-sub { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.25rem; color: var(--muted); font-size: 0.8125rem; }
.flow-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; margin-top: 0.55rem; }
.flow-fields dt { color: var(--muted); font-size: 0.75rem; }
.flow-fields dd { margin: 0; font-weight: 600; }
.flow-status { margin-top: 0.45rem; color: #3D6B1E; font-weight: 600; }
.flow-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }

@media (min-width: 640px) {
    .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
    .flow-node + .flow-node::before { left: -1.15rem; top: 50%; transform: translateY(-50%); content: "→"; }
    .flow-fields { grid-template-columns: 1fr; }
}

/* Training: the team's AI playbook */
.doc {
    padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: #FFFFFF; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 40px rgba(0, 0, 0, 0.08);
}
.doc-head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.doc-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: color-mix(in srgb, var(--orange) 14%, #FFFFFF); color: var(--orange); }
.doc-icon svg.lucide { width: 1.25rem; height: 1.25rem; }
.doc-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.doc-sub { color: var(--muted); font-size: 0.8125rem; }
.doc-list { display: grid; gap: 0.4rem; margin-top: 0.9rem; padding-left: 1.2rem; list-style: decimal; }
.doc-list li::marker { color: var(--orange); font-weight: 700; }
.doc-prompt { margin-top: 0.9rem; padding: 0.75rem 0.9rem; border-left: 3px solid var(--orange); border-radius: 6px; background: var(--surface); }
.doc-prompt-label { display: flex; align-items: center; gap: 0.35rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.doc-prompt p + p { margin-top: 0.3rem; font-style: italic; }
.doc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.9rem; }
.doc-chips span { padding: 0.15rem 0.6rem; border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 0.75rem; font-weight: 600; }

/* Online store */
.store-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); }
.store-name { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 700; }
.store-nav { display: inline-flex; gap: 0.85rem; color: var(--muted); font-size: 0.8125rem; }
.store-body { display: grid; gap: 1rem; padding: 1rem; }
.store-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.store-grid li { display: grid; gap: 0.25rem; justify-items: start; }
.store-img { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; border-radius: 10px; color: var(--ink); }
.store-img svg.lucide { width: 1.75rem !important; height: 1.75rem !important; }
.store-img.is-0 { background: color-mix(in srgb, var(--blue) 16%, #FFFFFF); }
.store-img.is-1 { background: color-mix(in srgb, var(--orange) 16%, #FFFFFF); }
.store-img.is-2 { background: color-mix(in srgb, var(--green) 20%, #FFFFFF); }
.store-product { font-weight: 600; font-size: 0.8125rem; }
.store-price { color: var(--ink-2); font-size: 0.8125rem; }
.store-cart { padding: 0.85rem; border: 1px solid var(--line); border-radius: 10px; }
.store-cart-title { display: flex; align-items: center; gap: 0.4rem; font-weight: 700; }
.store-cart dl { display: grid; gap: 0.3rem; margin-top: 0.6rem; font-size: 0.8125rem; }
.store-cart dl div { display: flex; justify-content: space-between; gap: 0.5rem; }
.store-cart dt { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--muted); }
.store-cart dd { margin: 0; font-weight: 600; }
.store-cart .is-shipping dt, .store-cart .is-shipping dd { color: #3D6B1E; }
.store-cart .is-total { padding-top: 0.35rem; border-top: 1px solid var(--line); font-size: 0.875rem; }
.store-cart .is-total dt { color: var(--ink); font-weight: 700; }

@media (min-width: 640px) {
    .store-body { grid-template-columns: minmax(0, 1fr) 11rem; align-items: start; }
}

/* Business OS dashboard */
.dash { display: grid; }
.dash-side { display: none; }
.dash-main { padding: 1rem; min-width: 0; }
.dash-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
.dash-kpis li { display: grid; gap: 0.15rem; padding: 0.65rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; }
.dash-kpi-label { color: var(--muted); font-size: 0.75rem; }
.dash-kpi-value { font-weight: 700; font-size: 0.9375rem; overflow-wrap: break-word; }
.dash-kpis .is-stock .dash-kpi-value, .dash-kpis .is-due .dash-kpi-value { color: #B4461F; }
.dash-panel-title { display: flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-weight: 700; }
.dash-drafts { display: grid; gap: 0.45rem; margin-top: 0.55rem; }
.dash-drafts li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; padding: 0.55rem 0.7rem; border-radius: 8px; background: var(--surface); font-size: 0.8125rem; }
.dash-drafts li > span:first-child { flex: 1 1 10rem; }
.dash-draft-amount { font-weight: 600; }

@media (min-width: 640px) {
    .dash { grid-template-columns: 10rem minmax(0, 1fr); }
    .dash-side { display: grid; align-content: start; gap: 0.2rem; padding: 0.85rem 0.6rem; border-right: 1px solid var(--line); background: #FAFAFA; font-size: 0.8125rem; }
    .dash-side li { display: flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.55rem; border-radius: 6px; color: var(--ink-2); }
    .dash-side li.is-active { background: #FFFFFF; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
}

/* Custom web app: purchase requests with statuses and a change log */
.app { padding: 1rem; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.app-title { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.app-user { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--surface); font-size: 0.75rem; font-weight: 600; }
.app-rows { display: grid; margin-top: 0.75rem; border: 1px solid var(--line); border-radius: 10px; }
.app-rows li { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; padding: 0.6rem 0.75rem; font-size: 0.8125rem; }
.app-rows li + li { border-top: 1px solid var(--line); }
.app-id { color: var(--muted); font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.75rem; }
.app-item { display: grid; flex: 1 1 8rem; font-weight: 600; }
.app-team { color: var(--muted); font-size: 0.75rem; font-weight: 500; }
.app-status { padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.app-status.is-pending { background: color-mix(in srgb, var(--orange) 16%, #FFFFFF); color: #9A3A1B; }
.app-status.is-approved { background: color-mix(in srgb, var(--green) 20%, #FFFFFF); color: #3D6B1E; }
.app-status.is-sent { background: color-mix(in srgb, var(--blue) 14%, #FFFFFF); color: #135F8C; }
.app-log-title { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.9rem; color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.app-log { display: grid; gap: 0.3rem; margin-top: 0.4rem; color: var(--ink-2); font-size: 0.8125rem; }

/* Contact: accepted payments (Indonesian visitors) */
.contact-payment {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-payment-title { color: #FFFFFF; font-weight: 600; }
.contact-payment-logo { display: inline-flex; margin-top: 0.75rem; }
.contact-payment-logo img { width: 7.5rem; height: auto; }
.contact-payment-text { margin-top: 0.6rem; color: #A1A1A6; font-size: 0.9375rem; line-height: 1.55; }

/* Content for one market only (html[data-market] is set by siteConfig.setMarket) */
html:not([data-market="intl"]) [data-market-only="intl"],
html:not([data-market="id"]) [data-market-only="id"] { display: none; }

/* Working with us from abroad (international visitors) */
.international-grid {
    display: grid;
    gap: var(--gap);
}

.international-point {
    padding: var(--pad-card);
    color: var(--ink);
}

.international-point h3 {
    margin-top: 1.25rem;
    font-size: 1.1875rem;
}

.international-point p {
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (min-width: 720px) {
    .international-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .international-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Zero-risk trial banner: closes the trust story and points to the full proof */
.trial-banner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-top: var(--space-head);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.trial-banner-copy {
    display: flex;
    gap: 1rem;
}

.trial-banner h3 {
    font-family: var(--font-display);
    font-size: clamp(1.375rem, 2.6vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.trial-banner p {
    margin-top: 0.5rem;
    color: var(--muted);
}

.trial-banner .check-mark { width: 1.75rem; height: 1.75rem; margin-top: 0.15rem; }

@media (min-width: 900px) {
    .trial-banner { grid-template-columns: 1fr auto; gap: 3rem; }
}

/* Why choose us */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    padding: 0.45rem 1rem 0.45rem 0.45rem;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
}

.why-grid {
    display: grid;
    gap: 3.5rem;
}

.why-copy {
    display: grid;
    align-content: start;
    gap: 1.75rem;
    color: var(--muted);
    font-size: 1.1875rem;
    line-height: 1.7;
}

.trial-callout {
    display: flex;
    gap: 1rem;
    padding: var(--pad-card);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.65;
}

.trial-callout .check-mark { margin-top: 0.2rem; }

.why-side {
    display: grid;
    gap: var(--gap);
    align-content: start;
}

.pricing-box {
    padding: var(--pad-card);
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #FFFFFF;
}

.pricing-box h3 {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.pricing-list {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: #D2D2D7;
    line-height: 1.6;
}

.pricing-list svg.lucide { width: 1.3rem; height: 1.3rem; margin-top: 0.1rem; color: var(--accent); }

.pricing-tagline {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    font-weight: 600;
}

.confidence {
    padding: var(--pad-card);
}

.confidence h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.35;
}

.confidence ul {
    display: grid;
    gap: 1.1rem;
    margin-top: 1.75rem;
}

.confidence li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--ink-2);
    line-height: 1.55;
}

@media (min-width: 1024px) {
    .why-grid { grid-template-columns: 1.1fr 0.9fr; gap: 6rem; }
}

/* Projects */
.project-grid {
    display: grid;
    gap: var(--gap);
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out);
}

.project-shot {
    aspect-ratio: 36 / 25;
    overflow: hidden;
    background: var(--line);
}

.project-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease-out);
}

.project-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--pad-card);
}

.chip {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--ink);
    font-size: 0.8125rem;
    font-weight: 600;
}

.project-body h3 {
    margin-top: 1.25rem;
    font-size: 1.4375rem;
}

.project-body p {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.6;
}

.project-body .tech-label {
    margin-top: 1.75rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.65rem;
}

.tech-list li {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 0.875rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.75rem;
    margin-top: auto;
    padding-top: 1.75rem;
}

@media (min-width: 720px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
    .project-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Testimonials */
.testimonial-track {
    display: flex;
    gap: var(--gap);
    padding-bottom: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial {
    display: flex;
    flex-direction: column;
    flex: 0 0 min(86%, 26rem);
    padding: var(--pad-card);
    scroll-snap-align: start;
}

.testimonial-mark svg.lucide { width: 2rem; height: 2rem; fill: var(--accent); stroke: none; }

.testimonial-quote-wrap {
    position: relative;
    margin-top: 1rem;
}

.testimonial-quote {
    max-height: 15rem;
    overflow: hidden;
    color: var(--ink-2);
    font-size: 1.0625rem;
    line-height: 1.75;
    transition: max-height 300ms var(--ease-out);
}

.testimonial-fade {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3rem;
    background: linear-gradient(to top, var(--surface), rgba(245, 245, 247, 0));
    pointer-events: none;
    transition: opacity 300ms var(--ease-out);
}

.testimonial-toggle {
    align-self: flex-start;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-strong);
}

.testimonial-person img {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    object-fit: cover;
}

.testimonial-person h3 {
    font-size: 1.0625rem;
}

.testimonial-person p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.4;
}

.carousel-controls {
    display: flex;
    gap: 0.75rem;
}

.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 999px;
    background: var(--surface);
    color: var(--ink);
    transition: background-color 160ms ease-out, transform 100ms ease-out;
}

.icon-btn:hover { background: var(--line); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn[disabled] { opacity: 0.35; cursor: not-allowed; }
.icon-btn svg.lucide { width: 1.3rem; height: 1.3rem; }

.section-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: var(--space-head);
}

.section-head-row .section-head { margin-bottom: 0; }

/* Worked with */
.logo-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: #FFFFFF;
}

.logo-tile img {
    max-height: 2.75rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: filter 240ms ease-out, opacity 240ms ease-out;
}

.logo-tile:hover img {
    filter: none;
    opacity: 1;
}

@media (min-width: 640px) {
    .logo-row { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .logo-row { grid-template-columns: repeat(5, 1fr); }
}

/* About + values */
.about-grid {
    display: grid;
    gap: 4.5rem;
}

.about-grid .section-head { margin-bottom: 0; }

.about-copy {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    color: var(--muted);
    font-size: 1.1875rem;
    line-height: 1.7;
}

.values-title {
    margin-top: 1.5rem;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

.value-grid {
    display: grid;
    gap: var(--gap);
    margin-top: 2.25rem;
}

.value-card {
    padding: var(--pad-card);
}

.value-card-head {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.value-card .icon-tile { width: 2.75rem; height: 2.75rem; border-radius: 12px; }
.value-card .icon-tile svg.lucide { width: 1.35rem; height: 1.35rem; }

.value-card h4 {
    font-size: 1.125rem;
}

.value-card p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

@media (min-width: 640px) {
    .value-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 6rem; }
}

/* FAQ */
.faq-list {
    padding: 0.5rem clamp(1.5rem, 3.5vw, 2.5rem);
    border-radius: var(--radius-lg);
    background: #FFFFFF;
}

.faq-item + .faq-item {
    border-top: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 76px;
    padding: 1.4rem 0;
    font-size: 1.1875rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary svg.lucide {
    width: 1.35rem;
    height: 1.35rem;
    padding: 0.2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #FFFFFF;
    stroke-width: 2.6;
    box-sizing: content-box;
    transition: transform 260ms var(--ease-out);
}

.faq-item[open] summary svg.lucide { transform: rotate(45deg); }

.faq-item p {
    max-width: 42rem;
    padding: 0 0 1.75rem;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 4rem;
}

.contact .section-head { margin-bottom: 0; }

.contact .section-title {
    color: #FFFFFF;
    font-size: clamp(2.3rem, 5vw, 3.5rem);
}

.contact-methods-title {
    margin-top: 3rem;
    color: #FFFFFF;
    font-size: 1.0625rem;
    font-weight: 600;
}

.contact-methods {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    min-height: 80px;
    padding: 1rem 1.35rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.07);
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 200ms ease-out, transform 100ms ease-out;
}

a.contact-method:hover { background: rgba(255, 255, 255, 0.12); }
a.contact-method:active { transform: scale(0.98); }

.contact-method .icon-tile {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--accent);
    color: var(--ink);
}

.contact-method .icon-tile svg.lucide { width: 1.3rem; height: 1.3rem; }

.contact-method-label {
    display: block;
    color: #A1A1A6;
    font-size: 0.875rem;
    line-height: 1.3;
}

.contact-method-value {
    display: block;
    font-weight: 600;
    line-height: 1.4;
}

.contact-method > span:nth-child(2) { min-width: 0; }

.contact-method-arrow {
    margin-left: auto;
    color: #A1A1A6;
}

.contact-method-arrow svg.lucide { width: 1.2rem; height: 1.2rem; }

.calendar-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
    font-weight: 600;
}

.calendar-label svg.lucide { color: var(--accent); }

.contact-frame {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #FFFFFF;
}

.contact-frame iframe {
    width: 100%;
    height: 660px;
    border: 0;
}

/* On phones Google stacks the calendar above the time slots; give it room so
   visitors don't have to scroll inside the frame. */
@media (max-width: 640px) {
    .contact-frame iframe { height: 1040px; }
}

@media (min-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 5rem; }
    .contact-frame iframe { height: 740px; }
}

/* Footer */
.site-footer {
    padding-block: 3.5rem;
    background: var(--black);
    color: #A1A1A6;
}

.footer-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
}

.footer-brand img {
    width: auto;
    height: 1.6rem;
}

.footer-tagline {
    margin-top: 0.85rem;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 500;
}

.footer-copy {
    font-size: 0.875rem;
}

@media (min-width: 720px) {
    .footer-bar {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Mascot: cut-outs of Exo, the Expertition360 character. In sections it talks from a
   speech bubble (.exo-say); a few fixed spots (hero, footer) show it on its own. */
.mascot {
    display: block;
    width: auto;
    pointer-events: none;
    user-select: none;
}

/* Hero: waves from behind the top of the chat window */
.mascot-hero {
    position: absolute;
    top: -3.5rem;
    right: 1.5rem;
    height: 6.5rem;
}

@media (min-width: 1024px) {
    .mascot-hero {
        top: -5.25rem;
        right: 2rem;
        height: 9rem;
    }
}

.hero-chat .chat-window {
    position: relative;
    z-index: 1;
}

.hero-chat .hero-card { z-index: 2; }

.mascot-footer { height: 5rem; }

/* Hero chat: the mascot answers as "Agen Ops", so its head replaces the generic bot icon */
.chat-avatar.is-mascot {
    width: 2.75rem;
    height: 2.75rem;
    background: none;
}

.chat-avatar.is-mascot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* The navy outline disappears on dark bands; a white sticker edge brings it back */
.on-dark .mascot,
.site-footer .mascot {
    filter: drop-shadow(1.5px 0 0 #FFFFFF) drop-shadow(-1.5px 0 0 #FFFFFF)
        drop-shadow(0 1.5px 0 #FFFFFF) drop-shadow(0 -1.5px 0 #FFFFFF);
}


/* Exo introduces itself: portrait beside a short explanation of what it does */
.exo-intro { padding-block: clamp(3rem, 6vw, 5rem); }

.exo-intro .container {
    display: grid;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

@media (min-width: 860px) {
    .exo-intro .container { grid-template-columns: 15rem 1fr; }
}

.exo-portrait {
    position: relative;
    display: grid;
    justify-items: center;
    justify-self: center;
    width: min(100%, 17rem);
}

.exo-portrait::before {
    position: absolute;
    inset: 10% 4% 6%;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 12%, #FFFFFF);
    content: "";
}

.exo-portrait img {
    position: relative;
    height: 14rem;
    width: auto;
}

.exo-badge {
    position: relative;
    margin-top: -0.4rem;
    padding: 0.3rem 0.95rem;
    border-radius: 999px;
    background: var(--ink);
    color: #FFFFFF;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
}

.exo-copy { margin-bottom: 0; }

.exo-points {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.exo-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--ink-2);
}

.exo-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

.exo-hint {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Exo's speech bubble in each section: the pose beside one line about the section */
.exo-say {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 36rem;
    margin-top: 1.75rem;
    text-align: left;
}

.section-head.center .exo-say,
.trust-strip .exo-say { margin-inline: auto; }

.container > .exo-say:first-child { margin: 0 0 2.5rem; }

.exo-say-pose {
    width: auto;
    height: 6.5rem;
    flex-shrink: 0;
}

.exo-say-bubble {
    position: relative;
    min-width: 0;
    padding: 0.9rem 1.15rem 1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 10px 28px rgba(0, 0, 0, 0.07);
    color: var(--ink);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* The tail points back at Exo */
.exo-say-bubble::before {
    position: absolute;
    top: 50%;
    left: -7px;
    width: 13px;
    height: 13px;
    margin-top: -6.5px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
    background: #FFFFFF;
    transform: rotate(45deg);
    content: "";
}

.exo-say-name {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--muted);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Dark bands: the bubble keeps its white paper so it reads as Exo talking */
.on-dark .exo-say-bubble { border-color: transparent; }

@media (max-width: 640px) {
    .exo-say { gap: 0.75rem; }
    .exo-say-pose { height: 5rem; }
    .exo-say-bubble { font-size: 0.9rem; }
    .exo-portrait img { height: 10.5rem; }
    .exo-portrait::before { inset: 4% 8% 10%; }
}

/* Grid columns may shrink below their content's widest word; without this a long
   email address pushed the page wider than a 320px screen. */
.hero-grid > *,
.split > *,
.why-grid > *,
.about-grid > *,
.contact-grid > * {
    min-width: 0;
}

.contact-method-value { overflow-wrap: anywhere; }

/* iOS Safari zooms the page when a control under 16px gets focus */
@media (max-width: 1099px) {
    .lang-select { font-size: 1rem; }
}

/* The skip link moves focus to <main>; it needs no visible ring of its own */
main:focus { outline: none; }

/* Comic tabs that run off-screen fade at the edge, hinting they scroll */
.comic-tabs.has-more-end {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 3rem), transparent);
}

.comic-tabs.has-more-start {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3rem);
    mask-image: linear-gradient(90deg, transparent, #000 3rem);
}

.comic-tabs.has-more-start.has-more-end {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3rem, #000 calc(100% - 3rem), transparent);
}

/* Higher contrast when the visitor asks for it */
@media (prefers-contrast: more) {
    :root {
        --muted: #3A3A3C;
        --line: #8E8E93;
        --line-strong: #636366;
    }

    .card,
    .faq-list,
    .comic-book { outline: 1px solid var(--ink); }

    .on-dark .section-lead,
    .problems-cta p,
    .promise-step p,
    .pricing-list li,
    .savings-note,
    .savings-math p,
    .contact-method-label { color: #FFFFFF; }

    .teaser-card,
    .package-card { outline: 1px solid var(--ink); }
}

/* Windows high-contrast mode: keep shapes that rely on background colour visible */
@media (forced-colors: active) {
    .check-mark,
    .icon-tile,
    .step-badge,
    .faq-item summary svg.lucide,
    .comic-tab,
    .package-price,
    .ba-col,
    .savings,
    .bundle-cta,
    .btn { border: 1px solid CanvasText; }

    .section-head::before,
    .accent-bar::before,
    .steps .step::before { background: CanvasText; }
}

/* Hover lift only where hovering exists */
@media (hover: hover) and (pointer: fine) {
    .problem-card:hover,
    .teaser-card:hover,
    .project-card:hover {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 22px 48px rgba(0, 0, 0, 0.09);
        transform: translateY(-4px);
    }

    .project-card:hover .project-shot img {
        transform: scale(1.03);
    }
}

/* Scroll reveal */
html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 600ms ease-out, transform 700ms var(--ease-out);
}

html.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    html.js .reveal,
    html.js .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}

