/* The site is the extension's notebook opened on a table:
   grey stone paper, spruce-black ink, one stamp-red accent, hairlines. */

@font-face {
  font-family: 'SS Batang';
  src: url('fonts/gowun-batang-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'SS Batang';
  src: url('fonts/gowun-batang-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --paper: #e3e2da;
  --paper-sunk: #d8d7cd;
  --ink: #20262a;
  --ink-2: #4f5753;
  --rule: #9ea19a;
  --rule-soft: #c4c4bb;
  --accent: #9e3520;
  --on-ink: #ecebe4;

  --ss-stone-line: #20262a;
  --ss-stone-mark: #20262a;
  --ss-ground: #20262a;
  --ss-stone-kept: #a6a296;
  --ss-stone-kept-2: #918e84;
  --ss-stone-kept-3: #b6b1a3;
  --ss-stone-zero: #f1eee6;

  --serif: 'SS Batang', 'Gowun Batang', 'AppleMyungjo', 'Nanum Myeongjo', 'Batang', serif;
  --sans: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;

  --gutter: clamp(16px, 6vw, 88px);
  --ease-out: cubic-bezier(.2, .8, .3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    /* Night at the hut: slate, not black; paper-coloured ink. */
    --paper: #171b1c;
    --paper-sunk: #20262a;
    --ink: #e2ddd0;
    --ink-2: #a39e91;
    --rule: #59605d;
    --rule-soft: #343a3b;
    --accent: #e2876b;
    --on-ink: #171b1c;

    --ss-stone-line: #ddd7c8;
    --ss-stone-mark: #ddd7c8;
    --ss-ground: #b9b3a5;
    --ss-stone-kept: #4b504c;
    --ss-stone-kept-2: #3f4441;
    --ss-stone-kept-3: #575b55;
    --ss-stone-zero: #cfc8b6;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
:lang(en) body, body:lang(en) { word-break: normal; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.01em;
}
p, ol, ul, dl, dd, figure { margin: 0; }
a { color: inherit; }

.num {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
.muted { color: var(--ink-2); }
.stamp { color: var(--accent); }

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

.skip {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  padding: 8px 14px;
  background: var(--ink);
  color: var(--on-ink);
  z-index: 10;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 8px; }

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

/* ---------- buttons: printed-matter rectangles, not pills ---------- */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--paper-sunk); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--on-ink); }
.btn.primary:hover { background: var(--ink-2); border-color: var(--ink-2); }

.link {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
}
.link:hover { text-decoration-thickness: 2px; }

.kicker {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}
.kicker.ruled::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--rule);
  transform: translateY(-4px);
}
.kicker .num { font-weight: 400; }

/* ---------- page frame ---------- */
.wrap {
  max-width: 1240px;
  margin: 0 var(--gutter);
}
@media (min-width: 1416px) {
  .wrap { margin-left: 88px; }
}

.mast {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 26px 0 14px;
  border-bottom: 1px solid var(--rule);
}
.mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.tagline { color: var(--ink-2); font-size: 14px; }
.mast nav { margin-left: auto; }
.mast nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 4px 22px;
  flex-wrap: wrap;
  font-size: 14px;
}
.mast nav a {
  display: inline-block;
  padding: 10px 0;
  color: var(--ink-2);
  text-decoration: none;
}
.mast nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
.mast nav a[lang] { color: var(--ink); font-weight: 600; }

/* ---------- opening ---------- */
.open {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(200px, 300px);
  column-gap: clamp(40px, 9vw, 150px);
  align-items: end;
  padding: clamp(48px, 9vh, 104px) 0 56px;
}
.open h1 {
  margin-top: 22px;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.open .lede {
  margin-top: 22px;
  font-size: 18px;
  max-width: 31em;
}
.open .actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.install-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
  max-width: 34em;
}
.install-note .stamp { font-weight: 600; }
.open-cairn { align-self: end; }
.open-cairn .cairn svg { max-height: 430px; }
.caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-2);
}
.caption b {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-right: 2px;
}

