@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --bg: #141715;
  --panel: #1c211d;
  --text: #eeeade;
  --muted: #b5baaf;
  --gold: #d7bb7f;
  --line: #343a31;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-underline-offset: 5px;
}

a:hover {
  color: var(--gold);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 6px;
}

header,
main,
footer {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}

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

.brand {
  text-decoration: none;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 29px;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand span {
  color: var(--gold);
}

nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}

nav a {
  text-decoration: none;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
}

h1,
h2,
h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.06;
}

h1 {
  font-size: clamp(55px, 7vw, 94px);
  letter-spacing: -2px;
  margin: 24px 0;
}

h1 em {
  color: var(--gold);
  font-weight: 400;
}

h2 {
  font-size: 44px;
  letter-spacing: -1px;
}

h3 {
  font-size: 28px;
  margin: 16px 0;
}

p {
  color: var(--muted);
}

.hero {
  padding: 88px 0 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 80px;
}

.intro {
  font-size: 16px;
  max-width: 430px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 23px;
  margin-top: 24px;
  background: var(--gold);
  color: #171b16;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--gold);
}

.button:hover {
  background: #e4cea2;
  color: #171b16;
}

.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.note {
  font-size: 12px;
  margin-top: 17px;
}

.practice {
  position: relative;
  border: 1px solid #4a513f;
  background: linear-gradient(145deg, #282e23, #1a201b);
  padding: 32px;
  box-shadow: 16px 18px 0 #10130f;
}

.practice::before {
  content: '';
  display: block;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 0 36px;
  box-shadow:
    12px 0 0 -1px #262c22,
    13px 0 0 0 var(--gold);
}

.practice h2 {
  font-size: 37px;
  margin: 18px 0 28px;
}

.practice .prompt {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  line-height: 1.3;
  color: var(--text);
}

.rule {
  height: 1px;
  background: var(--line);
  margin: 25px 0;
}

.practice small {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.practice p {
  font-size: 14px;
}

.section {
  padding: 66px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
}

.section-header h2 {
  margin: 14px 0 35px;
}

.section-header p {
  max-width: 360px;
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.number {
  color: var(--gold);
  font-size: 12px;
}

.step p {
  font-size: 14px;
}

.closing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 50px 0;
}

.closing h2 {
  margin: 0;
}

.closing p {
  font-size: 14px;
}

.closing .button {
  margin: 0;
  flex-shrink: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 35px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

footer p {
  margin: 0;
}

footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.document {
  max-width: 760px;
  margin: 60px auto 80px;
}

.document h1 {
  font-size: 60px;
}

.document h2 {
  font-size: 30px;
  margin: 38px 0 12px;
}

.document li {
  color: var(--muted);
  margin: 9px 0;
}

.document .updated {
  font-size: 13px;
}

.document strong {
  color: var(--text);
  font-weight: 500;
}

.document a {
  overflow-wrap: anywhere;
}

.contact-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 25px;
  margin: 30px 0;
}

.contact-card p {
  margin: 8px 0;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-weight: 500;
  min-height: 32px;
}

details p {
  font-size: 14px;
}

.back {
  font-size: 13px;
  color: var(--gold);
}

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

@media (max-width: 760px) {
  header,
  main,
  footer {
    width: calc(100% - 40px);
  }

  header {
    min-height: 84px;
    gap: 12px;
  }

  nav {
    gap: 16px;
    font-size: 12px;
  }

  .brand {
    font-size: 26px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 52px 0 56px;
    gap: 44px;
  }

  h1 {
    font-size: 64px;
  }

  .hero h1 {
    max-width: 430px;
  }

  .practice {
    padding: 26px;
    box-shadow: 8px 10px 0 #10130f;
  }

  .practice::before {
    margin-bottom: 24px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section {
    padding: 42px 0;
  }

  .section-header,
  .closing {
    display: block;
  }

  .section-header h2 {
    margin-bottom: 20px;
  }

  .section-header p {
    margin-bottom: 30px;
  }

  .closing .button {
    margin-top: 15px;
  }

  footer {
    flex-direction: column;
  }

  .document {
    margin-top: 40px;
  }

  .document h1 {
    font-size: 48px;
  }
}

@media (max-width: 360px) {
  header {
    flex-wrap: wrap;
    padding: 16px 0;
  }

  nav {
    gap: 22px;
  }

  h1 {
    font-size: 56px;
  }
}
