/*
 * harjaglipödem.se — ACPK's web profile.
 * Oswald for questions, wordmark and controls; Assistant for reading text.
 * Ink on white with sand reply panels and one brown action colour. Square
 * corners, 2px ink outlines, no shadows.
 *
 * The page may be iframed with auto-height, so no vh/svh/dvh units and no
 * scroll listeners: reveals use IntersectionObserver.
 */

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/oswald-var-latin.woff2') format('woff2');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Assistant';
  src: url('../fonts/assistant-var-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #181818;
  --paper: #ffffff;
  --sand: #f4ebe0;
  --sand-deep: #f2decc;
  --brown: #8b614f;
  --brown-deep: #74503f;
  --muted: #5f5a55;
  --line: #d9cfc3;
  --error: #9b2c1f;

  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --text: 'Assistant', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sand-deep);
  color: var(--ink);
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, legend {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

/* The hidden attribute must win over any display set on a class. */
[hidden] {
  display: none !important;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a, button, label, summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--paper);
  z-index: 10;
}
.skip:focus {
  left: 0;
}

/* ------------------------------------------------------------ top */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) var(--gutter) 18px;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--display);
  font-weight: 200;
  font-size: 13px;
  line-height: 1.25;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.wordmark span {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .wordmark {
    font-size: 11px;
    letter-spacing: 0.24em;
  }
}

/* ------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--paper);
}

.btn-small {
  min-height: 42px;
  padding: 0 14px;
  font-size: 13px;
  white-space: nowrap;
}

.btn-large {
  min-height: 60px;
  padding: 0 34px;
  font-size: 18px;
}

.link-btn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.textlink {
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--brown-deep);
    border-color: var(--brown-deep);
  }
  .btn-outline:hover {
    background: var(--ink);
    color: var(--paper);
  }
  .link-btn:hover,
  .textlink:hover {
    color: var(--brown);
  }
}

/* ------------------------------------------------------------ turns */

.turn,
.close {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px var(--gutter) 0;
}

.turn-first {
  padding-top: 32px;
}

/* The visitor's line. */
.ask {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 1.1rem + 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
  /* Hang the opening quotation mark outside the text edge. */
  text-indent: -0.42em;
  padding-left: 0.42em;
}

h1.ask {
  font-size: clamp(3rem, 1rem + 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

/* The clinic's reply, offset like an answer. */
.reply {
  min-width: 0;
}

.reply > * + * {
  margin-top: 20px;
}

.reply p {
  max-width: 34rem;
  text-wrap: pretty;
}

.reply .lede {
  max-width: 40rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  line-height: 1.45;
}

.reply .reviewed {
  max-width: 40rem;
}

.reviewed time {
  white-space: nowrap;
}

.reviewed {
  font-size: 0.9375rem;
  color: var(--muted);
}

.aside {
  font-size: 1rem;
  color: var(--muted);
}

.label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ------------------------------------------------------------ symptom check */

.check {
  margin-top: 32px;
  padding: 24px 20px 28px;
  background: var(--sand);
}

.check-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.check-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
}

.check-count {
  font-family: var(--display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.check-rule {
  margin-top: 12px;
  height: 2px;
  background: var(--line);
}

.check-rule span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

/*
 * The space under the rule sits on the container: a legend is laid out on its
 * fieldset's top edge and ignores the fieldset's own padding.
 */
.check-steps {
  margin-top: 28px;
}

/* Without scripting all nine are listed; keep them apart. */
.check-q + .check-q {
  margin-top: 36px;
}

.check-q legend {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.2;
  text-wrap: balance;
}

.check-hint {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--muted);
}

.check-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.check-opts label {
  position: relative;
  display: block;
  cursor: pointer;
}

.check-opts input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.check-opts span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border: 2px solid var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
  -webkit-user-select: none;
  transition:
    transform 160ms var(--ease-out),
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.check-opts label:active span {
  transform: scale(0.97);
}

.check-opts input:checked + span {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--paper);
}

.check-opts input:focus-visible + span {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .check-opts label:hover input:not(:checked) + span {
    background: var(--sand-deep);
  }
}

.check-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  margin-top: 12px;
}

/* With scripting, one question at a time. Without it, all nine are listed. */
.js .check-q {
  display: none;
}

.js .check-q.is-current {
  display: block;
  animation: turn-in 260ms var(--ease-out);
}

.js .check[data-done] .check-steps,
.js .check[data-done] .check-nav {
  display: none;
}

@keyframes turn-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.check-result {
  padding-top: 28px;
  animation: turn-in 320ms var(--ease-out);
}

.check-result-title:focus {
  outline: none;
}

