/*
  Journey with AI, design system v4 (20 November 2026).
  The look takes its cue from the Ararat template: big black-and-white type,
  a typewriter label voice, text that lights up as you scroll, dark rounded
  panels. Our blue (#3665FB) is the one accent. Pages built on this file load
  it on its own, plus css/jwai-ui.css for the buy popup and forms.
*/
@font-face { font-family: "Uncut Sans"; src: url("/fonts/UncutSans-Variable.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #0b0b0d;
  --ink-2: #16171b;
  --ink-3: #24262c;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --line: #e4e6ea;
  --line-dark: rgba(255,255,255,.14);
  --text: #2b2d33;
  --muted: #62666f;
  --muted-dark: rgba(255,255,255,.62);
  --blue: #3665fb;
  --blue-ink: #2448d8;
  --blue-soft: #e9eeff;
  --display: "Uncut Sans", "Work Sans", system-ui, sans-serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.v4 { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
.v4 img { max-width: 100%; height: auto; display: block; }
.v4 a { color: inherit; }
.v4 h1, .v4 h2, .v4 h3 { font-family: var(--display); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -.02em; }
.v4 p { margin: 0; }
.v4-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.v4-skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.v4-skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Type */
.v4-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.v4-dark .v4-label { color: var(--muted-dark); }
.v4-label .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); margin-right: 8px; vertical-align: 1px; }
.v4-display { font-size: clamp(42px, 7.2vw, 104px); line-height: .98; letter-spacing: -.035em; }
.v4-h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.02; letter-spacing: -.03em; }
.v4-h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.v4-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 640px; }
.v4-dark .v4-lead { color: var(--muted-dark); }
.v4-blue { color: var(--blue); }
.v4 em.v4-serif, .v4 .v4-serif { font-style: italic; font-weight: 400; }

