/* Feet Up. End of the workday: warm paper, workwear ink, one porch-light accent. One family: Archivo. */
@font-face {
  font-family: 'Archivo';
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f3eee4;
  --paper-deep: #e9e1d2;
  --card: #fbf8f2;
  --ink: #1e211d;
  --ink-soft: #4a4d46;
  --line: #d6cdbd;
  --accent: #b8461b;       /* porch light. White on it: 5.3:1 */
  --accent-press: #9a3a16;
  --bubble: #e4ded2;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --measure: 62ch;
  --wrap: 1120px;
  --radius: 10px;

  --t-small: 0.875rem;  /* 14 */
  --t-body: 1.0625rem;  /* 17 */
  --t-lead: 1.3125rem;  /* 21 */
  --t-h3: 1.3125rem;
  --t-h2: clamp(2rem, 1.4rem + 2.6vw, 2.75rem);
  --t-h1: clamp(2.375rem, 1.3rem + 5.2vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 'Archivo', system-ui, sans-serif;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; font-weight: 800; font-stretch: 75%; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-stretch: 85%; line-height: 1.2; letter-spacing: 0; }
p { margin: 0; max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: var(--s4); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 640px) { .wrap { padding: 0 var(--s6); } }

.skip { position: absolute; left: var(--s4); top: -100px; background: var(--ink); color: var(--paper); padding: var(--s2) var(--s4); z-index: 10; }
.skip:focus { top: var(--s4); }

/* Header */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); padding-top: var(--s4); padding-bottom: var(--s4); }
.wordmark { font-weight: 900; font-stretch: 70%; font-size: 1.75rem; line-height: 1; letter-spacing: -0.01em; text-decoration: none; }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; gap: var(--s5); font-size: var(--t-small); font-weight: 500; }
.site-nav a { text-decoration: none; padding: var(--s3) 0; }
.site-nav a:hover { text-decoration: underline; }
.head-call { display: inline-block; padding: var(--s3) 0; font-weight: 700; font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap; }
.head-call:hover { text-decoration: underline; }
@media (max-width: 639px) {
  .site-nav { order: 3; width: 100%; gap: var(--s5); border-top: 1px solid var(--line); }
}

/* Buttons. One filled button per view. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s3);
  min-height: 56px; padding: var(--s3) var(--s5);
  background: var(--accent); color: #fff; border-radius: var(--radius);
  font-weight: 700; font-size: 1.125rem; text-decoration: none;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.btn:hover { background: var(--accent-press); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .num { font-weight: 500; font-variant-numeric: tabular-nums; opacity: 0.92; }
@media (max-width: 639px) { .btn { width: 100%; } }

/* Hero */
.hero { padding: var(--s7) 0 var(--s8); }
.hero .wrap { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: 3fr 2fr; gap: var(--s7); } .hero { padding: var(--s8) 0 var(--s9); } }
.hero h1 .line { display: block; }
.hero .lead { font-size: clamp(1.1875rem, 1.05rem + 0.6vw, var(--t-lead)); line-height: 1.45; color: var(--ink-soft); margin-top: var(--s5); max-width: 34ch; }
.hero .cta { margin-top: var(--s6); }
.hero .cta-note { margin-top: var(--s3); color: var(--ink-soft); font-size: var(--t-small); }
.hero .price-line { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--t-small); color: var(--ink-soft); }
.hero .price-line strong { color: var(--ink); }

/* Phone: a real text thread, as text */
.phone { margin: 0 auto; width: min(100%, 340px); }
.phone-body {
  background: var(--card); border: 1px solid var(--line); border-radius: 36px; padding: var(--s5) var(--s4) var(--s6);
  box-shadow: 0 1px 0 rgba(30, 33, 29, 0.04), 0 24px 48px -28px rgba(30, 33, 29, 0.35);
}
.phone-top { text-align: center; font-size: var(--t-small); color: var(--ink-soft); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); margin-bottom: var(--s4); }
.phone-top b { display: block; color: var(--ink); font-size: 1rem; }
.msg { background: var(--bubble); border-radius: 18px 18px 18px 6px; padding: var(--s3) var(--s4); font-size: 0.9375rem; line-height: 1.4; max-width: 92%; }
.msg + .msg { margin-top: var(--s2); }
.msg .hot { font-weight: 700; }
.msg-time { font-size: 0.75rem; color: var(--ink-soft); text-align: center; margin: var(--s4) 0 var(--s2); }
.msg-time:first-child { margin-top: 0; }
.msg.out { margin-left: auto; background: var(--ink); color: var(--paper); border-radius: 18px 18px 6px 18px; }
.phone figcaption { margin-top: var(--s3); text-align: center; font-size: 0.8125rem; color: var(--ink-soft); }