.check-result > * + * {
  margin-top: 16px;
}

.check-result-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  line-height: 1.1;
  text-wrap: balance;
}

.check-signs ul {
  margin-top: 8px;
}

.check-signs li {
  position: relative;
  padding: 8px 0 8px 22px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
}

.check-signs li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.05em;
  width: 10px;
  height: 2px;
  background: var(--ink);
}

.check-note {
  font-size: 1rem;
  color: var(--muted);
}

.check-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.check-mail {
  padding: 20px;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.check-mail > * + * {
  margin-top: 14px;
}

.check-mail input[type='email'] {
  display: block;
  width: 100%;
  height: 52px;
  margin-top: 8px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1.0625rem;
}

.check-mail input[type='email']::placeholder {
  color: var(--muted);
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--brown);
}

.check-error {
  color: var(--error);
  font-size: 1rem;
}

.check-sent {
  font-weight: 600;
}

/* ------------------------------------------------------------ panels */

.panel {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid var(--ink);
}

.panel-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.1;
}

.panel-intro {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.0625rem;
}

/* Segmented control: square, joined, ACPK's outline. */
.seg {
  display: flex;
  margin-top: 20px;
  border: 2px solid var(--ink);
}

.seg-wrap {
  flex-wrap: wrap;
}

.seg button {
  flex: 1 1 0;
  min-height: 48px;
  padding: 0 10px;
  border: 0;
  border-right: 2px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.seg button:last-child {
  border-right: 0;
}

.seg-wrap button {
  flex: 1 1 50%;
  border-bottom: 2px solid var(--ink);
}

.seg-wrap button:nth-child(2n) {
  border-right: 0;
}

.seg-wrap button:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.seg button[aria-pressed='true'] {
  background: var(--brown);
  color: var(--paper);
}

.seg button:active {
  background: var(--sand-deep);
}

.seg button[aria-pressed='true']:active {
  background: var(--brown-deep);
}

@media (hover: hover) and (pointer: fine) {
  .seg button[aria-pressed='false']:hover {
    background: var(--sand);
  }
}

.seg-panels {
  margin-top: 24px;
}

.seg-panels > div + div {
  margin-top: 24px;
}

.seg-panels h3,
.seg-panels h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.15;
}

.seg-panels p {
  margin-top: 8px;
}

/* With scripting only the chosen panel shows. */
.js [data-switch] [data-panel][hidden] {
  display: none;
}

.js [data-switch] [data-panel]:not([hidden]) {
  animation: turn-in 240ms var(--ease-out);
}

.js [data-switch] .seg-panels h4 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* Types: list and figure. */
.panel-types {
  display: grid;
  gap: 28px;
}

.types-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.types-list button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.types-num {
  flex: none;
  width: 3.5em;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.types-list button:active {
  color: var(--brown);
}

.types-list button[aria-pressed='true'] {
  font-weight: 700;
}

.types-list button[aria-pressed='true'] .types-num {
  color: var(--brown);
}

@media (hover: hover) and (pointer: fine) {
  .types-list button:hover {
    color: var(--brown);
  }
}

.figure {
  width: min(52vw, 190px);
  height: auto;
  justify-self: center;
}

.fig-fill {
  fill: var(--sand);
}

.fig-line {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linejoin: round;
}

.zone {
  fill: var(--sand);
  transition: fill 260ms var(--ease-out);
}

.zone.is-on {
  fill: var(--brown);
}

/* Stage drawings: the skin surface, schematically. */
.skin {
  width: 100%;
  max-width: 360px;
  height: auto;
  margin-bottom: 14px;
}

.skin path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.skin .skin-base {
  stroke: var(--line);
}

/* ------------------------------------------------------------ compare */

.compare {
  margin-top: 32px;
}

.compare table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.4;
}

