/* Mascotte.AI, the soft-skills site (draft, 2026-09-24).
 *
 *  A separate site beside the live one in web/mascotte/: nothing here is read
 *  by those pages and nothing of theirs is changed. It borrows their media
 *  (../img/) and nothing else. Structure and copy follow Leonardo's Canva board
 *  and "Mascotte AI web copy.pdf".
 *
 *  LIGHT, NOT DARK (Leonardo, 2026-09-24: "dont like the dark mode .. keep it
 *  light white theme first"). The Canva board is dark; its structure is kept,
 *  its ground is not. Even the hero is white: the video shows through a white
 *  wash, not a dark one.
 *
 *  Plain CSS, no build, like the rest of web/. Edit the copy in index.html.
 */

:root {
  --bg:     #ffffff;
  --wash:   #f5f7fa;          /* the alternating bands                  */
  --ink:    #111827;
  --ink-2:  #374151;
  --dim:    #4b5563;
  --faint:  #6b7280;
  --line:   #e5e7eb;
  --chip:   #cbd2dc;
  --blue:   #2563eb;          /* the live site's blue: everything that acts */
  --blue-7: #1d4ed8;
  --blue-0: #eff6ff;
  --good:   #16a34a;
  --bad:    #dc2626;
  --paper:  #fbf5e6;          /* the report on the monitor              */
  --paperInk: #26231d;
  --radius: 22px;
  --bar-h:  68px;
  --head:   "League Spartan", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; color-scheme: light;
}
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(21px, 2vw, 26px); }
p  { margin: 0 0 14px; }
a  { color: inherit; }
img, video { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

.band { padding: 104px 0; }
.band.alt { background: var(--wash); }
@media (max-width: 760px) { .band { padding: 72px 0; } }

.center { text-align: center; }
.acts { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.acts.center { justify-content: center; }
.gap { margin-top: 44px; }

/* ------------------------------------------------------------- the pill ---- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 15.5px/1 var(--head); letter-spacing: .01em;
  padding: 15px 30px 13px; border-radius: 999px; cursor: pointer;
  background: var(--blue); color: #fff; border: 2px solid var(--blue); text-decoration: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.pill:hover { background: var(--blue-7); border-color: var(--blue-7); transform: translateY(-2px);
              box-shadow: 0 10px 24px rgba(37,99,235,.28); }
.pill:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.pill:disabled { opacity: .55; cursor: default; transform: none; }
.pill.ghost { background: transparent; color: var(--ink); border-color: var(--chip); box-shadow: none; }
.pill.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.sm { padding: 12px 24px 10px; font-size: 14.5px; }

/* ------------------------------------------------------------- the bar ---- */
/* ALWAYS WHITE. It was see-through over the video, and wherever the video is
   bright (it opens on a browser's tab strip) the white links vanished. */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar-h);
  display: flex; align-items: center; border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px) saturate(170%);
}
.bar .wrap { display: flex; align-items: center; gap: 26px; }
.bar .mark { margin-right: auto; display: flex; }
.bar .mark img { height: 28px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 26px; }
.bar nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bar nav a:hover { color: var(--blue); }
.bar nav .pill { padding: 11px 22px 9px; font-size: 14px; color: #fff; }
.bar nav .pill:hover { color: #fff; }
.menuBtn { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.menuBtn svg { width: 26px; height: 26px; display: block; }
@media (max-width: 900px) {
  .bar nav { position: absolute; top: var(--bar-h); left: 0; right: 0; display: none;
             flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px;
             background: #fff; border-bottom: 1px solid var(--line); }
  .bar nav.open { display: flex; }
  .bar nav a { padding: 12px 0; font-size: 17px; }
  .bar nav .pill { margin-top: 10px; }
  .menuBtn { display: block; }
}

/* ------------------------------------------------------------ the hero ---- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
        background: #fff; color: var(--ink); display: flex; align-items: center;
        padding: calc(var(--bar-h) + 40px) 0 64px; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
              transform: scale(1.04); }
/* A WHITE WASH, NOT A DARK ONE (Leonardo, 2026-09-24: "keep it light white
   theme", then "the gradient is too dark"). White behind the words on the left,
   which also quiets the text burned into the video; the video clear on the
   right behind the use cases. Top to bottom on a phone, where the words span
   the full width. */
.hero .veil { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 44%,
                                     rgba(255,255,255,.45) 63%, rgba(255,255,255,0) 82%); }
@media (max-width: 900px) {
  .hero .veil { background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 50%,
                                                    rgba(255,255,255,.72) 80%, rgba(255,255,255,.62) 100%); }
}
/* ...AT HALF STRENGTH (Leonardo, 2026-09-24: "make the gradient 50% opacity,
   too white"): the video shows through; the words carry a faint white glow of
   their own for the darker frames. */
.hero .veil { opacity: .5; }
.hero h1, .hero .lede { text-shadow: 0 0 28px rgba(255,255,255,.7), 0 0 2px rgba(255,255,255,.5); }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 48px; align-items: center;
              grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.hero h1 .pre { display: block; font-size: clamp(30px, 3.6vw, 46px); max-width: 15ch; }
.hero h1 .big { display: block; font-size: clamp(76px, 11vw, 150px); line-height: .92;
                margin-top: 18px; letter-spacing: -.035em; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; color: var(--ink-2);
              max-width: 46ch; margin: 30px 0 34px; }

.mute { position: absolute; left: 24px; bottom: 22px; z-index: 3; width: 42px; height: 42px;
        border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.85); color: var(--ink); cursor: pointer;
        display: flex; align-items: center; justify-content: center; }
.mute:hover { background: #fff; color: var(--blue); }
.mute svg { width: 20px; height: 20px; }

/* the use cases: white cards over the video, one at a time, dots on the side */
.uses { position: relative; display: flex; gap: 18px; align-items: center; }
.uses .track { display: grid; flex: 1; }
.use { grid-area: 1 / 1; background: #fff; color: var(--ink); border-radius: var(--radius);
       overflow: hidden; box-shadow: 0 1px 2px rgba(16,24,40,.08), 0 30px 60px rgba(16,24,40,.22);
       opacity: 0; visibility: hidden; transform: translateY(10px);
       transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s; }
.use.on { opacity: 1; visibility: visible; transform: none;
          transition: opacity .5s ease, transform .5s ease, visibility 0s; }
.use img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.use .txt { padding: 24px 26px 26px; }
.use p { font-size: 20px; line-height: 1.4; font-weight: 600; margin: 0 0 20px; }
.dots { display: flex; flex-direction: column; gap: 10px; }
.dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; cursor: pointer;
               border: 2px solid #fff; background: rgba(255,255,255,.25); transition: background .2s, transform .2s;
               box-shadow: 0 0 0 1px rgba(17,24,39,.35); }
.dots button[aria-selected="true"] { background: #fff; transform: scale(1.15); }
.dots button:focus-visible { outline: 2px solid #93c5fd; outline-offset: 3px; }
@media (max-width: 900px) {
  .uses { flex-direction: column; align-items: stretch; }
  .dots { flex-direction: row; justify-content: center; }
}

/* ---------------------------------------------------- two-column bands ---- */
.split { display: grid; gap: 56px; align-items: center; grid-template-columns: 1.05fr .95fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }
.photo { border-radius: var(--radius); overflow: hidden;
         box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 24px 50px rgba(16,24,40,.14); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* the experience band */
.exp h2 { max-width: 20ch; margin-bottom: 34px; }
.exp .said { font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.exp p { color: var(--dim); font-size: 19px; }
.exp .q { margin-top: 26px; color: var(--ink-2); }
.punch { margin-top: 72px; font: 700 clamp(28px, 3.2vw, 40px)/1.25 var(--head); color: var(--ink); }

/* the scenarios band: people and situations as outlined chips */
.chips { list-style: none; margin: 26px 0 50px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { border: 2px solid var(--chip); background: #fff; border-radius: 999px; padding: 10px 20px 9px;
            font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink-2); }
/* THE ONES YOU CAN TRY (Leonardo, 2026-09-24: "can we make one demo? Job
   interview maybe?"): the interview chips open the practice page on its
   hardest interviewer (/train?s=tough-panel). Blue, with a play mark. */
.chips li:has(> a.try) { padding: 0; border-color: var(--blue); background: var(--blue-0); }
.chips a.try { display: flex; align-items: center; gap: 8px; padding: 8px 8px 7px 14px;
               color: var(--blue-7); font-weight: 600; text-decoration: none; }
.chips a.try svg { width: 15px; height: 15px; flex: none; }
.chips a.try span { background: var(--blue); color: #fff; border-radius: 999px; font-size: 12.5px;
                    font-weight: 700; padding: 4px 11px 3px; margin-left: 4px; transition: background .18s ease; }
.chips a.try:hover span { background: var(--blue-7); }
.chips a.try:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; border-radius: 999px; }
.scen h2 { max-width: 19ch; }
.collage { position: relative; }
.collage .photo:first-child { width: 88%; aspect-ratio: 4 / 3; }
.collage .photo + .photo { position: absolute; width: 54%; right: 0; bottom: -44px;
                           aspect-ratio: 16 / 10; border: 5px solid var(--wash); }
@media (max-width: 900px) { .collage { margin-bottom: 44px; } }

/* the report on the monitor */
.score h2 { max-width: 16ch; margin-bottom: 34px; }
.monitor { max-width: 560px; margin-left: auto; width: 100%; filter: drop-shadow(0 26px 40px rgba(16,24,40,.16)); }
.monitor .bezel { background: #2f3238; border-radius: 18px 18px 0 0; padding: 16px 16px 0; }
.monitor .screen { background: var(--paper); color: var(--paperInk); border-radius: 6px 6px 0 0;
                   padding: 30px 30px 26px; display: grid; gap: 8px 26px;
                   grid-template-columns: 1fr 1.25fr; }
.monitor .chin { height: 36px; background: linear-gradient(#e4e6ea, #c3c7ce);
                 border-radius: 0 0 18px 18px; }
.monitor .neck { width: 22%; height: 58px; margin: 0 auto;
                 background: linear-gradient(90deg, #a9adb4, #eceef1 45%, #b3b7be); }
.monitor .stand { width: 58%; height: 12px; margin: 0 auto; border-radius: 50%;
                 background: radial-gradient(ellipse at center, #eceef1, #a3a7ae); }
.marks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; align-content: start; }
.marks li { display: flex; gap: 9px; font-size: 15.5px; line-height: 1.35; }
.marks svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.marks.bad svg  { color: var(--bad); }
.marks.good svg { color: var(--good); }
.monitor .num { grid-column: 1 / -1; text-align: center; margin-top: 18px;
                font: 600 clamp(44px, 5vw, 58px)/1 "Figtree", sans-serif; color: var(--blue); }
@media (max-width: 560px) { .monitor .screen { grid-template-columns: 1fr; padding: 22px; } }

/* the result: three steps down, joined by drawn arrows */
.result h2 { margin-bottom: 48px; }
.stairs { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
.stairs .tier { font-size: clamp(19px, 1.8vw, 23px); font-weight: 500; line-height: 1.5; color: var(--ink-2); }
.stairs .tier p { margin: 0 0 6px; }
.stairs .t1 { grid-column: 1; grid-row: 1; }
.stairs .a1 { grid-column: 1 / 3; grid-row: 2; justify-self: center; }
.stairs .t2 { grid-column: 2; grid-row: 3; }
.stairs .a2 { grid-column: 2 / 4; grid-row: 4; justify-self: center; }
.stairs .t3 { grid-column: 3; grid-row: 5; }
.stairs .t3 p { font: 700 clamp(24px, 2.4vw, 30px)/1.3 var(--head); color: var(--blue); }
.stairs .arrow { width: 150px; height: 96px; color: #9ca3af; margin: 6px 0 14px; }
@media (max-width: 760px) {
  .stairs { grid-template-columns: 1fr; }
  .stairs > * { grid-column: 1 !important; grid-row: auto !important; }
  .stairs .arrow { justify-self: start; width: 90px; height: 70px; margin-left: 24px; }
}

/* how it works: five steps, each a little further along */
.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 30px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding-left: 64px;
            margin-left: calc(var(--i) * 11%); max-width: 460px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -6px;
                    font: 700 44px/1 var(--head); color: var(--blue); }
.steps h3 { font-size: 21px; margin-bottom: 8px; }
.steps p { color: var(--dim); margin: 0; }
@media (max-width: 900px) { .steps li { margin-left: 0; } }

/* why Mascotte.AI: four outlined cards */
.why h2 { margin-bottom: 40px; }
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px 40px; align-items: center; }
.card.wide img { margin-top: 0; aspect-ratio: 16 / 9; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } .card.wide { grid-template-columns: 1fr; } }
.card { border: 2px solid var(--line); border-radius: 36px; padding: 32px 34px 30px; background: #fff;
        display: flex; flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease; }
.card:hover { border-color: #bfdbfe; box-shadow: 0 18px 40px rgba(16,24,40,.08); }
.card h3 { margin-bottom: 14px; }
.card ul { list-style: none; margin: 0; padding: 0; color: var(--dim); display: grid; gap: 4px; }
.card img { margin-top: 22px; border-radius: 16px; object-fit: cover; width: 100%; }

/* FAQ */
.faq h2 { margin-bottom: 32px; }
.qs { margin: 0; padding: 0 0 0 26px; max-width: 800px; display: grid; gap: 26px; }
.qs li::marker { font: 700 18px var(--head); color: var(--blue); }
.qs h3 { font-size: 19px; margin-bottom: 6px; }
.qs p { color: var(--dim); margin: 0; }

/* ------------------------------------------------------------- footer ---- */
.foot { border-top: 1px solid var(--line); padding: 44px 0 50px; color: var(--faint); font-size: 14.5px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.foot img { height: 24px; width: auto; margin-right: auto; }
.foot a { text-decoration: none; color: var(--ink-2); }
.foot a:hover { color: var(--blue); }
.foot .base { flex-basis: 100%; }
.foot .base a { color: var(--blue); font-weight: 500; }

/* ------------------------------------------------ the contact dialog ---- */
dialog.contact { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0;
                 border-radius: var(--radius); background: #fff; color: var(--ink);
                 box-shadow: 0 30px 70px rgba(2,6,23,.3); }
dialog.contact::backdrop { background: rgba(15,23,42,.5); backdrop-filter: blur(3px); }
dialog.contact form { padding: 34px 32px 28px; display: grid; gap: 14px; }
dialog.contact h2 { font-size: 30px; margin-bottom: 4px; }
dialog.contact label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
dialog.contact input, dialog.contact textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; }
dialog.contact textarea { min-height: 120px; resize: vertical; }
dialog.contact input:focus, dialog.contact textarea:focus { outline: none; border-color: var(--blue); }
dialog.contact .x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
                    border-radius: 50%; border: 0; background: transparent; color: var(--faint);
                    font-size: 26px; line-height: 1; cursor: pointer; }
dialog.contact .x:hover { background: var(--wash); color: var(--ink); }
dialog.contact .pill { justify-self: start; margin-top: 6px; }
.note { font-size: 14.5px; min-height: 20px; margin: 0; }
.note.ok { color: var(--good); }
.note.bad { color: var(--bad); }

/* ------------------------------------------------------------ reveal ---- */
/* fade up once on entry (v2.js); never hides anything without script */
.rise { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rise.in { opacity: 1; transform: none; }
@media (scripting: none) { .rise { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .rise, .use { transition: none; transform: none; }
  .rise { opacity: 1; }
  html { scroll-behavior: auto; }
  .pill:hover { transform: none; }
}
