/* Shared chrome for legal, checkout, success, and cancel pages.
   Matches the cream / ink / coral marketing site. */
:root {
  --cream: #f4ede4;
  --cream2: #eee5da;
  --ink: #0e0e0e;
  --muted: #5c5954;
  --line: rgba(14, 14, 14, 0.18);
  --coral: #f09a75;
  --max: 1480px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
.shell { width: min(calc(100% - 64px), var(--max)); margin: auto; }
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 237, 228, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: flex-end; gap: 10px; font-weight: 800; text-decoration: none; }
.brandmark { display: flex; align-items: flex-end; gap: 2px; height: 42px; }
.brandmark i {
  display: block;
  width: 17px;
  background: #111;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.brandmark i:nth-child(1) { height: 26px; }
.brandmark i:nth-child(2) { height: 34px; }
.brandmark i:nth-child(3) { height: 42px; }
.brandword { font-size: 16px; letter-spacing: -0.05em; }
.navlinks { display: flex; gap: 42px; font-size: 14px; }
.navlinks a { text-decoration: none; }
.navcta {
  justify-self: end;
  background: #111;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
}
.page { padding: 56px 0 80px; max-width: 820px; }
.page.wide { max-width: 1100px; }
label { display: block; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 14px 0 6px; }
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 6px;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
}
textarea { resize: vertical; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.line { display: grid; grid-template-columns: 1.4fr 0.6fr 0.7fr auto; gap: 8px; margin-top: 8px; align-items: end; }
.client-list { list-style: none; margin: 18px 0 0; padding: 0; }
.client-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.client-list button { background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
td.actions, .actions { display: flex; flex-wrap: wrap; gap: 6px; }
form .btn, .card .btn { margin-top: 12px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  margin: 0 0 16px;
  font-weight: 800;
}
.lede, .updated { font-size: 16px; line-height: 1.5; color: #2f2b27; max-width: 640px; }
.updated { font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.back { display: inline-block; margin-bottom: 28px; font-size: 14px; text-underline-offset: 4px; }
.legal { display: grid; gap: 16px; margin-top: 36px; }
.legal section, .card, .plan, .notice, .callout {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 22px 24px;
}
.legal h2 { font-size: 22px; letter-spacing: -0.03em; margin: 0 0 10px; }
.legal h3 { font-size: 16px; margin: 18px 0 8px; }
.legal p, .legal li, .card p, .plan p { font-size: 15px; line-height: 1.55; color: #2f2b27; }
.legal ul, .legal ol { margin: 8px 0 0; padding-left: 1.2rem; }
.legal li + li { margin-top: 6px; }
.callout.warn { background: #fff6df; }
.callout.alert { background: #fde8e2; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.card { text-decoration: none; display: block; }
.card h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.card span { display: inline-block; margin-top: 14px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.plan h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: -0.03em; }
.price { font-size: 28px; letter-spacing: -0.04em; margin: 8px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #111;
  padding: 14px 18px;
  border-radius: 7px;
  font-size: 14px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.btn.dark { background: #111; color: #fff; }
.btn:disabled { opacity: 0.55; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.notice { margin-top: 24px; }
.session { margin-top: 18px; font-size: 13px; color: var(--muted); word-break: break-all; }
footer { padding: 35px 0 26px; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.foot-links { display: flex; gap: 32px; font-size: 13px; }
.foot-links a { text-decoration: none; }
.social { justify-self: end; display: flex; gap: 18px; font-size: 13px; }
.copy {
  border-top: 1px solid var(--line);
  margin-top: 26px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #77716b;
}
@media (max-width: 1050px) {
  .shell { width: min(calc(100% - 36px), var(--max)); }
  .nav { grid-template-columns: 1fr auto; }
  .navlinks { display: none; }
  .plans, .grid, .admin-grid, .line { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .social { justify-self: start; }
}
@media (max-width: 650px) {
  .shell { width: calc(100% - 28px); }
  .nav { height: 70px; }
  .page { padding-top: 36px; }
  .foot-links { flex-wrap: wrap; }
  .copy { flex-direction: column; gap: 12px; }
}
