/* The legal pages, look B "With photos" (picked 2026-11-20). Loaded after design.css (the web app's
   tokens and components, unchanged): these rules are unlayered, so they win over its @layer rules. */

@font-face {
  font-family: "Londrina Solid";
  font-style: normal;
  font-weight: 900;
  font-display: block;
  src: url("/fonts/londrina-solid-latin-900-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat Brush";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fonts/caveat-brush-latin-400-normal.woff2") format("woff2");
}

:root {
  --inset: 40px;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
p,
li,
h1,
h2,
h3,
td,
th,
.lede,
.meta {
  text-wrap: pretty;
}
a {
  text-decoration-thickness: 1px;
}
:focus-visible {
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ── draft bar (staging only) ───────────────────────────── */
.draft {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 16px;
  padding: 8px var(--inset);
  background: var(--surface);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 18px;
}
.draft b {
  color: var(--ink);
  font-weight: 600;
}
.draft .key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.draft .key i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.draft .k-open {
  background: var(--warning-wash);
  box-shadow: inset 0 0 0 1px rgba(128, 90, 29, 0.35);
}
.draft .k-default {
  background: var(--accent-wash);
  box-shadow: inset 0 0 0 1px rgba(114, 83, 73, 0.35);
}
mark.open,
mark.default {
  color: var(--ink);
  border-radius: 4px;
  padding: 0 3px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
mark.open {
  background: var(--warning-wash);
  box-shadow: inset 0 -1px 0 rgba(128, 90, 29, 0.35);
}
mark.default {
  background: var(--accent-wash);
  box-shadow: inset 0 -1px 0 rgba(114, 83, 73, 0.35);
}

/* ── top bar: wordmark and the Privacy | Terms switch (design.css .seg, as links) ── */
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 var(--inset);
}
.seg > a {
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 180ms var(--ease),
    color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
@media (hover: hover) {
  .seg > a:hover {
    color: var(--ink);
  }
}
.seg > a[aria-current="page"] {
  background: var(--canvas);
  color: var(--ink);
  box-shadow: var(--shadow-control);
}
@media (pointer: coarse) {
  .seg > a {
    position: relative;
  }
  .seg > a::before {
    content: "";
    position: absolute;
    inset: -5px 0;
  }
}

/* ── page frame ─────────────────────────────────────────── */
.wrap {
  width: min(980px, calc(100% - 2 * var(--inset)));
  margin: 0 auto;
}

/* header */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 56px 0 48px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 580px;
  min-width: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 48px;
  letter-spacing: 0;
  margin: 0;
}
.meta {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-2);
}
.lede {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 24px;
  color: var(--ink-2);
}

/* the empty-state fan (design system §5.7) */
.fan {
  display: block;
  position: relative;
  flex: none;
  width: 320px;
  height: 184px;
  border-radius: 24px;
  background: var(--surface);
  --s: 1;
}
.fan .ph {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-stack);
  display: flex;
  flex-direction: column;
}
.fan .ph i {
  display: block;
  flex: 1;
  border-radius: 2px;
  background: var(--surface-pressed);
}
.fan .ph em {
  font-style: normal;
  white-space: nowrap;
}
.fan .ph span {
  display: flex;
  align-items: center;
  justify-content: safe center;
  overflow: hidden;
  padding: 0 3px;
  font-family: var(--font-marker);
  color: var(--ink);
  white-space: nowrap;
}
/* front 124 × 152 at −2°, rear 100 × 122 at −8° / +8°, offset ±92 and +10 down. Border 4 % of the width, band 17 %, marker 58 % of the band. */
.fan .front {
  width: calc(124px * var(--s));
  height: calc(152px * var(--s));
  padding: calc(5px * var(--s)) calc(5px * var(--s)) 0;
  transform: translate(-50%, -50%) rotate(-2deg);
  z-index: 2;
}
.fan .front span {
  height: calc(21px * var(--s));
  font-size: calc(12.2px * var(--s));
}
.fan .rear {
  width: calc(100px * var(--s));
  height: calc(122px * var(--s));
  padding: calc(4px * var(--s)) calc(4px * var(--s)) 0;
}
.fan .rear span {
  height: calc(17px * var(--s));
  font-size: calc(9.9px * var(--s));
}
.fan .l {
  transform: translate(calc(-50% - 92px * var(--s)), calc(-50% + 10px * var(--s))) rotate(-8deg);
}
.fan .r {
  transform: translate(calc(-50% + 92px * var(--s)), calc(-50% + 10px * var(--s))) rotate(8deg);
}

/* contents + text */
.layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 680px);
  gap: 80px;
  align-items: start;
  padding-bottom: 96px;
}
.toc {
  position: sticky;
  top: 32px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding-bottom: 8px;
}
.toc-label {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--ink-2);
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 1px solid var(--divider);
}
.toc a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 8px 0 8px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease);
}
.toc a .n {
  flex: none;
  min-width: 18px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  .toc a:hover {
    color: var(--ink);
  }
}
.toc a.on {
  color: var(--ink);
  border-left-color: var(--ink);
  font-weight: 500;
}
.toc a.on .n {
  color: var(--ink);
}

