/* =====================================================================================================================
   Project RAZ website - the home page only (index.html, <body class="landing">). Everything shared with the account pages
   stays in style.css; nothing here changes how those pages look.
   ===================================================================================================================== */

.landing main { padding: 0 0 72px; margin-top: -61px; }          /* the hero runs up under the glass top bar */
.landing .topbar { background: rgba(11, 11, 13, 0.55); }
.landing .wrap { max-width: 1160px; }
.landing h2 { font-size: 44px; line-height: 1.08; letter-spacing: -1.1px; font-weight: 800; margin: 0 0 14px; }
.landing .lede { color: var(--label-2); font-size: 19px; max-width: 640px; margin: 0; }
.landing .band { margin: 112px 0 0; scroll-margin-top: 92px; }
html:has(.landing) { scroll-behavior: smooth; }
.landing .band-head { margin-bottom: 34px; }
.landing .band-head.center .lede { margin: 0 auto; }
.landing .nav .only-wide { display: inline-block; }

/* ------------------------------------------------------------------ hero */
.l-hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.l-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; z-index: -2; }
.l-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 11, 13, 0.55) 0%, rgba(11, 11, 13, 0) 22%, rgba(11, 11, 13, 0) 45%, rgba(11, 11, 13, 0.82) 82%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 11, 13, 0.58) 0%, rgba(11, 11, 13, 0.18) 42%, rgba(11, 11, 13, 0) 60%);
}
.l-hero .wrap { padding-top: 140px; padding-bottom: 56px; }
.l-hero h1 { font-size: 84px; line-height: 0.98; letter-spacing: -2.8px; font-weight: 800; margin: 0 0 20px; max-width: 600px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35); }
.l-hero .sub { font-size: 21px; max-width: 560px; color: rgba(255, 255, 255, 0.86); margin: 0; }
.l-hero .btns { margin-top: 30px; }
.l-hero .download { margin-top: 14px; }
.l-hero .early { margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.l-hero .early a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.l-hero .btn.secondary { background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
.l-hero .btn.secondary:hover { background: rgba(255, 255, 255, 0.24); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; margin: 0 0 22px;
  border-radius: 16px; font-size: 13px; font-weight: 700; letter-spacing: 0.2px; color: #fff;
  background: rgba(20, 20, 24, 0.5); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.22); }

/* ------------------------------------------------------------------ the numbers under the hero */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--glass); border: 1px solid var(--hairline); border-radius: 22px; box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
  margin-top: 8px; overflow: hidden;
}
.fact { padding: 22px 24px; }
.fact + .fact { border-left: 1px solid var(--hairline); }
.fact .v { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.fact .v small { font-size: 17px; font-weight: 700; color: var(--label-2); letter-spacing: 0; margin-left: 3px; }
.fact .k { color: var(--label-2); font-size: 14px; margin-top: 2px; }

/* ------------------------------------------------------------------ the two maps */
.maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.map { background: var(--glass); border: 1px solid var(--hairline); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.map-main { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.map-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.map:hover .map-main img { transform: scale(1.03); }
.map-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 13, 0) 50%, rgba(11, 11, 13, 0.78)); }
.map-title { position: absolute; left: 24px; right: 24px; bottom: 18px; z-index: 1; color: #fff; }
.map-title .caps { color: rgba(255, 255, 255, 0.78); }
.map-title h3 { font-size: 34px; letter-spacing: -0.8px; font-weight: 800; margin: 2px 0 0; }
.map-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.map-body p { color: var(--label-2); margin: 0; font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tags li { height: 30px; padding: 0 12px; border-radius: 15px; background: var(--fill-2); color: var(--label); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.thumbs a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--hairline); }
.thumbs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.35s ease; }
.thumbs a:hover img { transform: scale(1.06); }

/* ------------------------------------------------------------------ a screen from the game beside its words */
.show { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.show.flip > .screen { order: 2; }
.screen { border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.03); background: #000; }
.screen img { width: 100%; }
.show p { color: var(--label-2); font-size: 18px; margin: 0 0 20px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--label-2); }
.ticks li strong { color: var(--label); font-weight: 650; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(10, 132, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%2364d2ff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 11.5l3 3 6-7'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* ------------------------------------------------------------------ everything else the game does */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tile { background: var(--glass); border: 1px solid var(--hairline); border-radius: 22px; padding: 26px; transition: border-color 0.2s, transform 0.2s; }
.tile:hover { border-color: rgba(10, 132, 255, 0.45); transform: translateY(-2px); }
.tile .ic { width: 44px; height: 44px; border-radius: 13px; background: rgba(10, 132, 255, 0.18); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.tile h3 { font-size: 20px; margin: 0 0 6px; }
.tile p { color: var(--label-2); margin: 0; font-size: 15px; }

/* ------------------------------------------------------------------ plans, questions, the last word */
.landing #plans .plans { max-width: 860px; margin: 0 auto; }
.landing .plan { padding: 30px; border-radius: 26px; }
.landing .plan .price { font-size: 46px; }
.landing .faq { max-width: 860px; margin-left: auto; margin-right: auto; }
.landing .faq summary { font-size: 17px; }
.closer { position: relative; border-radius: 30px; overflow: hidden; isolation: isolate; padding: 84px 40px; text-align: center; border: 1px solid var(--hairline); box-shadow: var(--shadow); }
.closer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.closer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 13, 0.35), rgba(11, 11, 13, 0.78)); }
.closer h2 { font-size: 52px; margin-bottom: 12px; }
.closer p { color: rgba(255, 255, 255, 0.86); font-size: 19px; margin: 0 auto 26px; max-width: 520px; }
.closer .btns { justify-content: center; }

