/* The AI receptionist pages by trade (/ai-receptionist/), on top of styles.css and home.css.
   Built by pipeline/trade_pages.py. */
:root { --hot: #a3401f; --hot-soft: #f6e4db; --calm: #4c5a52; --calm-soft: #e6e9e3; }
@media (prefers-color-scheme: dark) { :root { --hot: #f0956f; --hot-soft: #2c1c15; --calm: #b6c2ba; --calm-soft: #1d2420; } }

.tr-hero { position: relative; padding-block: clamp(2.25rem, 5vw, 4.5rem) clamp(3rem, 7vw, 5.5rem); overflow: clip; }
.tr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40rem 26rem at 85% 30%, color-mix(in srgb, var(--go) 11%, transparent), transparent 70%); }
.tr-hero h1 { margin-top: 1.2rem; font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.4rem); letter-spacing: -0.035em; line-height: 1; max-width: 18ch; }
.tr-hero .lede { margin-top: 1.4rem; max-width: 46ch; }
.tr-crumb { margin-bottom: 1.4rem; font: 500 0.92rem/1.3 var(--f-display); color: var(--ink-3); }
.tr-crumb a { color: var(--ink-2); }
.tr-hero .hero-actions .btn { white-space: normal; text-align: left; min-height: 50px; padding-block: 0.7em; }

.tr-legend { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-bottom: 1.8rem; font-size: 1rem; color: var(--ink-2); }
.tr-legend li { max-width: 30rem; }
.tr-legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 0.5em; border-radius: 50%; background: var(--go); }
.tr-legend .k-urgent::before { background: var(--hot); }
.tr-legend .k-answer::before { background: var(--calm); }
.tr-legend b { font: 600 1rem/1.3 var(--f-display); color: var(--ink); margin-right: 0.3em; }

.tr-calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tr-call { padding: clamp(1.25rem, 2.6vw, 1.75rem); border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); border-top: 3px solid var(--go); }
.tr-call.k-urgent { border-top-color: var(--hot); }
.tr-call.k-answer { border-top-color: var(--calm); }
.tr-tag { display: inline-block; padding: 0.3em 0.6em; border-radius: var(--r-s); font: 600 0.76rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; background: var(--go-soft); color: var(--go); }
.k-urgent .tr-tag { background: var(--hot-soft); color: var(--hot); }
.k-answer .tr-tag { background: var(--calm-soft); color: var(--calm); }
.tr-says { margin-top: 0.9rem; font: 600 1.2rem/1.3 var(--f-display); letter-spacing: -0.01em; }
.tr-call p:last-child { margin-top: 0.6rem; color: var(--ink-2); font-size: 1.05rem; }

.tr-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 6vw, 5rem); }
.tr-two h2, .tr-who h2, .tr-others h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.tr-two p, .tr-who p { margin-top: 1rem; color: var(--ink-2); max-width: 60ch; }

.tr-how { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem clamp(2rem, 6vw, 5rem); }
.tr-how h3 { font-size: 1.35rem; }
.tr-how > div { padding-left: 1.1rem; border-left: 2px solid var(--go); }
.tr-how p { margin-top: 0.6rem; color: var(--ink-2); font-size: 1.08rem; }

.tr-sample h2 { margin-top: 1rem; color: var(--night-ink); }
.tr-sample p { margin-top: 1rem; color: var(--night-2nd); max-width: 58ch; }
.tr-sample b { color: var(--night-ink); }
.tr-sample-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; position: relative; }
.tr-dial { padding: clamp(1.4rem, 3vw, 2rem); border-radius: 14px; background: var(--night-2); border: 1px solid var(--night-ln); text-align: center; }
.tr-dial .tr-num { display: block; font: 700 clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem)/1.1 var(--f-display); letter-spacing: -0.02em; color: var(--night-ink); text-decoration: none; }
.tr-dial p { margin: 0.6rem auto 1.3rem; }
.tr-dial .btn { background: var(--glow); color: #08130d; white-space: normal; }
.tr-dial .btn:hover { background: #7dd9ab; color: #08130d; }

.tr-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; }
@media (max-width: 960px) { .tr-plans { grid-template-columns: 1fr; } }
.tr-fit { padding-bottom: var(--band); }
.tr-fit p { max-width: 70ch; color: var(--ink-2); font-size: 1.1rem; }
.tr-fit b { font-family: var(--f-display); color: var(--ink); }
.tr-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.6rem; margin-top: 1.8rem !important; }
.tr-cta .btn { white-space: normal; padding-block: 0.7em; }

.tr-others ul { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; margin-top: 1.4rem; }
.tr-others a { display: inline-block; padding: 0.55em 0.9em; border: 1px solid var(--line-2); border-radius: var(--r-s); font: 500 1rem/1.2 var(--f-display); color: var(--ink); text-decoration: none; }
.tr-others a:hover { border-color: var(--go); color: var(--go); }

.tr-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.tr-index a { display: block; height: 100%; padding: 1.3rem 1.4rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: border-color 0.2s var(--ease); }
.tr-index a:hover { border-color: var(--go); }
.tr-index b { display: block; font: 700 1.3rem/1.2 var(--f-display); }
.tr-index span { display: block; margin-top: 0.4rem; color: var(--ink-2); font-style: italic; }
.tr-index span::before { content: "\201C"; } .tr-index span::after { content: "\201D"; }
.tr-note { margin-top: 1.6rem; color: var(--ink-2); }

@media (max-width: 760px) {
  .tr-calls, .tr-two, .tr-how, .tr-index, .tr-sample-grid { grid-template-columns: 1fr; }
}
