@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Inter:opsz,wght@14..32,100..900&display=swap');


/* ==========================================================
   THEME / VARIABLES
   ========================================================== */

:root {
  color-scheme: light;

  --black: #0b0b0b;
  --white: #f4f4f0;
  --grey: #8b8b84;
  --light-grey: #c7c7c0;
  --line: #252525;

  --font-display: "Bricolage Grotesque", sans-serif;
  --font-body: "Inter", Helvetica, Arial, sans-serif;

  --page-x: 32px;
  --page-x-mobile: 24px;

  --transition: 140ms ease;
}


/* ==========================================================
   DARK MODE
   ========================================================== */

html[data-theme="dark"] {
  color-scheme: dark;

  --black: #f4f4f0;
  --white: #0b0b0b;
  --grey: #9a9a94;
  --light-grey: #4a4a45;
  --line: #d3d3cc;
}


/* ==========================================================
   RESET
   ========================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

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

  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.35;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  transition:
    background-color var(--transition),
    color var(--transition);
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font-family: inherit;
}


/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
  min-height: 92px;
  padding: 24px var(--page-x);

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

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

.brand {
  font-family: var(--font-display);

  font-size: 18px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.edition,
.back {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.back {
  transition: opacity var(--transition);
}

.back:hover {
  opacity: 0.5;
}


/* ==========================================================
   BASE
   ========================================================== */

main {
  width: 100%;
}


/* ==========================================================
   HOME HERO
   ========================================================== */

.hero {
  min-height: auto;
  padding: 38px var(--page-x) 54px;
}

.eyebrow {
  margin: 0 0 42px;

  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1100px;
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(82px, 13vw, 205px) !important;
  font-weight: 800;
  line-height: 0.79;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 510px;
  margin: 44px 0 0;

  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}


/* ==========================================================
   HOME LINKS
   ========================================================== */

.main-links {
  border-top: 1px solid var(--black);
}

.main-link {
  min-height: 118px;
  padding: 20px var(--page-x);

  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: center;

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

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

  transition:
    background var(--transition),
    color var(--transition);
}

.main-link:hover:not(.disabled) {
  background: var(--black);
  color: var(--white);
}

.number,
.status-small {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
}

