/* Simply Us legal pages (privacy, terms). Standalone: does not load styles.css or app.js. */
:root {
  color-scheme: light;
  --paper: #F7F3EC; --paper-2: #EFE6DA; --surface: #FFFDF9;
  --ink: #231F1A; --ink-2: #4A433B; --muted: #6B6156;
  --line: #E3D8CA; --accent: #87533F; --accent-soft: #F1E3DA;
  --deep: #2A221D; --on-deep: #F4ECE2;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --ease: cubic-bezier(.22, .7, .18, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(18px, 4vw, 48px); background: rgba(247, 243, 236, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(227, 216, 202, .7); }
.brand { font: 400 30px/1 var(--script); color: var(--ink); text-decoration: none; }
.bar nav { display: flex; gap: 6px; }
.bar nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: background .25s var(--ease); }
.bar nav a:hover { background: var(--paper-2); }
.bar nav a[aria-current="page"] { background: var(--deep); color: var(--on-deep); }

.hero { max-width: 1120px; margin: 0 auto; padding: clamp(48px, 9vw, 112px) clamp(18px, 4vw, 48px) clamp(28px, 5vw, 48px); }
.eyebrow { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
h1 { font: 400 clamp(44px, 7vw, 84px)/1.02 var(--serif); letter-spacing: -.01em; margin: 0; }
h1 em { font-style: italic; color: var(--accent); }
.lede { max-width: 620px; font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin: 22px 0 0; }
.updated { font-size: 14px; color: var(--muted); margin-top: 14px; }

.short { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px 20px 20px; box-shadow: 0 1px 2px rgba(70, 32, 14, .04), 0 10px 30px rgba(70, 32, 14, .05);
  opacity: 0; transform: translateY(10px); animation: rise .7s var(--ease) forwards; }
.card:nth-child(2) { animation-delay: .07s; } .card:nth-child(3) { animation-delay: .14s; } .card:nth-child(4) { animation-delay: .21s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.card svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card b { display: block; font: 400 22px/1.15 var(--serif); margin: 14px 0 6px; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.doc { max-width: 1120px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) clamp(18px, 4vw, 48px) 40px; display: grid; grid-template-columns: 240px minmax(0, 680px); gap: clamp(32px, 6vw, 96px); }
.toc { position: sticky; top: 92px; align-self: start; font-size: 14px; }
.toc p { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--accent); }

article section { padding: 0 0 36px; margin: 0 0 36px; border-bottom: 1px solid var(--line); }
article section:last-child { border-bottom: 0; }
h2 { font: 400 clamp(28px, 3.2vw, 36px)/1.1 var(--serif); margin: 0 0 16px; }
h3 { font: 600 16px/1.4 var(--sans); margin: 24px 0 8px; }
article p, article li { color: var(--ink-2); }
article p { margin: 0 0 14px; }
article ul { margin: 0 0 14px; padding-left: 20px; }
article li { margin: 0 0 8px; }
article li::marker { color: var(--accent); }
article strong { color: var(--ink); font-weight: 600; }

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; margin: 8px 0 16px; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 500; background: var(--paper-2); }
.tbl td:first-child { color: var(--ink); font-weight: 500; white-space: nowrap; }

.note { background: var(--accent-soft); border-radius: 14px; padding: 16px 18px; font-size: 15px; color: var(--ink-2); margin: 8px 0 16px; }
.contact { background: var(--deep); color: var(--on-deep); border-radius: 22px; padding: clamp(24px, 4vw, 36px); margin-top: 8px; }
.contact h2 { color: var(--on-deep); }
.contact p { color: rgba(244, 236, 226, .78); }
.contact a { color: var(--on-deep); }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 12px 20px; border-radius: 999px; background: var(--on-deep); color: var(--deep) !important; text-decoration: none; font-size: 15px; font-weight: 500; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); }

.foot { max-width: 1120px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 48px) 48px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); }
.foot a { color: var(--muted); }

@media (max-width: 960px) {
  .short { grid-template-columns: repeat(2, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .short { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .card { display: grid; grid-template-columns: 26px 1fr; column-gap: 14px; padding: 16px; border-radius: 16px; }
  .card svg { grid-row: span 2; margin-top: 2px; }
  .card b { margin: 0 0 2px; font-size: 20px; }
  .bar nav a { padding: 7px 11px; font-size: 13px; }
  .brand { font-size: 26px; }
  .tbl thead { display: none; }
  .tbl tr, .tbl td { display: block; }
  .tbl tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { padding: 0; border: 0; }
  .tbl td:first-child { white-space: normal; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { .card { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* v72 phone polish (2 Dec 2026): 44 px tap areas on the top bar and footer links (research/mobile-design-rules.md R3.1) */
@media (max-width: 640px) {
  .bar nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .brand { display: inline-flex; align-items: center; min-height: 44px; }
  .foot a { display: inline-block; padding: 12px 0; margin: -12px 0; }
}