/* ---------- sections ---------- */
.sec {
  border-top: 1px solid var(--rule);
  padding: 44px 0 64px;
}
.sec-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 640px);
  column-gap: clamp(24px, 4vw, 56px);
  align-items: baseline;
  margin-bottom: 32px;
}
.sec-head .no {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.sec-head h2 { font-size: clamp(25px, 3vw, 32px); }
.sec-head p { grid-column: 2; margin-top: 10px; color: var(--ink-2); max-width: 34em; }
.sec-body {
  margin-left: calc(160px + clamp(24px, 4vw, 56px));
}

/* ---------- 1. what changes ---------- */
.changes {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.try { position: relative; }
.phone {
  position: relative;
  width: 100%;
  max-width: 236px;
  aspect-ratio: 9 / 16;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 14px 10px 12px;
  background: var(--paper);
  cursor: ns-resize;
  touch-action: pan-x;
  overscroll-behavior: contain;
}
.phone:focus-visible { outline-offset: 5px; }
.screen {
  position: relative;
  height: 100%;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--paper-sunk);
  overflow: hidden;
}
.screen svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.screen .vid { transition: transform .32s var(--ease-out); }
.phone.jolt .vid { transform: translateY(-10px); }
.screen .peek {
  position: absolute;
  left: 8%; right: 8%; bottom: -1px;
  height: 0;
  border-top: 1px dashed var(--ink-2);
  opacity: 0;
}

.nudge {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  max-width: 300px;
  padding: 10px 16px 10px 12px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 3px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--ease-out);
}
.nudge.on { opacity: 1; transform: none; }
.nudge.bump { animation: bump .32s var(--ease-out); }
@keyframes bump { 30% { transform: translateY(-3px); } }
.nudge svg { flex: 0 0 auto; }
.nudge p { font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.nudge p:first-child { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink); }
.try-hint { margin-top: 12px; font-size: 13px; color: var(--ink-2); max-width: 236px; }
.try-hint kbd {
  font: inherit;
  font-family: var(--serif);
  padding: 0 5px;
  border: 1px solid var(--rule);
  border-radius: 2px;
}

.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.ledger caption { text-align: left; }
.ledger th, .ledger td {
  text-align: left;
  vertical-align: top;
  padding: 13px 16px 13px 0;
  border-bottom: 1px dotted var(--rule);
}
.ledger thead th {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  padding-top: 0;
}
.ledger tbody th { font-weight: 600; width: 34%; }
.ledger td.was { color: var(--ink-2); width: 28%; }
.ledger td.now { font-family: var(--serif); font-weight: 700; font-size: 16px; }
.ledger tr.same td.now { font-family: var(--sans); font-weight: 400; color: var(--ink-2); font-size: 15px; }
.changes-foot { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 36em; }