.label {
  max-width: 1000px;

  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.arrow {
  width: 28px;
  height: 28px;

  display: block;
  position: relative;
}

.arrow::before {
  content: "";

  position: absolute;

  width: 20px;
  height: 2px;

  background: currentColor;

  top: 13px;
  left: 3px;

  transform: rotate(-45deg);
  transform-origin: center;
}

.arrow::after {
  content: "";

  position: absolute;

  width: 10px;
  height: 10px;

  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;

  top: 2px;
  right: 1px;
}

.disabled {
  color: var(--grey);
  cursor: default;
}


/* ==========================================================
   PAGE INTRO
   ========================================================== */

.page-intro {
  padding: 38px var(--page-x) 80px;
}

.page-title {
  max-width: 1200px;
  margin: 0;

  font-family: var(--font-display);
  font-size: clamp(80px, 13vw, 190px);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.04em;
}

.intro-grid {
  margin-top: 90px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: start;
}

.intro-grid p {
  max-width: 520px;
  margin: 0;
}

.large-copy {
  font-size: clamp(27px, 3vw, 44px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}


/* ==========================================================
   SECTIONS
   ========================================================== */

.submission {
  padding: 0 var(--page-x) 100px;
}

.section-heading {
  padding: 11px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

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

  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* ==========================================================
   LEGAL
   ========================================================== */

.legal-page .legal-section {
  padding: 0 var(--page-x) 72px;
}

.legal-page .legal-section .section-heading {
  margin-bottom: 30px;
}

.legal-page .legal-content {
  max-width: 900px;
}

.legal-page .legal-content p {
  margin: 0 0 22px;

  font-size: 16px;
  line-height: 1.45;
}

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

.legal-page .legal-content a {
  text-underline-offset: 3px;
}


/* ==========================================================
   FORMS
   ========================================================== */

form {
  margin-top: 60px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 28px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.field-large {
  grid-column: 1 / -1;
}

.field > span {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;

  padding: 9px 0 10px;

  border: 0;
  border-bottom: 1px solid var(--black);
  border-radius: 0;

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

  font: inherit;
  font-size: clamp(22px, 2.4vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.045em;

  outline: none;

  appearance: none;
  -webkit-appearance: none;

  transition:
    border-color var(--transition),
    color var(--transition);
}

textarea {
  min-height: 115px;
  resize: vertical;
}

select {
  cursor: pointer;
}

input:focus,
textarea:focus,
select:focus {
  border-bottom-width: 2px;
}

::placeholder {
  color: var(--light-grey);
  opacity: 1;
}


/* ==========================================================
   CHECKBOX BASE
   ========================================================== */

.checkbox {
  max-width: 620px;
  margin-top: 60px;

  display: flex;
  align-items: flex-start;
  gap: 14px;

  font-size: 13px;
  line-height: 1.35;
}

.checkbox input {
  width: auto;
}


/* ==========================================================
   SUBMIT
   ========================================================== */

.submit-button {
  width: 100%;

  margin-top: 40px;
  padding: 20px 0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;

  border: 0;
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);

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

  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;

  cursor: pointer;

  transition:
    background var(--transition),
    color var(--transition);
}

.submit-button:hover {
  background: var(--black);
  color: var(--white);
}

.form-note {
  max-width: 520px;
  margin-top: 18px;

  font-size: 11px;
  line-height: 1.4;
}


/* ==========================================================
   FOOTER
   ========================================================== */

footer {
  padding: 22px var(--page-x) 40px;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;

  font-size: 11px;
  line-height: 1.4;
}

footer a {
  text-underline-offset: 2px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-professional-link {
  font-weight: 700;
}


/* ==========================================================
   THEME TOGGLE
   ========================================================== */

.theme-toggle {
  padding: 0;

  border: 0;
  background: transparent;
  color: inherit;

  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;

  transition: opacity var(--transition);
}

.theme-toggle:hover {
  opacity: 0.5;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

  .site-header,
  .hero,
  .page-intro,
  .submission {
    padding-left: var(--page-x-mobile);
    padding-right: var(--page-x-mobile);
  }

  .site-header {
    min-height: 72px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero {
    min-height: auto;
    padding-top: 32px;
    padding-bottom: 48px;
  }

  .eyebrow {
    margin-bottom: 36px;
  }

  .hero h1 {
    font-size: clamp(78px, 21vw, 112px) !important;
    font-weight: 800;
    line-height: 0.76;
    letter-spacing: -0.04em;
  }

  .hero-copy {
    max-width: 360px;
    margin: 52px 0 0;
  }

  .main-link {
    min-height: 92px;

    padding-left: var(--page-x-mobile);
    padding-right: var(--page-x-mobile);

    grid-template-columns: 38px 1fr auto;
    gap: 8px;
  }

  .label {
    font-size: clamp(28px, 9vw, 42px);
  }

  .arrow {
    font-size: 42px;
  }

  .page-intro {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .page-title {
    font-size: clamp(66px, 19vw, 105px);
  }

  .intro-grid {
    margin-top: 58px;

    grid-template-columns: 1fr;
    gap: 30px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .field-large {
    grid-column: auto;
  }

  .legal-page .legal-section {
    padding-left: var(--page-x-mobile);
    padding-right: var(--page-x-mobile);
    padding-bottom: 58px;
  }

  .legal-page .legal-section .section-heading {
    margin-bottom: 24px;
  }

  .legal-page .legal-content p {
    font-size: 15px;
    line-height: 1.45;
  }

  footer {
    padding-left: var(--page-x-mobile);
    padding-right: var(--page-x-mobile);

    flex-direction: column;
    gap: 20px;
  }

  footer nav {
    flex-direction: column;
    gap: 7px;
  }
}