:root {
  --navy: #07172c;
  --navy-2: #0c2342;
  --blue: #154d87;
  --blue-light: #2d76bb;
  --cream: #f2eadb;
  --paper: #f7f0e4;
  --red: #c52d31;
  --red-dark: #8e171d;
  --gold: #e6b65d;
  --ink: #132033;
  --muted: #6e7885;
  --line: rgba(7, 23, 44, 0.14);
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(45, 118, 187, 0.22), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(197, 45, 49, 0.12), transparent 28%),
    linear-gradient(135deg, #061326 0%, #0b2340 54%, #061426 100%);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.topbar {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 300px;
  display: block;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: .95;
}

.brand-text strong {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: .08em;
  font-size: 1.25rem;
}

.brand-text small {
  margin-top: 5px;
  color: var(--gold);
  letter-spacing: .22em;
  font-size: .66rem;
}

.topbar-actions {
  display: flex;
  gap: 10px;
}

.ghost-button,
.text-button {
  color: white;
  background: transparent;
  border: 0;
}

.ghost-button {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}

.ghost-button:hover {
  background: rgba(255,255,255,.08);
}

main {
  position: relative;
  z-index: 1;
}

.login-view {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 100px);
  margin: 0 auto;
  padding: 60px 0 90px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.panel-label,
.card-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-copy h1,
.dashboard-heading h1,
.login-card h2,
.modal-card h2,
.panel-block h3,
.final-offer h3 {
  font-family: "Barlow Condensed", sans-serif;
}

.hero-copy h1 {
  margin: 14px 0 22px;
  max-width: 780px;
  font-size: clamp(3.3rem, 7vw, 6.4rem);
  line-height: .88;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.hero-copy h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.75);
}

.hero-copy > p {
  max-width: 650px;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-size: 1.02rem;
}

.hero-copy > p strong {
  color: white;
}

