/* Tiber River Consulting: assets/site.css
   Part 1: tokens, reset, header, menu and footer. Used on every page, including the blog and 404.
   Part 2: page styles, scoped to main.tr-main. Used on the homepage and the three landing pages. */

/* ============ Part 1: chrome ============ */
:root {
  --navy: #044F7D;
  --navy-deep: #033C5F;
  --navy-mid: #12659B;
  --blue: #1C85C7;
  --blue-hover: #2B96D8;
  --gray: #9E9E9E;
  --ink: #1a2b38;
  --body: #3d4d59;
  --muted: #5b6b77;
  --tint: #D8EAF7;
  --tint-soft: #EDF5FB;
  --line: #dce8f2;
  --paper: #ffffff;
  --amber: #FFC857;
  --amber-hover: #FFD57F;
  --footer-bg: #04314d;
  --on-navy: #cfe4f4;
  --on-navy-soft: #9fc6e4;
  --radius-soft: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  color: var(--body);
  background: var(--paper);
  font-weight: 400;
  line-height: 1.65;
  font-size: 16px;
}

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--paper); color: var(--navy); padding: 10px 14px; font-weight: 600;
}
.skip-link:focus { left: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--blue);
}
.site-nav {
  max-width: 1080px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.site-nav .brand { display: flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.site-nav .brand img { display: block; height: 34px; width: auto; }
.nav-links { display: none; align-items: center; gap: 24px; }
.nav-links a {
  color: var(--ink); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"], .nav-links a.is-current { color: var(--navy); border-bottom-color: var(--blue); }
.nav-links a.nav-cta {
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid));
  color: #fff; padding: 9px 18px; border-bottom: 0;
}
.nav-links a.nav-cta:hover { color: #fff; filter: brightness(1.12); }
.nav-links a:focus-visible, .nav-menu a:focus-visible, .nav-menu summary:focus-visible, .site-nav .brand:focus-visible {
  outline: 3px solid var(--blue); outline-offset: 3px;
}

.nav-menu > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--navy); color: var(--navy);
  font-size: 15px; font-weight: 600; line-height: 1.2;
}
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu[open] > summary { background: var(--navy); color: #fff; }
.menu-icon { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-icon span { display: block; width: 18px; height: 2px; background: currentColor; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-bottom: 3px solid var(--blue);
  box-shadow: 0 18px 30px rgba(1, 25, 43, 0.18);
  max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px 16px 20px;
}
.menu-panel a.row {
  display: block; min-height: 52px; padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.35; text-decoration: none;
}
.menu-panel a.row small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--muted); }
.menu-panel a.row.sub { padding-left: 24px; }
.menu-panel a.row[aria-current="page"] { color: var(--navy); box-shadow: inset 3px 0 0 var(--blue); padding-left: 12px; }
.menu-panel .dot {
  display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.35); vertical-align: 1px;
}
.menu-panel a.menu-cta {
  display: flex; align-items: center; justify-content: center; min-height: 50px; margin-top: 18px;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid)); color: #fff;
  font-weight: 600; text-decoration: none;
}
.menu-panel .menu-mail { margin-top: 8px; text-align: center; font-size: 13.5px; color: var(--muted); }
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-menu { display: none; }
}
/* the longer menu labels leave the logo crowded just above the breakpoint (iPad landscape) */
@media (min-width: 1080px) and (max-width: 1199px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 600px) {
  .site-nav { padding: 10px 16px; }
  .site-nav .brand img { height: 28px; }
}

