/* DataRevenue site styles: "Plain Terms" direction, approved by Alex Nov 20 2026.
 * White and mist backgrounds, navy text, one logo blue. Satoshi headings, Switzer body.
 * Signature: the "plain terms" card (who pays you, $0 to us, what you keep, what you give up).
 * Mockup and screenshots: site/mockup/plain-terms.html. Research: datasupply/research/site-redesign-teardown/REPORT.md */
@import url("./tokens.css");
@import url("./base.css");

/* The slash from the D/R logo, used as the bullet mark */
.slash { display: inline-block; width: 0.5em; height: 0.78em; background: var(--blue); clip-path: polygon(62% 0, 100% 0, 38% 100%, 0 100%); flex: none; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 12px; border: 0;
  background: var(--blue); color: var(--on-blue); font: 600 1.05rem/1.2 var(--body);
  text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.18) inset, 0 6px 16px -6px rgb(37 99 235 / 0.55);
  transition: background-color 160ms ease, transform 120ms ease, box-shadow 160ms ease;
}
.btn:hover { background: var(--blue-hover); color: var(--on-blue); }
.btn:active { transform: scale(0.97); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 0.98rem; border-radius: 10px; }
.btn.ghost, .btn.quiet { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-2); }
.btn.ghost:hover, .btn.quiet:hover { background: var(--mist); color: var(--ink); }
.tlink { font-weight: 600; color: var(--blue-ink); }
.fee { font-size: 0.95rem; line-height: 1.5; color: var(--ink-2); }
.fee b { color: var(--ink); }
.fine, .source { font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.source { margin-top: 20px; }
.fill { display: inline-block; padding: 0 8px; border: 1px dashed var(--ink-2); border-radius: 6px; color: var(--ink-2); font-size: 0.92em; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / 0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.top .container { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.top .home { flex: none; }
.top .home img { width: 168px; }
.top nav.main { display: flex; gap: 26px; margin-left: auto; }
.top nav.main a { color: var(--ink-2); text-decoration: none; font-size: 1rem; font-weight: 500; white-space: nowrap; }
.top nav.main a:hover, .top nav.main a[aria-current="page"] { color: var(--ink); }
.top .menu { display: none; }
.top .menu summary { list-style: none; cursor: pointer; min-height: 44px; display: grid; place-items: center; padding: 0 12px; font-weight: 600; font-size: 0.98rem; border-radius: 10px; }
.top .menu summary::-webkit-details-marker { display: none; }
.top .menu nav { position: absolute; right: 0; top: 52px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 8px; display: grid; min-width: 230px; }
.top .menu nav a { padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 8px; }
.top .menu nav a:hover { background: var(--mist); }
@media (prefers-reduced-motion: no-preference) {
  .top .menu[open] nav { transition: opacity 160ms ease, transform 160ms ease; }
  @starting-style { .top .menu[open] nav { opacity: 0; transform: translateY(-6px); } }
}

/* ---------- Home ---------- */
.hero { padding-block: clamp(32px, 4vw, 52px) clamp(56px, 7vw, 96px); background: radial-gradient(60% 80% at 85% 20%, var(--wash) 0%, rgb(234 241 254 / 0) 70%), var(--white); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.for { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 500; color: var(--ink-2); margin-bottom: 20px; }
.hero h1 .line { display: block; }
.hero h1 .line.blue { color: var(--blue); }
.hero .sub { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); margin-top: 22px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.98rem; color: var(--ink-2); font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 9px; }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--blue); }

/* The plain terms card */
.terms-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); border: 1px solid var(--rule); overflow: hidden; }
.terms-card .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 26px 14px; border-bottom: 1px solid var(--rule); }
.terms-card .head h2 { font-size: 1.2rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.terms-card .head .note-date { font-size: 0.85rem; color: var(--ink-2); white-space: nowrap; }
.terms-card dl { margin: 0; }
.terms-card dl > div { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; padding: 12px 26px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.terms-card dt { font-size: 0.95rem; color: var(--ink-2); font-weight: 500; }
.terms-card dd { margin: 0; font-size: 1rem; line-height: 1.45; font-weight: 500; color: var(--ink); }
.terms-card .zero { background: var(--wash); }
.terms-card .zero dd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.terms-card .zero b { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--blue); letter-spacing: -0.02em; }
.terms-card .zero small { font-size: 0.9rem; color: var(--ink-2); font-weight: 500; }
.terms-card .foot { display: flex; align-items: center; gap: 14px; padding: 14px 26px; background: var(--mist); }
.terms-card .foot img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.terms-card .foot p { font-size: 0.95rem; line-height: 1.4; color: var(--ink-2); }
.terms-card .foot b { color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .hero .terms-card { animation: rise 600ms cubic-bezier(.2,.7,.2,1) both 120ms; }
  .hero .terms-card dl > div { animation: rowin 460ms cubic-bezier(.2,.7,.2,1) both; }
  .hero .terms-card dl > div:nth-child(1) { animation-delay: 280ms; }
  .hero .terms-card dl > div:nth-child(2) { animation-delay: 340ms; }
  .hero .terms-card dl > div:nth-child(3) { animation-delay: 400ms; }
  .hero .terms-card dl > div:nth-child(4) { animation-delay: 460ms; }
  .hero .terms-card dl > div:nth-child(5) { animation-delay: 520ms; }
  .hero .terms-card dl > div:nth-child(6) { animation-delay: 580ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rowin { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }

/* Home sections */
.band { padding-block: var(--section); }
.band.mist { background: var(--mist); }
.band.wash { background: var(--wash); }
.shead { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.shead p { margin-top: 16px; font-size: 1.15rem; color: var(--ink-2); }

.copies { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; align-items: stretch; }
.mail { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 22px 24px; font-size: 1rem; line-height: 1.6; }
.tag { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); background: var(--mist); border-radius: 999px; padding: 3px 12px; margin-bottom: 14px; }
.mail.clean .tag { color: var(--blue-ink); background: var(--wash); }
.mail .meta { color: var(--ink-2); border-bottom: 1px solid var(--rule); padding-bottom: 12px; margin-bottom: 12px; }
mark { background: var(--wash-2); color: var(--blue-ink); font-weight: 600; border-radius: 5px; padding: 0 5px; }
.copies .turn { display: grid; place-items: center; }
.copies .turn span { width: 52px; height: 52px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.copies .turn svg { width: 22px; height: 22px; color: var(--white); }
.copies + .fine { margin-top: 20px; }

.flows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.flow { border: 1px solid var(--rule); border-radius: var(--r-md); padding: 26px; background: var(--white); display: flex; flex-direction: column; gap: 14px; }
.flow .path { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; }
.flow .path .party { background: var(--mist); border: 1px solid var(--rule); border-radius: 999px; padding: 4px 14px; }
.flow .path .line { flex: 1; height: 2px; background: var(--blue); position: relative; min-width: 24px; }
.flow .path .line::after { content: ''; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--blue); border-right: 0; }
.flow h3 { font-size: 1.45rem; }
.flow p { color: var(--ink-2); font-size: 1.02rem; }
.flow.zero { background: var(--wash); border-color: var(--wash-2); }
.flow.zero .path .line { background: var(--rule-2); }
.flow.zero .path .line::after { border-left-color: var(--rule-2); }
.flow.zero h3 { color: var(--blue); font-size: 2.4rem; line-height: 1; }
.after-flows { margin-top: 24px; }

.people { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.lead-person { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden; }
.lead-person img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.lead-person .txt { padding: 30px 30px 30px 28px; display: flex; flex-direction: column; gap: 12px; }
.badge { align-self: flex-start; font-size: 0.85rem; font-weight: 600; color: var(--blue-ink); background: var(--wash); border-radius: 999px; padding: 4px 12px; }
.lead-person h3 { font-size: 1.7rem; }
.role { color: var(--ink-2); font-size: 1rem; font-weight: 500; }
.lead-person .role { margin-top: -6px; }
.lead-person .bio { font-size: 1.02rem; }
.lead-person .btn { margin-top: auto; align-self: flex-start; }
.others { display: grid; gap: 20px; }
.person { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 24px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; }
.person img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.person h3 { font-size: 1.25rem; }
.person .bio { font-size: 0.98rem; color: var(--ink-2); margin-top: 8px; }

.qual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px; }
.box { border: 1px solid var(--rule); border-radius: var(--r-lg); background: var(--white); padding: 8px 26px 22px; }
.box h3 { font-size: 1.15rem; padding: 18px 0 10px; }
.minimums { margin: 0; }
.minimums > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--rule); }
.minimums dt { font-weight: 500; }
.minimums dd { margin: 0; color: var(--ink-2); white-space: nowrap; }
.minimums dd b, .min b { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule); font-size: 1.02rem; align-items: baseline; }
.ticks .slash { position: relative; top: 1px; }
.notfit { margin-top: 20px; border-radius: var(--r-md); background: var(--mist); padding: 18px 22px; font-size: 1rem; color: var(--ink-2); }
.notfit b { color: var(--ink); }

