/* getshall.com — "The Seam"
 *
 * The page is the icon: warm white on the left, near-black on the right, a
 * seam down the middle. On desktop the seam runs the full height and content
 * alternates sides; the review moment sits ON the seam, because that is what
 * review is — the moment between the phone and your machine. On a phone the
 * hero keeps the true vertical seam, then the seam turns into the scroll:
 * sections alternate grounds, and a small stitch crosses each boundary.
 *
 * No JavaScript anywhere on this page, and the CSP forbids inline styles —
 * everything lives here as classes. Headlines that cross the seam are white
 * with mix-blend-mode: difference, which inverts them against whichever half
 * they stand on; the same trick makes them correct on the solid mobile grounds.
 *
 * Palette: the icon's own two tones plus the greys of the app.
 */

:root {
    --warm:  #F5F3F0;
    --night: #131211;
    --ink:   #1C1B19;
    --ink2:  #56534D;
    --ink3:  #85817A;
    --rule:  #DFDBD4;
    --rule2: #C9C4BC;
    --warm66: rgba(245, 243, 240, 0.66);
    --warm50: rgba(245, 243, 240, 0.5);
    --warm40: rgba(245, 243, 240, 0.4);
    --edge:   rgba(133, 129, 122, 0.38);
    --seam:   linear-gradient(90deg, var(--warm) 0%, var(--warm) 50%, var(--night) 50%, var(--night) 100%);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--warm);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: -0.011em;
}

h1, h2, h3, p, ul, figure { margin: 0; }
a { text-decoration: none; color: inherit; }
a:hover { opacity: 0.72; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--ink3); outline-offset: 3px; border-radius: 3px; }

