/* ── Landing (home) — sections of the 2026-11 rewrite ─────────────────────────
   Built on site.css: reuses its palette, .features-head, .splits, .cap-card, .faq, .cta-band. */

/* Hero keeps the orbit of the original page; the title is longer, so it is set a little smaller. */
.lp-hero h1 { font-size: clamp(2.3rem, 3.8vw, 3.5rem); }
.lp-hero .hero-sub { max-width: 520px; }
.lp-cta-note a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 2px; }
.lp-cta-note { margin-top: .9rem; font-size: .82rem; color: var(--g4); animation: fadeUp .7s ease .32s both; }
.lp-lang { margin-top: .4rem; font-size: .82rem; font-weight: 300; color: var(--g3); animation: fadeUp .7s ease .34s both; }
.lp-lang strong { font-weight: 600; color: var(--g2); }
.lp-lang a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 2px; }

.lp-shot {
    border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--white);
    box-shadow: 0 30px 70px rgba(13, 31, 22, .14), 0 2px 6px rgba(13, 31, 22, .05);
}
.lp-shot img { display: block; width: 100%; height: auto; }
/* Hero: only the conversation of the chat screenshot (x 32–89 %, y 8–60 % of the 16:10 image), so the
   text stays readable at hero width. Percent margins are relative to the frame's width. */
.lp-shot-crop { position: relative; aspect-ratio: 100 / 66; }   /* tall enough for the longest answer (fr) */
.lp-shot-crop img { position: absolute; width: 175%; max-width: none; left: -56%; top: 0; margin-top: -8.75%; }

/* Small label used inside rows and cards ("Oggi" / "Con Kibo"). */
.lp-tag {
    display: block; margin-bottom: .35rem; font-size: .68rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--g5);
}

/* Ti riconosci? */
.lp-pain { padding: 5.5rem 0; }
.lp-pain-head, .lp-pain-row { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 0 auto; }
.lp-pain-head { padding: 0 0 .7rem; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g4); }
.lp-pain-head span { padding: 0 1.6rem; }
.lp-pain-list { display: grid; gap: .8rem; }
.lp-pain-row { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lp-pain-a, .lp-pain-b { padding: 1.4rem 1.7rem 1.5rem; }
.lp-pain-row h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.32rem; line-height: 1.2; margin-bottom: .5rem; }
.lp-pain-row p { font-size: .9rem; line-height: 1.6; }
.lp-pain-row .lp-tag { display: none; }
.lp-pain-a h3 { color: var(--g3); }
.lp-pain-a p { font-weight: 300; color: var(--g4); }
.lp-pain-b { position: relative; padding-left: 3.6rem; color: var(--g2); background: linear-gradient(90deg, rgba(232, 213, 163, .28), rgba(232, 213, 163, .08)); border-left: 1px solid var(--line); }
.lp-pain-b h3 { color: var(--ink); }
/* A check before what Kibo changes. */
.lp-pain-b::before {
    content: '✓'; position: absolute; left: 1.5rem; top: 1.55rem; width: 1.5rem; height: 1.5rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
    color: var(--gold-l); background: var(--g3);
}
.lp-pain-b strong { font-weight: 600; color: var(--g0); }
.lp-pain-b em { font-style: italic; color: var(--g0); }