.worth { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.table-card { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--rule); box-shadow: var(--shadow-sm); overflow: hidden; }
table.ranges { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
table.ranges th { text-align: left; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); padding: 16px 24px; background: var(--mist); border-bottom: 1px solid var(--rule); }
table.ranges td { padding: 16px 24px; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.ranges td small { display: block; color: var(--ink-2); font-size: 0.88rem; margin-top: 2px; }
table.ranges .r { text-align: right; }
table.ranges td.amt { font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
table.ranges td.amt.q { font-family: var(--body); font-weight: 500; font-size: 1rem; color: var(--ink-2); }
.table-card .src { padding: 14px 24px 18px; font-size: 0.9rem; color: var(--ink-2); }
.worth-side p + p { margin-top: 16px; }
.worth-side .warn { border-left: 3px solid var(--blue); padding: 4px 0 4px 18px; font-weight: 500; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; border-top: 3px solid var(--rule); padding-top: 22px; counter-increment: s; }
.steps li:first-child { border-top-color: var(--blue); }
.steps li::before { content: counter(s); position: absolute; top: -17px; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--white); border: 2px solid var(--rule-2); display: grid; place-items: center; font: 700 0.95rem/1 var(--display); color: var(--ink); }
.steps li:first-child::before { background: var(--blue); border-color: var(--blue); color: var(--white); }
.steps .when { font-size: 0.88rem; font-weight: 600; color: var(--blue-ink); margin-bottom: 6px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: 0.98rem; color: var(--ink-2); line-height: 1.5; }
.steps-note { margin-top: 32px; }

.home-faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.home-faq .shead p + p { margin-top: 12px; }

.close { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.close h2 { font-size: clamp(2rem, 1.3rem + 1.8vw, 2.9rem); }
.close .text > p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 32em; }
.close .actions { margin-top: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.close .fee { max-width: 30em; }

/* Accordions: the home page answers and the FAQ page share one look */
.qa { border-top: 1px solid var(--rule-2); }
.qa details, .faq details { border-bottom: 1px solid var(--rule-2); }
.qa summary, .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 700 1.18rem/1.35 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.qa summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.qa summary::after, .faq summary::after { content: '+'; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule-2); display: grid; place-items: center; flex: none; background: var(--white); font: 500 1.2rem/1 var(--body); color: var(--ink); transition: transform 200ms ease, background-color 160ms ease; }
.qa details[open] summary::after, .faq details[open] summary::after { transform: rotate(45deg); background: var(--wash); }
.qa summary:hover, .faq summary:hover { color: var(--blue-ink); }
.qa details > p, .faq .ans { padding: 0 48px 22px 0; color: var(--ink-2); font-size: 1.05rem; }
.faq .ans p + p { margin-top: 12px; }
.faq { max-width: 52rem; }
.faq h2.group { font-size: 1.35rem; color: var(--blue-ink); margin: 48px 0 6px; }
.faq h2.group:first-child { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .qa details[open] > p, .faq details[open] .ans { animation: open 220ms ease both; }
}
@keyframes open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(40px, 5vw, 64px); background: radial-gradient(55% 90% at 90% 0%, var(--wash) 0%, rgb(234 241 254 / 0) 70%), var(--white); border-bottom: 1px solid var(--rule); }
.page-head .container > * { max-width: 50rem; }
.crumbs { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 18px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(2.1rem, 1.3rem + 2.2vw, 3rem); line-height: 1.08; }
.page-head .sub { margin-top: 18px; font-size: 1.18rem; line-height: 1.55; color: var(--ink-2); }
.page-head.short { padding-bottom: 40px; }

