/* Tixster.Ai — homepage (websites & landing pages, index.html)
   Plain CSS (no Tailwind compiler), so the page paints styled at once and works without JavaScript.
   Shared brand pieces (.text-highlight, body font) come from style.css. */

:root {
    --red: #FE0000;
    /* display text 24px+ bold, fills, strokes */
    --red-ink: #CC0000;
    /* small red text and tags (5.9:1 on white) */
    --ink: #0a0a0a;
    --paper: #ffffff;
    --canvas: #F5F5F5;
    --dot: #D4D4D4;
    --line: #E5E5E5;
    --muted: #525252;
    --muted-dark: #A3A3A3;
    --pad: max(1.5rem, env(safe-area-inset-left), env(safe-area-inset-right));
    --nav-h: 80px;
    --zz: 14px;
    --ease-settle: cubic-bezier(.22, 1, .36, 1);
    --ease-snap: cubic-bezier(.2, 1.3, .3, 1);
}

@media (min-width: 768px) {
    :root {
        --nav-h: 96px;
    }
}

@media (max-width: 400px) {
    :root {
        --pad: max(1.25rem, env(safe-area-inset-left), env(safe-area-inset-right));
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body.ws {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

/* The reset sits inside :where() so it has zero specificity and never beats a component rule. */
:where(.ws) :where(h1, h2, h3, p, figure, ol, ul, dl, dd, fieldset, table, blockquote) {
    margin: 0;
}

:where(.ws) :where(ol, ul) {
    padding: 0;
    list-style: none;
}

:where(.ws) :where(fieldset) {
    border: 0;
    padding: 0;
    min-width: 0;
}

:where(.ws) :where(legend) {
    padding: 0;
}

:where(.ws) :where(img, svg) {
    display: block;
    max-width: 100%;
}

:where(.ws) :where(button, input, textarea) {
    font: inherit;
    color: inherit;
}

:where(.ws) :where(button) {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:where(.ws) :where(a) {
    color: inherit;
}

.ws :focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 3px;
}

.on-dark :focus-visible,
.band :focus-visible,
.quote__card :focus-visible,
.wa-bar :focus-visible {
    outline-color: #fff;
}

.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 {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 100;
    padding: .75rem 1rem;
    border-radius: .75rem;
    background: var(--ink);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.skip:focus {
    top: 1rem;
}

.skip--inline:not(:focus) {
    top: auto;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip--inline:focus {
    position: relative;
    top: 0;
    left: 0;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.wrap {
    width: 100%;
    max-width: 80rem;
    margin-inline: auto;
    padding-inline: var(--pad);
}

.wrap--narrow {
    max-width: 50rem;
}

/* ---------- Buttons, links, small parts ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 48px;
    padding: .75rem 1.5rem;
    border-radius: 1rem;
    font-weight: 800;
    font-size: .9375rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-wrap: balance;
}

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

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

.band .btn--primary:hover,
.quote__card .btn--primary:hover,
.wa-bar .btn--primary:hover {
    background: #fff;
    color: var(--ink);
}

.btn--xl {
    min-height: 64px;
    padding: 1rem 2rem;
    border-radius: 1.25rem;
    font-size: 1.0625rem;
}

.btn--ghost {
    background: #fff;
    border: 1.5px solid #d4d4d4;
    color: var(--ink);
}

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

.btn--dark {
    background: var(--ink);
    color: #fff;
}

.btn--dark:hover {
    background: var(--red);
    color: var(--ink);
}

.btn--pill {
    min-height: 44px;
    padding: .625rem 1.25rem;
    border-radius: 999px;
    background: var(--red);
    color: var(--ink);
    font-size: .875rem;
}

.btn--pill:hover {
    background: var(--ink);
    color: #fff;
}

.link {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--red);
    text-underline-offset: 5px;
}

.link:hover {
    text-decoration-color: currentColor;
}

.link--light {
    color: #fff;
}

.micro {
    font-size: .8125rem;
    color: var(--muted);
}

.micro--light {
    color: var(--muted-dark);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .375rem .875rem;
    border: 1px solid var(--red);
    border-radius: 999px;
    background: rgba(254, 0, 0, .1);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}

.pill__dot {
    flex: none;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--red);
}

.tag {
    display: inline-block;
    padding: .125rem .5rem;
    border-radius: 999px;
    background: var(--red);
    color: var(--ink);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: 0;
    vertical-align: middle;
}

/* ---------- Nav (matches the Figma tutoring page) ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--nav-h);
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(10, 10, 10, .06);
}

.nav__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-size: 1.25rem;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -.05em;
    text-decoration: none;
}

.brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav__links {
    display: none;
}

@media (max-height: 500px) {
    .nav {
        position: absolute;
    }

    html {
        scroll-padding-top: 1rem;
    }
}

@media (min-width: 1024px) {
    .nav__links {
        display: flex;
        gap: 2rem;
        margin-left: auto;
        font-size: .9375rem;
        font-weight: 700;
    }

    .nav__links a {
        text-decoration: none;
    }

    .nav__links a:hover {
        text-decoration: underline;
        text-decoration-color: var(--red);
        text-decoration-thickness: 2px;
        text-underline-offset: 6px;
    }
}

/* ---------- 1. Hero: the seam ---------- */
.hero {
    --rest: .36;
    --seam: var(--rest);
    --content-left: calc(max(0px, (100cqw - 80rem) / 2) + var(--pad));
    --rest-off: calc(var(--rest) * 100cqw - var(--content-left));
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 1.5rem);
    overflow: hidden;
}

@media (max-width: 639px) {
    .hero {
        --rest: .30;
    }
}

.hero__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 1.5rem;
}

.hero__body .pill,
.hero__title,
.hero__intro {
    position: relative;
    z-index: 2;
}

.hero .pill {
    align-self: flex-start;
}

.hero__title {
    margin-top: 1.25rem;
    font-size: clamp(2.2rem, 11.5cqw, 3.5rem);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.045em;
}

@media (min-width: 640px) {
    .hero__title {
        font-size: min(7.4cqw, 10.5svh);
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: clamp(2.6rem, min(6.6cqw, 10.5svh), 6.5rem);
    }
}

.hl {
    display: block;
    white-space: nowrap;
}

.hl__dot {
    margin-left: -.05em;
}

@media (max-width: 639px) {
    .hl {
        white-space: normal;
    }
}

/* "We build it." starts just right of the seam; "Zero gap." straddles it. */
.hl--3 {
    padding-left: calc(var(--rest-off) + .9rem);
}

.hl--4 {
    padding-left: max(0px, calc(var(--rest-off) - 2.3em));
}

.hero__foot {
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

@media (min-width: 1024px) {
    .hero__foot {
        grid-template-columns: minmax(0, 33rem) auto;
        justify-content: space-between;
        align-items: end;
        gap: 2rem;
        margin-top: 2.25rem;
    }
}

.hero__intro {
    max-width: 36rem;
    text-wrap: pretty;
    font-size: 1.0625rem;
    font-weight: 500;
    line-height: 1.55;
}

@media (min-width: 768px) {
    .hero__intro {
        font-size: 1.25rem;
    }
}

.hero__actions {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
}

.hero__actions .micro {
    flex-basis: 100%;
}

@media (max-width: 639px) {
    .hero__actions .btn--xl {
        width: 100%;
        min-height: 56px;
    }

    .hero__actions .btn--ghost {
        border: 0;
        background: transparent;
        min-height: 44px;
        padding: .25rem 0;
        text-decoration: underline;
        text-decoration-color: var(--red);
        text-decoration-thickness: 2px;
        text-underline-offset: 5px;
    }

    .hero__actions .micro {
        flex-basis: auto;
    }
}

/* The design layer. Masks slide with --seam; their insides counter-slide, so the
   drawing stays pinned to the page while the zigzag edge moves. */
.seam-mask,
.seam-rider,
.seam-track {
    display: none;
}

.hero.is-seam .seam-mask,
.hero.is-seam .seam-rider,
.hero.is-seam .seam-track {
    display: block;
}

.seam-mask {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    clip-path: var(--zz-clip, none);
    transform: translateX(calc((var(--seam) - 1) * 100%));
    will-change: transform;
}

.seam-inner {
    position: absolute;
    inset: 0;
    transform: translateX(calc((1 - var(--seam)) * 100%));
    will-change: transform;
}

.seam-mask--canvas {
    z-index: 0;
}

.hero.is-intro .seam-mask {
    opacity: 0;
}

.hero.is-predraw .seam-line {
    visibility: hidden;
}

.hero.is-dragging {
    -webkit-user-select: none;
    user-select: none;
    cursor: grabbing;
}

.seam-mask--annot {
    z-index: 3;
}

.canvas-surface {
    position: absolute;
    inset: 0;
    background-color: var(--canvas);
    background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.5px);
    background-size: 16px 16px;
    background-position: 8px 8px;
}

.canvas-cols {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.canvas-cols i {
    background: rgba(254, 0, 0, .04);
}

.canvas-cols i:nth-child(n+5) {
    display: none;
}

@media (min-width: 768px) {
    .canvas-cols {
        grid-template-columns: repeat(12, 1fr);
        gap: 1.5rem;
    }

    .canvas-cols i:nth-child(n+5) {
        display: block;
    }
}

.seam-rider {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    transform: translateX(calc((var(--seam) - 1) * 100%));
    will-change: transform;
}

.seam-line {
    position: absolute;
    top: 0;
    right: -1px;
    overflow: visible;
}

.seam-line polyline {
    fill: none;
    stroke: var(--red);
    stroke-width: 2;
    stroke-linejoin: miter;
}

.seam-hit {
    display: none;
    position: absolute;
    top: var(--nav-h);
    right: -16px;
    width: 32px;
    height: calc(var(--rail-y, 80%) - var(--nav-h));
    cursor: ew-resize;
    touch-action: pan-y;
}

@media (pointer: fine) {
    .seam-hit {
        display: block;
        pointer-events: auto;
    }
}

/* Annotations, written by websites.js from live measurements */
.annot {
    position: absolute;
    inset: 0;
}

.ann-box {
    position: absolute;
    outline: 1.5px solid var(--red);
}

.ann-box i {
    position: absolute;
    width: 7px;
    height: 7px;
    background: #fff;
    border: 1.5px solid var(--red);
}

.ann-box i:nth-child(1) {
    left: -4px;
    top: -4px;
}

.ann-box i:nth-child(2) {
    right: -4px;
    top: -4px;
}

.ann-box i:nth-child(3) {
    left: -4px;
    bottom: -4px;
}

.ann-box i:nth-child(4) {
    right: -4px;
    bottom: -4px;
}

.ann-tag {
    position: absolute;
    padding: 3px 6px;
    border-radius: 3px;
    background: var(--red-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.ann-red {
    position: absolute;
    width: 1px;
    background: var(--red);
}

.ann-red::before,
.ann-red::after {
    content: '';
    position: absolute;
    left: -4px;
    width: 9px;
    height: 1px;
    background: var(--red);
}

.ann-red::before {
    top: 0;
}

.ann-red::after {
    bottom: 0;
}

.ann-red .ann-tag {
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
}

.ann-frame {
    position: absolute;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}

/* The track under the hero: hairline, knob, caption, toggle */
.seam-track {
    position: relative;
    z-index: 6;
    padding-bottom: 1.25rem;
}

.seam-rail {
    position: relative;
    height: 52px;
}

.seam-rail::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #d4d4d4;
}

.seam-rider--knob {
    top: 0;
    bottom: auto;
    height: 52px;
    transform: translateX(clamp(calc(40px - 100%), calc((var(--seam) - 1) * 100%), -40px));
}

.seam-range {
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.seam-knob {
    position: absolute;
    top: 0;
    right: -26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px #fff;
    pointer-events: auto;
    touch-action: none;
    cursor: grab;
}

.seam-knob:active {
    cursor: grabbing;
}

.seam-knob svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.seam-knob__arrows {
    stroke-width: 2.5;
}

.seam-knob__bolt {
    stroke-width: 3;
}

.seam-range:focus-visible+.seam-knob {
    outline: 3px solid var(--ink);
    outline-offset: 4px;
}

.seam-track__text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .5rem;
}

.seam-caption {
    max-width: 44rem;
    font-size: .875rem;
    color: var(--muted);
}

.seam-caption__short {
    display: none;
}

@media (max-width: 767px) {
    .seam-caption__long {
        display: none;
    }

    .seam-caption__short {
        display: inline;
    }
}

.seam-toggle {
    flex: none;
    min-height: 44px;
    padding: .5rem 1rem;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: #fff;
    font-size: .875rem;
    font-weight: 700;
    white-space: nowrap;
}

.seam-toggle:hover {
    background: var(--ink);
    color: #fff;
}

/* ---------- Section heads ---------- */
.sec-head {
    max-width: 48rem;
    margin-bottom: 3.5rem;
}

.sec-head h2,
.faq h2 {
    font-size: clamp(2.25rem, 5.2vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.sec-head p {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    color: var(--muted);
}

.sec-head--light p {
    color: var(--muted-dark);
}

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

/* ---------- 2. Sample sites ---------- */
.samples {
    position: relative;
    padding: 7rem 0 6rem;
}

.sample-grid {
    display: grid;
    gap: 4.5rem 2.5rem;
}

@media (min-width: 960px) {
    .sample-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.sample {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bubble {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    max-width: min(88%, 23rem);
    margin: 0 0 -.625rem 1rem;
    padding: .625rem .875rem .5rem;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 1.125rem 1.125rem 1.125rem .25rem;
    box-shadow: 0 12px 28px -14px rgba(10, 10, 10, .35);
}

.bubble__label {
    display: block;
    font-size: .6875rem;
    font-weight: 700;
    color: var(--muted);
}

.bubble__text {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.bubble__gloss {
    display: block;
    margin-top: .125rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--muted);
}

.bubble__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .125rem .5rem;
    margin-top: .25rem;
    font-size: .75rem;
    color: var(--muted);
}

.bubble__status {
    display: grid;
    justify-items: end;
    text-align: right;
}

.bubble__status>span {
    grid-area: 1 / 1;
}

.bubble__ans {
    visibility: hidden;
    color: var(--ink);
    font-weight: 700;
}

.bubble__ans::before {
    content: '✓ ';
    color: var(--red-ink);
}

.bubble__status.is-answered .bubble__seen {
    visibility: hidden;
}

.bubble__status.is-answered .bubble__ans {
    visibility: visible;
}

.browser {
    position: relative;
    container-type: inline-size;
    background: #fff;
    border: 1px solid #d4d4d4;
    border-radius: 1.25rem;
    overflow: hidden;
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: .75rem;
    height: 2.75rem;
    padding: 0 .875rem;
    padding-right: 8.5rem;
    background: #fafafa;
    border-bottom: 1px solid var(--line);
}

.browser__dots {
    flex: none;
    width: 2.25rem;
    height: .625rem;
    background:
        radial-gradient(circle at 5px 50%, #d4d4d4 4px, transparent 4.5px),
        radial-gradient(circle at 18px 50%, #d4d4d4 4px, transparent 4.5px),
        radial-gradient(circle at 31px 50%, #d4d4d4 4px, transparent 4.5px);
}

.browser__url {
    flex: 1;
    min-width: 0;
    max-width: 15rem;
    overflow: hidden;
    padding: .125rem .75rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: .75rem;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.browser__tag {
    position: absolute;
    top: .625rem;
    right: .75rem;
    padding: .25rem .5rem;
    border-radius: .375rem;
    background: var(--ink);
    color: #fff;
    font-size: .6875rem;
    font-weight: 700;
    line-height: 1.2;
}

.sample__cap {
    margin-top: 1.25rem;
    max-width: 34rem;
    color: var(--muted);
}

.sample__cap b {
    color: var(--ink);
}

.sample__link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.sample__link:hover {
    text-decoration-color: currentColor;
}

/* The answering element gets a one-off selection ring when its bubble is answered */
.ring {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}

/* Shared sample-site parts. Each sample has its own colour and typeface. */
.site {
    --accent: var(--ink);
    padding: 1.75rem 1rem 1rem;
    font-size: .875rem;
    line-height: 1.45;
}

@container (min-width: 520px) {
    .site {
        padding: 2rem 1.75rem 1.5rem;
        font-size: .9375rem;
    }
}

.site__btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 1rem;
    padding: .5rem 1rem;
    border-radius: .625rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.site__note {
    min-height: 1.2em;
    margin-top: .5rem;
    font-size: .75rem;
    opacity: .8;
}

.site :focus-visible {
    outline-color: var(--accent);
}

.site label {
    position: relative;
    cursor: pointer;
}

.site label>input,
.chips label>input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.site input:focus-visible+span,
.site input:focus-visible+.bk__art {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Kafe Contoh */
.site--kafe {
    --accent: #78350f;
    background: #fffbf5;
    color: #1c1917;
    font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, 'Noto Serif', serif;
}

.kafe__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
}

.kafe__logo {
    color: var(--accent);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 700;
}

.kafe__status {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .25rem .625rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #78350f;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .75rem;
    font-weight: 700;
}

.kafe__status.is-open {
    background: #dcfce7;
    color: #14532d;
}

.kafe__status.is-closed {
    background: #fee2e2;
    color: #7f1d1d;
}

.kafe__status.is-open::before,
.kafe__status.is-closed::before {
    content: '';
    width: .4375rem;
    height: .4375rem;
    border-radius: 50%;
    background: currentColor;
}

.kafe__hero {
    max-width: 19ch;
    margin-top: .875rem;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.15;
}

@container (min-width: 520px) {
    .kafe__hero {
        font-size: 1.75rem;
    }
}

.kafe__addr {
    margin-top: .375rem;
    color: #57534e;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .75rem;
}

.kafe__tabs {
    display: flex;
    gap: .25rem;
    margin-top: 1rem;
    border-bottom: 1px solid #e7e5e4;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.kafe__tabs [role=tab] {
    min-height: 44px;
    margin-bottom: -1px;
    padding: .5rem .75rem;
    border-bottom: 2px solid transparent;
    color: #57534e;
    font-size: .8125rem;
    font-weight: 600;
}

.kafe__tabs [aria-selected=true] {
    border-bottom-color: var(--accent);
    color: var(--accent);
}

.kafe__list li {
    padding: .5rem 0;
    border-bottom: 1px dashed #e7e5e4;
    color: #57534e;
    font-size: .8125rem;
}

.kafe__list b {
    display: block;
    color: #1c1917;
    font-size: .9375rem;
}

.kafe__panel-title {
    display: none;
    margin-top: .75rem;
    color: var(--accent);
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .8125rem;
    font-weight: 700;
}

@container (min-width: 520px) {
    .kafe__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .kafe__list li {
        border-bottom: 0;
    }

}

/* Pusat Tuisyen Contoh */
.site--tuisyen {
    --accent: #1e3a8a;
    background: #eff6ff;
    color: #0f172a;
    font-family: 'Avenir Next', Avenir, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.tu__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
}

.tu__mark {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--accent);
    color: #fff;
    font-size: .6875rem;
    font-weight: 800;
}

.tu__badge {
    display: inline-block;
    margin-top: .875rem;
    padding: .25rem .625rem;
    border-radius: 999px;
    background: #dbeafe;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 700;
}

.tu__hero {
    margin-top: .5rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
}

@container (min-width: 520px) {
    .tu__hero {
        font-size: 1.875rem;
    }
}

.tu__sub {
    margin-top: .375rem;
    color: #334155;
}

.tu__subjects {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
    margin-top: .875rem;
}

.tu__subjects legend,
.ej__rooms legend,
.bk__flavours legend {
    float: left;
    width: 100%;
    margin-bottom: .375rem;
    font-size: .75rem;
    font-weight: 700;
    opacity: .8;
}

.tu__subjects span,
.ej__rooms span,
.ej__mode span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: .25rem .75rem;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 700;
}

.tu__subjects label,
.ej__rooms label,
.ej__mode label {
    display: inline-flex;
    padding: 4px 0;
}

.tu__subjects input:checked+span,
.ej__rooms input:checked+span,
.ej__mode input:checked+span {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.tu__sched {
    margin-top: .75rem;
    border-radius: .625rem;
    background: #fff;
}

.tu__sched table {
    width: 100%;
    border-collapse: collapse;
    font-size: .8125rem;
}

.tu__sched caption {
    padding: .5rem .75rem;
    font-weight: 700;
    text-align: left;
}

.tu__sched caption span {
    margin-left: .375rem;
    padding: .0625rem .375rem;
    border-radius: .25rem;
    background: #f1f5f9;
    color: #475569;
    font-size: .6875rem;
    font-weight: 600;
}

.tu__sched th,
.tu__sched td {
    padding: .5rem .75rem;
    border-top: 1px solid #dbeafe;
    text-align: left;
}

.tu__sched th {
    width: 4rem;
    color: var(--accent);
}

/* Bakeri Contoh */
.site--bakeri {
    --accent: #be185d;
    background: #fff1f5;
    color: #3f0d1f;
    font-family: ui-rounded, 'SF Pro Rounded', 'Nunito', 'Avenir Next', system-ui, sans-serif;
}

.bk__logo {
    color: var(--accent);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.bk__hero {
    max-width: 18ch;
    margin-top: .5rem;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.15;
}

@container (min-width: 520px) {
    .bk__hero {
        font-size: 1.75rem;
    }
}

.bk__flavours {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    margin-top: .875rem;
}

.bk__flavours legend {
    grid-column: 1 / -1;
}

.bk__cake {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .375rem;
    padding: .625rem .25rem .5rem;
    border: 2px solid transparent;
    border-radius: .875rem;
    background: #fff;
    text-align: center;
}

.bk__cake:has(input:checked) {
    border-color: var(--accent);
}

.bk__name {
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Cakes drawn in CSS: sponge layers, a top, and a cherry or a drip */
.bk__art {
    position: relative;
    width: 64px;
    height: 52px;
    border-radius: 6px 6px 8px 8px;
    background: linear-gradient(#f6e7b0 0 18%, #6aa84f 18% 42%, #f6e7b0 42% 52%, #6aa84f 52% 76%, #f6e7b0 76%);
    box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .08);
}

.bk__art::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: -6px;
    height: 8px;
    border-radius: 50%;
    background: #e5e5e5;
}

.bk__art::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-radius: 50%;
    background: #b91c1c;
}

.bk__cake--cheese .bk__art {
    background: linear-gradient(#4a2509 0 22%, #f3d9a4 22%);
    border-radius: 4px 4px 8px 8px;
}

.bk__cake--cheese .bk__art::after {
    display: none;
}

.bk__cake--choc .bk__art {
    background:
        radial-gradient(circle at 18% 22%, #2a140b 6px, transparent 6.5px),
        radial-gradient(circle at 46% 26%, #2a140b 7px, transparent 7.5px),
        radial-gradient(circle at 80% 20%, #2a140b 5px, transparent 5.5px),
        linear-gradient(#2a140b 0 16%, #5b3423 16% 46%, #f5e6d3 46% 54%, #5b3423 54%);
}

.bk__cake--choc .bk__art::after {
    background: #fafafa;
    box-shadow: inset -2px -2px 0 #d4d4d4;
}

.bk__cutoff {
    margin-top: .875rem;
    padding: .625rem .75rem;
    border: 1.5px dashed var(--accent);
    border-radius: .75rem;
    background: #fff;
    font-size: .8125rem;
}

.bk__cutoff b {
    color: var(--accent);
}

/* Nadia Contoh, property agent */
.site--ejen {
    --accent: #047857;
    background: #f0fdf4;
    color: #052e16;
    font-family: Futura, 'Century Gothic', 'Trebuchet MS', 'Avenir Next', sans-serif;
}

.ej__intro {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.ej__intro b {
    display: block;
    font-size: 1.0625rem;
}

.ej__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
}

.ej__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: .25rem 1rem;
    margin-top: .875rem;
}

.ej__mode {
    display: flex;
    gap: .25rem;
}

.ej__rooms {
    display: flex;
    flex-wrap: wrap;
    gap: 0 .25rem;
}

.ej__rooms legend {
    margin-bottom: 0;
}

.ej__list {
    display: grid;
    gap: .5rem;
    margin-top: .75rem;
}

@container (min-width: 520px) {
    .ej__list {
        grid-template-columns: 1fr 1fr;
    }
}

.ej__list li {
    padding: .625rem .75rem;
    border: 1px solid #bbf7d0;
    border-radius: .75rem;
    background: #fff;
    font-size: .8125rem;
}

.ej__list li[hidden] {
    display: none;
}

.ej__list b {
    display: block;
    font-size: .875rem;
}

.ej__list span {
    display: block;
    margin-top: .25rem;
    color: var(--accent);
    font-size: .75rem;
    font-weight: 700;
}

.ej__empty,
.ej__data {
    margin-top: .5rem;
    font-size: .75rem;
    opacity: .85;
}

.not-sure {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-top: 4.5rem;
    padding: 1.5rem 1.75rem;
    border: 1.5px solid var(--ink);
    border-radius: 2rem;
}

.not-sure p {
    max-width: 46rem;
    font-size: 1.0625rem;
}

@media (max-width: 639px) {
    .not-sure .btn {
        width: 100%;
    }
}

/* ---------- 3. No handoff (black band) ---------- */
.band {
    padding: 0 1rem;
}

.band__inner {
    position: relative;
    overflow: hidden;
    padding: 6.5rem 0;
    border-radius: 3rem;
    background: var(--ink);
    color: #fff;
}

@media (max-width: 639px) {
    .band {
        padding: 0 .5rem;
    }

    .band__inner {
        padding: 4.5rem 0;
        border-radius: 2rem;
    }
}

.band .sec-head h2 {
    color: #fff;
}

.gapdemo {
    display: grid;
    justify-items: center;
    gap: 1.25rem;
}

.gapdemo__card {
    position: relative;
    display: grid;
    width: 100%;
    max-width: 68rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background: var(--red);
    container-type: inline-size;
}

/* Two copies of the clinic page, stacked. Their zigzag edges are exact complements. */
.gd-half {
    grid-area: 1 / 1;
}

.gd-half--design {
    background: var(--canvas);
    clip-path: polygon(0 0, 50% 0, calc(50% - 10px) 12%, 50% 14%, calc(50% - 10px) 27%, 50% 29%, calc(50% - 10px) 41%, 50% 43%, calc(50% - 10px) 56%, 50% 58%, calc(50% - 10px) 70%, 50% 72%, calc(50% - 10px) 85%, 50% 87%, calc(50% - 10px) 100%, 0 100%);
}

.gd-half--build {
    background: #fff;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, calc(50% - 10px) 100%, 50% 87%, calc(50% - 10px) 85%, 50% 72%, calc(50% - 10px) 70%, 50% 58%, calc(50% - 10px) 56%, 50% 43%, calc(50% - 10px) 41%, 50% 29%, calc(50% - 10px) 27%, 50% 14%, calc(50% - 10px) 12%);
}

.clinic {
    --teal: #0f766e;
    position: relative;
    min-height: 100%;
    padding: 1.25rem 1.25rem 1.75rem;
    color: #042f2e;
    text-align: center;
    font-family: 'Hoefler Text', 'Iowan Old Style', Georgia, 'Noto Serif', serif;
}

.clinic__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .8125rem;
}

.clinic__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
}

.clinic__logo i {
    width: 20px;
    height: 20px;
    background: var(--teal);
    clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%);
}

.clinic__links {
    display: none;
    color: #134e4a;
}

.clinic__links span {
    margin: 0 1rem;
}

.clinic__title {
    max-width: 13ch;
    margin: 1.75rem auto 0;
    font-size: clamp(1.625rem, 6.4cqw, 3.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -.01em;
}

.clinic__text {
    margin-top: 1rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .9375rem;
}

.clinic__hours {
    display: inline-block;
    margin-top: .75rem;
    padding: .375rem .75rem;
    border-radius: 999px;
    background: #ccfbf1;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .75rem;
    font-weight: 600;
}

.clinic__btn {
    display: flex;
    width: fit-content;
    margin: 1.25rem auto 0;
    padding: .75rem 1rem;
    border-radius: .75rem;
    background: var(--teal);
    color: #fff;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: .875rem;
    font-weight: 700;
}

.clinic__phone {
    display: none;
    position: absolute;
    right: 2.5rem;
    bottom: 2rem;
    width: 96px;
    height: 176px;
    padding: 24px 9px 9px;
    overflow: hidden;
    border: 3px solid #042f2e;
    border-radius: 18px;
    background: #fff;
}

.clinic__phone span {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
}

@container (min-width: 640px) {
    .clinic {
        padding: 2rem 2.5rem 2.5rem;
    }

    .clinic__nav {
        font-size: .875rem;
    }

    .clinic__links {
        display: block;
    }

    .clinic__title {
        margin-top: 2.75rem;
        font-size: clamp(2rem, 5.2cqw, 3.5rem);
    }

    .clinic__text {
        font-size: 1.0625rem;
    }

    .clinic__hours {
        font-size: .8125rem;
    }

    .clinic__btn {
        font-size: .9375rem;
    }

    .clinic__phone {
        display: block;
    }
}

/* The typical handoff: what came back from a separate build */
.band.is-open .gd-half--build {
    transform: translateX(10px);
}

.band.is-open .gd-half--build .clinic__title {
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    transform: translateY(6px);
}

.band.is-open .gd-half--build .clinic__text {
    margin-top: .25rem;
}

.band.is-open .gd-half--build .clinic__hours {
    display: none;
}

.band.is-open .gd-half--build .clinic__btn {
    margin-top: 2.25rem;
    border-radius: 0;
}

.band.is-open .gd-half--build .clinic__phone {
    overflow: visible;
}

.band.is-open .gd-half--build .clinic__phone span {
    white-space: nowrap;
}

@container (max-width: 639px) {
    .band.is-open .gd-half--build .clinic__title {
        white-space: nowrap;
    }
}

.gd-pin {
    display: none;
    position: absolute;
    z-index: 2;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--red-ink);
    color: #fff;
    font-size: .8125rem;
    font-weight: 800;
    line-height: 28px;
    text-align: center;
    box-shadow: 0 0 0 3px #fff;
}

.band.is-open .gd-pin {
    display: block;
}

.gd-pin--1 {
    top: 20%;
    right: 8px;
}

.gd-pin--2 {
    top: 53%;
    right: 8px;
}

.gd-pin--3 {
    top: 66%;
    left: calc(50% + 14px);
}

.gd-pin--4 {
    top: 36%;
    right: 8px;
}

@container (min-width: 640px) {
    .gd-pin--1 {
        top: 27%;
        right: auto;
        left: 76%;
    }

    .gd-pin--2 {
        top: 56%;
        right: auto;
        left: 70%;
    }

    .gd-pin--3 {
        top: 64%;
    }

    .gd-pin--4 {
        top: 47%;
        right: 1.25rem;
    }
}

.gd-gap {
    position: absolute;
    z-index: 2;
    top: .75rem;
    left: 50%;
    padding: .1875rem .4375rem;
    border-radius: .25rem;
    background: var(--ink);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    transform: translateX(-50%);
}

.gd-gap__open,
.band.is-open .gd-gap__closed,
.gd-cap__state--open,
.band.is-open .gd-cap__state--closed {
    display: none;
}

.band.is-open .gd-gap__open,
.band.is-open .gd-cap__state--open {
    display: inline;
}

.gapdemo figcaption {
    max-width: 44rem;
    color: var(--muted-dark);
    font-size: .9375rem;
    text-align: center;
}

.gapdemo__btn {
    min-height: 56px;
    padding-inline: 2rem;
    font-size: 1.0625rem;
}

html:not(.ws-ready) .gapdemo__btn {
    display: none;
}

/* The comparison list and the poster numeral */
.gap-compare {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-top: 4.5rem;
}

@media (min-width: 1024px) {
    .gap-compare {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 3rem;
    }
}

.gap-list__head {
    display: none;
}

.gap-list li {
    display: grid;
    gap: .375rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.gap-pre {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    color: var(--muted-dark);
}

.gap-list del,
.gap-list ins {
    text-decoration: none;
}

.gap-list del {
    color: #d4d4d4;
}

.gap-list ins {
    color: #fff;
    font-weight: 700;
}

.band:not(.is-open) .gap-list del {
    color: var(--muted-dark);
    text-decoration: line-through;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
}

@media (min-width: 768px) {
    .gap-list__head {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        padding-bottom: .75rem;
        border-bottom: 1px solid rgba(255, 255, 255, .25);
        color: var(--muted-dark);
        font-size: .875rem;
        font-weight: 700;
    }

    .gap-list li {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .gap-pre {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }
}

.gap-numeral {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: calc(var(--pad) * -1 - 1.5rem);
    line-height: .8;
}

.gap-numeral__n {
    font-size: clamp(7rem, 22vw, 17rem);
    font-weight: 800;
    letter-spacing: -.07em;
}

.gap-numeral__open {
    display: none;
    color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.gap-numeral__closed {
    color: var(--red);
}

.band.is-open .gap-numeral__open {
    display: inline;
}

.band.is-open .gap-numeral__closed {
    display: none;
}

.gap-numeral__label {
    margin: .75rem calc(var(--pad) + 1.5rem) 0 0;
    color: var(--muted-dark);
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.3;
}

.band__cta {
    margin-top: 2.5rem;
}

/* Project board and the person behind the work */
.board-row {
    display: grid;
    gap: 3rem 1.5rem;
    align-items: start;
    margin-top: 5.5rem;
}

@media (min-width: 900px) {
    .board-row {
        grid-template-columns: 1.1fr 1fr;
    }
}

.board {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem 1.75rem 1.25rem;
    border-top: 12px solid var(--red);
    border-radius: .375rem;
    background: #fff;
    color: var(--ink);
    font-weight: 800;
    text-transform: uppercase;
}

.board::before,
.board::after {
    content: '';
    position: absolute;
    bottom: -2rem;
    width: 12px;
    height: 2rem;
    background: #737373;
}

.board::before {
    left: 18%;
}

.board::after {
    right: 18%;
}

.board__title {
    font-size: 1.375rem;
    letter-spacing: .02em;
}

.board__title span {
    display: block;
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .08em;
}

.board dl {
    margin-top: 1rem;
}

.board dl div {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 1rem;
    padding: .5rem 0;
    border-top: 2px solid var(--ink);
}

.board dt {
    color: var(--muted);
    font-size: .8125rem;
    letter-spacing: .04em;
}

.board dd {
    font-size: 1.0625rem;
}

.board figcaption {
    margin-top: .75rem;
    color: var(--muted);
    font-size: .875rem;
    font-weight: 600;
    text-transform: none;
}

.ledby {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2rem;
    background: rgba(255, 255, 255, .05);
}

.ledby__avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 56px;
    height: 56px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--ink);
    font-size: 1.25rem;
    font-weight: 800;
}

.ledby__kicker {
    color: var(--muted-dark);
    font-size: .875rem;
    font-weight: 600;
}

.ledby__name {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.ledby__role {
    margin-top: .25rem;
    color: #d4d4d4;
    font-weight: 600;
}

.ledby__bio {
    margin: .75rem 0 1rem;
    color: var(--muted-dark);
}

/* ---------- 4. How it works ---------- */
.process {
    padding: 7.5rem 0 6rem;
}

.process .sec-head p {
    color: var(--ink);
    font-weight: 700;
}

.steps__cols {
    display: none;
}

.steps {
    max-width: 58rem;
    margin: 0 auto;
}

.step {
    position: relative;
    padding: 1.25rem 0 1.25rem 3rem;
}

.step__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .75rem;
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.step__n {
    color: var(--red);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    -webkit-text-stroke: 1.5px var(--red);
}

.step__halves {
    margin-top: .5rem;
}

.step__you,
.step__us {
    color: var(--muted);
}

.step__pre {
    color: var(--ink);
    font-weight: 800;
}

.step__aside {
    margin-top: .75rem;
    padding-left: .875rem;
    border-left: 3px solid var(--red);
    font-size: .9375rem;
    font-weight: 600;
}

/* The seam beside each step: two zigzag strokes that close into one */
.step__seam {
    position: absolute;
    left: .5rem;
    top: 1.5rem;
    bottom: 0;
    width: 16px;
}

.step__seam::before,
.step__seam::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='30' viewBox='0 0 16 30'%3E%3Cpath d='M12 0L4 24 12 30' fill='none' stroke='%23FE0000' stroke-width='2'/%3E%3C/svg%3E") repeat-y;
    background-size: 16px 30px;
}

@media (min-width: 768px) {
    .steps__cols {
        display: grid;
        grid-template-columns: 1fr 4rem 1fr;
        max-width: 58rem;
        margin: 0 auto .5rem;
        font-size: .875rem;
        font-weight: 800;
    }

    .steps__cols span:first-child {
        text-align: right;
    }

    .steps__cols span:last-child {
        grid-column: 3;
    }

    .step {
        padding: 1.75rem 0;
    }

    .step__title {
        justify-content: center;
        font-size: 1.625rem;
    }

    .step__n {
        font-size: 3.5rem;
    }

    .step__halves {
        position: relative;
        display: grid;
        grid-template-columns: 1fr 4rem 1fr;
        margin-top: 1rem;
    }

    .step__you {
        grid-column: 1;
        text-align: right;
    }

    .step__us {
        grid-column: 3;
        grid-row: 1;
    }

    .step__seam {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 16px;
        min-height: 3.5rem;
        margin: -.5rem auto;
    }

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

    .step__you,
    .step__us {
        font-size: 1.0625rem;
    }

    .step__aside {
        max-width: 30rem;
        margin: 1rem auto 0;
    }
}

/* Armed by websites.js: steps start apart and close as they reach mid-screen */
.steps.is-armed .step:not(.is-done) .step__n {
    color: transparent;
    -webkit-text-stroke-color: var(--ink);
}

.steps.is-armed .step:not(.is-done) .step__seam::before {
    transform: translateX(-5px);
}

.steps.is-armed .step:not(.is-done) .step__seam::after {
    transform: translateX(5px);
}

.steps__live {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: fit-content;
    margin: 1rem auto 0;
    padding: .375rem .875rem;
    border: 1px solid var(--red);
    border-radius: 999px;
    background: rgba(254, 0, 0, .1);
    font-size: .875rem;
    font-weight: 800;
}

.process__cta {
    margin-top: 3rem;
    text-align: center;
}

/* ---------- 5. FAQ ---------- */
.faq {
    padding: 5rem 0 6rem;
}

.faq__list {
    margin-top: 2.5rem;
    border-top: 1.5px solid var(--ink);
}

.faq details {
    border-bottom: 1.5px solid var(--ink);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    cursor: pointer;
}

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

.faq summary::after {
    content: '';
    flex: none;
    width: 1rem;
    height: 1rem;
    background:
        linear-gradient(currentColor 0 0) center / 100% 2px no-repeat,
        linear-gradient(currentColor 0 0) center / 2px 100% no-repeat;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    max-width: 42rem;
    padding-bottom: 1.5rem;
    color: var(--muted);
    font-size: 1.0625rem;
}

.faq__more {
    margin-top: 2rem;
}

/* ---------- 6. Final card: your half + our half ---------- */
.quote {
    padding: 1rem 1rem 6rem;
}

.quote__card {
    position: relative;
    max-width: 74rem;
    margin: 0 auto;
    padding: 5.5rem 3rem;
    overflow: hidden;
    overflow: clip;
    border-radius: 4rem;
    background: var(--ink);
    color: #fff;
}

.quote__card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .1;
    pointer-events: none;
    background-image: radial-gradient(#FE0000 1px, transparent 1px);
    background-size: 30px 30px;
}

@media (max-width: 639px) {
    .quote {
        padding: .5rem .5rem 4rem;
    }

    .quote__card {
        padding: 4rem 1.25rem 3rem;
        border-radius: 2.5rem;
    }
}

.quote__head {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.quote__head h2 {
    font-size: clamp(2.25rem, 5.4vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}

.quote__head p {
    margin-top: 1.25rem;
    color: var(--muted-dark);
    font-size: 1.125rem;
}

.quote__grid {
    position: relative;
    margin-top: 3.5rem;
}

.mark {
    --gap: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mark__art {
    position: relative;
    width: min(70%, 19rem);
    aspect-ratio: 154 / 150;
}

@media (min-width: 960px) {
    .mark__art {
        width: min(88%, 22rem);
    }
}

.mark__piece {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: var(--red);
    overflow: visible;
}

.mark__piece--ours {
    transform: translateX(var(--gap));
}

.mark__readout {
    position: absolute;
    top: 30%;
    left: calc(62% + var(--gap) / 2);
    padding: .1875rem .4375rem;
    border-radius: .25rem;
    background: #fff;
    color: var(--ink);
    font-size: .75rem;
    font-weight: 800;
    transform: translateX(-50%);
}

.mark.is-whole .mark__readout {
    opacity: 0;
}

.mark__labels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: min(100%, 24rem);
    margin-top: 1.5rem;
}

.mark__label {
    color: var(--muted-dark);
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.3;
}

.mark__label--ours {
    text-align: right;
}

.mark__label--yours .has-name {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -.01em;
}

.brief {
    display: grid;
    gap: 1.5rem;
}

.brief .mark {
    margin: .5rem 0 1rem;
}

@media (min-width: 960px) {
    .brief {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        column-gap: 4rem;
    }

    .brief> :not(.mark) {
        grid-column: 2;
    }

    .brief .mark {
        position: sticky;
        top: calc(var(--nav-h) + 2.5rem);
        grid-column: 1;
        grid-row: 1 / span 7;
        align-self: start;
        margin: 0;
    }
}

.brief__questions {
    display: grid;
    gap: 1.25rem;
}

html:not(.ws-ready) .brief__questions {
    display: none;
}

.chips legend {
    margin-bottom: .5rem;
    font-weight: 700;
}

.chips label {
    position: relative;
    display: inline-flex;
    margin: 0 .375rem .5rem 0;
}

.chips span {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .5rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 700;
    cursor: pointer;
}

.chips label:hover span {
    border-color: #fff;
}

.chips input:checked+span {
    background: var(--red);
    border-color: var(--red);
    color: var(--ink);
}

.chips input:focus-visible+span {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.field label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 700;
}

.field label span {
    color: var(--muted-dark);
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    padding: .875rem 1rem;
    border: 1.5px solid rgba(255, 255, 255, .35);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
}

.field input:focus-visible,
.field textarea:focus-visible {
    border-color: #fff;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.field textarea {
    min-height: 8rem;
    resize: vertical;
}

.brief__reset {
    min-height: 44px;
    margin-top: .25rem;
    color: #fff;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.brief__send {
    width: 100%;
}

@media (min-width: 640px) {
    .brief__send {
        width: auto;
        justify-self: start;
    }
}

.brief__fallback {
    color: var(--muted-dark);
    font-size: .875rem;
}

.brief__fallback a {
    color: #fff;
    font-weight: 700;
}

.brief__copy {
    min-height: 44px;
    margin-left: .75rem;
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.brief__status {
    min-height: 1.5em;
    color: #fff;
    font-weight: 700;
}

/* ---------- Footer and page receipt ---------- */
.foot {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid #f3f4f6;
}

.receipt {
    position: relative;
    width: min(100%, 22rem);
    margin: 0 auto 4rem;
    padding: 2rem 1.5rem 1.75rem;
    border: 1px solid var(--line);
    background: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
    font-size: 13px;
    line-height: 1.65;
}

.receipt::before,
.receipt::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: radial-gradient(circle, #d4d4d4 2px, transparent 2.5px) repeat-x;
    background-size: 10px 6px;
}

.receipt::before {
    top: 6px;
}

.receipt::after {
    bottom: 6px;
}

.receipt__title {
    font-weight: 700;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.receipt__title span {
    display: block;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.receipt dl {
    margin: 1rem 0 .75rem;
    padding: .75rem 0;
    border-top: 1px dashed #a3a3a3;
    border-bottom: 1px dashed #a3a3a3;
}

.receipt dl div {
    display: flex;
    align-items: baseline;
}

.receipt dt {
    order: 1;
}

.receipt dl div::after {
    content: '';
    order: 2;
    flex: 1;
    min-width: 1rem;
    margin: 0 .375rem;
    border-bottom: 1px dotted #737373;
}

.receipt dd {
    order: 3;
    text-align: right;
}

.receipt__total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.receipt__thanks {
    margin-top: 1.25rem;
    text-align: center;
}

.receipt__thanks span {
    display: block;
}

.receipt__thanks span+span {
    color: var(--muted);
}

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

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

.foot .brand {
    font-size: 1.5rem;
}

.foot__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 1.5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.foot__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    text-decoration: none;
}

.foot__links a:hover,
.foot__links [aria-current] {
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.foot__copy {
    color: #737373;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ---------- Phone WhatsApp bar ---------- */
.wa-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom));
    background: var(--ink);
    visibility: hidden;
    transform: translateY(110%);
}

.wa-bar .btn {
    width: 100%;
    min-height: 56px;
}

.wa-bar.is-shown {
    visibility: visible;
    transform: none;
}

@media (min-width: 768px),
(max-height: 520px) {
    .wa-bar {
        display: none;
    }
}

@media (max-width: 767px) and (min-height: 521px) {
    body.has-bar {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    html:has(body.has-bar) {
        scroll-padding-bottom: calc(92px + env(safe-area-inset-bottom));
    }

    body.has-bar .nav .btn--pill {
        visibility: hidden;
        opacity: 0;
    }
}

/* ---------- Motion: only for people who haven't asked for less ---------- */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }

    .btn,
    .seam-toggle,
    .chips span {
        transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-settle);
    }

    .btn:active {
        transform: translateY(1px);
    }

    .pill__dot {
        animation: ws-pulse 2s cubic-bezier(.4, 0, .6, 1) 2;
    }

    .gd-half--build {
        transition: transform .45s var(--ease-snap);
    }

    .seam-mask {
        transition: opacity .3s ease;
    }

    .step__n {
        transition: color .3s, -webkit-text-stroke-color .3s;
    }

    .step__seam::before,
    .step__seam::after {
        transition: transform .4s var(--ease-snap);
    }

    .mark__piece--ours {
        transition: transform .35s var(--ease-snap);
    }

    .mark__readout {
        transition: left .35s var(--ease-snap), opacity .3s .2s;
    }

    .faq summary::after {
        transition: transform .2s var(--ease-settle);
    }

    .wa-bar {
        transition: transform .25s var(--ease-settle), visibility 0s .25s;
    }

    .wa-bar.is-shown {
        transition: transform .25s var(--ease-settle);
    }

    .ring {
        animation: ws-ring .9s var(--ease-settle) both;
    }
}

@keyframes ws-pulse {
    50% {
        opacity: .4;
    }
}

@keyframes ws-ring {
    from {
        outline-color: rgba(254, 0, 0, 0);
        outline-offset: 10px;
    }

    to {
        outline-color: var(--red);
        outline-offset: 3px;
    }
}

/* ---------- Without JavaScript: show every sample's content and hide controls that need the script ---------- */
html:not(.ws-ready) :is(.kafe__tabs, .tu__subjects, .ej__filters, .site__btn, .site__note, .brief__copy, .js-only) {
    display: none;
}

html:not(.ws-ready) .kafe__menu [role=tabpanel][hidden],
html:not(.ws-ready) .ej__list li[hidden] {
    display: block;
}

html:not(.ws-ready) .tu__sched table[hidden] {
    display: table;
}

html:not(.ws-ready) .kafe__panel-title {
    display: block;
}

html:not(.ws-ready) .bubble__seen {
    visibility: hidden;
}

html:not(.ws-ready) .bubble__ans {
    visibility: visible;
}

html.ws-ready .no-js {
    display: none;
}

/* ---------- Windows high-contrast themes: keep selected states visible ---------- */
@media (forced-colors: active) {

    .chips input:checked+span,
    .tu__subjects input:checked+span,
    .ej__rooms input:checked+span,
    .ej__mode input:checked+span {
        forced-color-adjust: none;
        background: Highlight;
        border-color: Highlight;
        color: HighlightText;
    }

    .kafe__tabs [role=tab] {
        border-bottom-color: Canvas;
    }

    .kafe__tabs [aria-selected=true] {
        border-bottom-color: Highlight;
    }

    .bk__cake {
        border-color: Canvas;
    }

    .bk__cake:has(input:checked) {
        border-color: Highlight;
    }
}