.short {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
}
.short h2 {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.short ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.short li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  font-size: 17px;
  line-height: 24px;
}
.short li svg {
  margin-top: 2px;
}

/* phone-only contents fold-out (design system §5.5 stacked sections) */
.contents {
  display: none;
  scroll-margin-top: 16px;
  margin: 24px 0 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.contents h2 {
  margin: 0;
}
.contents-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.1px;
  text-align: left;
  cursor: pointer;
}
/* biome-ignore lint/style/noDescendingSpecificity: a different element than the earlier rule, no override intended */
.contents-btn svg {
  flex: none;
  color: var(--ink-2);
  transition: transform 180ms var(--ease);
}
.contents.open .contents-btn svg {
  transform: rotate(180deg);
}
.contents ol {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
}
.contents ol[hidden] {
  display: none;
}
.contents a {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 0 4px;
  color: var(--ink);
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
}
/* biome-ignore lint/style/noDescendingSpecificity: a different element than the earlier rule, no override intended */
.contents a .n {
  flex: none;
  min-width: 20px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.doc section {
  padding-top: 56px;
  scroll-margin-top: 8px;
}
.doc section h2 {
  display: flex;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 29px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
/* biome-ignore lint/style/noDescendingSpecificity: a different element than the earlier rule, no override intended */
.doc section h2 .n {
  flex: none;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.doc section h3 {
  margin: 32px 0 8px;
  font-size: 17px;
  line-height: 22px;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.doc section h2 + h3 {
  margin-top: 8px;
}
.doc section p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 24px;
}
.doc section ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc section li {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  line-height: 24px;
}
.doc section li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--ink-3);
}
.doc section strong {
  font-weight: 600;
}
.doc section > :last-child {
  margin-bottom: 0;
}

/* tables: hairline rows like the order page's details box */
.tbl {
  margin: 8px 0 24px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--divider);
  overflow: hidden;
}
.tbl table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 21px;
}
.tbl th {
  text-align: left;
  padding: 14px 16px 10px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  color: var(--ink-2);
  vertical-align: bottom;
}
.tbl td {
  padding: 14px 16px;
  vertical-align: top;
  border-top: 1px solid var(--divider);
}
.tbl td:first-child {
  font-weight: 500;
}

/* footer */
.foot {
  border-top: 1px solid var(--divider);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 32px 0 48px;
}
.foot .wordmark {
  font-size: 20px;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
}
.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
}
@media (hover: hover) {
  .foot-links a:hover {
    color: var(--ink);
  }
}
.foot-links a[aria-current="page"] {
  color: var(--ink);
}
.copy {
  width: 100%;
  margin: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-3);
}

/* ── phone ──────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root {
    --inset: 20px;
  }
  .nav {
    height: 56px;
  }
  .hero {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 16px 0 32px;
  }
  .fan {
    width: 100%;
    height: 144px;
    --s: 0.78;
    order: -1;
  }
  .hero h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .layout {
    display: block;
    padding-bottom: 64px;
  }
  .toc {
    display: none;
  }
  .short {
    padding: 20px;
  }
  .contents {
    display: block;
  }
  .doc section {
    padding-top: 40px;
  }
  .tbl thead {
    display: none;
  }
  .tbl table,
  .tbl tbody,
  .tbl tr,
  .tbl td {
    display: block;
  }
  .tbl tr {
    padding: 14px 16px;
  }
  .tbl tr + tr {
    border-top: 1px solid var(--divider);
  }
  .tbl td {
    padding: 0;
    border: 0;
  }
  .tbl td + td {
    margin-top: 10px;
  }
  .tbl td:first-child {
    font-size: 17px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: -0.1px;
  }
  .tbl td + td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    color: var(--ink-2);
  }
  .foot-in {
    padding: 24px 0 40px;
  }
}
@media (max-width: 374px) {
  :root {
    --inset: 16px;
  }
}