/* ---------- 2. a month ---------- */
.month {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  column-gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.controls {
  display: grid;
  gap: 26px;
  padding-bottom: 26px;
  border-bottom: 1px dotted var(--rule);
}
.limit-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 28px;
  row-gap: 6px;
}
.limit-row label { grid-column: 1 / -1; font-family: var(--serif); font-weight: 700; font-size: 18px; }
.limit-out { display: flex; align-items: baseline; gap: 4px; min-width: 3.3ch; }
.limit-out output { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.limit-out span { font-family: var(--serif); font-weight: 700; font-size: 18px; }

/* A hairline track and a square ink thumb, like a ruler and its slider. */
input[type='range'] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: 420px;
  height: 44px;
  background: transparent;
  cursor: pointer;
  margin: 0;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 1.5px;
  background: var(--ink);
}
input[type='range']::-moz-range-track { height: 1.5px; background: var(--ink); }
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -10.25px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
}
input[type='range']::-moz-range-thumb {
  width: 20px; height: 20px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--paper);
}
input[type='range']:active::-webkit-slider-thumb { background: var(--ink); }
input[type='range']:focus-visible { outline-offset: 2px; }
.ticks {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  max-width: 420px;
  padding: 0 7px;
  font-size: 12px;
  color: var(--ink-2);
  font-family: var(--serif);
  margin-top: -8px;
}

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-family: var(--serif); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.choice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  position: relative;
  padding: 8px 0;
  min-height: 44px;
  cursor: pointer;
}
.choice input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; left: 0; top: 8px; }
.choice .box {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.choice input:checked + .box::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
}
.choice input:focus-visible + .box { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice .muted { display: block; font-size: 14px; }

.days {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr));
  row-gap: 14px;
  max-width: 560px;
}
.days li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: opacity .2s;
}
.days li.later { opacity: .28; }
.days li.cur { border-bottom-color: var(--ink); }
.days .want { font-family: var(--serif); font-size: 13px; line-height: 1.2; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.days .want.over { color: var(--accent); font-weight: 700; }
.days svg { width: 18px; height: 26px; overflow: visible; display: block; }
.legend {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 13px;
  color: var(--ink-2);
}
.legend li { display: flex; align-items: center; gap: 6px; }
.legend svg { width: 15px; height: 22px; overflow: visible; }
.month-sum { margin-top: 18px; font-size: 15px; min-height: 1.65em; }
.month-sum b { font-family: var(--serif); font-variant-numeric: tabular-nums; }
.month-note { margin-top: 8px; font-size: 13px; color: var(--ink-2); max-width: 38em; }
.month-cairn .cairn svg { max-height: 440px; }

/* ---------- 3. the hold ---------- */
.gate {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(180px, 280px);
  column-gap: clamp(40px, 8vw, 120px);
  align-items: end;
  padding: 28px 0 32px clamp(18px, 3vw, 40px);
  border-left: 2px solid var(--accent);
}
.gate h3 { margin-top: 20px; font-size: clamp(26px, 3vw, 32px); line-height: 1.3; letter-spacing: -0.015em; }
.gate .body { margin-top: 14px; max-width: 30em; }
.hold { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule); max-width: 420px; }
.hold-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.hold-btn:hover { background: var(--paper-sunk); }
.hold-btn[aria-disabled='true'] { cursor: default; }
.hold-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 100%;
  background: var(--paper-sunk);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform .45s var(--ease-out);
}
.hold-fill::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; border-right: 2px solid var(--accent); }
.hold-btn.holding .hold-fill { transition: none; }
.hold-label, .hold-secs { position: relative; }
.hold-secs { font-family: var(--serif); font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 2.6em; text-align: right; }
.hold-hint { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.hold-after { margin-top: 12px; min-height: 44px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.hold-after[hidden] { display: none; }
.gate .cairn svg { max-height: 300px; }
.gate-foot { margin-top: 18px; font-size: 14px; color: var(--ink-2); max-width: 40em; }

/* ---------- 4. rules ---------- */
.rules {
  padding: 0;
  list-style: none;
  counter-reset: rule;
  max-width: 38em;
}
.rules li {
  counter-increment: rule;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  padding: 14px 0;
  font-size: 17px;
}
.rules li + li { border-top: 1px dotted var(--rule); }
.rules li::before {
  content: counter(rule);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink-2);
}

/* ---------- 5. what it doesn't do ---------- */
.plain {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 4vw, 56px);
  max-width: 880px;
}
.plain div { padding: 16px 0 18px; border-top: 1px solid var(--rule-soft); }
.plain dt { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.plain dd { margin-top: 6px; color: var(--ink-2); font-size: 15px; }
.plain a { color: var(--ink); }

/* ---------- 6. install ---------- */
.install {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
  column-gap: clamp(32px, 6vw, 88px);
}
.state {
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--accent);
}
.state h3 { font-size: 20px; }
.state p { margin-top: 6px; color: var(--ink-2); }
.steps {
  margin-top: 26px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  padding: 10px 0;
  border-top: 1px dotted var(--rule);
}
.steps li::before {
  content: counter(step);
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink-2);
}
.steps code, .prose code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 0 4px;
  background: var(--paper-sunk);
  border-radius: 2px;
  word-break: break-all;
}
.store-live .btn { margin-top: 18px; }
.after-install { font-size: 15px; color: var(--ink-2); align-self: end; max-width: 26em; }
.after-install b { color: var(--ink); font-family: var(--serif); }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--rule);
  padding: 22px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: baseline;
  font-size: 13px;
  color: var(--ink-2);
}
.foot .mark { font-size: 16px; color: var(--ink); }
.foot a { color: var(--ink); text-underline-offset: 4px; }
.foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.foot li a { display: inline-block; padding: 6px 0; }
.foot .contact { flex-basis: 100%; max-width: 46em; }

