@font-face {
  font-family: "Archivo serrée";
  src: url("archivo-serree.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0e0d0c;
  --surface: #191716;
  --raised: #24211f;
  --text: #f3eee8;
  --soft: #c4bbb2;
  --muted: #948c84;
  --accent: #ff6a3d;
  --on-accent: #1c0b05;
  --line: rgb(255 244 232 / 11%);
  --page: 69rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 50rem 34rem at 4% 0%, rgb(255 106 61 / 14%), transparent 73%);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { max-width: var(--page); width: calc(100% - 2.5rem); margin-inline: auto; }
.skip {
  position: absolute;
  left: 1.25rem;
  top: .75rem;
  transform: translateY(-200%);
  z-index: 2;
  background: var(--text);
  color: var(--bg);
  padding: .75rem 1rem;
  border-radius: .625rem;
}
.skip:focus { transform: translateY(0); }

.site-header { border-bottom: 1px solid var(--line); }
.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 4.75rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
}
.brand img { width: 2.625rem; height: 2.625rem; }
nav { display: flex; align-items: center; gap: .5rem; }
nav a {
  border-radius: 999px;
  color: var(--soft);
  font-size: .9375rem;
  padding: .625rem .9rem;
  text-decoration: none;
  white-space: nowrap;
}
nav a:hover, nav a[aria-current="page"] { color: var(--text); background: var(--raised); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem);
}
h1, h2 {
  font-family: "Archivo serrée", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  margin: 0;
}
h1 {
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: .99;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.11; letter-spacing: -.02em; }
p, li { font-size: 1rem; line-height: 1.65; }
.lead {
  max-width: 31rem;
  margin: 1.25rem 0 1.75rem;
  color: var(--soft);
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .75rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
}
.button:hover { background: #ff815b; }
.contact {
  margin: .7rem 0 0;
  font-size: .9375rem;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.visual {
  margin: 0;
  height: clamp(18rem, 36vw, 26rem);
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-radius: 1.5rem;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 2rem 1.5rem 0;
  isolation: isolate;
}
.visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4rem;
  background: linear-gradient(transparent, var(--surface));
  pointer-events: none;
}
.visual img {
  width: min(100%, 16rem);
  height: auto;
  border-radius: 1.75rem 1.75rem 0 0;
  box-shadow: 0 0 0 .35rem var(--raised);
}

.support-content { padding-bottom: clamp(3rem, 6vw, 6rem); }
.support-content > h2 { margin-block: 0 1rem; }
.answers { background: var(--surface); border-radius: 1.5rem; padding-inline: 1.25rem; }
.answers details + details { border-top: 1px solid var(--line); }
summary {
  padding-block: 1rem;
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--soft); font-size: 1.25rem; line-height: 1; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 68ch; color: var(--soft); margin: 0; padding-bottom: 1.125rem; }
strong { color: var(--text); font-weight: 600; }
.how-to { margin-top: 2rem; max-width: 68ch; }
.how-to h2 { font-size: 1.625rem; }
.how-to p { color: var(--soft); margin: .6rem 0 0; }

.article-head { padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: 2rem; }
.article-head h1 { font-size: clamp(2.75rem, 7.5vw, 5.7rem); }
.article-head .lead { max-width: 60ch; margin-bottom: 0; }
.article-layout { display: grid; grid-template-columns: minmax(10rem, .8fr) minmax(0, 2.6fr); gap: clamp(2rem, 5vw, 4.5rem); padding-bottom: 4rem; align-items: start; }
.outline {
  position: sticky;
  top: 1.5rem;
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem;
  display: grid;
  align-items: stretch;
  gap: .2rem;
}
.outline a { white-space: normal; display: block; }
.policy { max-width: 70ch; min-width: 0; }
.policy section { scroll-margin-top: 1.5rem; }
.policy section + section { border-top: 1px solid var(--line); margin-top: 1.875rem; padding-top: 1.875rem; }
.policy p, .policy li { color: var(--soft); }
.policy h2 { font-size: clamp(1.625rem, 3vw, 2.125rem); }
.policy p { margin-block: .6rem 0; }
.policy ul { padding-inline-start: 1.25rem; }
.policy li + li { margin-top: .5rem; }
.policy a { color: var(--text); overflow-wrap: anywhere; }
.policy .edition { color: var(--muted); margin-top: 1.75rem; font-size: .9375rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding-block: 1.5rem; }
.footer-inner p { color: var(--muted); margin: 0; font-size: .9375rem; }

@media (max-width: 47rem) {
  .hero { grid-template-columns: 1fr; gap: 1.5rem; }
  .visual { height: 15.5rem; padding-top: 1.25rem; }
  .visual img { width: 13rem; }
  .article-layout { grid-template-columns: 1fr; gap: 1.75rem; }
  .outline { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr)); }
}

@media (max-width: 25rem) {
  .bar { flex-wrap: wrap; justify-content: flex-start; gap: .15rem; padding-block: .25rem .65rem; }
  .site-header nav { margin-left: auto; }
  nav a { padding: .55rem .55rem; font-size: .875rem; }
}