section.body { padding-block: clamp(48px, 6vw, 88px); }
section.body + section.body { border-top: 1px solid var(--rule); }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 5vw, 72px); align-items: start; }

.prose { max-width: var(--measure); }
.prose h2 { font-size: 1.65rem; line-height: 1.2; margin-top: 52px; }
.prose h3 { font-size: 1.22rem; margin-top: 32px; }
.prose > :first-child { margin-top: 0; }
.prose h2 + p, .prose h2 + ul, .prose h2 + ol, .prose h3 + p, .prose h3 + ul, .prose h2 + table { margin-top: 14px; }
.prose p + p, .prose ul + p, .prose ol + p, .prose p + ul, .prose p + ol, .prose table + p { margin-top: 16px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0; }
.prose li { margin-top: 8px; }
.prose li::marker { color: var(--blue); }

aside.side { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px; }
aside.side h2, aside.side h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
aside.side h2 + *, aside.side h3 + * { margin-top: 10px; }
aside.side h2:not(:first-child), aside.side h3:not(:first-child) { margin-top: 24px; }
aside.side > p { color: var(--ink-2); font-size: 1rem; }
aside.side .btn { width: 100%; margin-top: 18px; }
aside.side .fee { margin-top: 14px; font-size: 0.9rem; }
aside.side ol, aside.side ul { padding-left: 1.2em; margin: 0; font-size: 1rem; color: var(--ink-2); }
aside.side li { margin-top: 6px; }
aside.side li::marker { color: var(--blue); font-weight: 600; }