/* ---------- privacy page ---------- */
.doc {
  display: grid;
  grid-template-columns: 160px minmax(0, 680px);
  column-gap: clamp(24px, 4vw, 56px);
  padding: clamp(40px, 7vh, 80px) 0 72px;
}
.doc-side { font-size: 13px; color: var(--ink-2); padding-top: 12px; }
.doc-side-gap { margin-top: 14px; }
.doc-side span { display: block; color: var(--ink); }
.doc-side .num { font-size: 15px; color: var(--ink); }
.doc h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.25; }
.doc .lede { margin-top: 18px; font-size: 18px; }
.prose h2 {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 22px;
}
.prose h3 { margin-top: 22px; font-size: 17px; }
.prose p, .prose ul, .prose ol, .prose dl { margin-top: 12px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--ink-2); }
.prose dl div { padding: 12px 0; border-top: 1px dotted var(--rule); }
.prose dl div:first-child { border-top: 0; padding-top: 0; }
.prose dt { font-weight: 700; }
.prose dd { margin-top: 4px; color: var(--ink-2); }
.prose .short {
  margin-top: 28px;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--accent);
}
.prose .short li { margin-top: 4px; }

/* ---------- narrow ---------- */
@media (max-width: 1080px) {
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head .no { margin-bottom: 6px; }
  .sec-head p { grid-column: 1; }
  .sec-body { margin-left: 0; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .doc-side { order: 2; padding-top: 40px; border-top: 1px solid var(--rule); margin-top: 48px; }
}

@media (max-width: 860px) {
  .open { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
  .open-cairn {
    order: -1;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
  }
  .open-cairn .cairn svg { max-height: 220px; }
  .open-cairn .caption { margin: 0 0 4px; }
  .changes { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .try { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 0 20px; align-items: end; }
  .try .nudge { grid-column: 1 / -1; }
  .try-hint { margin-top: 0; }
  .month { grid-template-columns: minmax(0, 1fr); }
  .month-cairn { order: -1; max-width: 150px; margin-bottom: 12px; }
  .month-cairn .cairn svg { max-height: 210px; }
  .gate { grid-template-columns: minmax(0, 1fr); padding-left: 18px; }
  .gate .cairn-col { order: -1; display: flex; align-items: flex-end; gap: 14px; margin-bottom: 22px; }
  .gate .cairn { width: 120px; flex: 0 0 120px; }
  .gate .cairn svg { max-height: 220px; }
  .gate .caption { margin: 0 0 4px; }
  .plain { grid-template-columns: minmax(0, 1fr); }
  .install { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .mast { padding-top: 18px; }
  .tagline { order: 3; width: 100%; font-size: 13px; }
  .mast nav { margin-left: auto; }
  .mast nav ul { gap: 4px 16px; }
  .mast nav li.opt { display: none; }
  .open .lede { font-size: 16px; }
  .open .actions .btn { width: 100%; }
  .sec { padding: 34px 0 48px; }
  .try { grid-template-columns: 120px minmax(0, 1fr); }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: auto !important; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger tr { padding: 12px 0; border-bottom: 1px dotted var(--rule); }
  .ledger th, .ledger td { border: 0; padding: 0; }
  .ledger td.was, .ledger td.now { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: baseline; }
  .ledger td.was::before, .ledger td.now::before {
    content: attr(data-label);
    font-family: var(--sans);
    font-weight: 400;
    font-size: 12px;
    color: var(--ink-2);
  }
  .ledger td.was { margin-top: 2px; }
  .days { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .limit-row { column-gap: 18px; }
  .limit-out output { font-size: 44px; }
  .gate .cairn { width: 96px; flex-basis: 96px; }
  .rules li { font-size: 16px; grid-template-columns: 32px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .phone.jolt .vid { transform: none; }
}
