/* tellaly.com. No web fonts, no scripts: system faces chosen per platform. */
:root {
  --ink: #1f2e3d;        /* work-shirt navy: text, headings */
  --pencil: #4a5866;     /* secondary text */
  --paper: #f3f5f7;      /* page */
  --white: #ffffff;
  --carbon: #2f4bb3;     /* carbon-copy blue: links, focus */
  --canary: #f7d84a;     /* work-order copy: the ticket only */
  --rule: #cbd2d9;
  --narrow: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1.0625rem/1.55 var(--body);
}
a { color: var(--carbon); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--carbon); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: 0.5rem 0.75rem; z-index: 2; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--white); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.75rem; }
.brand { font: 700 1.5rem/1 var(--narrow); letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.site-head nav a { color: var(--ink); text-decoration: none; margin-left: 1.25rem; font-weight: 600; font-size: 0.9375rem; }
.site-head nav a:hover { color: var(--carbon); }

/* Headings: condensed, heavy, tight */
h1, h2, h3 { font-family: var(--narrow); font-weight: 700; line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.5rem, 7vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.375rem; line-height: 1.15; }
p { margin: 0 0 1em; max-width: var(--measure); }

/* Hero: headline on the left, the work-order ticket on the right */
.hero { padding: 3.5rem 0 4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.hero .lede { font-size: 1.25rem; color: var(--pencil); }
.cta { display: inline-block; margin-top: 0.5rem; background: var(--ink); color: var(--white); text-decoration: none;
  font-weight: 700; padding: 0.85rem 1.35rem; border-radius: 6px; }
.cta:hover { background: var(--carbon); }

.ticket {
  position: relative;
  margin: 0;
  background: var(--canary);
  color: var(--ink);
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 1px 0 #d9bc2e, 0 18px 30px -18px rgba(31, 46, 61, 0.55);
  transform: rotate(1.2deg);
  font-family: var(--narrow);
  animation: print 900ms cubic-bezier(.2, .7, .2, 1) 150ms both;
}
/* perforated tear-off top edge */
.ticket::before {
  content: ""; position: absolute; left: 0; right: 0; top: -7px; height: 14px;
  background: radial-gradient(circle at 7px 0, transparent 6px, var(--canary) 6.5px) 0 7px / 14px 14px repeat-x;
}
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--ink);
  padding-bottom: 0.5rem; margin-bottom: 0.75rem; }
.ticket-head strong { font-size: 1.35rem; }
.ticket-head span { font-size: 0.95rem; white-space: nowrap; }
.ticket dl { margin: 0; display: grid; grid-template-columns: 5.5rem 1fr; }
.ticket dt, .ticket dd { margin: 0; padding: 0.55rem 0; border-bottom: 1px solid rgba(31, 46, 61, 0.35); }
.ticket dt { font-size: 0.9rem; color: #3b4a58; }
.ticket dd { font-family: var(--body); font-size: 1.05rem; font-weight: 600; }
.ticket .stamp { margin: 1rem 0 0; font-size: 0.95rem; }
@keyframes print { from { transform: translateY(-14px) rotate(1.2deg); opacity: 0; } to { transform: rotate(1.2deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ticket { animation: none; } }

/* Body sections */
.band { padding: 3.5rem 0; border-top: 1px solid var(--rule); }
.band.white { background: var(--white); }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before { content: counter(step); font: 700 2.25rem/1 var(--narrow); display: block; margin-bottom: 0.5rem; }
.steps p { color: var(--pencil); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 0.75rem 0; border-bottom: 1px solid var(--rule); max-width: var(--measure); }
.facts li:first-child { border-top: 1px solid var(--rule); }

.note { border-left: 4px solid var(--ink); background: var(--white); padding: 1rem 1.25rem; max-width: var(--measure); }
.band.white .note { background: var(--paper); }

/* Missed-calls gap: the two numbers are the point, set large in the heading face */
.gap { align-self: center; }
.gap-row { display: flex; align-items: baseline; gap: 1rem; margin: 0; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); max-width: none; }
.gap-row:first-child { border-top: 1px solid var(--rule); }
.gap-num { font: 700 clamp(3rem, 8vw, 4.5rem)/1 var(--narrow); min-width: 3.2ch; color: var(--pencil); }
.gap-num.gap-real { color: var(--ink); }
.gap-label { color: var(--pencil); }
.sources { margin-top: 1.5rem; }

/* Pricing: three plain columns, the plan name and price carry it */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 2rem 0 1.25rem;
  border: 1px solid var(--rule); background: var(--white); border-radius: 6px; }
.plan { padding: 1.5rem; }
.plan + .plan { border-left: 1px solid var(--rule); }
.plan h3 { margin-bottom: 0.25rem; }
.plan .price { color: var(--ink); font: 700 3rem/1 var(--narrow); margin: 0.5rem 0; }
.plan .price small { font: 400 1rem var(--body); color: var(--pencil); }
.plan p { color: var(--pencil); margin: 0; }
.fine { font-size: 0.9375rem; color: var(--pencil); }

/* Legal pages */
.doc { padding: 3rem 0 4rem; }
.doc .wrap { max-width: 46rem; }
.doc h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); }
.doc h2 { font-size: 1.6rem; margin-top: 2.25rem; }
.doc li { margin-bottom: 0.4rem; max-width: var(--measure); }
.updated { color: var(--pencil); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); background: var(--white); padding: 2rem 0; font-size: 0.9375rem; color: var(--pencil); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.site-foot nav a { margin-right: 1.25rem; }

@media (max-width: 760px) {
  .hero { padding: 2rem 0 3rem; }
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 2.25rem; }
  .ticket { transform: rotate(0.6deg); }
  @keyframes print { from { transform: translateY(-14px) rotate(0.6deg); opacity: 0; } to { transform: rotate(0.6deg); opacity: 1; } }
  .steps, .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--rule); }
  .site-head nav a { margin-left: 0.9rem; }
  .site-head nav .hide-sm { display: none; }
}
