:root {
  color-scheme: light;
  --ink: #172019;
  --muted: #5f6d62;
  --paper: #f7f5ec;
  --paper-deep: #eeeadd;
  --line: rgba(23, 32, 25, 0.14);
  --forest: #173c2a;
  --forest-light: #2d6044;
  --lime: #b7d36b;
  --shift: #7c5cff;
  --shift-light: #aa98ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(183, 211, 107, 0.2), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.35rem;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: var(--forest);
  border-radius: 12px;
}

.brand-mark svg {
  width: 23px;
  fill: currentColor;
}

.brand-mark circle {
  fill: var(--forest);
}

.archive-label,
.eyebrow,
.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 750;
}

.archive-label {
  padding: 7px 11px;
  color: var(--forest-light);
  border: 1px solid rgba(45, 96, 68, 0.25);
  border-radius: 999px;
}

.hero {
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 7vw, 90px);
  padding: 80px 0 96px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--forest-light);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: #bf664b;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(191, 102, 75, 0.12);
}

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

h1 {
  max-width: 720px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 6.2vw, 5.8rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: 500;
}

.hero-lead {
  max-width: 670px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.notice {
  max-width: 650px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px 17px;
  color: #715344;
  background: rgba(191, 102, 75, 0.08);
  border: 1px solid rgba(191, 102, 75, 0.2);
  border-radius: 14px;
}

.notice svg {
  width: 21px;
  flex: 0 0 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.notice p {
  margin: 0;
  font-size: 0.9rem;
}

.map-card {
  min-height: 470px;
  position: relative;
  overflow: hidden;
  background: #dfe5c8;
  border: 1px solid rgba(23, 60, 42, 0.17);
  border-radius: 34px;
  box-shadow: 0 28px 70px rgba(23, 60, 42, 0.16);
  transform: rotate(1.4deg);
}

.map-card::before,
.map-card::after,
.map-grid {
  content: "";
  position: absolute;
  inset: 0;
}

.map-card::before {
  background:
    linear-gradient(118deg, transparent 37%, rgba(247, 245, 236, 0.9) 38%, rgba(247, 245, 236, 0.9) 41%, transparent 42%),
    linear-gradient(22deg, transparent 62%, rgba(247, 245, 236, 0.7) 63%, rgba(247, 245, 236, 0.7) 66%, transparent 67%);
}

.map-card::after {
  background: radial-gradient(circle at 60% 45%, transparent, rgba(23, 60, 42, 0.12));
}

.map-grid {
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(23, 60, 42, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 60, 42, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
}

.plot {
  position: absolute;
  z-index: 1;
  background: rgba(183, 211, 107, 0.52);
  border: 2px solid rgba(45, 96, 68, 0.55);
}

.plot-a {
  width: 38%;
  height: 25%;
  top: 14%;
  left: 8%;
  clip-path: polygon(4% 9%, 91% 0, 100% 79%, 18% 100%);
}

.plot-b {
  width: 35%;
  height: 31%;
  top: 47%;
  right: 9%;
  clip-path: polygon(13% 0, 100% 15%, 84% 100%, 0 81%);
}

.plot-c {
  width: 28%;
  height: 20%;
  bottom: 7%;
  left: 11%;
  clip-path: polygon(0 12%, 88% 0, 100% 94%, 9% 100%);
}

.map-pin {
  width: 68px;
  height: 68px;
  position: absolute;
  z-index: 3;
  top: 37%;
  left: 52%;
  display: grid;
  place-items: center;
  color: var(--lime);
  background: var(--forest);
  border: 7px solid rgba(247, 245, 236, 0.9);
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(23, 60, 42, 0.25);
  transform: translate(-50%, -50%) rotate(-1.4deg);
}

.map-pin svg {
  width: 36px;
  fill: currentColor;
}

.map-pin circle {
  fill: var(--forest);
}

.map-caption {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  background: rgba(247, 245, 236, 0.9);
  border: 1px solid rgba(23, 60, 42, 0.12);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transform: rotate(-1.4deg);
}

.map-caption span {
  color: var(--muted);
  font-size: 0.8rem;
}

.history {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.history > div:first-child {
  max-width: 760px;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.history-grid article {
  min-height: 245px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.history-grid article > span {
  display: block;
  margin-bottom: 50px;
  color: var(--forest-light);
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.history-grid h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.history-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.shift-section {
  position: relative;
  overflow: hidden;
  margin: 20px 0 100px;
  padding: clamp(34px, 7vw, 84px);
  color: #f7f5ff;
  background: #111525;
  border-radius: 34px;
}

.shift-glow {
  width: 520px;
  height: 520px;
  position: absolute;
  top: -300px;
  right: -180px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.55), transparent 68%);
  pointer-events: none;
}

.shift-intro,
.steps,
.disclaimer {
  position: relative;
  z-index: 1;
}

.shift-intro {
  max-width: 830px;
}

.section-kicker-light {
  color: var(--shift-light);
}

.shift-intro p:not(.section-kicker) {
  max-width: 760px;
  color: #c4c8d8;
  font-size: 1.06rem;
}

.shift-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 20px;
  text-decoration: none;
  font-weight: 750;
  border-radius: 13px;
  transition: transform 150ms ease, background-color 150ms ease;
}

.primary-button {
  color: white;
  background: var(--shift);
}

.primary-button:hover {
  background: #6d4df4;
  transform: translateY(-2px);
}

.secondary-button {
  color: #e5e2ff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 52px 0 18px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
}

.step-number {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: grid;
  place-items: center;
  color: #ddd7ff;
  background: rgba(124, 92, 255, 0.22);
  border-radius: 9px;
  font-weight: 800;
}

.steps strong,
.steps small {
  display: block;
}

.steps small {
  margin-top: 4px;
  color: #aeb4c8;
  line-height: 1.45;
}

.disclaimer {
  margin: 0;
  color: #858ca2;
  font-size: 0.76rem;
}

.faq {
  max-width: 900px;
  margin-bottom: 110px;
}

.faq-grid {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 22px 34px 22px 0;
  position: relative;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  color: var(--forest-light);
  font-size: 1.5rem;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 720px;
  padding-bottom: 22px;
  color: var(--muted);
}

footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand {
  color: var(--ink);
  font-size: 1.1rem;
}

footer p {
  margin: 5px 0 0;
  font-size: 0.82rem;
}

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .map-card {
    min-height: 390px;
    transform: none;
  }

  .map-pin,
  .map-caption {
    transform: translate(-50%, -50%);
  }

  .map-caption {
    transform: none;
  }

  .history-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .history-grid article {
    min-height: 0;
  }

  .history-grid article > span {
    margin-bottom: 24px;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 70px;
  }

  .archive-label {
    font-size: 0.62rem;
  }

  .hero {
    min-height: 0;
    padding: 52px 0 72px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .map-card {
    min-height: 330px;
    border-radius: 24px;
  }

  .history {
    padding: 76px 0;
  }

  .shift-section {
    margin-bottom: 78px;
    padding: 32px 22px;
    border-radius: 24px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  footer {
    min-height: 180px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .primary-button,
  .secondary-button {
    transition: none;
  }
}
