/* The four short policy pages (shipping.html, returns.html, warranty.html, privacy.html), on top of more.css.
   One column to read, the main facts first as tiles, the sections' headings at the site's H3 size like the FAQ
   questions and the terms page (type scale 11-03), and a row of tabs to move between the policies. */
.hero { margin-top: clamp(28px, 7vh, 80px); max-width: 860px; }
.updated { display: block; margin-top: 18px; font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

/* the policies, one tab each (the page you are on in orange) */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.ptabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: .88rem;
           border: 1px solid var(--line); background: rgba(10, 8, 7, .5); color: var(--ink); transition: border-color .3s, background .3s; }
.ptabs a:hover { border-color: rgba(234, 122, 30, .6); }
.ptabs a[aria-current="page"] { background: var(--accent); border-color: transparent; color: #140a04; font-weight: 700; }

/* the main facts at a glance */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: clamp(26px, 5vh, 44px) 0 0; max-width: 980px; padding: 0; list-style: none; }
.facts li { border-radius: 20px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(6px); padding: clamp(16px, 2vw, 22px); }
.facts b { display: block; font-weight: 850; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.05;
           font-size: clamp(1.25rem, 2vw, 1.6rem); color: var(--ink); }
.facts span { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .95rem; line-height: 1.45; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* the text */
.legal { margin-top: clamp(30px, 6vh, 56px); max-width: 68ch; padding-bottom: 8px; font-size: clamp(1rem, 1.3vw, 1.08rem); line-height: 1.65; }
.legal h2 { margin: 2.1em 0 .6em; font-size: clamp(1.2rem, 1.6vw, 1.32rem); font-weight: 800; font-stretch: 112%; text-transform: none;
            letter-spacing: .005em; line-height: 1.25; }
.legal > h2:first-child { margin-top: 0; }
.legal p, .legal li, .legal td { color: var(--ink-soft); }
.legal strong { color: var(--ink); font-weight: 700; }
.legal p { margin: 0 0 1em; }
.legal ul, .legal ol { margin: 0 0 1em; padding-left: 1.3em; }
.legal li { margin-bottom: .45em; }
.legal ul li::marker { color: var(--accent); }
.legal a { color: var(--accent); }
.legal a.cta { color: #140a04; }

/* numbered steps (how to return, how to claim) */
.legal ol.steps { list-style: none; padding: 0; counter-reset: step; }
.legal ol.steps li { position: relative; padding-left: 46px; margin-bottom: 14px; counter-increment: step; }
.legal ol.steps li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: .8rem; color: #140a04; background: var(--accent); }

/* where we deliver (a table on wide screens, one card per row on phones) */
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .97em; }
.legal th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase;
            color: var(--ink-soft); padding: 0 12px 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.legal td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal td:first-child { color: var(--ink); }
.legal td small { display: block; margin-top: 4px; font-size: .86em; color: var(--ink-soft); }
@media (max-width: 600px) {
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .legal td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; }
  .legal td::before { content: attr(data-th); flex: none; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); padding-top: .25em; }
  .legal td:first-child { display: block; font-weight: 700; padding-bottom: 6px; }
  .legal td:first-child small { font-weight: 400; }
  .legal td:first-child::before { content: none; }
  .legal td:not(:first-child) { text-align: right; }
}

/* the small print that matters: who gives the promise, and your rights */
.legal .note { margin: 1.6em 0 0; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 8, 7, .5); font-size: .95em; }
.legal .note p:last-child { margin-bottom: 0; }

/* (privacy) the button that asks the cookie question again */
.legal button.pill { color: var(--ink); font-size: .92rem; padding: 11px 18px; }

/* (keeps "e-mail" in one piece at the end of a line) */
.nw { white-space: nowrap; }