/* Perché è diverso */
.lp-diff { padding: 5.5rem 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-diff-wrap { background: var(--white); max-width: 1040px; margin: 0 auto; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 50px rgba(13, 31, 22, .06); }
.lp-diff-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lp-diff-table th, .lp-diff-table td { padding: 1rem 1.2rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.lp-diff-table tbody tr:last-child > * { border-bottom: 0; }
.lp-diff-table thead th { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g4); background: var(--cream); }
.lp-diff-table tbody th { font-weight: 600; color: var(--g0); width: 26%; }
.lp-diff-table td { font-weight: 300; color: var(--g3); }
.lp-diff-table .lp-kibo { background: rgba(232, 213, 163, .22); color: var(--g0); font-weight: 600; }
.lp-diff-table thead .lp-kibo { color: var(--gold-d); font-family: 'DM Serif Display', serif; font-size: 1.05rem; letter-spacing: 0; text-transform: none; }
.lp-diff-table td.lp-no::before { content: '✕'; margin-right: .5rem; font-size: .8rem; font-weight: 700; color: #c08a7d; }
.lp-diff-table td.lp-yes::before { content: '✓'; margin-right: .5rem; font-weight: 800; color: var(--g3); }
.lp-diff-table td.lp-yes { font-size: .98rem; }
.lp-diff-note {
    max-width: 1040px; margin: 1.6rem auto 0; padding: 1.2rem 1.6rem 1.2rem 4rem; position: relative;
    border-radius: 16px; background: var(--ink); color: rgba(232, 213, 163, .85); font-size: .95rem; font-weight: 300; line-height: 1.6;
}
.lp-diff-note::before { content: '🔒'; position: absolute; left: 1.4rem; top: 1.1rem; font-size: 1.3rem; }
.lp-diff-note strong { display: block; font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.25rem; color: var(--gold-l); margin-bottom: .15rem; }

/* Per chi è */
.lp-who { padding: 5.5rem 0; }
.lp-aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; max-width: 1080px; margin: 0 auto; }
.lp-aud-card { padding: 2rem 2.1rem 1.9rem; }
.lp-aud-card h3 { font-size: 1.6rem; margin-bottom: 1.3rem; }
.lp-aud-card .lp-tag { color: var(--gold-d); }
.lp-aud-card dt { position: relative; padding-left: 1.5rem; font-weight: 600; color: var(--g0); line-height: 1.4; }
.lp-aud-card dt::before { content: ''; position: absolute; left: 0; top: .48em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); }
.lp-aud-card dd { margin: .3rem 0 1.25rem 1.5rem; font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--g3); }
.lp-aud-card dd:last-child { margin-bottom: 0; }
.lp-aud-grow { max-width: 1080px; margin: 1.6rem auto 0; text-align: center; font-size: .95rem; font-weight: 300; color: var(--g3); }
.lp-aud-grow strong { font-weight: 600; color: var(--g0); }
.lp-aud-grow a, .lp-hub-plan a { color: var(--gold-d); font-weight: 500; white-space: nowrap; }
.lp-aud-grow a:hover, .lp-hub-plan a:hover { color: var(--g0); }

/* Come funziona: real screenshots are 16:10, show their top-left corner. */
.lp-media { aspect-ratio: 16 / 10; }
.lp-media .media-img { object-position: left top; background: var(--white); }

/* Integrations: three cards. */
.lp-int-grid { grid-template-columns: repeat(3, 1fr); max-width: 980px; }

