/* ==========================================================================
   SCULLARD TRANSPORT SOLUTIONS — policy pages
   Shared by privacy.html, cookies.html, data-protection.html, terms.html and
   accessibility.html.

   Deliberately plain. These are documents, not marketing: a single measured
   column, generous line height, no animation and no decoration competing with
   the text. Someone reading a privacy notice is looking for one fact, and
   everything here is in service of letting them find it.
   ========================================================================== */

:root{
  --bg:#0c0c0d;
  --bg-2:#121113;
  --white:#f4f2ec;
  --dim:rgba(244,242,236,.66);
  --accent:#f2d79f;   /* matched to index.html, lifted from #c8a978 */
  --line:rgba(244,242,236,.12);
  --line-strong:rgba(244,242,236,.22);
  --display:"Michroma","Inter",system-ui,sans-serif;
  --body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto} }

body{
  margin:0;
  background:var(--bg);
  color:var(--white);
  font-family:var(--body);
  font-size:1rem;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

.wrap{width:min(760px,90%);margin-inline:auto}

/* ---- Masthead ---------------------------------------------------------- */
.top{border-bottom:1px solid var(--line);padding:1.1rem 0}
.top-in{display:flex;align-items:center;justify-content:space-between;gap:1rem}
/* ---- The brand lock-up ------------------------------------------------
   The same lock-up as index.html, at 0.72 of its size to suit a policy
   masthead. Everything is scaled by that one factor rather than re-chosen,
   which is what let these pages drift: the mark was gold where the site has
   it white, the name carried .1em of tracking against the site's .24em, and
   the strapline bore no relation to the width of the name above it.

   As on index.html the strapline is fitted to the width of SCULLARD at
   runtime; the figures here are the no-JavaScript fallback. */
.brand{display:inline-flex;align-items:center;gap:.65rem;text-decoration:none;color:var(--white)}
.brand svg{width:27px;height:auto;color:var(--white);flex:none}
.brand-name{display:block;font-family:var(--display);font-size:1.09rem;
  letter-spacing:.24em;line-height:1;margin-right:-.24em}
.brand-sub{display:block;font-size:.52rem;font-weight:600;letter-spacing:.22em;
  text-transform:uppercase;color:var(--dim);margin-top:.3rem;
  white-space:nowrap;margin-right:-.22em}
@media (max-width:620px){
  .brand svg{width:22px}
  .brand-name{font-size:.88rem}
}
.back{font-size:.72rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:var(--accent);text-decoration:none;white-space:nowrap}
.back:hover,.back:focus-visible{color:var(--white)}

/* ---- Document ---------------------------------------------------------- */
main{padding:clamp(2rem,6vw,3.6rem) 0 clamp(2.4rem,6vw,4rem)}

h1{
  margin:0 0 .4rem;
  font-family:var(--display);font-weight:400;
  font-size:clamp(1.4rem,4vw,2.1rem);line-height:1.2;text-transform:uppercase;
}
.sub{margin:0 0 .3rem;color:var(--dim);font-size:1.02rem}
.stamp{margin:0 0 2.4rem;font-size:.74rem;letter-spacing:.1em;text-transform:uppercase;color:var(--dim)}

h2{
  margin:2.6rem 0 .7rem;
  font-family:var(--display);font-weight:400;
  font-size:clamp(.96rem,2.2vw,1.1rem);line-height:1.35;text-transform:uppercase;
  color:var(--accent);
}
h3{margin:1.6rem 0 .4rem;font-size:.95rem;font-weight:700;color:var(--white)}

p{margin:0 0 1rem;color:rgba(244,242,236,.86)}
a{color:var(--accent)}
a:hover,a:focus-visible{color:var(--white)}

ul,ol{margin:0 0 1rem;padding-left:1.1rem;color:rgba(244,242,236,.86)}
li{margin-bottom:.45rem}
li::marker{color:var(--accent)}

strong,b{color:var(--white);font-weight:600}

/* A statement of fact the reader should not miss. */
.note{
  margin:1.4rem 0;padding:1rem 1.1rem;
  border:1px solid var(--line-strong);border-left:3px solid var(--accent);
  border-radius:8px;background:rgba(242,215,159,.06);  /* the lifted gold, as --accent */
}
.note p:last-child{margin-bottom:0}

/* Something the business still has to supply. Visible on purpose: an unfilled
   placeholder in a published policy should be embarrassing, not invisible. */
.todo{
  margin:1.4rem 0;padding:1rem 1.1rem;
  border:1px dashed #c48a26;border-radius:8px;background:rgba(196,138,38,.09);
}
.todo b{display:block;font-size:.68rem;letter-spacing:.14em;text-transform:uppercase;
  color:#e0b050;margin-bottom:.3rem}
.todo p:last-child{margin-bottom:0}

table{width:100%;border-collapse:collapse;margin:0 0 1.2rem;font-size:.92rem}
th,td{text-align:left;padding:.6rem .7rem;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);font-weight:700}
td{color:rgba(244,242,236,.86)}

/* ---- Footer ------------------------------------------------------------ */
.foot{background:#0a0a0b;border-top:1px solid var(--line);
  padding:clamp(1.1rem,2.4vw,1.6rem) 0 clamp(.9rem,2vw,1.2rem);font-size:.78rem}
.foot-in{width:min(1400px,94%);margin-inline:auto;display:flex;flex-wrap:wrap;
  gap:1rem 2.6rem;align-items:flex-start}
.foot-col{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.foot-col b{font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.foot-col span{color:var(--dim);line-height:1.55}
/* Was the SECOND row of the footer, under the company columns, hence the rule
   and the spacing above it. With those columns gone it is the only row, so a
   top border would hang over nothing. */
.foot-bottom{justify-content:space-between;align-items:center}
.foot-links{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem}
.foot-links a{color:var(--dim);text-decoration:none;border-bottom:1px solid transparent}
.foot-links a:hover,.foot-links a:focus-visible{color:var(--white);border-bottom-color:var(--accent)}
.foot-links a[aria-current]{color:var(--white)}
.foot-c{color:var(--dim);opacity:.8}
@media (max-width:720px){ .foot-bottom{justify-content:flex-start} }

/* ---- Print -------------------------------------------------------------
   These get printed and filed, so they should come out legible in black on
   white rather than as a wall of dark ink. */
@media print{
  body{background:#fff;color:#000}
  .top,.foot{border-color:#ccc}
  h2{color:#000}
  p,li,td{color:#000}
  a{color:#000;text-decoration:underline}
  .note,.todo{border-color:#999;background:none}
  .back{display:none}
}
