header nav{display:flex;gap:26px;align-items:center}
section[id]{scroll-margin-top:25px}
.treasure{margin:75px 16px 0;padding:42px;background:#f0f5ff;border:1px solid #e0e9fc;border-radius:22px;overflow:hidden}
.treasure-intro>.eyebrow{color:#647faa}
.treasure-heading-row{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-bottom:30px}
.treasure-heading-row h2{font-size:42px;line-height:1.2;margin:7px 0;letter-spacing:-1px}
.treasure-heading-row h2 span{color:#075df5}
.treasure-heading-row>p{max-width:370px;font-size:18px;line-height:1.85;color:#657c9f}
.expedition{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
.island-map{position:relative;min-height:455px;background:radial-gradient(ellipse at 30% 30%,#fff9e8,transparent 42%),radial-gradient(ellipse at 75% 70%,#d6e7ff,transparent 48%),#e9f2ff;border:1px solid #d9e5f9;border-radius:15px;overflow:hidden}
.map-top,.map-bottom{position:absolute;left:22px;right:22px;display:flex;justify-content:space-between;align-items:center;color:#6683b2;font-size:13px;letter-spacing:1px}
.map-top{top:20px}
.map-bottom{bottom:20px;font-size:14px;letter-spacing:0}
.map-bottom #key-count{color:#2155a9;background:#fff;padding:7px 11px;border-radius:20px}
.compass{font-size:16px}
.map-route{position:absolute;inset:30px 0;width:100%;height:calc(100% - 60px)}
.island{position:absolute;display:flex;flex-direction:column;align-items:center;color:#335583;font-size:14px;font-weight:600;transform:translateX(-50%);white-space:nowrap}
.island-one{top:62px;left:24%}
.island-two{top:145px;left:74%}
.island-three{top:255px;left:26%}
.island-symbol{display:grid;place-items:center;width:67px;height:51px;font-size:31px;color:#749fe6;background:#fff;border-radius:22px 22px 28px 28px;border:1px solid #dce6fa;box-shadow:0 9px 0 #cedcf4,0 16px 20px #668ed320;margin-bottom:18px}
.island.active .island-symbol{color:#075df5;border-color:#75a4ff;box-shadow:0 9px 0 #adc9fa,0 0 0 5px #ffffff80}
.island.done .island-symbol{color:#187e71;background:#effcf7;border-color:#a8dccc;box-shadow:0 9px 0 #b6ddce}
.island-key{position:absolute;top:-10px;right:15px;font-size:16px;border-radius:50%;height:26px;width:26px;display:grid;place-items:center;background:#fff;color:#acb8ca;border:1px solid #e1e8f4}
.island.done .island-key{color:#a47713;background:#ffefbd;border-color:#f4d77e}
.treasure-chest{position:absolute;right:8%;bottom:68px;width:124px;text-align:center}
.treasure-chest svg{width:120px;overflow:visible}
.treasure-chest>span{font-size:12px;letter-spacing:1.5px;color:#486eaa}
.chest-lid{transform-origin:20px 55px;transition:transform .6s ease}
.island-map.opened .chest-lid{transform:translateY(-15px) rotate(-10deg)}
.island-map.opened .treasure-chest{filter:drop-shadow(0 0 14px #ffda76)}
.game-panel{background:#fff;border:1px solid #e2e9f7;border-radius:15px;padding:30px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.game-tag{font-size:13px;letter-spacing:1.5px;color:#6483b2;font-weight:600}
.game-panel h3{font-size:28px;line-height:1.35;letter-spacing:-.6px;margin:19px 0 13px;color:#172d51;outline:none}
.game-panel>p{font-size:17px;line-height:1.85;color:#536985;margin:5px 0 12px}
.game-primary{display:inline-flex;justify-content:space-between;gap:24px;align-items:center;border:0;background:#075df5;color:#fff;font:600 17px/1.6 Montserrat,Arial,sans-serif;padding:14px 19px;border-radius:8px;text-decoration:none;cursor:pointer;min-height:46px;transition:background .15s}
.game-primary:hover{background:#004ad3}
.game-primary:focus-visible,.game-option:focus-visible,.game-secondary:focus-visible,.game-replay:focus-visible{outline:3px solid #96b9ff;outline-offset:3px}
.game-panel .game-footnote{font-size:13px;line-height:1.6;margin:15px 0 0;color:#536985}
.game-options{display:grid;gap:8px;width:100%;margin:6px 0 15px}
.game-option{display:flex;align-items:flex-start;gap:10px;text-align:left;font:17px/1.65 Montserrat,Arial,sans-serif;padding:12px;border:1px solid #e0e7f3;background:#fff;color:#506887;border-radius:8px;cursor:pointer;min-height:46px}
.game-option>span{flex-shrink:0;display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:#f0f4fc;color:#7087ad;font-size:13px}
.game-option:hover:enabled{border-color:#7da7f8;background:#f6f9ff}
.game-option:disabled{cursor:default;opacity:1}
.game-option.picked{border-color:#e4c16e;background:#fffbf0;color:#7f692f}
.game-option.correct{border-color:#8bcbbb;background:#effaf7;color:#27675a}
.game-option.correct>span{color:#267766;background:#d8f0e7}
.game-feedback{font-size:15px;line-height:1.8;color:#56738e;margin:0 0 16px;padding-left:12px;border-left:2px solid #b4caf2}
.game-feedback strong{display:block;color:#315888;margin-bottom:4px}
.game-panel .game-score{font-size:17px;margin:0 0 15px;color:#536985}
.plan-list{display:grid;gap:11px;width:100%;margin:0 0 18px;padding:0;list-style:none}
.plan-list li{font-size:15px;line-height:1.65;color:#536985}
.plan-list strong{display:block;color:#345a88;margin-bottom:2px;font-size:15px}
.plan-list .priority{display:inline-block;font-size:13px;color:#a07018;background:#fff5d9;border-radius:4px;padding:1px 5px;margin-left:5px;vertical-align:middle}
.game-result-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.game-secondary{font-size:15px;color:#315e9b;text-decoration:none;border:1px solid #dae5f6;border-radius:8px;padding:12px}
.game-replay{border:0;background:none;color:#536985;font:15px/1.6 Montserrat,Arial,sans-serif;cursor:pointer;padding:15px 0 0;text-decoration:underline;text-underline-offset:3px}
.source-offer{margin:50px 16px;display:grid;grid-template-columns:1.2fr 1fr;gap:65px;padding:38px 30px;align-items:center}
.source-offer h2{font-size:36px;line-height:1.3;margin:15px 0}
.source-offer>div>p:not(.eyebrow){font-size:18px;line-height:1.9;color:#536985}
.source-includes{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:13px;font-size:17px;color:#587194}
.source-includes li{display:flex;align-items:baseline;gap:11px}
.source-includes li:before{content:'✓';color:#34887c;font-size:15px}
.price-card{border:1px solid #ccdfff;border-radius:18px;padding:36px;background:linear-gradient(150deg,#f1f6ff,#fff 65%);box-shadow:0 12px 40px #214b9610}
.price-label{font-size:13px;letter-spacing:2px;color:#6686b4}
.source-offer .price-card .price{color:#0a55d8;font-size:52px;font-weight:650;letter-spacing:-2px;margin:20px 0 0;line-height:1.1;white-space:nowrap}
.price span{font-size:26px;margin-left:6px;vertical-align:super}
.source-offer .price-card .price-caption{font-size:17px;margin:13px 0 25px}
.price-card .download{display:flex;justify-content:space-between;gap:15px;font-size:17px;box-shadow:none;line-height:1.7}
.source-offer .price-card .price-note{font-size:14px;color:#536985;line-height:1.8;margin:18px 0 0}
@media(max-width:1000px){header nav{gap:16px}
.nav-start{display:none}
.treasure{padding:28px}
.expedition{gap:16px}
.game-panel{padding:24px}
.source-offer{gap:30px;padding:30px 20px}
.price-card{padding:28px}
.source-offer .price-card .price{font-size:46px}
.treasure-heading-row h2{font-size:36px}
}
@media(max-width:800px){header nav{gap:12px}
.nav{font-size:14px}
.nav[href='#full-source']{display:none}
.treasure{margin:45px 25px 0;padding:23px 18px;border-radius:17px}
.treasure-heading-row{display:block;margin-bottom:24px}
.treasure-heading-row h2{font-size:32px}
.treasure-heading-row>p{font-size:17px;margin:15px 0 0}
.treasure .eyebrow{font-size:13px;line-height:1.8}
.expedition{grid-template-columns:1fr;gap:18px}
.island-map{min-height:345px}
.island-one{top:48px;left:24%}
.island-two{top:100px;left:73%}
.island-three{top:192px;left:25%}
.island{font-size:13px}
.island-symbol{width:56px;height:43px;font-size:26px;margin-bottom:14px}
.island-key{right:8px}
.treasure-chest{bottom:45px;right:9%;width:95px}
.treasure-chest svg{width:95px}
.map-top,.map-bottom{left:15px;right:15px;font-size:13px}
.map-top{top:15px}
.map-bottom{bottom:13px}
.game-panel{padding:23px 20px;min-height:370px}
.game-panel h3{font-size:23px}
.game-primary{font-size:15px}
.source-offer{grid-template-columns:1fr;margin:20px 25px 40px;padding:15px 0;gap:25px}
.source-offer h2{font-size:29px}
.price-card{padding:29px}
.source-offer .price-card .price{font-size:46px}
.game-result-actions{align-items:stretch;width:100%;flex-direction:column}
.game-result-actions a{text-align:center}
.treasure-heading-row>p{max-width:none}
}
@media(prefers-reduced-motion:reduce){.chest-lid,.game-primary{transition:none}
}

 .treasure [hidden],.treasure-dialog [hidden]{display:none!important}

/* Keep enlarged text comfortable in both the map and narrow layouts. */
.treasure-heading-row>p{max-width:420px}
.island{width:46%;white-space:normal;text-align:center;line-height:1.5}
.island-key{right:calc(50% - 43px)}
.map-top,.map-bottom{letter-spacing:0;gap:10px}
.game-panel{justify-content:flex-start;padding:32px}
.game-panel h3{margin-top:16px}
.game-options{gap:12px}
.game-option{padding:15px}
.game-option>span{width:27px;height:27px}
.game-feedback{margin-bottom:20px}
.plan-list{gap:18px}
.game-result-actions{align-items:stretch;gap:12px}
.price-card .download{font-size:16px}
.treasure-chest>span{letter-spacing:.5px;line-height:1.4;display:block}
@media(max-width:1000px){
  .expedition{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
  .game-panel{padding:25px}
  .map-top,.map-bottom{flex-wrap:wrap}
  .source-offer .price-card .price{font-size:42px}
}
@media(max-width:800px){
  header{height:auto;min-height:116px;padding:18px 0;gap:16px;flex-wrap:wrap}
  .brand{font-size:18px;gap:14px}
  header nav{width:100%;justify-content:space-between;gap:12px}
  .nav{font-size:14px}
  .nav[href='#full-source']{display:inline}
  .treasure{margin-left:16px;margin-right:16px;padding:24px 16px}
  .treasure-heading-row h2{font-size:34px}
  .expedition{grid-template-columns:minmax(0,1fr)}
  .island-map{min-height:420px}
  .island-one{top:64px}
  .island-two{top:142px}
  .island-three{top:245px}
  .island{font-size:13px}
  .map-top,.map-bottom{font-size:12px}
  .treasure-chest{width:110px;right:6%;bottom:66px}
  .game-panel{padding:24px 20px}
  .game-panel h3{font-size:26px}
  .game-primary{font-size:16px;padding:14px 16px;gap:14px;max-width:100%}
  .game-secondary{font-size:16px}
  .source-offer .price-card .price{font-size:clamp(32px,10vw,46px);letter-spacing:-1.5px}
  .price-card{padding:25px 20px}
  footer{flex-wrap:wrap;gap:10px}
}
@media(max-width:360px){
  h1{font-size:36px}
  .treasure-heading-row h2{font-size:30px}
  .game-panel{padding:23px 15px}
  .map-bottom{font-size:11px}
}

/* The landing card invites visitors into a focused, accessible game dialog. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html{scrollbar-gutter:stable}
html.treasure-modal-open{overflow:hidden}
.treasure-teaser{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:36px;padding:38px 42px;background:linear-gradient(115deg,#f2f6ff 20%,#f9fbff 70%,#eef4ff)}
.teaser-copy{min-width:0}
.teaser-copy .eyebrow{font-size:13px;letter-spacing:1.8px;margin:0 0 17px}
.teaser-copy h2{font-size:36px;line-height:1.3;letter-spacing:-.8px;margin:0 0 16px}
.teaser-copy h2 span{color:#075df5}
.teaser-copy>p:not(.eyebrow){font-size:17px;line-height:1.8;color:#536985;max-width:650px;margin:0 0 23px}
.teaser-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.teaser-meta{color:#647998;font-size:14px}
.teaser-copy .teaser-reward{font-size:14px!important;margin:15px 0 0!important}
.teaser-art{position:relative;display:grid;place-items:center;min-height:255px;isolation:isolate}
.teaser-art>svg{width:185px;filter:drop-shadow(0 18px 18px #3b6dbc24);z-index:1}
.teaser-orbit{position:absolute;width:250px;height:250px;border-radius:50%;border:1px dashed #b4cef7;background:radial-gradient(circle,#dbe9ff99 10%,#e9f1ff55 60%,transparent 70%);transform:rotate(-15deg)}
.teaser-orbit:before{content:'';position:absolute;inset:25px;border:1px solid #dce7f9;border-radius:50%}
.teaser-star{position:absolute;color:#d1a448;font-size:28px;z-index:2}
.star-one{top:28px;left:55px}.star-two{top:55px;right:28px;font-size:36px;color:#8daef0}
.teaser-art-label{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:10px;letter-spacing:1px;color:#667e9e}
.treasure-dialog{padding:0;border:1px solid #d7e3f7;border-radius:22px;width:min(1140px,calc(100% - 48px));height:min(780px,calc(100dvh - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;background:#f6f9ff;color:#162748;font:inherit;box-shadow:0 32px 100px #051b4e40;overflow:hidden}
.treasure-dialog[open]{display:flex;flex-direction:column}
.treasure-dialog::backdrop{background:#0c1e43a6;backdrop-filter:blur(6px)}
.treasure-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:23px 28px 20px;background:#fff;flex-shrink:0}
.treasure-dialog-header .game-tag{margin:0 0 5px;font-size:12px;letter-spacing:1.7px}
.treasure-dialog-header h2{font-size:26px;line-height:1.35;letter-spacing:-.5px;margin:0;font-weight:650}
.dialog-header-actions{display:flex;align-items:center;gap:22px;flex-shrink:0}
.dialog-key-count{font-size:14px;white-space:nowrap;background:#edf4ff;color:#245dab;padding:8px 13px;border-radius:20px}
.dialog-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #dde6f3;border-radius:11px;background:#fff;color:#547198;cursor:pointer}
.dialog-close:hover{background:#edf3ff;color:#075df5}
.dialog-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.dialog-close:focus-visible,.map-toggle:focus-visible{outline:3px solid #96b9ff;outline-offset:3px}
.dialog-journey{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 28px;border-top:1px solid #eef2f8;border-bottom:1px solid #e1e9f5;background:#fff;flex-shrink:0}
.journey-steps{list-style:none;display:flex;gap:26px;padding:0;margin:0;flex-wrap:wrap}
.journey-steps li{display:flex;gap:9px;align-items:center;font-size:14px;color:#7d8fa9}
.journey-steps li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:12px;background:#f0f4fa;color:#768cae}
.journey-steps li.active{color:#075df5;font-weight:600}
.journey-steps li.active>span{background:#075df5;color:#fff}
.journey-steps li.done>span{color:#277b66;background:#ddf2e9}
.map-toggle{display:none;border:0;background:none;color:#315d97;font:500 14px/1.6 Montserrat,Arial,sans-serif;padding:5px 0;cursor:pointer}
.treasure-dialog-scroll{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-gutter:stable}
.treasure-dialog .expedition{grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);align-items:start;padding:24px;gap:24px}
.treasure-dialog .island-map{position:sticky;top:24px;height:475px;min-height:475px}
.treasure-dialog .map-top,.treasure-dialog .map-bottom{font-size:12px;left:17px;right:17px}
.treasure-dialog .map-bottom{gap:6px;flex-wrap:wrap}
.treasure-dialog .island{font-size:13px}
.treasure-dialog .game-panel{padding:25px;min-height:475px}
.treasure-dialog .game-panel h3{font-size:27px;margin-top:15px}
.treasure-dialog .game-panel>p{line-height:1.75}
.treasure-dialog .game-tag{letter-spacing:1px}
.treasure-dialog .game-options{gap:10px}
.treasure-dialog .game-option{padding:13px;line-height:1.6}
.treasure-dialog .treasure-chest{right:7%;width:110px;bottom:67px}
.treasure-dialog .treasure-chest svg{width:105px}
.treasure-dialog-footer{display:flex;gap:9px;align-items:center;flex-shrink:0;padding:13px 28px;border-top:1px solid #e1e9f5;background:#fff;color:#697d99;font-size:13px}
.dialog-footer-dot{width:6px;height:6px;background:#59a68f;border-radius:50%;flex-shrink:0}
.dialog-escape{margin-left:auto;color:#8b9ab0;font-size:12px}
@media(max-width:1000px){
  .treasure-teaser{grid-template-columns:minmax(0,1fr) 220px;gap:25px;padding:32px}
  .teaser-copy h2{font-size:32px}
  .teaser-orbit{width:215px;height:215px}
  .teaser-art-label{font-size:9px;letter-spacing:.6px}
  .treasure-dialog .expedition{gap:18px;padding:20px;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr)}
  .treasure-dialog .game-panel{padding:21px}
  .treasure-dialog .island{font-size:12px}
}
@media(max-width:800px){
  .treasure-teaser{grid-template-columns:minmax(0,1fr);padding:28px 23px;gap:0}
  .teaser-copy h2{font-size:32px}
  .teaser-copy .eyebrow{font-size:12px;line-height:1.8}
  .teaser-copy>p:not(.eyebrow){font-size:17px}
  .teaser-art{display:none}
  .teaser-actions{gap:14px}
  .teaser-meta{font-size:13px}
  .treasure-dialog{width:calc(100% - 24px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:17px}
  .treasure-dialog-header{align-items:flex-start;gap:10px;padding:18px 17px 16px}
  .treasure-dialog-header .game-tag{font-size:10px;letter-spacing:1px}
  .treasure-dialog-header h2{font-size:21px;max-width:310px}
  .dialog-header-actions{gap:8px}
  .dialog-key-count{display:none}
  .dialog-journey{padding:13px 17px 10px;align-items:flex-start;flex-direction:column;gap:10px}
  .journey-steps{width:100%;justify-content:space-between;gap:5px}
  .journey-steps li{font-size:12px;gap:6px}
  .journey-steps li>span{width:24px;height:24px;font-size:11px}
  .map-toggle{display:inline-flex;align-items:center;gap:8px;font-size:13px}
  .treasure-dialog .expedition{grid-template-columns:minmax(0,1fr);padding:15px;gap:16px}
  .treasure-dialog .island-map{display:none;position:relative;top:auto;height:420px;min-height:420px}
  .treasure-dialog.map-expanded .island-map{display:block}
  .treasure-dialog .game-panel{padding:22px 18px;min-height:0}
  .treasure-dialog .game-panel h3{font-size:24px}
  .treasure-dialog .game-panel>p{font-size:17px}
  .treasure-dialog .game-option{font-size:17px;padding:12px;gap:8px}
  .treasure-dialog .game-option>span{width:24px;height:24px}
  .treasure-dialog .game-tag{font-size:12px}
  .treasure-dialog .game-primary{width:100%;font-size:16px}
  .treasure-dialog-footer{font-size:12px;padding:12px 17px;line-height:1.6}
  .dialog-escape{display:none}
}
@media(max-width:360px){
  .treasure-teaser{padding:25px 20px}
  .teaser-copy h2{font-size:29px}
  .treasure-dialog .expedition{padding:10px}
  .treasure-dialog .game-panel{padding:20px 14px}
  .treasure-dialog-header h2{font-size:19px}
  .dialog-journey{padding-left:13px;padding-right:13px}
  .journey-steps li{font-size:11px;gap:4px}
}