/* Cominciare è facile */
.lp-start { padding: 5rem 0 4.5rem; }
.lp-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 980px; margin: 0 auto; }
.lp-steps li { counter-increment: step; position: relative; padding: 1.6rem 1.4rem 1.4rem 4.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.lp-steps li::before {
    content: counter(step); position: absolute; left: 1.3rem; top: 1.4rem; width: 2rem; height: 2rem; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-family: 'DM Serif Display', serif; font-size: 1.05rem;
    color: var(--gold-l); background: var(--ink);
}
.lp-steps strong { display: block; font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.12rem; color: var(--ink); margin-bottom: .25rem; }
.lp-steps span { font-size: .9rem; font-weight: 300; color: var(--g3); }

/* Three ways in, one record: the sources on the left, the lines that carry them, Kibo on the right. */
.lp-hub { padding: 5.5rem 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-hub .features-head, .lp-diff .features-head { max-width: 860px; }
.lp-hub-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) clamp(70px, 11vw, 150px) minmax(0, .85fr); align-items: stretch; max-width: 1080px; margin: 0 auto; }
.lp-hub-src { list-style: none; display: grid; grid-template-rows: repeat(3, 1fr); gap: .9rem; }
.lp-hub-card { padding: 1.15rem 1.4rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--g5); border-radius: 14px; box-shadow: 0 8px 22px rgba(13, 31, 22, .05); }
.lp-hub-card h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.18rem; line-height: 1.25; color: var(--ink); margin-bottom: .3rem; }
.lp-hub-card p { font-size: .88rem; font-weight: 300; line-height: 1.55; color: var(--g3); }
.lp-hub-s1 { border-left-color: #2f6f9f; }
.lp-hub-s2 { border-left-color: var(--g3); }
.lp-hub-s3 { border-left-color: var(--gold); }
.lp-hub-flow { width: 100%; height: 100%; overflow: visible; }
.lp-hub-flow path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 9; vector-effect: non-scaling-stroke; animation: lpFlow 1.4s linear infinite; }
.lp-hub-flow path:nth-child(2) { animation-delay: -.45s; }
.lp-hub-flow path:nth-child(3) { animation-delay: -.9s; }
@keyframes lpFlow { to { stroke-dashoffset: -22; } }
.lp-hub-core { align-self: center; padding: 2rem 1.8rem 1.8rem; border-radius: 20px; background: var(--ink); color: rgba(232, 213, 163, .85); box-shadow: 0 30px 70px rgba(13, 31, 22, .22); }
.lp-hub-core img { width: 44px; height: 44px; margin-bottom: .9rem; filter: drop-shadow(0 6px 20px rgba(201, 169, 110, .35)); }
.lp-hub-core h3 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 1.6rem; color: var(--gold-l); }
.lp-hub-core p { margin: .2rem 0 1.2rem; font-size: .9rem; font-weight: 300; }
.lp-hub-core ul { list-style: none; display: grid; gap: .6rem; }
.lp-hub-core li { position: relative; padding-left: 1.7rem; font-size: .95rem; color: #fff; }
.lp-hub-core li::before { content: '✓'; position: absolute; left: 0; top: .05rem; font-weight: 700; color: var(--gold); }
.lp-hub-plan { max-width: 760px; margin: 2.4rem auto 0; text-align: center; font-size: 1rem; font-weight: 300; line-height: 1.65; color: var(--g2); }
.lp-hub-plan small { display: block; margin-top: .5rem; font-size: .78rem; color: var(--g4); }
@media (prefers-reduced-motion: reduce) { .lp-hub-flow path { animation: none; } }

/* The first proof, under the hero: the comments on the left, Kibo's answer on the right. */
.lp-proof { padding: 5.5rem 0; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-proof-head { max-width: 900px; margin-bottom: 2.6rem; }
.lp-proof-head h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.lp-proof-q { margin-top: .7rem; font-family: 'DM Serif Display', serif; font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--gold-d); }
.lp-proof-grid { display: grid; grid-template-columns: minmax(0, .8fr) auto minmax(0, 1.25fr); align-items: center; gap: 1.4rem; max-width: 1180px; margin: 0 auto; }
.lp-proof-from { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--g4); margin-bottom: .8rem; }
.lp-comments { list-style: none; display: grid; gap: .55rem; position: relative; }
.lp-comment {
    display: flex; gap: .7rem; align-items: flex-start; padding: .7rem .9rem; background: var(--white);
    border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 6px 18px rgba(13, 31, 22, .05);
}
.lp-comment p { font-size: .84rem; line-height: 1.45; color: var(--g2); }
.lp-comment-meta { font-size: .74rem; color: var(--g4); margin-bottom: .1rem; }
.lp-comment-meta strong { color: var(--g0); font-weight: 600; }
.lp-comment.is-key { border-color: rgba(201, 169, 110, .7); background: #fffaf0; box-shadow: 0 10px 26px rgba(201, 169, 110, .22); }
.lp-comment.is-key p { font-weight: 600; color: var(--ink); }
.lp-av { flex: none; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .66rem; font-weight: 700; color: #fff; background: var(--g3); }
.lp-av-0 { background: #2f6f9f; }
.lp-av-1 { background: #6b4fbb; }
.lp-av-2 { background: #2d6147; }
.lp-av-3 { background: #a8884f; }
/* The arrow between the comments and the answer, with what happens in between. */
.lp-proof-arrow { display: flex; flex-direction: column; align-items: center; gap: .5rem; width: 7.5rem; text-align: center; }
.lp-proof-arrow span { font-size: .78rem; font-weight: 600; line-height: 1.3; color: var(--g3); }
.lp-proof-arrow::after {
    content: ''; width: 100%; height: 14px;
    background: linear-gradient(var(--gold), var(--gold)) left center / calc(100% - 12px) 2px no-repeat,
                conic-gradient(from 225deg at 100% 50%, var(--gold) 0 90deg, transparent 0) right center / 12px 14px no-repeat;
}
.lp-proof-shot { box-shadow: 0 30px 80px rgba(13, 31, 22, .18); }

/* A chat rebuilt in HTML (the proof under the hero, the corner of the first scene). The script arms
   it, types the question when it scrolls into view, then lets the answer in line by line. */
.lp-chat { display: flex; flex-direction: column; gap: .9rem; padding: 1.4rem; border-radius: 16px; border: 1px solid var(--line); background: #f4f6f9; font-size: .92rem; line-height: 1.55; }
.lp-proof-chat { box-shadow: 0 30px 80px rgba(13, 31, 22, .18); padding: 1.8rem 1.6rem; }
.lp-chat-q { align-self: flex-end; max-width: 88%; padding: .7rem 1.05rem; border-radius: 16px 16px 4px 16px; background: #2d6e4e; color: #fff; }
.lp-chat-rest { visibility: hidden; }
.lp-chat-turn { position: relative; align-self: flex-start; max-width: 94%; }
.lp-chat-a { padding: 1rem 1.15rem; border-radius: 16px 16px 16px 4px; background: var(--white); border: 1px solid rgba(13, 31, 22, .09); color: #26302b; transition: opacity .35s ease; }
.lp-chat-a p + p, .lp-chat-a ul, .lp-chat-a ol { margin-top: .55rem; }
.lp-chat-a ul, .lp-chat-a ol { padding-left: 1.2rem; display: grid; gap: .4rem; }
.lp-chat-a strong { font-weight: 600; color: var(--ink); }
.lp-chat-a p, .lp-chat-a li { transition: opacity .45s ease, transform .45s ease; }
.lp-chat-dots { display: none; gap: .3rem; padding: .8rem 1rem; border-radius: 16px 16px 16px 4px; background: var(--white); border: 1px solid rgba(13, 31, 22, .09); }
.lp-chat-dots i { width: .42rem; height: .42rem; border-radius: 50%; background: var(--g4); animation: lpDot 1s ease-in-out infinite; }
.lp-chat-dots i:nth-child(2) { animation-delay: .15s; }
.lp-chat-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes lpDot { 0%, 60%, 100% { opacity: .25; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
/* Armed: the answer keeps its room but is not there yet; the dots sit where it will start. */
.lp-chat.is-armed:not(.is-done) .lp-chat-a { opacity: 0; }
.lp-chat.is-armed:not(.is-done) .lp-chat-a p, .lp-chat.is-armed:not(.is-done) .lp-chat-a li { opacity: 0; transform: translateY(8px); }
.lp-chat.is-armed:not(.is-typing):not(.is-thinking):not(.is-done) .lp-chat-q { opacity: 0; }
.lp-chat.is-thinking .lp-chat-dots { display: flex; position: absolute; left: 0; top: 0; }
.lp-chat.is-done .lp-chat-a p:nth-of-type(2) { transition-delay: .25s; }
.lp-chat.is-done .lp-chat-a li:nth-child(1) { transition-delay: .5s; }
.lp-chat.is-done .lp-chat-a li:nth-child(2) { transition-delay: .8s; }
.lp-chat.is-done .lp-chat-a li:nth-child(3) { transition-delay: 1.1s; }
.lp-chat.is-done .lp-chat-a li:nth-child(4) { transition-delay: 1.4s; }
.lp-inset.lp-chat { padding: .9rem; gap: .6rem; font-size: .74rem; line-height: 1.45; }
.lp-inset.lp-chat .lp-chat-q { padding: .5rem .75rem; }
.lp-inset.lp-chat .lp-chat-a { padding: .7rem .8rem; }

/* The org chart in the corner of the second scene: a request comes in and finds its approver. */
.lp-org { padding: .9rem; font-size: .76rem; background: #f4f6f9; }
.lp-org-req { display: flex; align-items: center; gap: .55rem; width: max-content; max-width: 100%; margin-bottom: .7rem; padding: .45rem .8rem .45rem .5rem; border-radius: 999px; background: var(--white); border: 1px solid rgba(201, 169, 110, .7); box-shadow: 0 8px 20px rgba(201, 169, 110, .25); animation: lpOrgReq 7s ease infinite; }
.lp-org-req .lp-av { width: 1.6rem; height: 1.6rem; font-size: .58rem; }
.lp-org-req strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.2; }
.lp-org-req span:not(.lp-av) { color: var(--g4); }
.lp-org ul { list-style: none; border: 1px solid rgba(13, 31, 22, .09); border-radius: 12px; background: var(--white); overflow: hidden; }
.lp-org li { position: relative; padding: .5rem .8rem .5rem 1.9rem; border-top: 1px solid rgba(13, 31, 22, .07); }
.lp-org li.is-root { padding-left: .8rem; border-top: 0; }
.lp-org li strong { display: block; font-weight: 600; color: var(--ink); line-height: 1.25; }
.lp-org li span { color: var(--g4); }
.lp-org li em { position: absolute; right: .7rem; top: 50%; margin-top: -.7rem; padding: .15rem .55rem; border-radius: 999px; font-style: normal; font-weight: 600; font-size: .66rem; color: var(--gold-l); background: var(--g3); animation: lpOrgBadge 7s ease infinite; }
.lp-org li.is-target { animation: lpOrgRow 7s ease infinite; }
@keyframes lpOrgReq { 0% { opacity: 0; transform: translateY(-8px); } 10%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes lpOrgRow { 0%, 22% { background: transparent; box-shadow: none; } 32%, 88% { background: #fffaf0; box-shadow: inset 3px 0 0 var(--gold); } 96%, 100% { background: transparent; box-shadow: none; } }
@keyframes lpOrgBadge { 0%, 30% { opacity: 0; } 40%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .lp-org-req, .lp-org li em { animation: none; }
    .lp-org li.is-target { animation: none; background: #fffaf0; box-shadow: inset 3px 0 0 var(--gold); }
    .lp-chat-dots i { animation: none; }
}

/* Two screenshots in one media slot: the second laid over the bottom corner of the first. */
.lp-duo { position: relative; padding-bottom: 12%; }
.lp-inset {
    position: absolute; right: -4%; bottom: 0; width: 52%; z-index: 3;
    border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: var(--white);
    box-shadow: 0 22px 50px rgba(13, 31, 22, .18);
}
.lp-inset img { display: block; width: 100%; height: auto; }
.lp-inset.lp-chat, .lp-inset.lp-org { width: 60%; background: #f4f6f9; }
.split-rev .lp-inset { right: auto; left: -4%; }
.lp-more { display: inline-block; margin-top: 1.3rem; font-size: .92rem; font-weight: 500; color: var(--gold-d); }
.lp-more:hover { color: var(--g0); }
.lp-all { margin-top: 4rem; text-align: center; }

/* Features page */
.ft-head { text-align: center; max-width: 820px; padding-top: 4.5rem; }
.ft-head .eyebrow { justify-content: center; }
.ft-head h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; }
.ft-head h1 em { font-style: italic; color: var(--gold); }
.ft-lead { max-width: 620px; margin: 1rem auto 1.8rem; font-weight: 300; line-height: 1.7; color: var(--g3); }
.ft-index { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.ft-index .chip:hover { border-color: var(--gold); color: var(--g0); }
.ft-areas .split { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.ft-docs { margin-top: 1.3rem; font-size: .88rem; color: var(--g4); display: flex; flex-wrap: wrap; gap: .35rem .9rem; }
.ft-docs a { color: var(--gold-d); text-decoration: underline; text-underline-offset: 2px; }
.ft-gallery { margin-top: 1.4rem; }
.ft-tpl { text-decoration: none; }

@media (max-width: 860px) {
    .lp-proof { padding: 3.5rem 0; }
    .lp-hub { padding: 3.5rem 0; }
    .lp-hub-grid, .lp-aud-grid { grid-template-columns: 1fr; }
    .lp-hub-src { grid-template-rows: none; }
    /* One short line down instead of three across. */
    .lp-hub-flow { height: 46px; width: 100%; }
    .lp-hub-flow path { d: path('M50 0 L 50 300'); }
    .lp-hub-flow path:not(:nth-child(2)) { display: none; }
    .lp-aud-card { padding: 1.5rem 1.4rem; }
    .lp-proof-grid { grid-template-columns: 1fr; }
    .lp-proof-arrow { width: auto; flex-direction: row; justify-content: center; }
    .lp-proof-arrow::after { content: '↓'; width: auto; height: auto; background: none; font-size: 1.6rem; line-height: 1; color: var(--gold); }
    .lp-pain-a, .lp-pain-b { padding: 1.1rem 1.2rem 1.2rem; }
    .lp-pain-b { padding-left: 3.2rem; }
    .lp-pain-b::before { left: 1.1rem; top: 2.6rem; }
    .lp-diff-note { padding-left: 3.4rem; }
    .lp-duo { padding-bottom: 0; }
    .lp-inset.lp-chat, .lp-inset.lp-org { width: 88%; }
    .lp-inset, .split-rev .lp-inset { position: relative; left: auto; right: auto; width: 80%; margin: -12% 0 0 auto; }
    .lp-pain, .lp-diff, .lp-who { padding: 3.5rem 0; }
    .lp-pain-head { display: none; }
    .lp-pain-row { grid-template-columns: 1fr; }
    .lp-pain-row .lp-tag { display: block; }
    .lp-pain-b { border-left: 0; border-top: 1px solid var(--line); }
    .lp-steps, .lp-int-grid { grid-template-columns: 1fr; }
    /* The comparison table becomes one card per row. */
    .lp-diff-wrap { border: 0; box-shadow: none; overflow: visible; }
    .lp-diff-table thead { display: none; }
    .lp-diff-table, .lp-diff-table tbody, .lp-diff-table tr, .lp-diff-table th, .lp-diff-table td { display: block; width: 100%; }
    .lp-diff-table tr { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: .8rem; }
    .lp-diff-table tbody th { width: 100%; background: var(--cream); }
    .lp-diff-table td::before { content: attr(data-col); display: block; font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g5); margin-bottom: .2rem; }
    .lp-diff-table tbody tr:last-child > * { border-bottom: 1px solid var(--line); }
    .lp-diff-table tbody tr > *:last-child { border-bottom: 0; }
}

/* The product carries the scenes: on wide screens the screenshot column is the larger one. */
@media (min-width: 861px) {
    #how .split, .ft-areas .split { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
    #how .split-rev, .ft-areas .split-rev { grid-template-columns: 1.2fr .8fr; }
}

/* Japanese has no italic: a slanted kanji is a synthetic oblique and reads as an error. The gold colour
   alone carries the emphasis. */
html[lang="ja"] .hero h1 em, html[lang="ja"] .features-head h2 em, html[lang="ja"] .ft-head h1 em,
html[lang="ja"] .lp-proof-q, html[lang="ja"] .lp-pain-b em { font-style: normal; }