/* Buttons */
.v4-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--body); font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease; }
.v4-btn:hover { transform: translateY(-1px); }
.v4-btn-primary { background: var(--blue); color: #fff; }
.v4-btn-primary:hover { background: var(--blue-ink); }
.v4-btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.v4-dark .v4-btn-ghost { color: #fff; }
.v4-btn .arrow { transition: transform .2s ease; }
.v4-btn:hover .arrow { transform: translateX(3px); }
.v4 .v4-link { color: var(--blue); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s ease; padding-bottom: 2px; }
.v4 .v4-link:hover { background-size: 100% 1.5px; }

/* Header */
.v4-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s ease, border-color .3s ease, color .3s ease; color: #fff; border-bottom: 1px solid transparent; }
.v4-header.is-solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); color: var(--ink); border-bottom-color: var(--line); }
.v4-header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.v4-logo { display: inline-flex; align-items: center; height: 26px; }
.v4-logo img { height: 26px; width: auto; }
.v4-logo .on-light { display: none; }
.v4-header.is-solid .v4-logo .on-dark { display: none; }
.v4-header.is-solid .v4-logo .on-light { display: block; }
.v4-nav { display: flex; align-items: center; gap: 30px; }
.v4-nav a.v4-nav-link { text-decoration: none; font-size: 15px; font-weight: 500; opacity: .86; position: relative; }
.v4-nav a.v4-nav-link:hover, .v4-nav a.v4-nav-link[aria-current="page"] { opacity: 1; }
.v4-nav a.v4-nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.v4-nav a.v4-nav-link:hover::after { transform: scaleX(1); }
.v4-nav-actions { display: flex; align-items: center; gap: 12px; }
.v4-nav-actions .v4-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
/* the server's sign-in block (old markup), restyled */
.v4-header .nav-button-wrap { display: flex; gap: 10px; align-items: center; }
.v4-header .nav-button-wrap .button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid currentColor; text-decoration: none; font-size: 14px; font-weight: 600; color: inherit; background: transparent; }
.v4-header .nav-button-wrap .button + .button { display: none; }
.v4-header .nav-button-wrap img { filter: none; }
.v4-header:not(.is-solid) .nav-button-wrap img { filter: invert(1); }
.v4-menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.v4-menu-btn span, .v4-menu-btn span::before, .v4-menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; content: ""; transition: transform .25s ease; }
.v4-menu-btn span::before { position: absolute; top: -6px; }
.v4-menu-btn span::after { position: absolute; top: 6px; }
.v4-menu-open .v4-menu-btn span { background: transparent; }
.v4-menu-open .v4-menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.v4-menu-open .v4-menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Sections */
.v4-section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.v4-dark { background: var(--ink); color: rgba(255,255,255,.86); }
.v4-dark h1, .v4-dark h2, .v4-dark h3 { color: #fff; }
.v4-mist { background: var(--mist); }
.v4-section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 860px; }
.v4-section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Hero */
.v4-hero { background: var(--ink); color: #fff; padding: calc(76px + clamp(64px, 10vw, 140px)) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.v4-hero-grid { display: grid; gap: clamp(32px, 4vw, 56px); position: relative; }
.v4-hero h1 { color: #fff; }
.v4-hero h1 .line { display: block; overflow: hidden; }
.v4-hero h1 .line > span { display: inline-block; }
.v4-hero-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; max-width: 760px; margin-left: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; letter-spacing: .02em; text-transform: uppercase; color: var(--muted-dark); }
.v4-hero-rule { width: 1.5px; height: 96px; background: linear-gradient(#fff, rgba(255,255,255,0)); }
.v4-hero-bottom { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.v4-hero-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.v4-hero-ticks li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); }
.v4-hero-ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* the hero buy block: the server's markup, restyled for a dark panel */
.v4-buy-panel { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); }
.v4-buy-panel .jwai-home-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 16px; }
.v4-buy-panel .jwai-home-price-now { font-family: var(--display); font-size: 44px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.v4-buy-panel .jwai-was { color: rgba(255,255,255,.45); font-size: 18px; }
.v4-buy-panel .jwai-home-left { width: 100%; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9fb4ff; }
.v4-buy-panel .product-buy, .v4-close .product-buy { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--blue); color: #fff !important; font-weight: 600; font-size: 17px; text-decoration: none; border: 0; transition: background-color .2s ease; }
.v4-buy-panel .product-buy:hover, .v4-close .product-buy:hover { background: var(--blue-ink); }
.v4-buy-panel .jwai-home-secondary, .v4-buy-panel a:not(.product-buy) { color: rgba(255,255,255,.8); }
.v4-buy-note { margin-top: 14px; font-size: 14px; color: var(--muted-dark); text-align: center; }

/* Statement that lights up word by word */
.v4-statement { font-family: var(--display); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.18; letter-spacing: -.02em; font-weight: 500; color: var(--ink); max-width: 1080px; }
.v4-statement .w { color: rgba(11,11,13,.16); transition: color .25s ease; }
.v4-statement .w.is-lit { color: var(--ink); }
.v4-statement .w.is-lit.blue { color: var(--blue); }

/* Proof: same brief, two answers */
.v4-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v4-proof-card { border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.v4-proof-card.ours { background: var(--ink); color: rgba(255,255,255,.86); border-color: var(--ink); }
.v4-proof-card.ours h3 { color: #fff; }
.v4-proof-card .v4-tag { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--mist); color: var(--muted); }
.v4-proof-card.ours .v4-tag { background: rgba(54,101,251,.22); color: #b9c8ff; }
.v4-needs { font-family: var(--mono); font-size: 14px; background: rgba(54,101,251,.16); color: #c9d5ff; padding: 2px 6px; border-radius: 6px; }
.v4-compare { margin-top: 26px; border-top: 1px solid var(--line); }
.v4-compare-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.v4-compare-row.head { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v4-compare-row .k { font-weight: 600; color: var(--ink); }
.v4-compare-row .ours { color: var(--ink); }
.v4-footnote { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* The department: every skill, grouped by job */
.v4-dept { display: grid; gap: clamp(48px, 6vw, 80px); }
.v4-dept-group { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.v4-dept-group-head { position: sticky; top: 100px; display: grid; gap: 12px; }
.v4-dept-group-head .num { font-family: var(--mono); font-size: 13px; color: var(--blue); letter-spacing: .1em; }
.v4-dept-group-head p { color: var(--muted); }
.v4-dept-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v4-card { display: grid; grid-template-rows: auto 1fr; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.v4-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,11,13,.35); border-color: transparent; }
.v4-card-media { aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.v4-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.v4-card:hover .v4-card-media img { transform: scale(1.04); }
.v4-card-body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.v4-card-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.v4-card-title { font-family: var(--display); font-size: 24px; font-weight: 500; color: var(--ink); letter-spacing: -.01em; }
.v4-card-text { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.v4-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.v4-card-price { font-weight: 700; color: var(--ink); }
.v4-card-price s { font-weight: 400; color: var(--muted); margin-left: 6px; font-size: 14px; }
.v4-card-go { font-weight: 600; color: var(--blue); font-size: 15px; }
.v4-card.hero { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }

/* Process panel */
.v4-process { border-radius: calc(var(--radius) + 10px); background: var(--ink-2); padding: clamp(32px, 5vw, 72px); color: rgba(255,255,255,.84); position: relative; overflow: hidden; }
.v4-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(40px, 6vw, 70px); position: relative; z-index: 1; }
.v4-step { padding: 0 24px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.v4-step .n { font-family: var(--mono); font-size: 13px; color: #9fb4ff; display: flex; align-items: center; gap: 12px; }
.v4-step .n::after { content: ""; flex: 1; border-top: 1.5px dashed rgba(255,255,255,.22); }
.v4-step:last-child .n::after { display: none; }
.v4-step h3 { font-size: 24px; }
.v4-step p { color: var(--muted-dark); font-size: 15.5px; }

/* One brand file */
.v4-file { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.v4-file-visual { border-radius: var(--radius); background: var(--ink); padding: 28px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: rgba(255,255,255,.78); box-shadow: 0 40px 80px -40px rgba(11,11,13,.5); }
.v4-file-visual .h { color: #fff; }
.v4-file-visual .b { color: #9fb4ff; }
.v4-file-visual .c { color: rgba(255,255,255,.4); }
.v4-file-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.v4-file-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.v4-file-list .i { font-family: var(--mono); font-size: 12px; color: var(--blue); padding-top: 4px; }

/* Refuses */
.v4-refuse { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.v4-refuse > div { background: var(--ink); padding: 30px; display: grid; gap: 10px; }
.v4-refuse h3 { font-size: 21px; }
.v4-refuse h3::before { content: "\2715"; color: #ff8a8a; font-size: 14px; margin-right: 10px; vertical-align: 2px; }
.v4-refuse p { color: var(--muted-dark); font-size: 15.5px; }

/* Founder */
.v4-founder { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.v4-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.v4-stat { border-radius: var(--radius); background: var(--mist); padding: 28px; display: grid; gap: 4px; }
.v4-stat b { font-family: var(--display); font-size: clamp(44px, 5vw, 64px); font-weight: 600; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.v4-stat span { color: var(--muted); }

/* FAQ */
.v4-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); }
.v4-faq details { border-bottom: 1px solid var(--line); }
.v4-faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: var(--display); font-size: 21px; font-weight: 500; color: var(--ink); position: relative; }
.v4-faq summary::-webkit-details-marker { display: none; }
.v4-faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 26px; font-weight: 300; color: var(--blue); transition: transform .25s ease; }
.v4-faq details[open] summary::after { transform: rotate(45deg); }
.v4-faq details p { padding: 0 0 24px; color: var(--muted); max-width: 640px; }

/* Close */
.v4-close { text-align: center; }
.v4-close .v4-display { font-size: clamp(40px, 6.4vw, 92px); }
.v4-close-buy { max-width: 420px; margin: 40px auto 0; }

/* Footer */
.v4-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: clamp(64px, 8vw, 100px) 0 32px; }
.v4-footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.v4-footer h4 { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 16px; font-weight: 500; }
.v4-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.v4-footer a { text-decoration: none; color: rgba(255,255,255,.82); }
.v4-footer a:hover { color: #fff; }
.v4-footer-big { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; color: #fff; letter-spacing: -.02em; margin: 18px 0 14px; }
.v4-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; font-size: 14px; }

/* Reveal on scroll */
.v4-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.v4-reveal.is-in { opacity: 1; transform: none; }
.v4-hero h1 .line > span { transform: translateY(105%); transition: transform 1s cubic-bezier(.2,.75,.2,1); }
.v4-ready .v4-hero h1 .line > span { transform: none; }
.v4-hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.v4-hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.v4-hero h1 .line:nth-child(4) > span { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .v4-reveal, .v4-hero h1 .line > span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .v4-statement .w { color: var(--ink) !important; transition: none; }
}
.no-js .v4-reveal { opacity: 1; transform: none; }
.no-js .v4-hero h1 .line > span { transform: none; }

/* Tablet */
@media (max-width: 991px) {
  .v4-nav { display: none; }
  .v4-menu-btn { display: inline-flex; }
  .v4-menu-open .v4-nav { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 22px; padding: 28px var(--gutter) 36px; background: var(--ink); color: #fff; border-top: 1px solid var(--line-dark); }
  .v4-menu-open .v4-nav a.v4-nav-link { font-family: var(--display); font-size: 28px; opacity: 1; }
  .v4-hero-bottom, .v4-file, .v4-founder, .v4-faq { grid-template-columns: minmax(0, 1fr); }
  .v4-dept-group { grid-template-columns: minmax(0, 1fr); }
  .v4-dept-group-head { position: static; }
  .v4-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 0; }
  .v4-refuse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .v4-footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
/* Phone */
@media (max-width: 640px) {
  body.v4 { font-size: 16px; }
  .v4-header-row { height: 66px; }
  .v4-menu-open .v4-nav { top: 66px; }
  .v4-nav-actions .v4-btn { display: none; }
  .v4-hero { padding-top: calc(66px + 56px); }
  .v4-hero-notes { grid-template-columns: minmax(0, 1fr); margin-left: 0; }
  .v4-proof, .v4-dept-cards, .v4-steps, .v4-refuse, .v4-stats { grid-template-columns: minmax(0, 1fr); }
  .v4-compare-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .v4-compare-row.head { display: none; }
  .v4-compare-row .p::before { content: "Plain AI: "; font-weight: 600; color: var(--muted); }
  .v4-compare-row .ours::before { content: "With Copywriting: "; font-weight: 600; color: var(--blue); }
  .v4-footer-top { grid-template-columns: minmax(0, 1fr); }
  .v4-step { padding-right: 0; }
  .v4-step .n::after { display: none; }
}

/* "Which one is you?" uses the three-panel grid on white */
.v4-who { background: var(--line); }
.v4-who > div { background: var(--paper); }
.v4-who h3::before { content: none; }
.v4-who p { color: var(--muted); }
.v4-footer-skills a { display: block; }
/* room under each hero line so the reveal mask never cuts descenders */
.v4-hero h1 .line { padding-bottom: .1em; margin-bottom: -.1em; }
/* signed-in icons (account, cart) from the server's nav-auth block */
.v4-header .jwai-icon-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; color: inherit; position: relative; }
.v4-header .jwai-icon-link svg { width: 20px; height: 20px; }
.v4-header .jwai-cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.v4-header .jwai-cart-count[hidden] { display: none; }
/* buy panel: the button, then the test-run link and the facts, centred */
.v4-buy-panel .jwai-button-pair { display: grid; gap: 14px; justify-items: center; }
.v4-buy-panel .jwai-secondary-link { color: rgba(255,255,255,.82); font-size: 15px; text-underline-offset: 4px; }
.v4-buy-panel .jwai-home-facts { margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted-dark); }
.v4-who { background: none; gap: 18px; border-radius: 0; overflow: visible; }
.v4-who > div { background: var(--mist); border-radius: var(--radius); }
.v4 .v4-footer-big { margin: 18px 0 14px; }

/* The buy popup on v4 pages: same markup and script, v4 type and button */
.v4 .jwai-buy-card { font-family: var(--body); color: var(--text); }
.v4 .jwai-buy-name, .v4 .jwai-buy-total strong { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.v4 .jwai-buy-eyebrow, .v4 .jwai-buy-label { font-family: var(--mono); font-weight: 500; letter-spacing: .12em; color: var(--blue); }
.v4 .jwai-buy-continue { display: flex; width: 100%; align-items: center; justify-content: center; min-height: 54px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 600 16px/1 var(--body); cursor: pointer; transition: background-color .2s ease; }
.v4 .jwai-buy-continue:hover { background: var(--blue-ink); }
.v4 .jwai-buy-back { font-family: var(--body); }
.v4 .jwai-addon { font-family: var(--body); }

/* menu open: the header stays dark above the dark menu */
.v4-menu-open .v4-header { background: var(--ink); color: #fff; border-bottom-color: var(--line-dark); }
.v4-menu-open .v4-header .v4-logo .on-dark { display: block; }
.v4-menu-open .v4-header .v4-logo .on-light { display: none; }
/* anything the scripts mark hidden stays hidden (the old base sheet did this) */
.v4 [hidden] { display: none !important; }
.v4-footer-skills a { padding: 0; margin: 0; line-height: 1.55; }

/* ===================== Inner pages (rollout, 20 November 2026) ===================== */
.v4 .colored-text { color: var(--blue); }
.v4-section.v4-tight { padding: clamp(40px, 5vw, 64px) 0; }

/* Page hero: the black band every inner page opens on */
.v4-page-hero { padding: calc(76px + clamp(48px, 7vw, 96px)) 0 clamp(48px, 6vw, 84px); }
.v4-page-title { font-family: var(--display); font-weight: 500; color: #fff; font-size: clamp(40px, 6vw, 84px); line-height: 1; letter-spacing: -.035em; margin: 18px 0 0; max-width: 1000px; }
.v4-page-hero .v4-lead { margin-top: 22px; }
.v4-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.v4-crumbs a { text-decoration: none; color: rgba(255,255,255,.7); }
.v4-crumbs a:hover { color: #fff; }
.v4-crumbs > * + *::before { content: "/"; margin-right: 8px; color: rgba(255,255,255,.3); }
.v4-crumbs [aria-current] { color: #fff; }

/* Product page hero */
.v4-product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; margin-top: 28px; }
.v4-product-title { font-family: var(--display); font-weight: 500; color: #fff; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -.03em; margin: 16px 0 0; }
.v4-product-info .v4-lead { margin-top: 18px; }
.v4-contrast { margin-top: 14px; color: rgba(255,255,255,.7); font-style: italic; }
.v4-product-info .v4-buy-panel { margin-top: 28px; }
.v4-price-note { margin: -6px 0 14px; font-size: 14px; color: var(--muted-dark); }
.v4 .v4-example-link { display: block; text-align: center; margin-top: 12px; color: rgba(255,255,255,.82); font-size: 15px; text-underline-offset: 4px; }
.v4-assure { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.v4-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v4-chips li { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-dark); color: rgba(255,255,255,.8); }
.v4-meta { margin: 18px 0 0; display: grid; gap: 8px; font-size: 15px; }
.v4-meta > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.v4-meta dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); padding-top: 3px; }
.v4-meta dd { margin: 0; color: rgba(255,255,255,.86); }
.v4-checkout-notice, .v4 .jwai-checkout-notice { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }
/* gallery */
.v4 .product-stage { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); aspect-ratio: 1 / 1; }
.v4 .product-main-image { width: 100%; height: 100%; object-fit: cover; }
.v4 .product-stage-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); cursor: pointer; }
.v4 .product-stage-nav::before { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; }
.v4 .product-stage-nav.is-prev { left: 14px; } .v4 .product-stage-nav.is-prev::before { transform: translateX(2px) rotate(135deg); }
.v4 .product-stage-nav.is-next { right: 14px; } .v4 .product-stage-nav.is-next::before { transform: translateX(-2px) rotate(-45deg); }
.v4 .product-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.v4 .product-thumb { flex: none; width: 76px; height: 76px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--ink-2); cursor: pointer; opacity: .6; }
.v4 .product-thumb.is-active { border-color: var(--blue); opacity: 1; }
.v4 .product-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* media-text sections */
.v4-mt { display: grid; gap: clamp(32px, 5vw, 72px); }
.v4-mt.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
.v4-mt:not(.has-image) .v4-mt-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px clamp(32px, 5vw, 80px); }
.v4-mt:not(.has-image) .v4-mt-text > .v4-h2 { grid-column: 1; }
.v4-mt:not(.has-image) .v4-mt-text > .v4-lead { grid-column: 1; }
.v4-mt:not(.has-image) .v4-mt-items { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
.v4-mt-media img { border-radius: var(--radius); width: 100%; }
.v4-mt-text .v4-lead { margin-top: 18px; }
.v4-mt-items { margin-top: 28px; border-top: 1px solid var(--line); }
.v4-mt-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.v4-mt-item h3 { font-size: 20px; }
.v4-mt-item p { color: var(--muted); margin-top: 6px; }
.v4-mt-icon img, .v4-mt-icon svg, .v4-li-icon img, .v4-li-icon svg { width: 28px; height: 28px; }

/* list sections */
.v4-li-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v4-li-grid.is-pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v4-li { background: var(--mist); border-radius: var(--radius); padding: 28px; display: grid; gap: 10px; align-content: start; }
.v4-li-num { font-family: var(--mono); font-size: 13px; color: var(--blue); }
.v4-li h3 { font-size: 21px; }
.v4-li p { color: var(--muted); font-size: 15.5px; }
.v4-li-verify { font-size: 14px; }
.v4-pair { display: grid; gap: 10px; margin-top: 4px; }
.v4-pair-row { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 15px; color: var(--text); }
.v4-pair-row.is-skill { background: var(--ink); color: rgba(255,255,255,.88); }
.v4-pair-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v4-pair-row.is-skill .v4-pair-label { color: #9fb4ff; }

/* callout, quotes, closing line */
.v4-callout { border-radius: var(--radius); border: 1.5px solid var(--blue); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; }
.v4-callout p { font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); line-height: 1.3; color: var(--ink); }
.v4-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.v4-quote { margin: 0; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-dark); display: grid; gap: 16px; align-content: space-between; }
.v4-quote blockquote { margin: 0; font-family: var(--display); font-size: 21px; line-height: 1.35; color: #fff; }
.v4-quote figcaption { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.v4-closing-line { font-family: var(--display); font-weight: 500; color: #fff; font-size: clamp(32px, 4.6vw, 64px); line-height: 1.08; letter-spacing: -.03em; max-width: 960px; margin: 0 auto; }
.v4-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.v4-buy-panel .jwai-buy-note { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--muted-dark); }

/* sticky buy bar on product pages (markup from lib/pages.js) */
.v4 .jwai-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(11,11,13,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line-dark); color: #fff; }
.v4 .jwai-sticky-inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 14px; }
.v4 .jwai-sticky-price { font-family: var(--display); font-weight: 600; font-size: 22px; }
.v4 .jwai-sticky .jwai-was { color: rgba(255,255,255,.45); }
.v4 .jwai-sticky-name { font-weight: 600; }
.v4 .jwai-sticky-eyebrow { color: var(--muted-dark); font-size: 14px; }
.v4 .jwai-sticky-button { margin-left: auto; display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }

/* Article and prose (blog posts, legal pages) */
.v4-article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.v4-article-image img { border-radius: var(--radius); width: 100%; margin-bottom: 40px; }
.v4-prose { font-size: 18px; line-height: 1.7; color: var(--text); max-width: 760px; }
.v4-prose > * + * { margin-top: 1.1em; }
.v4-prose h2 { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; margin-top: 1.8em; }
.v4-prose h3 { font-size: 23px; line-height: 1.2; margin-top: 1.6em; }
.v4-prose h4 { font-family: var(--display); font-weight: 500; font-size: 19px; color: var(--ink); margin-top: 1.4em; }
.v4-prose a { color: var(--blue); text-underline-offset: 3px; }
.v4-prose ul, .v4-prose ol { padding-left: 1.3em; }
.v4-prose li + li { margin-top: .4em; }
.v4-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); font-family: var(--display); font-size: 21px; color: var(--ink); }
.v4-prose img { border-radius: 16px; }
.v4-prose code { font-family: var(--mono); font-size: .88em; background: var(--mist); padding: 2px 6px; border-radius: 6px; }
.v4-prose pre { background: var(--ink); color: rgba(255,255,255,.85); padding: 20px; border-radius: 16px; overflow-x: auto; font-size: 14px; }
.v4-prose pre code { background: none; padding: 0; }
.v4-prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.v4-prose th, .v4-prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.v4-prose th { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v4 .blog-toc { position: sticky; top: 100px; }
.v4 .blog-toc-title { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.v4 .toc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-left: 1px solid var(--line); }
.v4 .toc-link { display: block; padding-left: 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); font-size: 15px; }
.v4 .toc-link:hover, .v4 .toc-link.is-active, .v4 .toc-link.w--current { color: var(--ink); border-left-color: var(--blue); }

/* Forms (contact, sign in) */
.v4-form-card { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); box-shadow: 0 30px 70px -45px rgba(11,11,13,.35); }
.v4-form-card form { display: grid; gap: 18px; }
.v4 .form-field-wrap, .v4 .v4-field { display: grid; gap: 8px; }
.v4 .input-field-wrapper { display: grid; gap: 18px; }
.v4 .input-field-wrapper.is-two, .v4 .v4-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.v4 .form-field-wrap label, .v4 .v4-field label, .v4 .text-default { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.v4 .input-field, .v4 .password-input-field, .v4 .text-area { width: 100%; min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); font: 16px/1.4 var(--body); color: var(--ink); transition: border-color .2s ease; }
.v4 .text-area { min-height: 160px; resize: vertical; }
.v4 .input-field:focus, .v4 .password-input-field:focus, .v4 .text-area:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.v4 .input-field-wrap, .v4 .password-wrap { position: relative; }
.v4 .input-field-wrap .input-field { padding-right: 46px; }
.v4 .input-field-icon-wrap, .v4 .eye-icons-wrap { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; opacity: .55; }
.v4 .eye-icons-wrap button { background: none; border: 0; padding: 4px; cursor: pointer; }
.v4 .login-button, .v4 .submit-button { width: 100%; min-height: 54px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 600 16px/1 var(--body); cursor: pointer; -webkit-appearance: none; appearance: none; }
.v4 .login-button:hover, .v4 .submit-button:hover { background: var(--blue-ink); }
.v4 .login-button:disabled, .v4 .submit-button:disabled { opacity: .6; cursor: default; }
.v4 .login-text, .v4 .jwai-forgot-row { font-size: 15px; color: var(--muted); text-align: center; }
.v4 .jwai-forgot-row { text-align: right; margin-top: -6px; }
.v4 .sign-up-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.v4 .success-message, .v4 .error-message { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15px; }
.v4 .success-message { background: #e8f6ee; color: #11623a; }
.v4 .error-message { background: #fdecec; color: #9b1c1c; }
.v4-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.v4-auth-side { background: var(--ink); color: rgba(255,255,255,.86); padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.v4-auth-side h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.035em; color: #fff; }
.v4-auth-main { display: flex; align-items: center; justify-content: center; padding: clamp(24px, 5vw, 72px) var(--gutter); background: var(--mist); }
.v4-auth-main .v4-form-card { width: 100%; max-width: 460px; }

/* Contact */
.v4-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.v4-contact-mail { display: inline-block; margin-top: 16px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); color: var(--blue); text-decoration: none; letter-spacing: -.01em; }

/* Order pages (markup from lib/pages.js) */
.v4-order-card { max-width: 760px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; }
.v4 .order-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 15px; }
.v4 .order-meta strong { color: var(--ink); }
.v4 .order-meta-sep { width: 1px; background: var(--line); }
.v4 .jwai-order-download, .v4 .v4-order-card .product-buy { display: flex; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; }
.v4 .jwai-order-download + .jwai-order-download { margin-top: 10px; }
.v4 .jwai-order-note { font-size: 14.5px; color: var(--muted); }

/* One-offer page (markup from lib/pages.js, styles in jwai-offers.css) */
.v4 .jwai-next h1, .v4 .jwai-next .h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); }
.v4 .jwai-next, .v4 .jwai-next-card-name { font-family: var(--body); }
.v4 .jwai-next-card-name, .v4 .jwai-next-pay strong { font-family: var(--display); }
.v4 .jwai-next-yes { display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; }

@media (max-width: 991px) {
  .v4-product, .v4-mt.has-image, .v4-article, .v4-contact, .v4-auth { grid-template-columns: minmax(0, 1fr); }
  .v4-mt:not(.has-image) .v4-mt-text { grid-template-columns: minmax(0, 1fr); }
  .v4-mt:not(.has-image) .v4-mt-items { grid-column: 1; grid-row: auto; margin-top: 12px; }
  .v4-li-grid, .v4-grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .v4 .blog-toc { display: none; }
  .v4-auth-side { min-height: auto; }
}
@media (max-width: 640px) {
  .v4-li-grid, .v4-li-grid.is-pairs, .v4-grid-3, .v4 .input-field-wrapper.is-two, .v4 .v4-two { grid-template-columns: minmax(0, 1fr); }
  .v4 .jwai-sticky-eyebrow { display: none; }
  .v4-meta > div { grid-template-columns: 90px 1fr; }
}
.v4 .jwai-crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.v4 .jwai-crumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.v4 .jwai-crumbs a:hover, .v4 .jwai-crumbs [aria-current] { color: #fff; }
.v4 .form-fields-wrap { display: grid; gap: 18px; }
.v4 .form-fields-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.v4 .jwai-form form { display: grid; gap: 18px; }
@media (max-width: 640px) { .v4 .form-fields-wrapper { grid-template-columns: minmax(0, 1fr); } }
/* show-password button (js/jwai-password.js), inside the field */
.v4 .jwai-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.v4 .jwai-eye svg { width: 20px; height: 20px; }
.v4 .jwai-eye:hover { color: var(--ink); }
.v4 .jwai-has-eye .password-input-field, .v4 .jwai-has-eye .input-field { padding-right: 52px; }
/* grid columns that may shrink below their content, so nothing widens the page on a phone */
.v4-prose { overflow-wrap: anywhere; }
/* tables in worked examples: cells break between words, and a wide table scrolls inside its figure instead of crushing its columns */
.v4-prose figure { margin-left: 0; margin-right: 0; overflow-x: auto; }
.v4-prose th, .v4-prose td { overflow-wrap: break-word; }
.v4-prose th { white-space: nowrap; }
@media (max-width: 991px) {
  .v4-product, .v4-mt.has-image, .v4-article, .v4-contact, .v4-auth, .v4-mt:not(.has-image) .v4-mt-text { grid-template-columns: minmax(0, 1fr); }
}

/* Pairs in the buy popup (20 November 2026) */
.v4 .jwai-pairs-head { margin: 18px 0 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.v4 .jwai-pair { margin-top: 10px; }
.v4 .jwai-pair .jwai-addon-kicker { color: var(--blue); }
.v4 .jwai-pair-was { margin-left: 6px; font-weight: 400; color: var(--muted); }
.v4 .jwai-pair-tag { font-style: normal; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--blue); margin-left: 6px; }

/* ===================== Infographics (20 November 2026) ===================== */
/* At a glance, product pages */
.v4-glance-section { background: var(--ink); padding: 0 0 clamp(48px, 6vw, 80px); }
.v4-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); }
.v4-glance-item { padding: 26px 22px 0 0; display: grid; gap: 8px; align-content: start; }
.v4-glance-item + .v4-glance-item { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.v4-glance-item b { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -.03em; color: #fff; }
.v4-glance-item:last-child b { color: var(--blue); }
.v4-glance-item span { color: var(--muted-dark); font-size: 15px; line-height: 1.4; }

/* How a session runs */
.v4-timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.v4-timeline::before { content: ""; position: absolute; left: 9px; right: 0; top: 9px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.v4-tl-step { position: relative; padding: 44px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.v4-tl-dot { position: absolute; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.v4-tl-step.is-gate .v4-tl-dot { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px var(--blue-soft); }
.v4-tl-gate { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.v4-tl-step h3 { font-size: 22px; }
.v4-tl-step p { color: var(--muted); font-size: 15.5px; }
.v4-tl-note { margin-top: 32px; padding: 18px 20px; border-radius: 16px; background: var(--mist); color: var(--muted); max-width: 760px; }
.v4-tl-note strong { color: var(--ink); }

/* Scoreboard, homepage proof */
.v4-score { margin-bottom: 18px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); display: grid; gap: 4px; }
.v4-score-head, .v4-score-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.v4-score-head { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.v4-score-head .ours { color: var(--blue); }
.v4-score-row { padding: 12px 0; border-top: 1px solid var(--line); }
.v4-score-row .k { font-weight: 600; color: var(--ink); }
.v4-score-row .a, .v4-score-row .b { display: flex; align-items: center; gap: 12px; }
.v4-score-row i { display: block; height: 10px; border-radius: 6px; width: calc(var(--w) * .8); min-width: 4px; background: var(--line); transition: width 1s cubic-bezier(.2,.7,.2,1); }
.v4-score-row .b i { background: var(--blue); }
.v4-score-row .a.bad i { background: #ff8a8a; }
.v4-score-row b { font-family: var(--display); font-size: 26px; font-weight: 600; color: var(--ink); }
.v4-reveal:not(.is-in) .v4-score-row i { width: 4px; }

/* How the eight connect, homepage */
.v4-map { display: grid; gap: 18px; }
.v4-map-flow { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr); align-items: stretch; }
.v4-map-col { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 20px; display: grid; gap: 10px; align-content: start; background: var(--ink-2); }
.v4-map-n { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9fb4ff; margin-bottom: 4px; }
.v4 .v4-map-col a { display: block; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; font-family: var(--display); font-size: 18px; transition: background-color .2s ease; }
.v4 .v4-map-col a:hover { background: var(--blue); }
.v4-map-arrow { align-self: center; justify-self: center; width: 14px; height: 14px; border: solid rgba(255,255,255,.4); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.v4-map-file { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 20px; border-radius: var(--radius); border: 1.5px dashed var(--blue); background: rgba(54,101,251,.08); }
.v4-map-file span { font-family: var(--mono); font-size: 12.5px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); }
.v4-map-file .v4-map-file-label { background: var(--blue); color: #fff; letter-spacing: .08em; text-transform: uppercase; }

@media (max-width: 991px) {
  .v4-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v4-glance-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .v4-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .v4-timeline::before { display: none; }
  .v4-map-flow { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .v4-map-arrow { transform: rotate(135deg); margin: 10px 0; }
}
@media (max-width: 640px) {
  .v4-timeline { grid-template-columns: minmax(0, 1fr); }
  .v4-tl-step { padding: 0 0 0 40px; }
  .v4-tl-step .v4-tl-dot { top: 2px; }
  .v4-score-head, .v4-score-row { grid-template-columns: minmax(0, 1fr) 56px 56px; gap: 10px; }
  .v4-score-row i { display: none; }
  .v4-score-row b { font-size: 22px; }
}
/* scoreboard bars: a full-width track, the bar a share of it */
.v4-score-row .a, .v4-score-row .b { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 12px; align-items: center; }
.v4-score-row i { width: max(4px, var(--w)); }
.v4-score-row b { text-align: right; }
.v4-score-head span:not(:first-child) { padding-right: 52px; }
@media (max-width: 640px) { .v4-score-row .a, .v4-score-row .b { grid-template-columns: minmax(0, 1fr); } .v4-score-row b { text-align: left; } .v4-score-head span:not(:first-child) { padding-right: 0; } }

/* ===================== The full set (20 November 2026) ===================== */
.v4-set { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.v4-set-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v4 .v4-set-chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14.5px; color: var(--ink); background: var(--paper); }
.v4 .v4-dark .v4-set-chips a { border-color: var(--line-dark); color: rgba(255,255,255,.88); background: transparent; }
.v4 .v4-set-chips a:hover { border-color: var(--blue); color: var(--blue); }
.v4-set-price { border-radius: calc(var(--radius) + 6px); padding: clamp(24px, 3vw, 36px); background: var(--ink); color: rgba(255,255,255,.85); display: grid; gap: 10px; box-shadow: 0 40px 80px -45px rgba(11,11,13,.55); }
.v4-dark .v4-set-price { background: var(--ink-2); border: 1px solid var(--line-dark); }
.v4-set-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted-dark); font-size: 15.5px; }
.v4-set-row s { color: rgba(255,255,255,.5); }
.v4-set-now { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-dark); }
.v4-set-now span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9fb4ff; }
.v4-set-now b { font-family: var(--display); font-size: clamp(48px, 5vw, 68px); font-weight: 600; letter-spacing: -.03em; color: #fff; line-height: 1; }
.v4-set-save { justify-self: end; font-weight: 600; color: #9fb4ff; }
.v4 .v4-set-buy { width: 100%; margin-top: 10px; min-height: 56px; font-size: 17px; }
.v4-set-note { text-align: center; font-size: 14px; color: var(--muted-dark); }
/* the line under every buy button */
.v4-set-line { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 14.5px; text-align: center; color: var(--muted-dark); line-height: 1.6; }
.v4 .v4-set-line a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.v4-set-line s { margin-left: 4px; color: rgba(255,255,255,.45); }
.v4-set-sale { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #9fb4ff; }
@media (max-width: 991px) { .v4-set { grid-template-columns: minmax(0, 1fr); } }

/* ===================== The math (20 November 2026) ===================== */
.v4-math { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.v4-math-table { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 8px clamp(18px, 3vw, 30px) 18px; }
.v4-math-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.v4-math-row .k { display: block; font-weight: 600; color: var(--ink); }
.v4 .v4-math-src { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); text-decoration: none; }
.v4 a.v4-math-src:hover { color: var(--blue); text-decoration: underline; }
.v4-math-row .v { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); font-weight: 500; color: var(--ink); white-space: nowrap; text-align: right; }
.v4-math-row.is-ours { border-bottom: 0; margin: 10px -12px 0; padding: 18px 12px; border-radius: 16px; background: var(--ink); }
.v4-math-row.is-ours .k { color: #fff; }
.v4-math-row.is-ours .v4-math-src { color: var(--muted-dark); }
.v4-math-row.is-ours .v { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; }
.v4-math-row.is-ours s { font-size: .55em; font-weight: 400; color: rgba(255,255,255,.45); }
.v4-math-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 991px) { .v4-math { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .v4-math-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } .v4-math-row .v { text-align: left; white-space: normal; } }

/* One system, homepage (review, 20 November 2026) */
.v4-sys { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.v4-sys-file { position: sticky; top: 100px; border-radius: var(--radius); border: 1.5px dashed var(--blue); background: rgba(54,101,251,.08); padding: 24px; }
.v4-sys-file-head { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 6px 12px; border-radius: 999px; }
.v4-sys-file ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.v4-sys-file li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-dark); }
.v4-sys-file li b { font-family: var(--display); font-weight: 500; font-size: 19px; color: #fff; }
.v4-sys-file li span { font-size: 14px; color: var(--muted-dark); }
.v4-sys-file p { margin-top: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9fb4ff; }
.v4-sys-groups { display: grid; gap: 22px; }
.v4-sys-cols { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); padding: 0 18px; }
.v4-sys-group { display: grid; gap: 8px; }
.v4-sys-n { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: #9fb4ff; }
.v4 .v4-sys-row { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--line-dark); text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.v4 .v4-sys-row:hover { border-color: var(--blue); transform: translateX(3px); }
.v4-sys-name { font-family: var(--display); font-size: 19px; color: #fff; }
.v4-sys-get { color: rgba(255,255,255,.78); display: flex; align-items: center; gap: 10px; }
.v4-sys-get::before { content: "\2192"; color: var(--blue); }
@media (max-width: 991px) {
  .v4-sys { grid-template-columns: minmax(0, 1fr); }
  .v4-sys-file { position: static; }
  .v4-sys-file ul { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
}
@media (max-width: 640px) {
  .v4-sys-cols { display: none; }
  .v4 .v4-sys-row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
/* the label over the product number strip */
.v4-glance-label { padding-top: 6px; margin-bottom: 4px; }
/* delivery consent under the payment button (20 November 2026) */
.v4 .jwai-buy-consent { margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.v4 .jwai-buy-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