/* ------------------------------------------------------------------ tablets and phones */
@media (max-width: 980px) {
  .l-hero h1 { font-size: 64px; letter-spacing: -2px; }
  .maps { grid-template-columns: 1fr; }
  .show { grid-template-columns: 1fr; gap: 28px; }
  .show.flip > .screen { order: 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}
@media (max-width: 640px) {
  .landing .nav .only-wide { display: none; }
  .landing h2 { font-size: 32px; letter-spacing: -0.7px; }
  .landing .lede { font-size: 17px; }
  .landing .band { margin-top: 76px; }
  .l-hero { min-height: 640px; }
  .l-hero > img { object-position: 52% 60%; }
  .l-hero::before {
    background: linear-gradient(180deg, rgba(11, 11, 13, 0.6) 0%, rgba(11, 11, 13, 0.05) 24%, rgba(11, 11, 13, 0.3) 46%, rgba(11, 11, 13, 0.9) 78%, var(--bg) 100%);
  }
  .l-hero .wrap { padding-top: 110px; padding-bottom: 36px; }
  .l-hero h1 { font-size: 46px; letter-spacing: -1.4px; }
  .l-hero .sub { font-size: 18px; }
  .l-hero .btns .btn { flex: 1 1 100%; }
  .fact { padding: 16px 16px; }
  .fact .v { font-size: 26px; }
  .fact .k { font-size: 13px; }
  .map-title h3 { font-size: 28px; }
  .map-body { padding: 18px 18px 20px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { padding: 22px; }
  .landing .plan .price { font-size: 38px; }
  .closer { padding: 56px 20px; border-radius: 24px; }
  .closer h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-main img, .thumbs img, .tile { transition: none; }
}

/* =====================================================================================================================
   The progress page (progress.html, <body class="progress">): an early build, and what's coming.
   ===================================================================================================================== */
.progress main { padding: 0 0 72px; }
.progress .wrap { max-width: 1160px; }
.progress h2 { font-size: 40px; line-height: 1.08; letter-spacing: -1px; font-weight: 800; margin: 0 0 14px; }
.progress .lede { color: var(--label-2); font-size: 19px; max-width: 680px; margin: 0; }
.progress .band { margin: 88px 0 0; }
.progress .band-head { margin-bottom: 30px; }
.p-head { padding: 72px 0 0; }
.p-head h1 { font-size: 68px; line-height: 1; letter-spacing: -2.2px; font-weight: 800; margin: 0 0 20px; max-width: 760px; }
.chip i.amber { background: var(--orange); box-shadow: 0 0 0 4px rgba(255, 159, 10, 0.22); }
.p-note { display: flex; gap: 18px; align-items: flex-start; margin-top: 40px; padding: 24px 26px; border-radius: 22px; background: rgba(255, 159, 10, 0.08); border: 1px solid rgba(255, 159, 10, 0.28); }
.p-note .ic { flex: none; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 159, 10, 0.18); color: var(--orange); display: grid; place-items: center; }
.p-note h3 { margin: 2px 0 6px; }
.p-note p { color: var(--label-2); margin: 0; max-width: 760px; }
.done { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.done li { position: relative; padding: 16px 18px 16px 52px; border-radius: 16px; background: var(--glass); border: 1px solid var(--hairline); font-weight: 600; }
.done li::before {
  content: ""; position: absolute; left: 16px; top: 50%; margin-top: -12px; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(48, 209, 88, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330d158' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.2 3.2L17 8.5'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.road .tile { position: relative; }
.road .tile .badge { position: absolute; top: 24px; right: 24px; }
.closer.plain { background: radial-gradient(700px 300px at 50% 0%, rgba(10, 132, 255, 0.22), transparent 70%), var(--glass); }
.closer.plain::before { display: none; }
@media (max-width: 980px) {
  .done, .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-head h1 { font-size: 54px; letter-spacing: -1.6px; }
}
@media (max-width: 640px) {
  .done, .road { grid-template-columns: 1fr; }
  .p-head { padding-top: 44px; }
  .p-head h1 { font-size: 40px; letter-spacing: -1.2px; }
  .progress h2 { font-size: 30px; }
  .progress .lede { font-size: 17px; }
  .progress .band { margin-top: 64px; }
  .p-note { padding: 20px; }
  .closer .btns .btn { flex: 1 1 100%; }
}
