/* Crown Slabs — POLICY PAGES
   ══════════════════════════════════════════════════════════
   Loaded fourth, by care.html / shipping.html / privacy.html /
   terms.html only. styles.css carries the tokens and the type,
   pages.css carries the .pg__head / .pg__body / .pg__tail
   shell; this file is the two components the four policy
   pages share and nothing else — the cross-nav between them
   and the long-form prose column.

   The gallery and the contact page keep their own components
   in their own files for the reason given in pages.css. These
   four are one set read the same way, so they share one file
   rather than four copies of the same two components.
   ══════════════════════════════════════════════════════════ */


/* ══ POLICY NAV ════════════════════════════════════════════
   The four pages are siblings, not a hierarchy, so each one
   carries the whole set and marks itself. It reads as a tab
   strip rather than a list: a reader who came for Returns
   should be able to see Care without going back to the foot
   of the page for it.                                      */
.polnav{
  display:flex;flex-wrap:wrap;gap:8px;
  margin-bottom:clamp(38px,5vw,58px);
  padding-bottom:clamp(24px,3vw,32px);
  border-bottom:1px solid oklch(0.322 0.030 58 / .5);
}
.polnav a{
  display:inline-flex;align-items:center;height:34px;padding:0 14px;
  border:1px solid oklch(0.322 0.030 58 / .7);border-radius:99px;
  font-family:var(--mono);font-size:.625rem;letter-spacing:.18em;
  text-transform:uppercase;color:var(--ink-3);text-decoration:none;
  transition:color var(--t-micro),border-color var(--t-micro),background-color var(--t-micro);
}
.polnav a:hover{color:var(--ink);border-color:oklch(0.885 0.062 84 / .5)}
/* the page you are on is stated, not linked away from */
.polnav a[aria-current="page"]{
  color:var(--void);background:var(--champagne);
  border-color:var(--champagne);
}


/* ── the body band pays for the footer ────────────────────
   .pg__body carries padding only at the top in pages.css, on
   the assumption that a tail band follows it. These four end
   on the last clause of the policy, so the closing line would
   otherwise butt into the colophon's rule.

   Declared at one class, matching pages.css and contact.css,
   so file order decides it and nothing here can outrank
   another page's own value.                                */
.pg__body{padding-bottom:clamp(64px,9vw,104px)}


/* ══ PROSE ═════════════════════════════════════════════════
   A policy is read in a straight line, so it is one column on
   the same left rail as every other band — no columns, no
   pull quotes, nothing to scan past.

   It runs the full width of the container rather than being
   capped at a reading measure: these are reference pages that
   are scanned for the clause you came for, and the headings,
   the <dl> rows and the numbered steps are what carry the
   eye, not line length.                                    */
.prose{max-width:none}
.prose h2{
  font-family:var(--display);font-weight:400;
  font-size:clamp(1.25rem,2.2vw,1.625rem);line-height:1.2;
  color:var(--ink);margin:0 0 14px;
}
/* the gap above a heading is the section break — it is bigger
   than the gap below it so a heading belongs to what follows */
.prose h2:not(:first-child){margin-top:clamp(46px,5.6vw,74px)}
.prose h3{
  font-family:var(--body);font-weight:500;
  font-size:1rem;letter-spacing:.01em;color:var(--ink);
  margin:30px 0 10px;
}
/* styles.css caps every <p> at 68ch. These pages run the full
   container, so the cap has to be lifted here rather than in
   the markup — it applies to the list items and the draft
   note as well, both of which are paragraphs' worth of text. */
.prose p,.prose li,.prose dd{max-width:none}
.prose p{color:var(--ink-2);font-size:1rem;line-height:1.75;margin:0 0 16px}
.prose p:last-child{margin-bottom:0}
.prose a{color:var(--champagne);text-decoration:none;border-bottom:1px solid oklch(0.885 0.062 84 / .38)}
.prose a:hover{border-bottom-color:var(--champagne)}
.prose strong{color:var(--ink);font-weight:500}
/* a storage key or a hostname read literally — the mono face is
   already loaded for the eyebrows, so this costs nothing */
.prose code{
  font-family:var(--mono);font-size:.8125em;
  padding:1px 5px;border-radius:3px;
  background:oklch(0.238 0.038 56 / .7);color:var(--ink);
  word-break:break-word;
}

.prose ul,.prose ol{margin:0 0 16px;padding-left:0;list-style:none}
.prose ol{counter-reset:step}
.prose li{
  position:relative;padding-left:24px;
  color:var(--ink-2);font-size:1rem;line-height:1.75;margin-bottom:9px;
}
/* the bullet is the site's prism mark, not a disc */
.prose ul li::before{
  content:"";position:absolute;left:2px;top:.72em;
  width:6px;height:6px;transform:rotate(45deg);
  background:linear-gradient(135deg,var(--fire-c),var(--fire-y) 55%,var(--fire-m));
  opacity:.85;
}
.prose ol li::before{
  counter-increment:step;content:counter(step,decimal-leading-zero);
  position:absolute;left:0;top:.16em;
  font-family:var(--mono);font-size:.6875rem;letter-spacing:.08em;color:var(--gilt);
}

/* a definition row — the spec pairs on Care, the timings on
   Shipping. Two columns from 600px, stacked below it. */
.prose dl{margin:0 0 16px;display:grid;gap:0}
.prose dt{
  font-family:var(--mono);font-size:.6875rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink-3);padding-top:16px;
}
.prose dd{margin:0 0 16px;color:var(--ink-2);line-height:1.7;padding-bottom:16px;
  border-bottom:1px solid oklch(0.322 0.030 58 / .4)}
@media(min-width:600px){
  /* no column-gap: the dt and dd rules have to meet, or one row
     reads as two broken underlines. The gap is dt's padding. */
  .prose dl{grid-template-columns:minmax(13rem,18%) 1fr;column-gap:0}
  .prose dt{padding-bottom:16px;padding-right:clamp(18px,2.4vw,34px);
    border-bottom:1px solid oklch(0.322 0.030 58 / .4)}
  .prose dd{margin-bottom:0}
}

/* ── the draft notice ──────────────────────────────────────
   Privacy and Terms are placeholder copy pending review, and
   a policy that is not yet the real one has to say so on the
   page rather than only in a comment. Deliberately quiet: it
   is a note, not a warning banner.                         */
/* NOT display:flex — the note is one sentence with a <b> and a
   link inside it, and flex makes every child its own column. */
.prose .draft{
  margin:0 0 30px;padding:14px 16px;
  border:1px solid oklch(0.322 0.030 58 / .7);border-left:2px solid var(--gilt);
  background:oklch(0.178 0.029 54 / .5);
  color:var(--ink-3);font-size:.8125rem;line-height:1.6;
}
.prose .draft b{color:var(--ink-2);font-weight:500}

/* the last-updated stamp under the masthead rule */
.pg__stamp{
  font-family:var(--mono);font-size:.625rem;letter-spacing:.2em;
  text-transform:uppercase;color:var(--ink-3);margin-top:18px;
}