.campaign-promise {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.campaign-promise span {
  padding: 9px 12px;
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(230,182,93,.24);
  background: rgba(230,182,93,.08);
  font-size: .72rem;
  font-weight: 600;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 38px;
}

.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.hero-stats strong {
  font-family: "Barlow Condensed", sans-serif;
  color: var(--gold);
  font-size: 2.7rem;
}

.hero-stats span {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
}

.login-card {
  position: relative;
  padding: 38px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(7, 23, 44, .15);
  pointer-events: none;
}

.login-card h2 {
  position: relative;
  margin: 8px 0 6px;
  font-size: 2.4rem;
}

.login-card > p {
  position: relative;
  color: var(--muted);
  line-height: 1.55;
  font-size: .92rem;
}

.login-card form,
.google-login {
  position: relative;
  margin-top: 28px;
}

.login-card label {
  display: block;
  margin: 18px 0 7px;
  font-size: .77rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.login-card input {
  width: 100%;
  padding: 15px 14px;
  color: var(--ink);
  border: 1px solid rgba(7, 23, 44, .18);
  background: rgba(255,255,255,.45);
  outline: none;
}

.login-card input:focus,
.code-input-wrap input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(45, 118, 187, .12);
}

.primary-button {
  width: 100%;
  margin-top: 24px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  color: white;
  border: 0;
  background: var(--red);
  font-weight: 800;
  letter-spacing: .04em;
}

.primary-button:hover {
  background: var(--red-dark);
}

.google-button {
  width: 100%;
  min-height: 52px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #1f1f1f;
  border: 1px solid #747775;
  border-radius: 4px;
  background: #fff;
  font-weight: 600;
  transition: background-color .2s, box-shadow .2s, border-color .2s;
}

.google-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.google-button:hover:not(:disabled) {
  border-color: #5f6368;
  background: #f8faff;
  box-shadow: 0 1px 3px rgba(60, 64, 67, .25);
}

.google-button:focus-visible {
  outline: 3px solid rgba(45, 118, 187, .25);
  outline-offset: 2px;
}

.google-button:disabled {
  cursor: wait;
  opacity: .65;
}

.auth-feedback {
  min-height: 1.25rem;
  margin: 12px 0 0;
  color: var(--red-dark);
  font-size: .75rem;
  line-height: 1.4;
}

.security-note {
  position: relative;
  display: block;
  margin-top: 18px;
  color: #7e8792;
  font-size: .68rem;
  line-height: 1.5;
}

.passport-view {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.dashboard-heading h1 {
  margin: 6px 0 4px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.dashboard-heading p {
  margin: 0;
  color: rgba(255,255,255,.68);
}

.progress-card {
  width: 280px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.055);
  backdrop-filter: blur(10px);
}

.progress-card > span {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.progress-card strong {
  float: right;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.7rem;
}

.progress-track {
  clear: both;
  height: 5px;
  margin-top: 15px;
  background: rgba(255,255,255,.13);
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width .55s ease;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  gap: 28px;
  align-items: start;
}

.passport-shell {
  filter: drop-shadow(0 28px 45px rgba(0,0,0,.34));
}

.passport-cover-strip {
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.78);
  background: var(--red-dark);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.passport-document {
  position: relative;
  padding: 30px;
  color: var(--ink);
  background:
    repeating-linear-gradient(45deg, rgba(18, 77, 135, .026) 0 1px, transparent 1px 7px),
    var(--paper);
  overflow: hidden;
}

.passport-document::after {
  content: "ITA / IME";
  position: absolute;
  right: -20px;
  bottom: -12px;
  color: rgba(21,77,135,.055);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 8rem;
  transform: rotate(-8deg);
  pointer-events: none;
}

.passport-header,
.passport-owner,
.passport-footer {
  position: relative;
  z-index: 1;
}

.passport-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ink);
}

.passport-label {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.passport-header h2 {
  margin: 3px 0 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.02em;
}

.passport-emblem {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--blue);
  font-size: 1.5rem;
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 6px var(--blue);
}

.passport-owner {
  margin-top: 18px;
  padding: 15px 0 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.avatar {
  width: 55px;
  height: 65px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.passport-owner span,
.passport-owner small {
  display: block;
  color: #737d87;
  font-size: .63rem;
  letter-spacing: .08em;
}

.passport-owner strong {
  display: block;
  margin: 3px 0;
  font-size: 1rem;
}

.status-chip {
  padding: 8px 10px;
  color: var(--red-dark);
  border: 1px solid rgba(142,23,29,.28);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.stamps-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.stamp-slot {
  position: relative;
  min-height: 190px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(7,23,44,.26);
  background: rgba(255,255,255,.28);
  overflow: hidden;
}

.live-number {
  position: absolute;
  top: 10px;
  left: 12px;
  color: #7d8791;
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.stamp-target {
  position: relative;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
}

.empty-mark {
  color: rgba(7,23,44,.12);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 5rem;
  font-weight: 800;
}

.stamp-mark {
  position: absolute;
  inset: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--red);
  border: 5px double currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-18deg) scale(1.8);
  filter: contrast(1.2);
}

.stamp-mark::before,
.stamp-mark::after {
  content: "★";
  position: absolute;
  top: 48%;
  font-size: .75rem;
}

.stamp-mark::before { left: 8px; }
.stamp-mark::after { right: 8px; }

.stamp-mark span,
.stamp-mark small {
  font-size: .55rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.stamp-mark strong {
  margin: 4px 0;
  padding: 4px 7px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
}

.final-stamp {
  color: var(--blue);
}

.final-slot {
  grid-column: 1 / -1;
}

.stamp-slot.completed .empty-mark {
  opacity: 0;
}

.stamp-slot.completed .stamp-mark {
  opacity: .88;
  transform: rotate(-11deg) scale(1);
  transition: opacity .18s ease, transform .35s cubic-bezier(.2,.85,.2,1.3);
}

.stamp-slot p {
  margin: 6px 0 0;
  color: #5f6974;
  font-size: .76rem;
  font-weight: 700;
}

.passport-footer {
  margin-top: 22px;
  padding-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.passport-footer > span {
  max-width: 330px;
  color: #7a828c;
  font-size: .62rem;
  line-height: 1.5;
}

.signature {
  font-family: cursive;
  color: var(--blue);
  font-size: 1.1rem;
  transform: rotate(-5deg);
}

.mission-panel {
  display: grid;
  gap: 18px;
}

.panel-block,
.final-offer {
  padding: 26px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.panel-block h3,
.final-offer h3 {
  margin: 7px 0 6px;
  font-size: 2rem;
  line-height: 1;
}

.panel-block > p,
.final-offer p {
  color: rgba(255,255,255,.62);
  line-height: 1.55;
  font-size: .82rem;
}

.code-input-wrap {
  display: grid;
  grid-template-columns: 1fr 52px;
  margin-top: 18px;
}

.code-input-wrap input {
  min-width: 0;
  padding: 15px;
  color: var(--ink);
  border: 1px solid transparent;
  background: white;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  outline: none;
}

.code-input-wrap button {
  color: white;
  border: 0;
  background: var(--red);
  font-size: 1.3rem;
}

.feedback {
  min-height: 22px;
  margin-top: 10px;
  font-size: .76rem;
}

.feedback.success { color: #8fe1ad; }
.feedback.error { color: #ff9d9d; }

.level-summary {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,.68);
  font-size: .7rem;
}

.level-summary strong {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .08em;
}

.level-summary small {
  text-align: right;
}

.clue-radar {
  position: relative;
  overflow: hidden;
}

.clue-radar::after {
  content: "⌖";
  position: absolute;
  right: -8px;
  bottom: -32px;
  color: rgba(255,255,255,.035);
  font-size: 9rem;
  pointer-events: none;
}

.clue-sources {
  position: relative;
  z-index: 1;
  margin: 16px 0 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.clue-sources span {
  padding: 10px;
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  font-size: .68rem;
}

.clue-sources b {
  margin-right: 5px;
  color: var(--gold);
}

.clue-radar > small {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,.48);
  font-size: .66rem;
  line-height: 1.5;
}

.text-button {
  margin-top: 4px;
  padding: 0;
  color: var(--gold);
  font-size: .73rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.reward-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.reward-item {
  padding: 11px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  opacity: .48;
  transition: opacity .3s ease;
}

.reward-item:last-child {
  border-bottom: 0;
}

.reward-item.unlocked {
  opacity: 1;
}

.reward-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
}

.reward-item strong,
.reward-item span {
  display: block;
}

.reward-item strong {
  font-size: .8rem;
}

.reward-item span,
.reward-status {
  margin-top: 3px;
  color: rgba(255,255,255,.55);
  font-size: .65rem;
}

.reward-item.unlocked .reward-status {
  color: #8fe1ad;
}

.mission-road {
  grid-column: 1 / -1;
}

.road-list {
  position: relative;
  margin-top: 22px;
  display: grid;
  gap: 0;
}

.road-list::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 2px;
  background: linear-gradient(var(--gold), rgba(230,182,93,.12));
}

.road-step.reward-item {
  position: relative;
  padding: 0 0 22px;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  border: 0;
  opacity: 1;
}

.road-step:last-child {
  padding-bottom: 0;
}

.road-marker {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--gold);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
}

.road-step.unlocked .road-marker {
  color: white;
  border-color: #63c98b;
  background: #268452;
  box-shadow: 0 0 0 4px rgba(99,201,139,.12);
}

.road-content {
  min-width: 0;
  padding: 1px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.road-step:last-child .road-content {
  border-bottom: 0;
}

.road-content .road-source {
  margin: 0 0 3px;
  color: var(--gold);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.road-content strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
}

.road-content .reward-name {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.58);
  font-size: .68rem;
}

.road-actions {
  margin-top: 10px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.road-actions a,
.road-actions .reward-status {
  margin: 0;
  padding: 8px 10px;
  display: inline-flex;
  color: white;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-size: .63rem;
  font-weight: 700;
  text-decoration: none;
}

.road-actions a:hover {
  border-color: var(--gold);
  background: rgba(230,182,93,.1);
}

.road-actions .reward-link {
  color: var(--navy);
  border-color: var(--gold);
  background: var(--gold);
}

.road-actions .reward-status {
  color: rgba(255,255,255,.46);
}

.final-offer {
  color: var(--ink);
  background: var(--gold);
  border-color: transparent;
}

.final-offer > span {
  color: var(--red-dark);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}

.final-offer p {
  color: rgba(19,32,51,.72);
}

.coupon {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  color: white;
  border: 0;
  background: var(--navy);
  font-weight: 900;
  letter-spacing: .16em;
}

.final-offer small {
  display: block;
  margin-top: 8px;
  text-align: center;
  color: rgba(19,32,51,.6);
}

.stamp-animation {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
}

.stamp-animation.active {
  opacity: 1;
}

.stamp-hammer {
  position: relative;
  width: 180px;
  height: 220px;
  transform-origin: 50% 80%;
  transform: translateY(-140px) rotate(-18deg);
}

.stamp-animation.active .stamp-hammer {
  animation: stampHit .72s cubic-bezier(.55,.08,.35,1) forwards;
}

.handle {
  position: absolute;
  left: 78px;
  top: 0;
  width: 26px;
  height: 145px;
  border-radius: 14px;
  background: linear-gradient(90deg, #754126, #b8794c 46%, #6a361f);
  box-shadow: 0 12px 24px rgba(0,0,0,.35);
}

.stamp-base {
  position: absolute;
  left: 35px;
  bottom: 5px;
  width: 112px;
  height: 62px;
  border-radius: 50% 50% 14px 14px;
  background: linear-gradient(#303948, #111925);
  box-shadow: 0 16px 22px rgba(0,0,0,.38);
}

.impact-ring {
  position: absolute;
  width: 110px;
  height: 110px;
  border: 5px solid var(--red);
  border-radius: 50%;
  opacity: 0;
}

.stamp-animation.active .impact-ring {
  animation: impact .55s .45s ease-out forwards;
}

@keyframes stampHit {
  0% { transform: translateY(-170px) rotate(-18deg) scale(1.05); }
  68% { transform: translateY(18px) rotate(0deg) scale(.98); }
  82% { transform: translateY(8px) rotate(0deg) scale(1); }
  100% { transform: translateY(-22px) rotate(-5deg) scale(1); opacity: 0; }
}

@keyframes impact {
  0% { transform: scale(.4); opacity: .9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,8,18,.76);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 7px 0 18px;
  font-size: 2.8rem;
}

.modal-card ol {
  padding-left: 20px;
  color: #55606c;
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  color: var(--ink);
  border: 0;
  background: transparent;
  font-size: 1.8rem;
}

.demo-code-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}

.demo-code-list button {
  padding: 14px;
  text-align: left;
  border: 1px solid rgba(7,23,44,.15);
  background: rgba(255,255,255,.4);
}

.demo-code-list button:hover {
  border-color: var(--blue-light);
}

.demo-code-list span,
.demo-code-list strong {
  display: block;
}

.demo-code-list span {
  color: #78818a;
  font-size: .67rem;
}

.demo-code-list strong {
  margin-top: 3px;
  color: var(--red-dark);
  letter-spacing: .08em;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .login-view,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .login-view {
    gap: 45px;
    padding-top: 35px;
  }

  .hero-copy h1 {
    max-width: 700px;
  }

  .dashboard-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .progress-card {
    width: 100%;
  }

  .mission-panel {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .final-offer {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .topbar,
  .login-view,
  .passport-view {
    width: min(100% - 24px, 1240px);
  }

  .topbar {
    padding-top: 15px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }

  .ghost-button {
    padding: 9px 11px;
    font-size: .75rem;
  }

  .login-view {
    padding-top: 30px;
  }

  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .hero-stats {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-stats div {
    flex: 1 1 90px;
  }

  .login-card,
  .panel-block,
  .final-offer {
    padding: 22px;
  }

  .passport-document {
    padding: 18px;
  }

  .passport-header h2 {
    font-size: 2.25rem;
  }

  .passport-emblem {
    width: 48px;
    height: 48px;
  }

  .passport-owner {
    grid-template-columns: auto 1fr;
  }

  .status-chip {
    grid-column: 1 / -1;
    text-align: center;
  }

  .stamps-grid {
    grid-template-columns: 1fr;
  }

  .mission-panel {
    grid-template-columns: 1fr;
  }

  .final-slot,
  .mission-road {
    grid-column: auto;
  }

  .final-offer {
    grid-column: auto;
  }

  .passport-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-code-list {
    grid-template-columns: 1fr;
  }
}