.lede-block { margin-bottom: clamp(28px, 4vw, 44px); max-width: 46rem; }
.lede-block p { margin-top: 12px; color: var(--ink-2); font-size: 1.1rem; }

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline > li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--rule); counter-increment: t; }
.timeline > li:first-child { border-top: 0; padding-top: 0; }
.timeline .when { font-size: 0.92rem; font-weight: 600; color: var(--blue-ink); padding-top: 4px; display: flex; gap: 10px; align-items: baseline; }
.timeline .when::before { content: counter(t); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--wash); color: var(--blue-ink); display: grid; place-items: center; font: 700 0.85rem/1 var(--display); transform: translateY(-2px); }
.timeline h3 { font-size: 1.25rem; }
.timeline h3 + p { margin-top: 8px; }
.timeline p + p { margin-top: 12px; }
.timeline .who { font-size: 0.95rem; color: var(--ink-2); }

.sample { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.sample figure { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-sm); padding: 18px 20px; font-size: 0.95rem; line-height: 1.55; }
.sample figcaption { display: block; width: fit-content; font-size: 0.82rem; font-weight: 600; color: var(--ink-2); background: var(--mist); border-radius: 999px; padding: 2px 10px; margin-bottom: 12px; }
.sample figure:last-child figcaption { color: var(--blue-ink); background: var(--wash); }

.note { margin-top: 28px; background: var(--wash); border-left: 4px solid var(--blue); border-radius: var(--r-sm); padding: 18px 22px; font-size: 1.02rem; }
.note.warn { background: var(--warn-wash); border-left-color: var(--warn-rule); }
.note.warn b { color: var(--warn); }
.note p + p { margin-top: 10px; }

table.terms { width: 100%; border-collapse: collapse; font-size: 1.02rem; margin-top: 16px; border-top: 1px solid var(--rule-2); }
table.terms th { text-align: left; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule-2); }
table.terms td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.terms.plain td:first-child { width: 36%; color: var(--ink-2); font-weight: 500; }
table.terms td:last-child { padding-right: 0; }

