:root {
  --paper: #f8efdf;
  --sheet: #fffaf0;
  --shade: #ede0cd;
  --ink: #241d19;
  --muted: #625047;
  --brick: #a43c31;
  --brick-dark: #86281f;
  --rule: #b9a28e;
  --serif: "Noto Serif SC", "Songti SC", SimSun, serif;
  color-scheme: light;
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.13' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
a { color: var(--brick-dark); text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--brick); outline-offset: 4px; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.25; }
.wrap { width: min(1110px, calc(100% - 48px)); margin-inline: auto; }
.masthead, .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  font-size: .875rem;
  font-weight: 750;
}
.masthead { border-bottom: 1px solid var(--ink); }
.masthead a, .footer a { flex-shrink: 0; }
.masthead-divider { margin-inline: .4em; color: var(--brick); }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 20px 30px;
  padding: clamp(25px, 5vw, 55px) 0 30px;
  border-bottom: 3px solid var(--ink);
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.25rem); font-weight: 900; letter-spacing: -.065em; margin: 0 0 22px; }
.support {
  position: relative;
  background: var(--brick);
  color: var(--sheet);
  border: 1px solid var(--ink);
  padding: 14px clamp(12px, 3vw, 22px);
  box-shadow: 4px 4px 0 var(--ink);
}
.support h2 { font-family: inherit; font-size: clamp(1rem, 2vw, 1.19rem); }
.group-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.group-number { font-variant-numeric: tabular-nums; letter-spacing: .04em; font-weight: 750; margin-right: .35em; }
.copy-status:not(:empty) { display: block; font-size: .86rem; margin-top: 6px; }
.support :focus-visible { outline-color: white; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  padding: 5px 11px;
  background: var(--sheet);
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
}
.button.light { background: transparent; border-color: var(--sheet); color: var(--sheet); }
.button:hover { background: var(--shade); color: var(--ink); }
.button:disabled { opacity: .65; cursor: wait; }
.shark {
  display: block;
  align-self: center;
  width: 100%;
  height: auto;
  max-height: 285px;
  object-fit: contain;
  transform: rotate(-3deg);
  filter: drop-shadow(4px 5px 0 #241d192b);
}
.handbook {
  display: grid;
  grid-template-columns: minmax(155px, .24fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 5vw, 62px);
  margin-top: 28px;
}
.topic-nav {
  position: sticky;
  top: 18px;
  display: grid;
  padding: 10px 14px;
  background: var(--shade);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--rule);
}
.topic-nav strong { font-family: var(--serif); padding-bottom: 6px; }
.topic-nav a {
  border-top: 1px solid var(--rule);
  color: var(--ink);
  padding: 9px 0;
  text-decoration: none;
  font-size: .9rem;
}
.topic-nav a:hover { color: var(--brick-dark); text-decoration: underline; }
.topic, .feedback { scroll-margin-top: 18px; margin-bottom: 30px; }
.topic h2, .feedback h2 { font-size: 1.65rem; margin-bottom: 10px; }
.topic h2 { border-left: 6px solid var(--brick); padding-left: 10px; }
details { border-bottom: 1px solid var(--rule); background: #fffaf066; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 11px 12px;
  font-weight: 700;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brick-dark); font: 1.35rem/1 system-ui, sans-serif; }
details[open] summary::after { content: "−"; }
details[open] { background: var(--sheet); }
details p { margin: 0 12px 12px; max-width: 50em; }
.inline-code { overflow-wrap: anywhere; color: var(--brick-dark); }
.iphone { padding: 15px 16px; background: var(--shade); border: 1px solid var(--rule); }
.iphone h2 { font-size: 1.25rem; }
.feedback {
  border: 1px solid var(--ink);
  background: var(--sheet);
  box-shadow: 5px 5px 0 var(--ink);
  padding: clamp(15px, 4vw, 28px);
}
form { display: grid; gap: 12px; margin-top: 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
label { display: block; font-weight: 750; min-width: 0; }
label span, .note { color: var(--muted); font-size: .82rem; font-weight: 400; }
input, select, textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 400;
}
textarea { resize: vertical; }
.submit { justify-self: start; background: var(--brick); color: var(--sheet); padding-inline: 22px; }
.form-status:empty { display: none; }
.form-status { color: var(--brick-dark); font-weight: 650; overflow-wrap: anywhere; }
.footer { border-top: 1px solid var(--rule); margin-top: 12px; padding-bottom: max(18px, env(safe-area-inset-bottom)); }
@media (max-width: 750px) {
  .wrap { width: calc(100% - 30px); }
  .hero { grid-template-columns: 1fr; padding-bottom: 22px; }
  .hero h1 { padding-right: 90px; }
  .shark {
    z-index: -1;
    position: absolute;
    width: clamp(85px, 24vw, 150px);
    top: 10px;
    right: 2px;
    min-height: 56px;
    max-height: 92px;
  }
  .handbook { grid-template-columns: 1fr; margin-top: 20px; }
  .topic-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
  .topic-nav strong { padding: 0; }
  .topic-nav a { border: 0; padding: 6px 0; text-decoration: underline; }
}
@media (max-width: 490px) {
  .fields { grid-template-columns: 1fr; }
}