.site-footer { background: var(--footer-bg); color: #9fb8c9; padding: 44px 0 36px; font-size: 14px; line-height: 1.6; }
.foot-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)) minmax(min-content, 1fr); gap: 28px; }
.foot-brand img { display: block; height: 30px; width: auto; opacity: 0.95; }
.foot-brand p { margin-top: 12px; font-size: 13px; }
.foot-h { color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: -9px 0 -11px; }
.site-footer li { overflow-wrap: break-word; }
.site-footer li a { display: inline-block; padding: 11px 0; }
.site-footer a { color: #d3e3ef; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.foot-fine {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px; color: #8fa9bc; max-width: 860px;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .foot-wrap { padding: 0 16px; } }
@media (max-width: 420px) { .foot-grid { grid-template-columns: 1fr; } }

/* ============ Part 2: page styles (main.tr-main only) ============ */
.tr-main h1, .tr-main h2, .tr-main h3 { color: var(--ink); font-weight: 600; line-height: 1.25; }
.tr-main h1 { font-size: clamp(28px, 4.6vw, 46px); font-weight: 700; letter-spacing: -0.01em; }
.tr-main h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.tr-main h3 { font-size: 18px; margin-bottom: 8px; }
.tr-main p + p { margin-top: 14px; }
.tr-main a { color: var(--blue); text-decoration: none; }
.tr-main a:hover { text-decoration: underline; }
.tr-main img { display: block; max-width: 100%; height: auto; }
.tr-main :focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.tr-main .wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.tr-main .measure { max-width: 760px; }

/* sections */
.tr-main .sec { padding: 72px 0; }
.tr-main .sec-slim { padding: 44px 0; }
.tr-main .band { background: var(--tint-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tr-main .band-navy {
  background: linear-gradient(105deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-mid) 100%);
  color: var(--on-navy);
}
.tr-main .band-navy h1, .tr-main .band-navy h2, .tr-main .band-navy h3 { color: #fff; }
.tr-main .band-navy a:not(.btn):not(.demo-pill):not(.demo-link) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tr-main .band-navy :focus-visible { outline-color: #fff; }
.tr-main .kicker { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.tr-main .band-navy .kicker { color: #8fc3e8; }
.tr-main .sec-head { max-width: 760px; margin-bottom: 32px; }
.tr-main .intro { font-size: 16.5px; }
.tr-main .label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin: 28px 0 12px; }
.tr-main .label:first-child { margin-top: 0; }
.tr-main .band-navy .label { color: #8fc3e8; }
.tr-main .fine { font-size: 13.5px; color: var(--muted); }
.tr-main .band-navy .fine { color: var(--on-navy-soft); }

/* hero */
.tr-main .hero { border-bottom: 3px solid var(--blue); }
.tr-main .hero-inner { padding-top: 64px; padding-bottom: 72px; }
.tr-main .hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
.tr-main .hero h1 { color: #fff; max-width: 760px; }
.tr-main .hero .lede { color: var(--on-navy); font-size: clamp(16px, 2vw, 19px); font-weight: 300; max-width: 640px; margin-top: 16px; }
.tr-main .hero .router { margin-top: 18px; font-size: 14.5px; color: var(--on-navy-soft); max-width: 560px; }
.tr-main .hero-art { margin: 0 0 0 auto; width: 100%; max-width: 380px; }
.tr-main .hero-art svg { display: block; width: 100%; height: auto; }
.tr-main .hero-art figcaption { margin-top: 8px; font-size: 12.5px; color: var(--on-navy-soft); text-align: center; }

/* live demo pill: amber, only ever links to /demo/ */
.tr-main .demo-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 8px 20px 8px 8px;
  background: var(--amber); color: var(--navy-deep);
  border-radius: 999px; font-size: 16px; font-weight: 500; line-height: 1.3;
  box-shadow: 0 8px 26px rgba(1, 25, 43, 0.35); text-decoration: none;
}
.tr-main .demo-pill:hover { background: var(--amber-hover); text-decoration: none; }
.tr-main .demo-pill:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.tr-main .demo-pill-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--navy-deep); color: var(--amber);
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.tr-main .demo-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .tr-main .demo-pill { transition: background-color .15s ease, transform .15s ease; }
  .tr-main .demo-pill:hover { transform: translateY(-2px); }
  .tr-main .demo-pill-dot { animation: demo-pulse 1.8s ease-out infinite; }
}
@keyframes demo-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 200, 87, 0.75); }
  70% { box-shadow: 0 0 0 9px rgba(255, 200, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 200, 87, 0); }
}

/* buttons and links */
.tr-main .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.tr-main .btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: 0.01em; line-height: 1.3; text-align: center;
  text-decoration: none; cursor: pointer;
}
.tr-main .btn:hover { text-decoration: none; }
.tr-main .btn-primary { background: var(--blue); color: #fff; }
.tr-main .btn-primary:hover { background: var(--blue-hover); }
.tr-main .btn-navy { background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid)); color: #fff; }
.tr-main .btn-navy:hover { filter: brightness(1.12); }
.tr-main .btn-amber { background: var(--amber); color: var(--navy-deep); font-weight: 600; }
.tr-main .btn-amber:hover { background: var(--amber-hover); }
.tr-main .btn-white { background: #fff; color: var(--navy-deep); font-weight: 600; }
.tr-main .btn-white:hover { background: var(--tint-soft); }
.tr-main .btn-ghost { border-color: #7db7dd; color: #eaf4fb; }
.tr-main .btn-ghost:hover { border-color: #fff; color: #fff; }
.tr-main .btn-email { font-size: 17px; overflow-wrap: anywhere; }
.tr-main .mail-line { margin-top: 10px; font-size: 14px; color: var(--muted); }
.tr-main .band-navy .mail-line { color: var(--on-navy-soft); }
.tr-main .text-link { font-weight: 500; }
.tr-main .demo-link {
  color: var(--navy-deep); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 4px;
}
.tr-main .demo-link:hover { text-decoration-color: var(--navy-deep); }
.tr-main .band-navy .demo-link { color: var(--amber); text-decoration-color: rgba(255, 200, 87, 0.5); }

/* status tags */
.tr-main .status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.tr-main .status {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.4; white-space: nowrap;
}
.tr-main .status-dev { background: var(--tint); color: #0e5f93; }
.tr-main .status-partner { background: var(--tint); color: var(--navy-deep); }
.tr-main .status-preview { background: var(--tint-soft); color: var(--navy-mid); box-shadow: inset 0 0 0 1px #b9d6ea; }
.tr-main .band-navy .status { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.75); }
.tr-main .status-note {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14.5px;
}

/* grids */
.tr-main .grid-2, .tr-main .grid-3, .tr-main .grid-4 { display: grid; gap: 20px; }
.tr-main .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-main .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tr-main .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tr-main .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.tr-main .close-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }

/* sober cards (law, insurance, homepage doors) */
.tr-main .card { background: var(--paper); border: 1px solid var(--line); padding: 22px 22px 24px; }
.tr-main .card-top { border-top: 3px solid var(--blue); }
.tr-main .card h3 { font-size: 17px; color: var(--navy); }
.tr-main .card p { font-size: 14.5px; }
.tr-main .pillar { background: linear-gradient(180deg, var(--tint) 0%, #fdfeff 100%); border-top: 3px solid var(--blue); padding: 22px 22px 24px; }
.tr-main .pillar h3 { font-size: 17px; color: var(--navy); }
.tr-main .pillar p { font-size: 14.5px; }
.tr-main .door {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy);
  padding: 24px 24px 22px;
}
.tr-main .door .who { font-size: 13px; font-weight: 500; color: var(--navy); margin: 12px 0 2px; }
.tr-main .door h3 { font-size: 20px; }
.tr-main .door .hook { color: var(--ink); font-weight: 500; }
.tr-main .door p { font-size: 14.5px; }
.tr-main .door .more { margin-top: auto; padding-top: 18px; font-weight: 500; }

/* warm question cards (owner pages) */
.tr-main .q-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-soft); padding: 18px 20px 18px;
  box-shadow: 0 6px 18px rgba(1, 25, 43, 0.08);
}
.tr-main .q-card .trade { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.tr-main .q-card .q { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.35; margin-top: 4px; }
.tr-main .q-card .q::before {
  content: "\201C"; display: block; height: 22px; margin-bottom: 2px;
  font-size: 44px; line-height: 1; color: var(--blue); font-weight: 700;
}
.tr-main .q-card .lives { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.tr-main .q-card .lives b { color: var(--ink); font-weight: 600; }
.tr-main .q-card .lives-label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.tr-main .q-card .go { display: inline-block; margin-top: 12px; }
.tr-main .q-card.ask { background: transparent; border: 2px dashed #9cc4e0; box-shadow: none; }
.tr-main .q-card.ask .q::before { content: none; }
.tr-main .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tr-main .chip { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; background: var(--tint-soft); color: var(--navy); border: 1px solid var(--line); }
.tr-main .q-stack { display: grid; gap: 16px; }
.tr-main .q-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8fc3e8; }
.tr-main .hero .q-card { box-shadow: 0 12px 30px rgba(1, 25, 43, 0.28); border-color: transparent; }
.tr-main .q-stack .q-card:nth-of-type(1) { transform: rotate(-1.2deg); }
.tr-main .q-stack .q-card:nth-of-type(2) { transform: translateX(18px) rotate(0.8deg); }
.tr-main .q-stack .q-card:nth-of-type(3) { transform: rotate(-0.4deg); }

/* numbered steps */
.tr-main .steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tr-main .steps > li { position: relative; padding-top: 58px; counter-increment: step; }
.tr-main .steps { counter-reset: step; }
.tr-main .steps > li::before {
  content: counter(step); position: absolute; top: 0; left: 0; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.tr-main .steps > li::after { content: ""; position: absolute; top: 21px; left: 52px; right: -16px; height: 2px; background: var(--tint); }
.tr-main .steps > li:last-child::after { display: none; }
.tr-main .steps h3 { font-size: 17px; }
.tr-main .steps p { font-size: 14.5px; }

/* numbered beats that match screenshot markers */
.tr-main .beats { list-style: none; counter-reset: beat; }
.tr-main .beats > li { position: relative; padding-left: 46px; margin-bottom: 18px; counter-increment: beat; }
.tr-main .beats > li::before {
  content: counter(beat); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-deep); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.tr-main .beats h3 { font-size: 16.5px; margin-bottom: 2px; }
.tr-main .beats p { font-size: 15px; }

/* where-it-can-lead strip */
.tr-main .lead-strip { margin-top: 44px; background: var(--tint-soft); border: 1px solid var(--line); padding: 26px 26px 22px; }
.tr-main .lead-item h3 { font-size: 16px; color: var(--navy); margin-bottom: 4px; }
.tr-main .lead-item p { font-size: 14.5px; }
.tr-main .lead-item .status { margin-bottom: 8px; }

/* demo screenshot, cropped with CSS */
.tr-main .shot { margin: 0; }
.tr-main .shot-frame {
  position: relative; overflow: hidden; border-radius: 10px;
  background: var(--paper); border: 1px solid #c9dbe8; box-shadow: 0 18px 44px rgba(1, 25, 43, 0.22);
}
.tr-main .shot-bar { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; background: #eef3f7; border-bottom: 1px solid #dbe5ee; }
.tr-main .shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #c6d3de; }
.tr-main .shot-crop { position: relative; aspect-ratio: var(--crop-ratio, 1600 / 1520); }
.tr-main .shot-crop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--crop-y, 0%); }
.tr-main .shot figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }
.tr-main .band-navy .shot figcaption { color: var(--on-navy-soft); }
.tr-main .marker {
  position: absolute; transform: translate(-50%, -50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-deep); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 3px #fff, 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* outline box, governance strip, notes */
.tr-main .boundary { max-width: 780px; margin: 36px auto 0; padding: 30px 32px; text-align: center; background: var(--paper); border: 1.5px solid var(--navy); }
.tr-main .boundary h2, .tr-main .boundary h3 { color: var(--navy); }
.tr-main .boundary-lg { margin-top: 0; }
.tr-main .boundary-lg h2 { font-size: clamp(22px, 2.8vw, 30px); }
.tr-main .boundary-lg p { font-size: 17px; }
.tr-main .gov {
  display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 28px;
  margin-top: 36px; padding: 30px 32px;
  background: linear-gradient(90deg, var(--navy-deep), var(--navy-mid)); color: #dcecf7;
}
.tr-main .gov:first-child { margin-top: 0; }
.tr-main .gov h2, .tr-main .gov h3 { color: #fff; font-size: 20px; margin: 0; }
.tr-main .gov p { font-size: 15px; }
.tr-main .note { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--navy); background: var(--tint-soft); font-size: 15px; }
.tr-main .band .note, .tr-main .band-navy .note { background: var(--paper); color: var(--body); }
.tr-main .note b { color: var(--ink); }

/* exports diagram (small business page) */
.tr-main .tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) 36px minmax(0, 1.2fr); gap: 12px; align-items: stretch; margin-top: 8px; }
.tr-main .tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 104px; padding: 16px 10px; text-align: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.35;
}
.tr-main .tile small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.tr-main .tile svg { width: 26px; height: 26px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tr-main .tiles-arrow { display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--blue); }
.tr-main .tile-answer { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; font-size: 15px; }

/* policy timeline (insurance page) */
.tr-main .timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 46px; }
.tr-main .timeline::before { content: ""; position: absolute; top: 13px; left: 0; right: 0; height: 2px; background: var(--tint); }
.tr-main .timeline > li { position: relative; }
.tr-main .timeline .stop {
  position: absolute; top: -46px; left: 0; display: flex; align-items: center; gap: 10px;
  padding-right: 10px; background: var(--paper);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy);
}
.tr-main .timeline .stop::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 4px var(--paper); }