.skip {
    position: absolute; left: -9999px; top: 0; z-index: 10;
    background: var(--warm); color: var(--ink);
    padding: 0.7rem 1rem; border: 1px solid var(--rule2); border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* Text that stands on the seam: white, inverted by whatever is beneath it.
 * On the solid mobile grounds the same rule keeps it readable — difference
 * against near-black gives warm white, against warm white gives near-black. */
.blend { color: #FFFFFF; mix-blend-mode: difference; }
.dim66 { opacity: 0.66; }
.dim55 { opacity: 0.55; }

/* ---------- The mark's eyes, blinking on MarkMotion's clock ---------- */

.eyes { display: flex; gap: 124px; }
.eye  { width: 25px; height: 104px; border-radius: 7px; }
.eye--dark { background: var(--night); }
.eye--warm { background: var(--warm); }
.eye { transform-origin: center; animation: markblink 5.6s ease-in-out infinite; }
.eye--warm { animation-delay: 0.12s; }

@keyframes markblink {
    0%, 78%   { transform: scaleY(1); }
    82%       { transform: scaleY(0.08); }
    86%, 100% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .eye, .eye--warm { animation: none; }
}

/* ---------- Nav ---------- */

.nav { background: var(--seam); border-bottom: 1px solid var(--edge); }
.nav__in {
    max-width: 1200px; margin: 0 auto; padding: 0 40px; height: 76px;
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__name { font-size: 15px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink); }
.nav__links { display: flex; gap: 28px; font-size: 14px; }
.nav__links a { color: rgba(245, 243, 240, 0.7); }

/* ---------- Hero ---------- */

.hero { background: var(--seam); padding: 104px 0 0; }
.hero__in {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 32px; padding: 0 40px;
}
.chip {
    display: inline-flex; align-items: center; gap: 9px;
    border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 999px;
    padding: 7px 16px; font-size: 13px;
}
.chip__dot { width: 6px; height: 6px; border-radius: 999px; background: #FFFFFF; }
.hero__title {
    font-size: clamp(40px, 6.2vw, 86px); line-height: 1.04;
    letter-spacing: -0.045em; font-weight: 700; max-width: 1000px; text-wrap: balance;
}
.hero__lede {
    font-size: clamp(16px, 1.8vw, 22px); line-height: 1.5;
    max-width: 620px; text-wrap: pretty;
}
.cta { display: flex; gap: 22px; margin-top: 4px; }
.btn { border-radius: 999px; padding: 15px 30px; font-size: 17px; text-align: center; }
.btn--solid { background: var(--night); color: var(--warm); font-weight: 600; }
.btn--ghost { border: 1px solid rgba(245, 243, 240, 0.45); color: var(--warm); font-weight: 500; }

.hero__stage { display: flex; justify-content: center; margin-top: 80px; padding-bottom: 0; }

/* ---------- The drawn phone ---------- */

.phone__body {
    padding: 11px; background: var(--night); border-radius: 58px;
    box-shadow: 0 0 0 1px rgba(133, 129, 122, 0.5), 0 44px 100px rgba(0, 0, 0, 0.4);
}
.phone__screen { position: relative; border-radius: 47px; overflow: hidden; }
.island {
    position: absolute; top: 1.42%; left: 50%; transform: translateX(-50%);
    width: 29%; aspect-ratio: 110 / 32; background: var(--night); border-radius: 999px;
}
.phone--hero { width: 380px; }
.phone--answer { width: 330px; }
.phone--answer .phone__body { padding: 10px; border-radius: 52px; box-shadow: 0 0 0 1px rgba(19, 18, 17, 0.12), 0 34px 80px rgba(28, 27, 25, 0.22); }
.phone--answer .phone__screen { border-radius: 42px; }
.phone--mini { width: 270px; }
.phone--mini .phone__body { padding: 8px; border-radius: 44px; box-shadow: 0 0 0 1px rgba(133, 129, 122, 0.4), 0 24px 60px rgba(0, 0, 0, 0.3); }
.phone--mini .phone__screen { border-radius: 36px; }

/* ---------- Two-column sections riding the split ---------- */

.duo__in {
    max-width: 1200px; margin: 0 auto; padding: 0 40px;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 104px; align-items: center;
}
.duo--kb { padding: 148px 0 132px; }
.duo--answer { padding: 108px 0 148px; }
.duo--byoa { padding: 24px 0 148px; }
.duo--byoa .duo__in { align-items: start; }

.col { display: flex; flex-direction: column; gap: 20px; }

.kicker { font-size: 13px; letter-spacing: 0.14em; font-weight: 600; }
.kicker--ink { color: var(--ink3); }
.kicker--warm { color: var(--warm50); }

.h2 { font-size: clamp(30px, 3.7vw, 52px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
.h2--ink { color: var(--ink); }
.h2--warm { color: var(--warm); }

.body { font-size: 18px; line-height: 1.6; text-wrap: pretty; }
.body--ink { color: var(--ink2); }
.body--warm { color: var(--warm66); }

.note { font-size: 14px; }
.note--ink { color: var(--ink3); }

/* Screenshot cards. The keyboard card sits on the dark half on desktop and on
 * the light ground on a phone — each gets the edge that ground needs. */
.card { border-radius: 20px; overflow: hidden; }
.card--kb { border: 1px solid rgba(245, 243, 240, 0.16); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45); }

.chips { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.chipk { border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.chipk--lead { border: 1px solid rgba(245, 243, 240, 0.4); color: var(--warm); font-weight: 500; }
.chipk--rest { border: 1px solid rgba(245, 243, 240, 0.22); color: var(--warm66); }

/* ---------- Sections that sit on the seam itself ---------- */

.seam-sec { padding: 40px 0 140px; }
.seam-sec__in {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 26px; padding: 0 40px;
}
.review__card {
    width: 660px; max-width: 100%; border-radius: 24px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(133, 129, 122, 0.5), 0 50px 110px rgba(0, 0, 0, 0.45);
    margin-top: 22px;
}
.checks { display: flex; gap: 40px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; }

.app { padding: 24px 0 140px; }
.app__head { max-width: 760px; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.app__grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px; max-width: 1120px; width: 100%;
}
.app__fig { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.app__cap { font-size: 15px; text-align: center; }
.app__line { display: none; }

/* ---------- Bring your own agent ---------- */

.steps { display: flex; flex-direction: column; gap: 28px; }
.step { display: flex; gap: 18px; align-items: baseline; }
.step__num { font-size: 15px; font-weight: 600; color: var(--warm40); font-variant-numeric: tabular-nums; }
.step__body { display: flex; flex-direction: column; gap: 6px; }
.step__name { font-size: 19px; font-weight: 600; color: var(--warm); }
.step__text { font-size: 15px; line-height: 1.6; color: rgba(245, 243, 240, 0.6); }

.code {
    background: #060605; border: 1px solid rgba(245, 243, 240, 0.16);
    border-radius: 14px; padding: 18px 22px;
}
.code code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 14px; color: var(--warm);
}

/* ---------- Footer ---------- */

.foot {
    background: var(--seam); border-top: 1px solid var(--edge);
    padding: 72px 40px 80px;
    display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.eyes--sm { gap: 62px; }
.eyes--sm .eye { width: 14px; height: 56px; border-radius: 4px; }
.foot__line { font-size: 15px; }
.foot__nav { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
.foot__nav a { color: #FFFFFF; }
.foot__fine { font-size: 13px; }

/* ==================================================================
 * The phone: the seam turns into the scroll. Sections take solid
 * grounds in alternation; a stitch crosses each boundary.
 * ================================================================== */

.stitch { display: none; }

@media (max-width: 899px) {
    .nav__in { padding: 0 20px; height: 60px; }
    .brand__name { font-size: 13px; }
    .nav__links { gap: 16px; font-size: 13px; }

    .hero { padding: 52px 0 0; }
    .hero__in { gap: 22px; padding: 0 24px; }
    .eyes { gap: 60px; }
    .eye { width: 18px; height: 76px; border-radius: 5px; }
    .chip { padding: 6px 13px; font-size: 12px; }
    .cta { gap: 12px; width: 100%; }
    .btn { flex: 1 1 0; padding: 14px 0; font-size: 15px; }
    .hero__stage { margin-top: 44px; padding-bottom: 56px; }
    .phone--hero { width: 286px; }
    .phone--hero .phone__body { padding: 9px; border-radius: 46px; box-shadow: 0 0 0 1px rgba(133, 129, 122, 0.5), 0 30px 70px rgba(0, 0, 0, 0.4); }
    .phone--hero .phone__screen { border-radius: 37px; }

    /* Sections stack and take their own grounds. */
    .duo__in { grid-template-columns: 1fr; gap: 24px; padding: 0 24px; }
    .duo--kb { background: var(--warm); padding: 68px 0 60px; }
    .duo--answer { background: var(--warm); padding: 68px 0; }
    .duo--byoa { background: var(--warm); padding: 68px 0; }
    .seam-sec { background: var(--night); padding: 68px 0; }
    .seam-sec__in { padding: 0 24px; align-items: flex-start; text-align: left; }
    .app { background: var(--night); }
    .app__head { align-items: flex-start; }

    .body { font-size: 16px; }

    /* The keyboard card now stands on the light ground. */
    .card--kb { border: 1px solid var(--rule); box-shadow: 0 18px 44px rgba(28, 27, 25, 0.12); }

    /* The answer section flips to the light ground: ink text, light chips,
     * and the phone stays behind — the hero already showed it whole. */
    .duo--answer .kicker--warm { color: var(--ink3); }
    .duo--answer .h2--warm { color: var(--ink); }
    .duo--answer .body--warm { color: var(--ink2); }
    .phone--answer { display: none; }
    .chipk--lead { border-color: var(--rule2); background: #FDFCFA; color: var(--ink); }
    .chipk--rest { border-color: var(--rule); background: #FDFCFA; color: var(--ink2); }

    .review__card { margin-top: 8px; box-shadow: 0 0 0 1px rgba(245, 243, 240, 0.16), 0 28px 64px rgba(0, 0, 0, 0.5); }
    .checks { display: none; }

    .app__grid { grid-template-columns: 1fr; gap: 24px; }
    .app__fig--runs, .app__fig--privacy { display: none; }
    .phone--mini { width: 246px; }
    .app__line { display: block; font-size: 14px; line-height: 1.6; color: var(--warm50); }

    /* Bring your own agent flips to ink on the light ground; the address card
     * stays dark and carries the seam's other half with it. */
    .duo--byoa .step__num { color: var(--ink3); }
    .duo--byoa .step__name { color: var(--ink); }
    .duo--byoa .step__text { color: var(--ink2); }
    .steps { gap: 18px; }
    .code { background: var(--night); border: none; padding: 15px 17px; border-radius: 12px; }
    .code code { font-size: 12px; word-break: break-all; }

    .foot { padding: 52px 24px 60px; gap: 20px; }
    .eyes--sm { gap: 44px; }
    .eyes--sm .eye { width: 11px; height: 44px; border-radius: 3px; }
    .foot__line { font-size: 14px; text-align: center; }
    .foot__nav { gap: 18px; font-size: 13px; }
    .foot__fine { font-size: 12px; }

    /* The stitch: a short bar crossing each boundary, inverted by both sides. */
    .stitch {
        display: block; position: absolute; top: -15px; left: 50%;
        transform: translateX(-50%); width: 3px; height: 30px;
        background: #FFFFFF; mix-blend-mode: difference;
    }
    .has-stitch { position: relative; }
}

/* Desktop keeps the split painted behind everything the sections don't cover. */
@media (min-width: 900px) {
    body { background: var(--seam); }
}