/* Sections */
.section { padding: var(--s8) 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding: var(--s9) 0; } }
.section.deep { background: var(--paper-deep); }
.section-head { display: grid; gap: var(--s4); margin-bottom: var(--s7); }
.section-head p { color: var(--ink-soft); font-size: var(--t-lead); line-height: 1.45; max-width: 46ch; }
/* Heading on the left, content on the right, on wide screens */
@media (min-width: 960px) {
  .section.side .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: var(--s8); align-items: start; }
  .section.side .section-head { position: sticky; top: var(--s6); margin-bottom: 0; }
  .section.side .section-head p { font-size: 1.125rem; }
}

/* Timeline of one call */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 760px; }
.timeline li { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 700; font-variant-numeric: tabular-nums; font-stretch: 85%; padding-top: 0.1em; }
.timeline h3 { margin-bottom: var(--s2); }
.timeline p { color: var(--ink-soft); }
.timeline q { display: block; margin-top: var(--s3); padding-left: var(--s4); border-left: 3px solid var(--accent); color: var(--ink); font-style: normal; quotes: '“' '”'; }
@media (max-width: 479px) { .timeline li { grid-template-columns: 1fr; gap: var(--s2); } }
.after-note { margin-top: var(--s5); color: var(--ink-soft); }

/* What it does: three columns of plain text, no boxes */
.jobs { display: grid; gap: var(--s7); }
@media (min-width: 860px) { .jobs { grid-template-columns: repeat(3, 1fr); gap: var(--s6); } }
.jobs h3 { font-size: 1.75rem; font-stretch: 75%; padding-bottom: var(--s3); margin-bottom: var(--s4); border-bottom: 2px solid var(--ink); }
.jobs ul { margin: var(--s4) 0 0; padding: 0; list-style: none; }
.jobs li { padding: var(--s2) 0 var(--s2) var(--s5); position: relative; color: var(--ink-soft); }
.jobs li::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 10px; height: 2px; background: var(--accent); }

/* Two-up text block */
.split { display: grid; gap: var(--s7); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: var(--s8); } }
.split h3 { margin-bottom: var(--s3); }
.split p { color: var(--ink-soft); }
.split > div + div { padding-top: var(--s7); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .split > div + div { padding-top: 0; border-top: 0; } }

/* Price */
.price { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 860px) { .price { grid-template-columns: 5fr 7fr; gap: var(--s8); } }
.amount { margin-top: var(--s5); font-weight: 900; font-stretch: 70%; font-size: clamp(4rem, 2.5rem + 6vw, 6.5rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.amount small { font-size: 0.3em; font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: var(--ink-soft); }
.price .setup { margin-top: var(--s4); font-size: var(--t-lead); line-height: 1.4; }
.price .setup s { color: var(--ink-soft); }
.price .terms { margin-top: var(--s3); color: var(--ink-soft); }
.price .cta { margin-top: var(--s6); }
.included { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.included li { display: grid; grid-template-columns: 1fr; gap: var(--s1); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.included b { font-weight: 700; }
.included span { color: var(--ink-soft); font-size: 0.9375rem; }

/* Questions */
.faq { max-width: 760px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s5) 0; min-height: 44px; font-weight: 700; font-size: 1.1875rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--accent); transition: transform 200ms ease-out; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--s5); color: var(--ink-soft); }

/* Closing */
.closing { text-align: left; }
.closing h2 { max-width: 16ch; }
.closing p { margin-top: var(--s4); color: var(--ink-soft); font-size: var(--t-lead); }
.closing .cta { margin-top: var(--s6); }
.closing .alt { margin-top: var(--s4); font-size: var(--t-small); color: var(--ink-soft); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s7); font-size: var(--t-small); color: var(--ink-soft); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--s5); }
.site-foot a { padding: var(--s2) 0; display: inline-block; }

/* Legal and texting pages */
.doc { padding: var(--s7) 0 var(--s8); }
.doc h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.5rem); }
.doc .updated { margin-top: var(--s3); color: var(--ink-soft); font-size: var(--t-small); }
.doc h2 { font-size: 1.625rem; font-stretch: 80%; margin: var(--s7) 0 var(--s3); }
.doc p, .doc li { color: var(--ink); max-width: var(--measure); }
.doc ul { padding-left: 1.25em; max-width: var(--measure); }
.doc li + li { margin-top: var(--s2); }
.doc .summary { margin-top: var(--s5); font-size: var(--t-lead); line-height: 1.45; color: var(--ink-soft); max-width: 46ch; }
.doc .box { margin-top: var(--s6); padding: var(--s5); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); max-width: 640px; }
.doc .box p + p { margin-top: var(--s3); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