/* questions and answers */
.tr-main .faq { max-width: 820px; border-top: 1px solid var(--line); }
.tr-main .faq details { border-bottom: 1px solid var(--line); }
.tr-main .faq summary {
  position: relative; list-style: none; cursor: pointer;
  min-height: 52px; padding: 15px 44px 15px 0;
  font-size: 16.5px; font-weight: 600; color: var(--ink);
}
.tr-main .faq summary::-webkit-details-marker { display: none; }
.tr-main .faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--blue); }
.tr-main .faq details[open] summary::after { content: "\2212"; }
.tr-main .faq details p { padding: 0 0 18px; max-width: 720px; }

/* closing ask box, contact band */
.tr-main .close-ask { padding: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.2); }
.tr-main .close-ask h3 { font-size: 19px; }
.tr-main .close-ask .actions { margin-top: 18px; }
.tr-main .after-link { margin-top: 18px; font-size: 14.5px; }
.tr-main .contact-band { text-align: center; }
.tr-main .contact-band p { max-width: 620px; margin-left: auto; margin-right: auto; }
.tr-main .contact-band .actions { justify-content: center; }
.tr-main .contact-band .small { margin-top: 18px; font-size: 14px; color: var(--on-navy-soft); }

/* blog links on landing pages */
.tr-main .post-link {
  display: block; padding: 20px 22px; text-decoration: none;
  border: 1px solid #dfe7ee; border-left: 3px solid var(--navy);
  background: linear-gradient(180deg, #f6fafd 0%, #ffffff 70%);
}
.tr-main .post-link:hover { border-left-color: var(--blue); text-decoration: none; }
.tr-main .post-link .meta { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.tr-main .post-link .title { display: block; margin-top: 6px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }

/* founder note and principles */
.tr-main .founder-note { max-width: 720px; margin-top: 26px; padding: 4px 0 4px 20px; border-left: 3px solid var(--blue); font-size: 17px; color: var(--ink); }
.tr-main .founder-note .sig { display: block; margin-top: 8px; font-weight: 600; color: var(--navy); }
.tr-main .principles { margin-top: 32px; }
.tr-main .principle { border-top: 2px solid var(--blue); padding-top: 14px; }
.tr-main .principle h3 { font-size: 15.5px; margin-bottom: 4px; }
.tr-main .principle p { font-size: 14px; }

/* breakpoints */
@media (max-width: 900px) {
  .tr-main .hero-grid, .tr-main .split, .tr-main .close-grid { grid-template-columns: 1fr; gap: 32px; }
  .tr-main .hero-art { margin-left: 0; }
  .tr-main .grid-3, .tr-main .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-main .q-stack .q-card { transform: none !important; }
  .tr-main .steps { grid-template-columns: 1fr; gap: 0; }
  .tr-main .steps > li { padding: 0 0 26px 62px; min-height: 70px; }
  .tr-main .steps > li::after { top: 50px; bottom: 6px; left: 21px; right: auto; width: 2px; height: auto; }
  .tr-main .steps > li:last-child { padding-bottom: 0; }
  .tr-main .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr-main .tiles > .tile:nth-child(5) { grid-column: 1 / -1; }
  .tr-main .tiles-arrow { grid-column: 1 / -1; transform: rotate(90deg); min-height: 30px; }
  .tr-main .tile-answer { grid-column: 1 / -1; min-height: 64px; }
  .tr-main .timeline { grid-template-columns: 1fr; gap: 26px; padding: 0 0 0 30px; }
  .tr-main .timeline::before { top: 6px; bottom: 6px; left: 6px; right: auto; width: 2px; height: auto; }
  .tr-main .timeline .stop { position: static; margin: 0 0 10px -30px; padding-right: 0; background: transparent; }
  .tr-main .timeline .stop::before { box-shadow: 0 0 0 4px var(--paper); }
}
@media (max-width: 900px) {
  /* the hero stacks at 900px: drop decorative extras so tablets don't get a tall empty band */
  .tr-main .hide-sm { display: none; }
  .tr-main .q-extra { display: none; }
}
@media (max-width: 700px) {
  .tr-main .gov { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 600px) {
  .tr-main .wrap { padding: 0 16px; }
  .tr-main .sec { padding: 52px 0; }
  .tr-main .sec-slim { padding: 36px 0; }
  .tr-main .hero-inner { padding-top: 24px; padding-bottom: 40px; }
  .tr-main .demo-pill { margin-bottom: 18px; font-size: 15px; }
  .tr-main .pill-long { display: none; }
  .tr-main .actions { flex-direction: column; align-items: stretch; }
  .tr-main .actions .btn { width: 100%; }
  .tr-main .grid-2, .tr-main .grid-3, .tr-main .grid-4 { grid-template-columns: 1fr; }
  .tr-main .card, .tr-main .pillar, .tr-main .door { padding: 20px 18px; }
  .tr-main .gov { padding: 22px 18px; }
  .tr-main .boundary { padding: 24px 18px; }
  .tr-main .lead-strip { padding: 20px 18px; }
  .tr-main .close-ask { padding: 20px 18px; }
  .tr-main .marker { width: 24px; height: 24px; font-size: 12px; }
}
