/* TermReceipt public site (TERMRECEIPT-002). Colours are the logo's: navy, white and the green of the check. */
:root {
  --navy: #141A46; --navy2: #0E1233; --navy3: #1C2360;
  --green: #3F9A6B; --green-soft: #E6F3EC; --green-light: #6FC79A;
  --page: #F3F4F8; --card: #FFFFFF; --text: #141A46; --muted: #5A607A; --faint: #8A8FA8; --line: #E2E5F0;
  --font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --head: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 400 18px/1.55 var(--font); color: var(--text); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: inherit; }

.top { position: fixed; inset: 0 0 auto 0; height: calc(var(--head) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) max(16px, 4vw) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 10;
  background: rgba(243, 244, 248, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand b { font-size: 19px; letter-spacing: -0.01em; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 17px; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--green); }

/* Travis's standard: every screen is exactly the window, phone or computer, and the page never scrolls.
   Sections are slides: swipe, wheel, arrow keys, the menu or the dots move between them, and a slide whose
   content is taller than the window is scaled down to fit (fitSlide), never scrolled. */
body.deck { overflow: hidden; height: 100dvh; }
.snap { position: fixed; inset: 0; overflow: hidden; }
.slides { height: 100%; transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.screen { height: 100dvh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: calc(var(--head) + env(safe-area-inset-top, 0px) + 24px) max(16px, 4vw) calc(24px + env(safe-area-inset-bottom, 0px)); }
.soft { background: var(--card); }
.navy { background: var(--navy); color: #fff; }
.wrap { width: 100%; max-width: 1180px; flex: none; transform-origin: center center; }
.wrap.narrow { max-width: 860px; }
.two { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.stack { display: grid; gap: 20px; align-content: start; }
.center-col { justify-items: center; text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.center { justify-content: center; text-align: center; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
.eyebrow.light { color: var(--green-light); }
h1, h2 { margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 50px); line-height: 1.1; font-weight: 800; }
h2.light { color: #fff; }
.accent { color: var(--green); }
.lede { margin: 0; font-size: clamp(16px, 1.6vw, 22px); color: var(--muted); max-width: 62ch; }
.lede.strong { color: var(--text); font-weight: 600; }
.fine { margin: 0; font-size: 15px; color: var(--faint); }
.fine a { color: inherit; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn:hover { background: var(--navy2); }
.btn.ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn.green { background: var(--green); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn.block { width: 100%; }

.cards { display: grid; gap: 16px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.soft .card { background: var(--page); }
.card b { font-size: 20px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.steps .n { width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 800; }
.prices .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.prices .price span { font-size: 16px; color: var(--muted); font-weight: 600; }
.prices .card { grid-template-rows: auto auto 1fr auto auto; }
.prices .featured { border: 2px solid var(--green); }
.prices small { color: var(--faint); font-size: 12px; text-align: center; }

.visual { display: grid; place-items: center; }
.receipt { width: min(100%, 420px); background: var(--card); border-radius: 22px; padding: 22px; display: grid; gap: 10px;
  box-shadow: 0 2px 4px rgba(20, 26, 70, 0.06), 0 30px 70px rgba(20, 26, 70, 0.16); position: relative; }
.receipt::after { content: ''; position: absolute; left: 22px; right: 22px; bottom: -10px; height: 12px;
  background: radial-gradient(circle at 6px 0, transparent 6px, var(--card) 6.5px) repeat-x; background-size: 12px 12px; }
.r-head { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.r-head span { flex: 1; }
.pill { font-style: normal; font-size: 12px; font-weight: 700; color: var(--green); background: var(--green-soft); border-radius: 999px; padding: 4px 10px; }
.r-line { display: flex; justify-content: space-between; gap: 10px; font-size: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.r-line span { color: var(--muted); }
.r-steps { display: grid; gap: 8px; font-size: 16px; padding-top: 4px; }
.r-steps i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-style: normal; font-size: 12px; margin-right: 8px; }
.r-steps em { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-style: normal; font-size: 16px; }
.r-seal { font: 500 11px/1.4 Consolas, ui-monospace, monospace; color: var(--faint); }

.navy details { border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding: 12px 0; }
.navy summary { cursor: pointer; font-weight: 600; font-size: 20px; }
.navy details p { font-size: 17px; }
.navy details p { margin: 8px 0 0; color: #C9CDE0; }
.navy details a { color: var(--green-light); }
.foot { display: grid; gap: 6px; font-size: 15px; color: #AEB3CC; margin-top: 16px; }

@media (max-width: 900px) {
  .two { grid-template-columns: 1fr; gap: 28px; }
  .cards.three { grid-template-columns: 1fr; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visual { display: none; }
  .hide-sm { display: none; }
  .card { padding: 16px; }
  .prices .price { font-size: 26px; }
  .steps .card p, .prices .card p { font-size: 13px; }
  .steps .card { grid-template-columns: 36px 1fr; column-gap: 12px; }
  .steps .card .n { grid-row: span 2; }
  #how .fine { display: none; }
}
@media (max-width: 420px) {
  .cards.four { gap: 10px; }
  .prices .card { padding: 12px; }
}

/* Legal pages: ordinary reading pages. */
.doc { max-width: 760px; margin: 0 auto; padding: calc(var(--head) + 40px) max(16px, 4vw) 60px; }
.doc h1 { font-size: 36px; margin-bottom: 8px; }
.doc h2 { font-size: 20px; margin: 28px 0 8px; letter-spacing: -0.01em; }
.doc p, .doc li { color: var(--muted); }

/* Slide controls: dots on the right, an arrow at the bottom. */
.dots { position: fixed; left: max(10px, 1.6vw); top: 50%; transform: translateY(-50%); display: grid; gap: 10px; z-index: 11; }
.dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; background: rgba(20, 26, 70, 0.22); cursor: pointer; }
.dots button[aria-current='true'] { background: var(--green); height: 26px; border-radius: 6px; }
.on-navy .dots button { background: rgba(255, 255, 255, 0.35); }
.on-navy .top { background: rgba(14, 18, 51, 0.9); border-color: rgba(255,255,255,.1); color: #fff; }
.on-navy .top .btn { background: var(--green); }
.next { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 11;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--navy); font-size: 20px; cursor: pointer; }
.on-last .next { display: none; }
@media (max-width: 900px) { .dots { left: 4px; } .dots button { width: 8px; height: 8px; } .dots button[aria-current='true'] { height: 18px; } }

/* Phones: the same five slides, with the small print that does not fit a phone left to the computer view. */
@media (max-width: 600px) {
  .next { display: none; }
  .soft .cards.three .card p, .prices .card p, .prices small { display: none; }
  .prices .card { gap: 6px; }
  .hero .fine { display: none; }
  .lede { font-size: 15px; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  .card b { font-size: 16px; }
  .steps .card p { font-size: 13px; }
  .navy summary { font-size: 16px; }
  .navy details p { font-size: 14px; }
  .center-col img { width: 56px; height: 56px; }
  .foot { font-size: 12px; }
}
