@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Inter:wght@400;500;700;900&family=Caveat:wght@600&display=swap");
:root {
  --bg: #090b09;
  --panel: #11140f;
  --paper: #e4d6bd;
  --ink: #15120d;
  --text: #eee3cf;
  --muted: #a99b84;
  --line: rgba(228, 214, 189, 0.18);
  --gold: #d7902f;
  --gold2: #ffb84a;
  --danger: #ff6b57;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(215, 144, 47, 0.13),
      transparent 28rem
    ),
    radial-gradient(
      circle at 86% 18%,
      rgba(228, 214, 189, 0.08),
      transparent 24rem
    ),
    linear-gradient(180deg, #090b09 0%, #0e100d 58%, #080908 100%);
  min-height: 100vh;
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.topbar,
main,
footer {
  position: relative;
  z-index: 1;
}
.topbar{
  height:72px;
  padding:0 clamp(18px,4vw,54px);
  display:flex;
  align-items:center;
  gap:42px;
  border-bottom:1px solid var(--line);
  background:rgba(6,7,6,.62);
  backdrop-filter:blur(12px);
  position:sticky;
  top:0;
  z-index:5;
}
.brand{
  color:var(--text);
  text-decoration:none;
  font-family:Oswald,sans-serif;
  font-weight:700;
  letter-spacing:.04em;
  font-size:27px;
  display:flex;
  align-items:center;
  gap:10px;
}

nav a{
  color:var(--muted);
  text-decoration:none;
  font:700 17px Oswald;
  letter-spacing:.06em;
}

nav{
  display:flex;
  gap:36px;
  margin-left:28px;
}
nav a.active,
nav a:hover {
  color: var(--gold2);
}
.badge {
  border: 1px solid rgba(228, 214, 189, 0.4);
  border-radius: 6px;
  padding: 7px 15px;
  color: var(--paper);
  font: 700 12px Oswald;
  letter-spacing: 0.12em;
}
.hero{
  min-height:calc(100vh - 150px);
  display:flex;
  align-items:center;
  padding:70px clamp(22px,10vw,160px);
}

.hero-text{
  max-width:1000px;
}
.kicker {
  color: var(--gold);
  font: 700 13px Oswald;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
h1 {
  margin: 0;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  line-height: 0.96;
  font-size: clamp(56px, 9vw, 122px);
  letter-spacing: 0.015em;
}
h1 span {
  font-family: Caveat, cursive;
  text-transform: none;
  font-size: 0.55em;
  color: var(--gold2);
  font-weight: 600;
}
.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}
.btn{
  border:1px solid var(--line);
  border-radius:8px;
  padding:17px 30px;
  cursor:pointer;
  font:900 17px Inter;
  text-decoration:none;
  transition:.2s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn.primary {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
}
.btn.primary:hover {
  transform: translateY(-1px);
  background: #f0dec0;
}
.btn.ghost {
  background: rgba(228, 214, 189, 0.04);
  color: var(--paper);
}
.btn.full {
  width: 100%;
  margin-top: 16px;
}
.polaroid-stack {
  position: relative;
  min-height: 430px;
}
.polaroid {
  background: var(--paper);
  color: var(--ink);
  width: 260px;
  padding: 16px 16px 42px;
  position: absolute;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: rotate(7deg);
}
.polaroid.one {
  right: 25%;
  top: 20px;
}
.polaroid.two {
  right: 5%;
  top: 160px;
  transform: rotate(-9deg);
}
.photo {
  height: 220px;
  background: #1e211b;
  border: 1px solid rgba(0, 0, 0, 0.18);
}
.photo.mountain {
  background: linear-gradient(140deg, #20251e, #050605 65%);
}
.photo.signal {
  background:
    radial-gradient(
      circle at 50% 48%,
      rgba(255, 255, 255, 0.95),
      transparent 5%,
      transparent 100%
    ),
    #111;
}
.polaroid b {
  font-family: Caveat, cursive;
  font-size: 30px;
  float: right;
  margin-top: 8px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 0 clamp(22px, 7vw, 110px) 80px;
}
.info-card,
.test-card,
.lock-card,
.mission,
.paper {
  border: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(23, 26, 20, 0.86),
    rgba(9, 11, 9, 0.84)
  );
  border-radius: 12px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.28);
}
.info-card {
  padding: 28px;
}
.info-card h2 {
  font-family: Oswald;
  font-size: 30px;
  margin: 8px 0;
}
.info-card p {
  color: var(--muted);
  line-height: 1.6;
}
.info-card a,
.fake-link {
  color: var(--gold2);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
}
.icon {
  font-size: 30px;
}
.muted {
  opacity: 0.78;
}
.page {
  padding: 70px clamp(18px, 7vw, 110px) 80px;
  min-height: calc(100vh - 150px);
}
.page.narrow {
  max-width: 900px;
  margin: auto;
}
.intro {
  max-width: 780px;
  margin-bottom: 32px;
}
.test-card,
.lock-card,
.mission {
  max-width: 860px;
  padding: 34px;
  margin: auto;
}
.label {
  display: block;
  color: var(--paper);
  font-weight: 800;
  margin-bottom: 9px;
}
.input {
  width: 100%;
  padding: 16px 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #0b0d0a;
  color: var(--text);
  font-size: 16px;
  outline: none;
}
.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(215, 144, 47, 0.12);
}
.hint,
.sub {
  color: var(--muted);
  line-height: 1.6;
}
.hidden {
  display: none !important;
}
.question-top {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold);
  font: 700 15px Oswald;
  letter-spacing: 0.08em;
}
.progress {
  height: 6px;
  flex: 1;
  background: rgba(228, 214, 189, 0.18);
  border-radius: 99px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gold2);
  transition: 0.25s;
}
#questionText {
  font-size: 32px;
  margin: 28px 0 8px;
}
.options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.option {
  min-height: 138px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: 0.18s;
}
.option:hover,
.option.selected {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(215, 144, 47, 0.12);
  transform: translateY(-1px);
}
.option strong {
  display: block;
  font-size: 17px;
  margin-bottom: 7px;
}
.option span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.option .emoji {
  font-size: 34px;
  margin-bottom: 12px;
}
.question-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}
textarea {
  width: 100%;
  height: 170px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #090a08;
  color: var(--paper);
  padding: 14px;
  margin: 14px 0;
  font-family: monospace;
  font-size: 13px;
}
.peak-hero {
  max-width: 900px;
  margin: auto auto 30px;
}
.peak-hero h1 {
  font-size: clamp(72px, 13vw, 150px);
}
.lock-card {
  text-align: center;
  max-width: 540px;
}
.lock-icon {
  font-size: 44px;
}
.input.code {
  text-align: center;
  text-transform: uppercase;
  font: 800 20px Inter;
  letter-spacing: 0.12em;
}
.error {
  color: var(--danger);
  font-weight: 800;
}
.mission-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.mission-head h2 {
  font-family: Oswald;
  font-size: 52px;
  margin: 0;
  text-transform: uppercase;
}
.stamp {
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 8px 15px;
  border-radius: 6px;
  transform: rotate(-7deg);
  font: 800 18px Oswald;
}
.paper {
  background: var(--paper);
  color: var(--ink);
  padding: 34px;
  border-radius: 2px;
  border: 0;
}
.paper h2 {
  font-family: Oswald;
  font-size: 36px;
  margin-top: 0;
}
.paper p,
.paper li {
  line-height: 1.75;
}
.mission-paper p {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.45;
}
.mission-paper small {
  font-weight: 800;
  color: #514735;
}
.reminder {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.reminder div {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
}
.reminder b {
  display: block;
  color: var(--gold2);
  margin-bottom: 8px;
}
.reminder span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
footer {
  border-top: 1px solid var(--line);
  padding: 26px clamp(22px, 7vw, 110px);
  display: flex;
  gap: 24px;
  color: var(--muted);
}
footer b {
  color: var(--paper);
  font-family: Oswald;
  font-size: 22px;
}
@media (max-width: 800px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .badge {
    display: none;
  }
  .hero{
    min-height:calc(100vh - 145px);
    display:flex;
    align-items:center;
    padding:70px clamp(22px,10vw,160px);
  }
  .polaroid-stack {
    display: none;
  }
  .cards,
  .options,
  .reminder {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 58px;
  }
  .hero h1{
  font-size:clamp(46px,5vw,72px);
  line-height:.9;
  width:max-content;
}

.hero h1 span{
  display:block;
  margin-top:18px;
  margin-left:32%;
  font-size:.7em;
  white-space:nowrap;
}
  .question-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .progress {
    width: 100%;
    flex: auto;
  }
}
