@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Thin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/JetBrainsMono-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-ExtraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --sand: #e0dcd8;
  --sumi: #222325;
  --sumi-secondary: #66635e;
  --content-width: 1200px;
  --page-padding: 24px;
  --column-gap: 72px;
  --opening-size: 21px;
  --opening-line: 32px;
  --body-size: 20px;
  --body-line: 31px;
  --statement-size: 34px;
  --statement-line: 40px;
  --epilogue-size: 19px;
  --epilogue-line: 29px;
}

* { box-sizing: border-box; }

html { background: var(--sand); }

body {
  min-width: 320px;
  margin: 0;
  background: var(--sand);
  color: var(--sumi);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: var(--body-size);
  font-weight: 400;
  line-height: var(--body-line);
}

button { font: inherit; }

button:focus-visible,
.privacy-dialog__body:focus-visible {
  outline: 2px solid var(--sumi);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-content {
  width: min(var(--content-width), calc(100% - (var(--page-padding) * 2)));
  margin: 0 auto;
  padding: 96px 0 176px;
}

.introduction {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--column-gap);
  align-items: start;
}

.brand-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.logo {
  display: block;
  width: auto;
  height: 91.666591031px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 18px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.language-selector button,
.privacy-trigger,
.privacy-close {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.language-selector button { color: var(--sumi-secondary); }
.language-selector button[aria-pressed="true"] { color: var(--sumi); }
.language-selector span { color: var(--sumi-secondary); }

.opening,
.editorial-section:not(.editorial-section--epilogue) .section__body {
  margin: 0;
  font-size: var(--body-size);
  font-weight: 300;
  line-height: var(--body-line);
}

.opening {
  font-size: var(--opening-size);
  font-weight: 400;
  line-height: var(--opening-line);
}

.editorial-sections { margin-top: 176px; }

.editorial-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "statement body";
  gap: var(--column-gap);
  align-items: start;
}

.editorial-section--reverse { grid-template-areas: "body statement"; }
.editorial-section__statement { grid-area: statement; }
.editorial-section__body { grid-area: body; }

.section__statement {
  margin: 0;
  font-size: var(--statement-size);
  font-weight: 600;
  line-height: var(--statement-line);
}

.editorial-section:not(.editorial-section--reverse) .section__statement { text-align: left; }
.editorial-section--reverse .section__statement,
.editorial-section:not(.editorial-section--reverse) .section__body { text-align: right; }
.editorial-section--reverse .section__body { text-align: left; }

.editorial-section--1 { margin-top: 184px; }
.editorial-section--2 { margin-top: 112px; }
.editorial-section--3 { margin-top: 272px; }
.editorial-section--4 { margin-top: 208px; }
.editorial-section--5 { margin-top: 320px; }

.editorial-section--epilogue .section__body {
  font-size: var(--opening-size);
  font-weight: 400;
  line-height: var(--opening-line);
}

.editorial-section--epilogue .section__statement { color: #FF383C; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 80px max(24px, calc((100vw - var(--content-width)) / 2)) 80px;
  color: var(--sumi);
  font-size: 11px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 400;
  line-height: 16px;
  text-align: center;
}

.site-footer p { margin: 0; }
.privacy-trigger { color: var(--sumi-secondary); }

.privacy-dialog {
  width: min(720px, calc(100vw - 48px));
  max-width: none;
  height: 700px;
  max-height: calc(100vh - 80px);
  padding: 48px;
  border: 0;
  background: var(--sand);
  color: var(--sumi);
}

.privacy-dialog::backdrop { background: rgb(34 35 37 / 12%); }

.privacy-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.privacy-dialog h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
}

.privacy-close {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 400;
  line-height: 28px;
}

.privacy-dialog__body {
  height: calc(100% - 60px);
  overflow-y: auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 23px;
  scrollbar-color: var(--sumi-secondary) transparent;
}

.privacy-dialog__body p {
  margin: 0;
  white-space: pre-line;
}

@media (max-width: 1199px) {
  :root {
    --column-gap: 56px;
    --opening-size: 20px;
    --opening-line: 30px;
    --body-size: 19px;
    --body-line: 29px;
    --statement-size: 31px;
    --statement-line: 37px;
    --epilogue-size: 18px;
    --epilogue-line: 28px;
  }
  .logo { height: 88.802010062px; }
}

@media (max-width: 900px) {
  :root {
    --column-gap: 40px;
    --opening-size: 19px;
    --opening-line: 29px;
  }
  .logo { height: 83.072848122px; }
}

@media (max-width: 699px) {
  :root {
    --page-padding: 20px;
    --opening-size: 18px;
    --opening-line: 28px;
    --body-size: 17px;
    --body-line: 27px;
    --statement-size: 27px;
    --statement-line: 33px;
    --epilogue-size: 17px;
    --epilogue-line: 26px;
  }

  .page-content { padding-bottom: 176px; }
  .introduction { grid-template-columns: 1fr; gap: 40px; }
  .logo { height: 77.343686183px; }
  .editorial-sections { margin-top: 176px; }
  .editorial-section,
  .editorial-section--reverse {
    grid-template-columns: 1fr;
    grid-template-areas: "statement" "body";
    gap: 24px;
  }
  .editorial-section__statement,
  .editorial-section__body,
  .editorial-section--reverse .section__statement,
  .editorial-section:not(.editorial-section--reverse) .section__body { text-align: left; }
  .editorial-section--1 { margin-top: 128px; }
  .editorial-section--2 { margin-top: 72px; }
  .editorial-section--3 { margin-top: 160px; }
  .editorial-section--4 { margin-top: 128px; }
  .editorial-section--5 { margin-top: 200px; }
  .site-footer { flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 64px 20px; font-size: 10px; line-height: 15px; }
  .privacy-dialog { width: calc(100vw - 40px); height: calc(100vh - 40px); max-height: none; padding: 28px 24px; }
  .privacy-dialog__header { margin-bottom: 24px; }
  .privacy-dialog__body { font-size: 15px; line-height: 22px; }
}

@media (max-width: 420px) {
  :root { --page-padding: 16px; }
  .page-content { padding-bottom: 176px; }
  .introduction { gap: 32px; }
  .logo { height: 73.333272825px; }
  .editorial-section { gap: 20px; }
  .editorial-section--1 { margin-top: 104px; }
  .editorial-section--2 { margin-top: 64px; }
  .editorial-section--3 { margin-top: 144px; }
  .editorial-section--4 { margin-top: 112px; }
  .editorial-section--5 { margin-top: 176px; }
  .site-footer { padding: 48px 16px; }
}
