:root {
  --blue: #074b9d;
  --deep-blue: #07366f;
  --navy: #062e5e;
  --gold: #f5b800;
  --soft-gold: #fff5ce;
  --pale-blue: #edf5ff;
  --ink: #18314e;
  --muted: #5d6d80;
  --white: #fff;
  --shadow: 0 22px 55px rgba(3, 38, 79, 0.16);
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: linear-gradient(180deg, #f9fcff 0%, #eef6ff 100%);
  font-family: Arial, Helvetica, sans-serif;
}

button, input { font: inherit; }

.brand-header {
  position: relative;
  min-height: 156px;
  padding: 18px clamp(24px, 6vw, 100px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 12px solid var(--blue);
}

.brand-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 5px;
  background: var(--gold);
}

.brand-lockup {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-logo { object-fit: contain; }
.brand-logo-pa { width: 122px; height: 122px; }
.brand-logo-pq { width: 178px; height: 112px; }
.brand-divider { width: 1px; height: 92px; background: #8ca4c0; }

.brand-message {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  min-width: 300px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 12px;
  text-align: center;
}

.brand-message strong { font-weight: 600; }
.gold-rule { width: 160px; height: 2px; margin: 0 auto; background: var(--gold); }

.skyline {
  position: absolute;
  width: 400px;
  height: 112px;
  right: -25px;
  bottom: -3px;
  opacity: 0.12;
  background: url("/assets/prague-quest.png") center / contain no-repeat;
}

.unlock-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 54px 24px 46px;
}

.hero-photo, .hero-wash {
  position: absolute;
  inset: 0;
}

.hero-photo {
  background: url("/assets/prague-hero.webp") center 52% / cover no-repeat;
  filter: saturate(0.85);
}

.hero-wash {
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 55%, rgba(240,247,255,0.82) 100%);
}

.unlock-panel {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
  padding: 30px 34px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 30px;
  background: rgba(255,255,255,0.83);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 0 white;
}

.intro { margin-bottom: 22px; font-size: clamp(17px, 2vw, 22px); line-height: 1.45; }

.pin-form { width: min(560px, 100%); margin: 0 auto; }
.pin-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.pin-field { position: relative; }

.pin-field input {
  width: 100%;
  height: 68px;
  padding: 0 190px 0 24px;
  border: 2px solid #bed0e5;
  border-radius: 15px;
  background: white;
  color: var(--navy);
  font-size: 21px;
  outline: none;
  box-shadow: 0 9px 22px rgba(5, 59, 116, 0.08);
}

.pin-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(7, 75, 157, 0.14); }
.pin-dots { position: absolute; right: 22px; top: 23px; color: #d7e1ed; letter-spacing: 0.28em; pointer-events: none; }

.unlock-button, .download-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  border: 0;
  border-radius: 15px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffd13a, var(--gold));
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(245, 184, 0, 0.25);
}

.unlock-button:hover, .download-button-gold:hover { filter: brightness(0.98); transform: translateY(-1px); }
.unlock-button:disabled { opacity: 0.7; cursor: wait; }
.pin-help { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.form-message { min-height: 22px; margin: 8px 0 0; color: #a82323; font-weight: 700; }

blockquote {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 5vw, 84px);
  top: 70px;
  margin: 0;
  display: grid;
  transform: rotate(-5deg);
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

blockquote::after { content: ""; width: 92px; height: 4px; margin: 12px 0 0 auto; background: var(--gold); transform: rotate(-10deg); }
blockquote strong { font-size: 22px; }

.download-section {
  width: min(1480px, calc(100% - 48px));
  margin: 30px auto 42px;
  padding: 34px;
  border: 1px solid #dce9f6;
  border-radius: 30px;
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow);
}

.download-section[hidden] { display: none; }

.ready-heading { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 28px; }
.ready-heading h2 { margin: 0; color: var(--navy); font-size: clamp(32px, 4vw, 52px); }
.ready-heading .eyebrow { margin-bottom: 4px; }
.checkmark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: white; background: #47bd61; font-size: 38px; font-weight: 800; }

.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.download-card {
  min-height: 285px;
  padding: 24px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  border: 1px solid #cfe0f2;
  border-radius: 18px;
  background: linear-gradient(180deg, white, #f7fbff);
  box-shadow: 0 8px 22px rgba(12, 69, 128, 0.07);
}

.download-card-featured { border: 2px solid var(--gold); background: linear-gradient(180deg, #fffdf6, #fff8dd); }
.card-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; color: var(--blue); background: var(--pale-blue); font-size: 32px; font-weight: 900; }
.folder-icon { color: var(--gold); background: var(--soft-gold); }
.download-card h3 { margin: 15px 0 8px; color: var(--navy); font-size: 22px; }
.download-card p { color: var(--muted); line-height: 1.45; }

.download-button {
  min-height: 54px;
  margin-top: 10px;
  padding: 9px 12px;
  flex-direction: column;
  gap: 2px;
  color: var(--blue);
  background: #eaf4ff;
  box-shadow: none;
}

.download-button:hover { background: #dbeeff; }
.download-button small { font-weight: 500; color: var(--muted); }
.download-button-gold { color: var(--navy); background: linear-gradient(135deg, #ffd13a, var(--gold)); }

.delivery-notes {
  margin-top: 28px;
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid #bfd4e8;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.delivery-notes p { margin: 0; }
.delivery-notes span { margin-right: 7px; color: var(--blue); font-size: 20px; }

footer {
  position: relative;
  min-height: 112px;
  padding: 24px clamp(24px, 6vw, 100px);
  color: white;
  background: linear-gradient(100deg, var(--blue), #0758ae 65%, var(--deep-blue));
}

footer div { display: flex; gap: 18px; }
footer div span { padding-left: 18px; border-left: 1px solid rgba(255,255,255,0.55); }
footer p { margin: 13px 0 0; letter-spacing: 0.26em; font-size: 11px; text-transform: uppercase; }
.footer-script { position: absolute; right: 7vw; top: 22px; font-family: Georgia, serif; font-size: 16px; font-style: italic; letter-spacing: 0; text-transform: none; }

@media (max-width: 1100px) {
  .download-grid { grid-template-columns: repeat(2, 1fr); }
  blockquote { display: none; }
  .brand-message { display: none; }
}

@media (max-width: 720px) {
  .brand-header { min-height: 112px; padding: 12px 18px; }
  .brand-logo-pa { width: 80px; height: 80px; }
  .brand-logo-pq { width: 126px; height: 78px; }
  .brand-divider { height: 70px; }
  .unlock-hero { min-height: 480px; padding: 34px 14px; }
  .unlock-panel { padding: 26px 18px; }
  .pin-field input { padding-right: 20px; }
  .pin-dots { display: none; }
  .download-section { width: calc(100% - 24px); padding: 24px 14px; }
  .download-grid { grid-template-columns: 1fr; }
  .delivery-notes { grid-template-columns: 1fr; text-align: left; }
  .footer-script { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