ul.check { list-style: none; padding: 0; margin: 16px 0 0; }
ul.check li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--rule); margin: 0; }
ul.check li:last-child { border-bottom: 1px solid var(--rule); }
ul.check li::before { content: ''; position: absolute; left: 4px; top: 1.05em; width: 0.5em; height: 0.78em; background: var(--blue); clip-path: polygon(62% 0, 100% 0, 38% 100%, 0 100%); }
ul.check.no li::before { content: '\00D7'; clip-path: none; background: none; width: auto; height: auto; left: 2px; top: 9px; font: 600 1.25rem/1 var(--body); color: var(--warn); }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.team figure { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.team .ph { aspect-ratio: 1; overflow: hidden; background: var(--mist); }
.team .ph img { width: 100%; height: 100%; object-fit: cover; }
.team figcaption { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.team figcaption b { font: 700 1.3rem/1.3 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.team .bio { margin-top: 8px; font-size: 0.98rem; color: var(--ink-2); }

.fit { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fit > div, .grid3 > div, .ins-index > div { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.fit h3 { font-size: 1.15rem; }
.fit h3 a, .ins-index .card-title a { color: var(--ink); text-decoration: none; }
.fit h3 a:hover, .ins-index .card-title a:hover { color: var(--blue-ink); text-decoration: underline; }
.min { color: var(--ink-2); font-size: 1rem; }
.fit .go { margin-top: auto; padding-top: 6px; font-size: 0.95rem; font-weight: 600; }
.grid3, .ins-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid3 h3 { font-size: 1.15rem; }
.grid3 p:not(.min) { font-size: 0.98rem; color: var(--ink-2); }
.ins-index .card-title { font-size: 1.3rem; line-height: 1.25; }
.ins-index p { color: var(--ink-2); font-size: 1rem; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split .lead { font-size: 1.15rem; font-weight: 500; }

.index { border-top: 1px solid var(--rule-2); max-width: 46rem; }
.index .row { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.index .name { font: 700 1.15rem/1.3 var(--display); }
.index .min { text-align: right; }

.booking { background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.booking iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.booking:focus-within, .booking.is-focused { outline: 3px solid var(--blue); outline-offset: 3px; }

.end { padding-block: clamp(56px, 7vw, 88px); background: var(--wash); }
.end .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.end h2 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem); }
.end .container > div > p { margin-top: 14px; color: var(--ink-2); font-size: 1.1rem; }
.end .fee { margin-top: 14px; }

/* Footer */
footer.site { background: var(--ink); color: var(--footer-text); padding-block: 64px 40px; font-size: 0.95rem; line-height: 1.6; }
footer.site .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; }
footer.site .mark { width: 180px; margin-bottom: 20px; }
footer.site p + p { margin-top: 12px; }
footer.site b { color: var(--white); }
footer.site a { color: var(--white); }
footer.site nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; align-content: start; }
footer.site nav a { text-decoration: none; color: var(--footer-text); }
footer.site nav a:hover { color: var(--white); text-decoration: underline; }
footer.site :focus-visible { outline-color: var(--white); }

/* Cookie choice */
.cookie { position: fixed; right: 16px; bottom: 16px; left: 16px; max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 20px; padding: 16px 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow); font-size: 0.95rem; color: var(--ink-2); z-index: 40; }
.cookie[hidden] { display: none; }
.cookie .row { display: flex; gap: 10px; flex: none; }
.cookie .btn { min-height: 44px; padding: 0 18px; font-size: 0.98rem; }
@media (prefers-reduced-motion: no-preference) {
  .cookie { transition: opacity 200ms ease, transform 200ms ease; }
  @starting-style { .cookie { opacity: 0; transform: translateY(16px); } }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .top nav.main { gap: 20px; }
  .top nav.main a:nth-child(n+4) { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .people { grid-template-columns: minmax(0, 1fr); }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .top nav.main { display: none; }
  .top .menu { display: block; margin-left: auto; position: relative; }
  .hero .container, .worth, .home-faq, .close, .qual, .cols, .split, .end .container { grid-template-columns: minmax(0, 1fr); }
  .hero .terms-card { max-width: 560px; }
  .flows, .copies, .team, .grid3, .ins-index { grid-template-columns: minmax(0, 1fr); }
  .team { max-width: 520px; }
  .copies .turn span { transform: rotate(90deg); }
  aside.side { position: static; }
  footer.site .container { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .top .container { min-height: 64px; gap: 12px; }
  .top .home img { width: 140px; }
  .hero .actions .btn, .close .actions .btn, .end .btn { width: 100%; }
  .checks { flex-direction: column; gap: 8px; }
  .terms-card dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 20px; }
  .terms-card .head, .terms-card .foot { padding-inline: 20px; }
  /* Phones: Brad's photo sits beside his name, like Nick's and Alex's cards, instead of filling the screen */
  .lead-person { grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; padding: 20px; align-items: start; }
  .lead-person img { grid-row: 1 / span 3; width: 88px; height: 88px; aspect-ratio: 1 / 1; border-radius: 16px; }
  .lead-person .txt { display: contents; }
  .lead-person .badge { grid-column: 2; justify-self: start; }
  .lead-person h3 { grid-column: 2; margin-top: 8px; font-size: 1.35rem; }
  .lead-person .role { grid-column: 2; margin-top: 2px; }
  .lead-person .bio { grid-column: 1 / -1; margin-top: 16px; }
  .lead-person .btn { grid-column: 1 / -1; width: 100%; margin-top: 18px; }
  .others, .fit { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: 72px minmax(0, 1fr); padding: 20px; }
  .person img { width: 72px; height: 72px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  table.ranges th, table.ranges td { padding: 14px 16px; }
  .qa details > p, .faq .ans { padding-right: 0; }
  .timeline > li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .sample { grid-template-columns: minmax(0, 1fr); }
  table.terms.plain td:first-child { width: 40%; }
  .index .row { flex-direction: column; gap: 4px; }
  .index .min { text-align: left; }
  .cookie { flex-direction: column; align-items: stretch; gap: 12px; }
  .cookie .row .btn { flex: 1; }
}