.compare th,
.compare td {
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare thead th {
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.compare tbody th {
  width: 30%;
  font-weight: 600;
  color: var(--muted);
}

.compare .col-lipodem {
  background: var(--sand);
  padding-left: 10px;
}

/* On phones: lipödem plus the chosen comparison. */
.js .compare[data-show='overvikt'] .col-lymfodem,
.js .compare[data-show='lymfodem'] .col-overvikt {
  display: none;
}

/* ------------------------------------------------------------ treatment */

.treat .seg {
  margin-top: 0;
}

.can {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.can > div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.can dt {
  padding-top: 3px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.can > div:first-child dt {
  color: var(--ink);
}

/* ------------------------------------------------------------ steps */

.steps {
  margin-top: 36px;
  counter-reset: step;
  border-top: 2px solid var(--ink);
}

.steps li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--ink);
}

.steps h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.2;
}

.steps p {
  grid-column: 2;
  margin-top: 6px;
  font-size: 1.0625rem;
}

/* ------------------------------------------------------------ price */

.price {
  margin-top: 32px;
  padding: 28px 20px;
  background: var(--ink);
  color: var(--paper);
}

.price-figure {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 2rem + 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.price-from,
.price-unit {
  font-weight: 300;
  font-size: 0.4em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-facts {
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.price-facts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.0625rem;
}

.price-facts li span:first-child {
  font-family: var(--display);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d8cfc6;
  padding-top: 3px;
}

.price-facts li span:last-child {
  text-align: right;
}

/* ------------------------------------------------------------ people */

.people {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.person {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  align-content: start;
}

.person img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--sand);
}

.person h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
}

.person .label {
  margin-top: 6px;
}

.person p + p {
  margin-top: 12px;
  font-size: 1.0625rem;
}

/* ------------------------------------------------------------ faq */

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.reply.faq > * + * {
  margin-top: 0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform 200ms var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.25;
}

.faq details p {
  padding: 0 28px 20px 0;
}

/* ------------------------------------------------------------ close */

.close {
  margin-top: 96px;
  max-width: none;
  padding: 72px var(--gutter) 80px;
  background: var(--sand);
}

.close .btn {
  margin-top: 28px;
}

.close-meta {
  font-size: 1rem;
  color: var(--muted);
}

/* ------------------------------------------------------------ footer */

.foot {
  background: var(--ink);
  color: var(--paper);
}

.foot-inner {
  display: grid;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px));
  font-size: 1rem;
}

.wordmark-foot {
  color: var(--paper);
}

.foot address {
  margin-top: 16px;
  font-style: normal;
  color: #d8cfc6;
}

.foot .label {
  color: #d8cfc6;
}

.foot-sources ul {
  margin-top: 10px;
}

.foot-sources li + li {
  margin-top: 6px;
}

.foot-note {
  margin-top: 20px;
  color: #d8cfc6;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------ reveals */

/*
 * A reply arrives once as it enters view. Content is visible by default; only
 * when the script has run are replies below the first held back.
 */
.js .turn:not(.turn-first):not(.is-seen) .reply,
.js .close:not(.is-seen) .reply {
  opacity: 0;
  transform: translateY(14px);
}

.js .reply {
  transition:
    opacity 500ms var(--ease-out),
    transform 500ms var(--ease-out);
  transition-delay: 90ms;
}

/* ------------------------------------------------------------ wider */

@media (min-width: 640px) {
  :root {
    --gutter: 40px;
  }
  .wordmark {
    font-size: 18px;
    letter-spacing: 0.32em;
  }
  .btn-small {
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
  }
  .check {
    padding: 36px 40px 40px;
  }
  .check-actions {
    grid-template-columns: auto auto;
    justify-content: start;
  }
  .seg-wrap button {
    flex: 1 1 0;
    border-bottom: 0;
    border-right: 2px solid var(--ink);
  }
  .seg-wrap button:nth-child(2n) {
    border-right: 2px solid var(--ink);
  }
  .seg-wrap button:last-child {
    border-right: 0;
  }
  .panel-types {
    grid-template-columns: minmax(0, 1fr) 200px;
    align-items: center;
  }
  .figure {
    width: 190px;
  }
  .price {
    padding: 40px;
  }
  /* Three portraits side by side, text beneath each. */
  .people {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
  .person {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  /* Room for all three columns. */
  .compare-seg {
    display: none;
  }
  .js .compare[data-show] .col-overvikt,
  .js .compare[data-show] .col-lymfodem {
    display: table-cell;
  }
  .compare table {
    margin-top: 0;
  }
  .foot-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .turn,
  .close {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 36px;
    padding-top: 128px;
  }
  .turn-first {
    padding-top: 56px;
  }
  .turn-short {
    padding-top: 112px;
  }
  .ask {
    grid-column: 1 / span 9;
  }
  /* The reply sits to the right of where the question began. */
  .reply {
    grid-column: 5 / span 8;
  }
  .close {
    padding: 112px max(var(--gutter), calc((100% - 1240px) / 2 + var(--gutter))) 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .turn .reply,
  .js .close .reply {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Printed, the whole page is present: every reply, question and panel. */
@media print {
  .js .turn .reply,
  .js .close .reply {
    opacity: 1 !important;
    transform: none !important;
  }
  .js .check-q,
  .js [data-switch] [data-panel][hidden] {
    display: block !important;
  }
  .top .btn,
  .check-nav,
  .seg {
    display: none !important;
  }
}
