:root {
  --orange: #c64c14;
  --orange-dark: #9f360d;
  --ink: #191b18;
  --paper: #f7f2eb;
  --white: #fff;
  --muted: #666861;
  --line: #ddd8d0;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.legal-shell { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.legal-header { height: 82px; padding: 0 max(32px, calc((100% - 1280px) / 2)); display: flex; align-items: center; justify-content: space-between; background: var(--ink); color: var(--white); border-bottom: 1px solid #3a3d37; }
.legal-brand { font-family: var(--display); font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.025em; text-transform: uppercase; }
.shop-link { display: inline-flex; align-items: center; gap: 22px; min-height: 42px; padding: 0 15px; border: 1px solid #666a62; border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; transition: background-color .15s, border-color .15s; }
.shop-link:hover { background: var(--orange); border-color: var(--orange); }

.legal-hero { background: var(--ink); color: var(--white); border-top: 8px solid var(--orange); }
.legal-hero-inner { min-height: 330px; display: flex; align-items: flex-end; justify-content: space-between; gap: 72px; padding-top: 62px; padding-bottom: 54px; }
.legal-kicker { margin: 0 0 18px; color: #ffaf83; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.legal-hero h1 { max-width: 850px; margin: 0; font-family: var(--display); font-size: clamp(78px, 10vw, 138px); font-weight: 800; letter-spacing: -.035em; line-height: .78; text-transform: uppercase; }
.legal-intro { max-width: 390px; margin: 0 0 4px; color: #d4d7ce; font-size: 17px; line-height: 1.6; }
.return-hero { background: var(--orange); border-top-color: #ffb386; }
.return-hero .legal-kicker { color: #ffe0ce; }
.promise-badge { width: 220px; height: 150px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 16px; border: 1px solid rgba(255,255,255,.6); }
.promise-badge strong { font-family: var(--display); font-size: 94px; line-height: .8; }
.promise-badge span { font-size: 13px; font-weight: 700; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.shipping-hero { background: #35241c; }

.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 90px; padding-top: 72px; padding-bottom: 110px; align-items: start; }
.legal-sidebar { position: sticky; top: 24px; display: grid; gap: 24px; }
.legal-nav { display: grid; border-top: 1px solid var(--line); }
.legal-nav a { position: relative; padding: 15px 8px 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; }
.legal-nav a::after { content: "→"; position: absolute; right: 2px; color: #a4a49d; }
.legal-nav a:hover, .legal-nav a.active { color: var(--orange); }
.legal-nav a.active { font-weight: 700; }
.legal-contact { display: grid; gap: 7px; padding: 20px; background: var(--ink); color: var(--white); border-left: 4px solid var(--orange); }
.legal-contact span { margin-bottom: 5px; color: #bfc2b9; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.legal-contact a { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.legal-contact small { color: #bfc2b9; font-size: 11px; }

.legal-document { min-width: 0; padding: 48px 56px; background: var(--white); border: 1px solid var(--line); }
.document-meta { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: #7c7d77; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal-document section { padding: 54px 0 8px; }
.legal-document section + section { margin-top: 24px; border-top: 1px solid var(--line); }
.section-number { display: block; margin-bottom: 12px; color: var(--orange); font-family: var(--display); font-size: 20px; font-weight: 700; }
.legal-document h2 { margin: 0 0 22px; font-family: var(--display); font-size: clamp(38px, 5vw, 54px); font-weight: 700; letter-spacing: -.015em; line-height: .95; text-transform: uppercase; }
.legal-document h3 { margin: 34px 0 12px; font-family: var(--display); font-size: 27px; font-weight: 700; text-transform: uppercase; }
.legal-document p, .legal-document li { color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-document p { margin: 0 0 16px; }
.legal-document ul { margin: 0; padding-left: 22px; }
.legal-document a:not(.button-link) { color: var(--orange-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.address-card { margin-top: 22px; padding: 26px 28px; background: var(--paper); border-left: 4px solid var(--orange); }
.address-card strong { font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.address-card p { margin: 9px 0 0; }
.legal-details { margin: 0; border-top: 1px solid var(--line); }
.legal-details div { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.legal-details dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.legal-details dd { margin: 0; font-size: 14px; font-weight: 600; }
.legal-callout { margin: 34px 0 8px; padding: 25px 28px; background: #fff0e7; border: 1px solid #f3c4a9; }
.legal-callout strong { display: block; margin-bottom: 7px; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.legal-callout p { margin: 0; }
.text-arrow { display: inline-flex; gap: 10px; font-weight: 700; }

.return-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 38px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.return-steps div { padding: 24px 20px 22px 0; }
.return-steps div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.return-steps span { display: block; margin-bottom: 17px; color: var(--orange); font-family: var(--display); font-size: 22px; font-weight: 700; }
.return-steps strong { display: block; font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.return-steps p { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.form-template { margin-top: 24px; padding: 30px; background: #f4f4f0; border: 1px dashed #b9b9b1; }
.form-template p { color: #50534e; }

.facts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 38px 0 10px; background: var(--line); border: 1px solid var(--line); }
.facts-grid div { min-height: 145px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; background: var(--paper); }
.facts-grid span { margin-bottom: auto; color: var(--orange); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.facts-grid strong { font-family: var(--display); font-size: 38px; font-weight: 700; line-height: 1; text-transform: uppercase; }
.facts-grid small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.payment-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.payment-strip span { padding: 9px 13px; border: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.button-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 45px; min-width: 245px; padding: 15px 17px; background: var(--orange); color: var(--white); border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.button-link:hover { background: var(--orange-dark); }

.legal-footer { padding: 38px 0; background: var(--ink); color: var(--white); }
.legal-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.legal-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: #c7cac1; font-size: 12px; }
.legal-footer nav a:hover { color: #ffaf83; }

:where(a):focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }

@media (max-width: 860px) {
  .legal-shell { width: min(100% - 40px, 720px); }
  .legal-hero-inner { min-height: 300px; align-items: flex-start; flex-direction: column; justify-content: flex-end; gap: 28px; }
  .legal-hero h1 { font-size: clamp(68px, 17vw, 108px); }
  .legal-intro { max-width: 520px; }
  .legal-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 36px; padding-bottom: 70px; }
  .legal-sidebar { position: static; }
  .legal-nav { grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
  .legal-nav a { padding: 14px; border-bottom: 1px solid var(--line); }
  .legal-nav a:nth-child(odd) { border-right: 1px solid var(--line); }
  .legal-contact { display: none; }
  .legal-document { padding: 38px; }
  .promise-badge { width: 190px; height: 110px; align-self: flex-end; }
  .promise-badge strong { font-size: 70px; }
}

@media (max-width: 560px) {
  .legal-shell { width: min(100% - 28px, 520px); }
  .legal-header { height: 70px; padding: 0 18px; }
  .legal-brand { font-size: 31px; }
  .shop-link { min-height: 38px; gap: 12px; padding: 0 11px; font-size: 10px; }
  .legal-hero-inner { min-height: 275px; padding-top: 48px; padding-bottom: 38px; }
  .legal-hero h1 { font-size: clamp(61px, 20vw, 88px); }
  .legal-intro { font-size: 15px; }
  .legal-nav { grid-template-columns: 1fr; }
  .legal-nav a:nth-child(odd) { border-right: 0; }
  .legal-document { padding: 26px 21px; }
  .document-meta { flex-direction: column; gap: 6px; }
  .legal-document section { padding-top: 42px; }
  .legal-document h2 { font-size: 38px; }
  .legal-details div { grid-template-columns: 1fr; gap: 5px; }
  .return-steps { grid-template-columns: 1fr; }
  .return-steps div { padding: 20px 0; }
  .return-steps div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts-grid { grid-template-columns: 1fr; }
  .facts-grid div { min-height: 125px; }
  .promise-badge { width: 150px; height: 90px; align-self: flex-start; }
  .promise-badge strong { font-size: 58px; }
  .legal-footer-inner { align-items: flex-start; flex-direction: column; }
  .legal-footer nav { justify-content: flex-start; gap: 14px 20px; }
}

@media print {
  .legal-header, .legal-sidebar, .legal-footer { display: none; }
  .legal-page, .legal-hero { background: #fff; color: #000; }
  .legal-hero-inner { min-height: auto; padding: 30px 0; }
  .legal-layout { display: block; padding: 0; }
  .legal-document { border: 0; padding: 0; }
}
