/* The site takes its colour cue from P&G; the games keep their test palettes. */
:root{--ink:#082b62;--muted:#58677d;--green:#003da5;--lime:#bceaff;--paper:#fff;--line:#d8e1ed;--radius:8px}
body{background:#fff}
.header,main,footer{max-width:1360px}
.header{height:88px;padding:0 48px;border:0}
.brand{display:inline-flex;align-items:center;gap:10px;flex-shrink:0;font-family:Arial,Helvetica,sans-serif;letter-spacing:0;min-height:48px}
.brand:hover{text-decoration:none}
.brand-symbol{display:block;width:48px;height:48px;object-fit:contain;flex:none}
.brand-wordmark{display:flex;flex-direction:column;gap:5px;color:#082b62}
.brand-wordmark strong{font-size:22px;line-height:1;font-weight:700;letter-spacing:-.6px}
.brand-wordmark>span{font-size:10px;line-height:1;font-weight:500;letter-spacing:4.3px;text-transform:uppercase}
.header nav{gap:32px;font-size:13px}
.header nav a{padding:12px 0}
.header-cta{border-color:#003da5;border-radius:2px;padding:12px 19px;color:#003da5}
main{padding:0 48px}
.primary{border-radius:3px}
.primary:hover{background:#002b78}
.secondary:hover{background:#eef5ff}
.eyebrow{font-size:11px;letter-spacing:1.6px}
.hero{display:block;position:relative;padding:30px 0 23px;color:#fff;isolation:isolate}
.hero::before{content:'';position:absolute;inset:0 calc((min(100vw,1360px) - 100vw)/2 - 48px);background:#003da5;z-index:-1}
.hero-topline{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff35;padding-bottom:22px}
.hero-topline .eyebrow{color:#fff}
.hero-topline>span{font-size:11px;color:#d3e4ff}
.hero-heading{display:grid;grid-template-columns:1.6fr 1fr;gap:60px;align-items:end;padding:30px 0 34px}
.hero h1{font-family:Arial,Helvetica,sans-serif;font-size:clamp(46px,5.7vw,79px);font-weight:500;line-height:1.04;letter-spacing:-3.6px;margin:0}
.hero h1 span{color:#9cdcf6}
.hero-copy{max-width:340px;padding-bottom:3px}
.hero-copy>p{font-size:16px;line-height:1.65;margin:0 0 23px;color:#f0f5ff}
.hero-link{display:flex;align-items:center;justify-content:space-between;width:210px;padding:13px 0;border-bottom:2px solid #f7c64f;font-size:15px;font-weight:600}
.hero-link:hover{text-decoration:none;border-color:#fff}
.hero-link span{font-size:23px;line-height:1}
.hero-note{font-size:11px;color:#c9defa;margin-top:12px}
.hero-bottom{display:flex;justify-content:space-between;gap:20px;font-size:10px;letter-spacing:1.2px;color:#c9defa}
.hero-bottom>span:last-child{letter-spacing:0}
.demo-section{padding-top:38px}
.section-heading{align-items:center;margin-bottom:24px}
.section-heading h2{font-size:25px;letter-spacing:-.8px;margin:0}
.section-heading>p{font-size:12px;margin:0}
.game-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.game-entry{min-width:0;padding:23px 23px 25px}
.game-entry:first-child{padding-left:0;padding-right:25px}
.game-entry:last-child{padding-right:0;padding-left:25px}
.game-entry+.game-entry{border-left:1px solid var(--line)}
.game-heading{display:flex;align-items:baseline;gap:16px;margin:0 0 12px}
.game-index{font:12px 'Courier New',monospace;color:#637896}
.game-heading h3{font-size:24px;font-weight:600;margin:0 0 4px;letter-spacing:-.8px}
.game-heading div>span{font-size:11px;color:var(--muted)}
.game-figure{margin:0}
.preview-window{height:320px;position:relative;overflow:hidden;background:#fff}
.assessment-preview{--blue:#269fd1;--magenta:#ae3485;position:absolute;top:16px;left:50%;display:flex;justify-content:center;width:420px;transform:translateX(-50%) scale(.65);transform-origin:top center;color:#555;font-family:Arial,Helvetica,sans-serif;pointer-events:none}
.assessment-preview .digit-machine{width:390px}
#preview-grid .dot-board{width:420px;height:310px;min-height:0;margin:0;border-radius:0;aspect-ratio:auto}
.memory-entry .assessment-preview{top:54px}
#preview-grid .dot::before,#preview-grid .dot.lit::before{width:22px;height:22px}
.memory-phase{position:absolute;top:275px;left:0;right:0;text-align:center;font:12px Arial,sans-serif;color:#697486}
.game-figure figcaption{font-size:12px;color:#273d5c;margin:5px 0 10px}
.game-action p{min-height:40px;font-size:12px;line-height:1.6;color:var(--muted);max-width:270px;margin:0 0 18px}
.game-action button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px 15px;border:1px solid #003da5;background:#fff;color:#003da5;border-radius:2px;font-size:13px;font-weight:600;transition:background 120ms,color 120ms,transform 120ms}
.game-action button:hover{background:#003da5;color:#fff}
.game-action button span{font-size:21px;line-height:1}
.gallery-note{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#69778a;line-height:1.6;margin:13px 0 26px}
.instructions{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.instructions>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:16px 0;font-size:14px;font-weight:500}
.instructions>summary::-webkit-details-marker{display:none}
.instructions>summary span{font:25px Arial,sans-serif}
.instructions[open]>summary span{transform:rotate(45deg)}
.instructions-body{padding:4px 0 28px}
.instructions .test-tabs button{border-radius:3px}
.instructions .workspace{border-radius:4px}
.instructions aside{background:#f2f6fc}
.instructions .pill{border-color:#bbcde8}
.instructions .tip{border-color:var(--line)}
.instructions .welcome-icon,.tab-icon{background:#eaf2ff;border-radius:4px}
.practice-notes{display:grid;grid-template-columns:1fr 1.2fr;gap:100px;padding:78px 0;border-bottom:1px solid var(--line)}
.practice-intro h2{font-family:Arial,Helvetica,sans-serif;font-size:43px;font-weight:400;letter-spacing:-1.7px;line-height:1.12;margin:20px 0 30px}
.text-link{display:inline-flex;align-items:center;gap:30px;font-size:13px;border-bottom:1px solid #003da5;padding-bottom:10px;color:#003da5}
.text-link span{font-size:22px}
.practice-list>div{position:relative;padding:0 0 22px 42px;margin-bottom:22px;border-bottom:1px solid var(--line)}
.practice-list>div:last-child{padding-bottom:0;border:0;margin:0}
.practice-list>div>span{position:absolute;top:3px;left:0;font:11px 'Courier New',monospace;color:#637896}
.practice-list h3{font-size:17px;letter-spacing:-.3px;font-weight:600;margin:0 0 9px}
.practice-list p{font-size:13px;color:var(--muted);line-height:1.7;max-width:430px;margin:0}
.sources{gap:100px;padding:45px 0}
.sources h2{font-size:22px;font-weight:500}
.sources p{max-width:500px}
.source-links a{font-size:11px;min-height:36px}
footer{padding:26px 48px;gap:25px}
footer .brand{color:#003da5}
footer p{margin-right:auto;font-size:11px}
footer>a:not(.brand){font-size:12px;white-space:nowrap}
.plan.featured,.account-banner,.account-badge{background:#eef5ff}
.history-table th{background:#f2f6fc}
.form-field input,.provider-button{border-color:#bccce2}
.product-dialog::backdrop{background:#061e4699}
summary:focus-visible{outline:3px solid #467aa6;outline-offset:4px}
@media(min-width:1450px){.hero-heading{padding:52px 0 58px}.preview-window{height:350px}.assessment-preview{transform:translateX(-50%) scale(.72)}.memory-phase{top:300px}}
@media(max-width:1050px){
  .header,footer{padding-left:32px;padding-right:32px}main{padding:0 32px}
  .hero::before{inset-inline:-32px}.hero-heading{gap:35px;grid-template-columns:1.45fr 1fr}.hero h1{font-size:57px;letter-spacing:-2.6px}.hero-copy>p{font-size:14px}
  .game-entry{padding:20px 16px}.game-entry:first-child{padding-right:16px}.game-entry:last-child{padding-left:16px}
  .assessment-preview{transform:translateX(-50%) scale(.54)}.preview-window{height:275px}.memory-phase{top:235px;font-size:10px}
  .game-heading{gap:10px}.game-heading h3{font-size:21px}.game-action p{min-height:57px}
  .practice-notes,.sources{gap:45px}.practice-intro h2{font-size:37px}
}
@media(min-width:701px) and (max-width:850px){
  .assessment-preview{transform:translateX(-50%) scale(.46)}
  .preview-window{height:245px}.memory-phase{top:215px}
}
@media(max-width:700px){
  .header{height:76px;min-height:76px;padding:0 20px;flex-wrap:nowrap}.brand{gap:7px}.brand-symbol{width:40px;height:40px}.brand-wordmark strong{font-size:19px}.brand-wordmark>span{font-size:9px;letter-spacing:3.5px}
  .header nav{width:auto;gap:17px;font-size:12px}.header nav a{padding:12px 0}.header nav a:first-child{display:none}
  main{padding:0 20px}.hero{padding-top:22px}.hero::before{inset-inline:-20px}.hero-topline{padding-bottom:18px}.hero-topline>span{display:none}
  .hero-heading{display:block;padding:30px 0}.hero h1{font-size:clamp(36px,8.4vw,58px);letter-spacing:-1.8px;line-height:1.07}
  .hero-copy{max-width:440px;margin-top:25px}.hero-copy>p{font-size:14px;margin-bottom:16px}.hero-link{font-size:14px;width:190px;padding:9px 0}.hero-note{margin-top:10px}
  .hero-bottom{font-size:8px;letter-spacing:.8px}.hero-bottom>span:last-child{display:none}
  .demo-section{padding-top:28px}.section-heading{display:block;margin-bottom:21px}.section-heading h2{font-size:23px}.section-heading>p{display:block;margin-top:9px}
  .game-gallery{grid-template-columns:1fr}.game-entry,.game-entry:first-child,.game-entry:last-child{padding:25px 0}
  .game-entry+.game-entry{border-left:0;border-top:1px solid var(--line)}
  .game-heading h3{font-size:25px}.game-heading{gap:15px}.game-heading div>span{font-size:11px}
  .preview-window{height:325px}.assessment-preview{transform:translateX(-50%) scale(.68)}.memory-phase{top:280px;font-size:12px}
  .game-action p{min-height:0;max-width:none;margin-bottom:17px}.game-action button{font-size:14px}.game-figure figcaption{font-size:13px}
  .gallery-note{display:block;margin-bottom:23px}.gallery-note span{display:block;margin-bottom:4px}
  .instructions>summary{font-size:13px}.practice-notes{grid-template-columns:1fr;gap:35px;padding:45px 0}.practice-intro h2{font-size:37px;margin:17px 0 24px}
  .sources{grid-template-columns:1fr;gap:20px;padding:35px 0}.sources h2{font-size:23px}.source-links a{min-height:44px}
  footer{padding:24px 20px;gap:18px;align-items:center}footer p{order:3;width:100%;margin:0;line-height:1.7}footer .brand{margin-right:auto}
}
@media(prefers-reduced-motion:reduce){.game-action button{transition:none}}
