:root {
  --black: #090909;
  --paper: #f1eee8;
  --white: #ffffff;
  --blue: #6577ff;
  --wine: #681d35;
  --lavender: #c8bdf2;
  --ink: #171717;
  --muted: #77736e;
  --line: rgba(23, 23, 23, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.65;
}

::selection {
  background: var(--blue);
  color: white;
}


/* -------------------------
   TOP BAR
------------------------- */

.topbar {
  height: 76px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);

  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.02em;

  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(241, 238, 232, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  color: var(--ink);
  text-decoration: none;

  font-weight: 500;
}

.brand-dot {
  width: 38px;
  height: 38px;

  border-radius: 50%;
  overflow: hidden;

  background: white;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(0, 0, 0, 0.15);
}

.brand-dot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.back-link {
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.back-link:hover {
  opacity: 0.45;
}


/* -------------------------
   HERO
------------------------- */

.hero {
  min-height: 70vh;
  padding: 7vw 7vw 6vw;

  background: var(--black);
  color: var(--white);

  display: grid;
  grid-template-columns: 1fr 0.35fr;
  gap: 6vw;

  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "§";
  position: absolute;

  right: -2vw;
  bottom: -12vw;

  font-family: "Syne", sans-serif;
  font-size: 42vw;
  line-height: 0.7;

  color: rgba(101, 119, 255, 0.12);

  pointer-events: none;
}

.hero-number {
  grid-column: 1 / -1;

  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;

  color: var(--lavender);
}

.hero h1 {
  margin: 0;

  font-family: "Syne", sans-serif;
  font-size: clamp(65px, 11vw, 170px);
  line-height: 0.82;
  letter-spacing: -0.07em;

  font-weight: 700;

  position: relative;
  z-index: 2;
}

.hero h1 span {
  color: var(--blue);
  font-style: italic;
}

.hero-side {
  align-self: end;
  max-width: 260px;

  position: relative;
  z-index: 2;
}

.hero-side p {
  margin: 0 0 45px;

  font-family: "DM Mono", monospace;
  font-size: 13px;
  line-height: 1.7;

  color: #c9c7c3;
}

.stamp {
  width: 105px;
  height: 105px;

  border: 1px solid var(--lavender);
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  transform: rotate(-8deg);

  font-family: "DM Mono", monospace;
}

.stamp span {
  font-family: "Syne", sans-serif;
  font-size: 27px;
  font-weight: 700;
}

.stamp small {
  font-size: 8px;
  letter-spacing: 0.12em;
}


/* -------------------------
   STRIP
------------------------- */

.intro-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  padding: 15px 4vw;

  background: var(--blue);
  color: white;

  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.1em;

  border-bottom: 1px solid var(--ink);
}

.intro-strip span:nth-child(2) {
  text-align: center;
}

.intro-strip span:nth-child(3) {
  text-align: right;
}


/* -------------------------
   CONTENT LAYOUT
------------------------- */

.content {
  display: grid;
  grid-template-columns: 260px minmax(0, 850px);

  gap: 8vw;

  max-width: 1250px;
  margin: 0 auto;

  padding: 9vw 5vw 12vw;
}


/* -------------------------
   CONTENTS
------------------------- */

.contents {
  position: sticky;
  top: 110px;

  align-self: start;

  display: flex;
  flex-direction: column;

  gap: 13px;

  font-family: "DM Mono", monospace;
  font-size: 10px;
}

.contents-label {
  color: var(--wine);

  letter-spacing: 0.14em;

  margin-bottom: 15px;
}

.contents a {
  color: #57534f;
  text-decoration: none;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.contents a:hover {
  color: var(--blue);
  transform: translateX(5px);
}


/* -------------------------
   LEGAL COPY
------------------------- */

.legal-copy {
  max-width: 850px;
}

.lead {
  margin: 0 0 9vw;

  font-family: "Syne", sans-serif;

  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.04em;

  max-width: 760px;
}


/* -------------------------
   SECTIONS
------------------------- */

.legal-section {
  display: grid;
  grid-template-columns: 70px 1fr;

  gap: 35px;

  padding: 65px 0;

  border-top: 1px solid var(--line);
}

.section-marker {
  font-family: "DM Mono", monospace;

  font-size: 11px;

  color: var(--blue);

  padding-top: 9px;
}

.legal-section h2 {
  margin: 0 0 25px;

  font-family: "Syne", sans-serif;

  font-size: clamp(30px, 4vw, 55px);
  line-height: 0.95;

  letter-spacing: -0.045em;
}

.legal-section p {
  max-width: 690px;

  margin: 0 0 20px;

  font-size: 16px;
  line-height: 1.8;

  color: #393735;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  font-weight: 600;
  color: var(--wine);
}


/* -------------------------
   ACCENT SECTIONS
------------------------- */

.accent-section {
  margin-left: -35px;
  margin-right: -35px;

  padding-left: 35px;
  padding-right: 35px;

  background: var(--lavender);
}

.accent-section .section-marker {
  color: var(--wine);
}


/* -------------------------
   DARK SECTION
------------------------- */

.dark-section {
  margin-left: -35px;
  margin-right: -35px;

  padding: 75px 35px;

  background: var(--wine);
  color: white;
}

.dark-section .section-marker {
  color: var(--lavender);
}

.dark-section h2 {
  color: white;
}

.dark-section p {
  color: #f0dfe4;
}


/* -------------------------
   LIST
------------------------- */

.legal-section ul {
  margin: 30px 0;

  padding: 0;

  list-style: none;

  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.legal-section li {
  padding: 13px 0;

  border-bottom: 1px solid rgba(0, 0, 0, 0.16);

  font-family: "DM Mono", monospace;
  font-size: 12px;

  display: flex;
  gap: 12px;
}

.legal-section li::before {
  content: "→";

  color: var(--wine);
}


/* -------------------------
   CONTACT
------------------------- */

.final-section {
  padding-bottom: 80px;
}

.contact-button {
  display: inline-flex;
  align-items: center;

  margin-top: 20px;
  padding: 14px 19px;

  background: var(--black);
  color: white;

  text-decoration: none;

  font-family: "DM Mono", monospace;
  font-size: 11px;

  border: 1px solid var(--black);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.contact-button:hover {
  background: var(--blue);
  border-color: var(--blue);

  transform: translateY(-3px);
}


/* -------------------------
   LEGAL NOTE
------------------------- */

.legal-note {
  margin-top: 30px;

  padding: 25px;

  border: 1px dashed rgba(23, 23, 23, 0.35);

  display: grid;
  grid-template-columns: 120px 1fr;

  gap: 25px;

  background: rgba(255, 255, 255, 0.25);
}

.legal-note span {
  font-family: "DM Mono", monospace;

  font-size: 9px;

  letter-spacing: 0.12em;

  color: var(--wine);
}

.legal-note p {
  margin: 0;

  font-size: 12px;
  line-height: 1.7;

  color: #5f5b56;
}


/* -------------------------
   FOOTER
------------------------- */

footer {
  padding: 25px 4vw;

  border-top: 1px solid var(--line);

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  font-family: "DM Mono", monospace;
  font-size: 10px;

  color: #66615c;
}

footer > div:last-child {
  text-align: right;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-links a {
  color: inherit;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--blue);
}


/* -------------------------
   MOBILE
------------------------- */

@media (max-width: 850px) {

  .topbar {
    height: 65px;
    padding: 0 20px;
  }

  .back-link {
    font-size: 10px;
  }

  .hero {
    min-height: 75vh;

    padding: 45px 25px 50px;

    display: flex;
    flex-direction: column;

    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(65px, 20vw, 120px);
  }

  .hero-side {
    margin-top: auto;
  }

  .intro-strip {
    grid-template-columns: 1fr;

    gap: 7px;

    padding: 13px 20px;
  }

  .intro-strip span,
  .intro-strip span:nth-child(2),
  .intro-strip span:nth-child(3) {
    text-align: left;
  }

  .content {
    display: block;

    padding: 65px 25px 90px;
  }

  .contents {
    position: relative;
    top: auto;

    margin-bottom: 70px;

    padding-bottom: 30px;

    border-bottom: 1px solid var(--line);
  }

  .contents a {
    font-size: 9px;
  }

  .lead {
    margin-bottom: 70px;
  }

  .legal-section {
    grid-template-columns: 40px 1fr;

    gap: 15px;

    padding: 50px 0;
  }

  .legal-section h2 {
    font-size: 35px;
  }

  .legal-section p {
    font-size: 15px;
  }

  .accent-section,
  .dark-section {
    margin-left: -25px;
    margin-right: -25px;

    padding-left: 25px;
    padding-right: 25px;
  }

  .legal-note {
    grid-template-columns: 1fr;

    gap: 10px;
  }

  footer {
    grid-template-columns: 1fr;

    gap: 15px;

    text-align: center;
  }

  footer > div:last-child {
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}