/* RaeTech / RaeSource - black, gold, white. */
:root {
  --black: #0b0b0a;
  --char: #35312c;              /* main content ground: lifted off black */
  --coal: #3d3934;
  --panel: #46413b;
  --line-dark: rgba(212, 165, 72, 0.22);
  --gold: #d4a548;
  --gold-hi: #e8c16e;
  --gold-ink: #8a6417;          /* gold for text on white: holds contrast */
  --white: #ffffff;
  --paper: #f7f5f1;             /* the white sections' ground */
  --ink: #121110;
  --muted-dark: #cdc6b9;        /* body copy on black */
  --muted-light: #57524a;       /* body copy on white */
  --line-light: #e4ded3;

  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;

  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--char); color: var(--white);
  font: 400 18px/1.6 var(--body); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--gold); color: var(--black); padding: 8px 14px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: 0.005em; margin: 0; text-wrap: balance; text-transform: uppercase; }
h1 { font-size: clamp(44px, 7.2vw, 88px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: 26px; letter-spacing: 0.02em; }
p { margin: 0; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.script { font-family: var(--script); color: var(--gold); font-weight: 400; text-transform: none; letter-spacing: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted-dark); max-width: 58ch; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; font: 700 15px/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-ink { background: var(--black); color: var(--white); }
.btn-ink:hover { background: #2a2723; }
.btn .arr { font-size: 18px; letter-spacing: 0; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(11,11,10,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.site-head .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .mark { width: 40px; height: 40px; }
.brand .word { font: 700 25px/1 var(--body); letter-spacing: -0.01em; }
.brand .by { display: block; font: 600 10px/1 var(--body); letter-spacing: 0.34em; color: var(--muted-dark); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font: 600 14px/1 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 13px; color: var(--black); }
.nav .btn:hover { color: var(--black); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); color: var(--white); border-radius: 4px; height: 42px; padding: 0 14px; font: 700 13px/1 var(--body); letter-spacing: .12em; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line-dark); padding: 8px var(--gut) 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 15px; }
  .nav .btn { margin-top: 14px; min-height: 50px; border-bottom: 0; }
}

/* ---------- sections ---------- */
section { padding: clamp(72px, 10vw, 128px) 0; }
.on-white { background: var(--paper); color: var(--ink); }
.on-white .lede, .on-white .muted { color: var(--muted-light); }
.on-white .eyebrow { color: var(--gold-ink); }
.on-white .script { color: var(--gold-ink); }
.on-coal { background: var(--coal); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

/* blueprint grid behind dark heroes */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(212,165,72,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(212,165,72,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%); }

/* topographic contour lines - layered with the grid, tinted per ground */
.topo { position: relative; isolation: isolate; --topo: rgba(212, 165, 72, 0.17); }
.topo::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--topo); -webkit-mask: url(/img/topo.svg) center / cover no-repeat; mask: url(/img/topo.svg) center / cover no-repeat; }
.on-white.topo { --topo: rgba(138, 100, 23, 0.13); }
.cta-band.topo { --topo: rgba(11, 11, 10, 0.16); }
.on-white.grid-bg::before { background-image: linear-gradient(rgba(138,100,23,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(138,100,23,.08) 1px, transparent 1px); }
.grid-bg.grid-right::before { mask-image: radial-gradient(ellipse 70% 80% at 85% 50%, #000 25%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 50%, #000 25%, transparent 75%); }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero .script-line { font-size: clamp(26px, 3vw, 36px); line-height: 1.25; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.photo-frame::after { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--gold); border-radius: 6px; z-index: -1; }

/* ---------- three-step chain (from the founders' card) ---------- */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; font: 700 clamp(17px, 1.8vw, 22px)/1 var(--display); letter-spacing: 0.14em; text-transform: uppercase; }
.chain .to { color: var(--gold); font-family: var(--body); font-weight: 400; letter-spacing: 0; }
.chain-band { padding: 30px 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--black); }
.chain-band .wrap { display: flex; justify-content: center; }

/* ---------- founders story ---------- */
.story .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.story-copy { display: grid; gap: 22px; }
.story-copy p { font-size: 19px; max-width: 54ch; }
.story .sign { font-size: 40px; line-height: 1; margin-top: 6px; }
.story .sign small { display: block; font: 600 12px/1 var(--body); letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted-light); margin-top: 10px; }
@media (max-width: 900px) { .story .wrap { grid-template-columns: 1fr; } }

/* ---------- product card (landing) ---------- */
.product { display: grid; grid-template-columns: 1.2fr 0.8fr; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; background: var(--panel); }
.product-main { padding: clamp(28px, 4vw, 52px); display: grid; gap: 22px; align-content: start; }
.product-lock { display: flex; align-items: center; gap: 16px; }
.product-lock .mark { width: 64px; height: 64px; }
.product-lock .word { font: 700 40px/1 var(--body); letter-spacing: -0.015em; }
.product-lock .by { display: block; font: 600 12px/1 var(--body); letter-spacing: 0.36em; color: var(--muted-dark); margin-top: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; color: var(--muted-dark); }
.ticks li::before { content: ""; width: 12px; height: 12px; margin-top: 8px; border: 2px solid var(--gold); transform: rotate(45deg); }
.ticks b { color: var(--white); font-weight: 600; }
.product-side { background: var(--char); border-left: 1px solid var(--line-dark); padding: clamp(28px, 4vw, 52px); display: grid; gap: 18px; align-content: center; }
.stat { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.stat:last-child { border-bottom: 0; padding-bottom: 0; }
.stat b { font: 700 46px/1 var(--display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { font-size: 15px; color: var(--muted-dark); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .product-side { border-left: 0; border-top: 1px solid var(--line-dark); } }

/* ---------- example lead (RaeSource hero) ---------- */
.leadstack { position: relative; padding: 0 0 128px 0; max-width: 480px; justify-self: end; width: 100%; }
.lead { background: var(--white); color: var(--ink); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.55); overflow: hidden; }
.lead-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--black); color: var(--white); font: 600 12px/1 var(--body); letter-spacing: .18em; text-transform: uppercase; }
.lead-top .pill { background: var(--gold); color: var(--black); padding: 6px 10px; border-radius: 99px; letter-spacing: .12em; }
.lead-body { padding: 22px 22px 20px; display: grid; gap: 16px; }
.lead-type { font: 700 30px/1.05 var(--display); text-transform: uppercase; }
.lead-type small { display: block; font: 500 15px/1.4 var(--body); text-transform: none; color: var(--muted-light); margin-top: 6px; }
.lead-rows { display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.lead-rows div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-light); font-size: 15px; }
.lead-rows dt, .lead-rows .k { color: var(--muted-light); font: 600 12px/1.9 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.lead-rows .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font: 600 13px/1 var(--body); padding: 8px 12px; border-radius: 99px; background: #f1ebdd; color: var(--gold-ink); }
.tag.dark { background: rgba(212,165,72,.14); color: var(--gold-hi); border: 1px solid rgba(212,165,72,.35); font-size: 14px; padding: 9px 14px; }
.lead-note { font: 500 12px/1.4 var(--body); color: var(--muted-light); letter-spacing: .04em; }
.followup { position: absolute; left: -28px; bottom: 0; width: 290px; background: var(--panel); border: 1px solid var(--gold); border-radius: 8px; padding: 16px 18px; display: grid; gap: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.6); }
.followup .k { font: 600 11px/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.followup b { font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.followup span { font-size: 14px; color: var(--muted-dark); line-height: 1.4; }
@media (max-width: 900px) { .leadstack { justify-self: start; } .followup { left: 16px; } }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.step { padding: 28px 24px 8px 0; display: grid; gap: 12px; align-content: start; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line-light); }
.step .n { font: 700 15px/1 var(--display); letter-spacing: .2em; color: var(--gold-ink); }
.step p { color: var(--muted-light); font-size: 17px; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } .step:nth-child(3) { padding-left: 0; border-left: 0; } .step:nth-child(n+3) { border-top: 1px solid var(--line-light); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } .step, .step + .step { padding: 24px 0 12px; border-left: 0; } .step + .step { border-top: 1px solid var(--line-light); } }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.feature { background: var(--coal); padding: 32px 28px 34px; display: grid; gap: 12px; align-content: start; }
.feature .ic { width: 34px; height: 34px; color: var(--gold); }
.feature p { color: var(--muted-dark); font-size: 17px; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* ---------- coverage ---------- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.cities { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.cities li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-light); font: 700 30px/1 var(--display); text-transform: uppercase; }
.status { font: 700 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; white-space: nowrap; }
.status.live { background: var(--black); color: var(--gold); }
.status.soon { background: transparent; color: var(--muted-light); border: 1px solid var(--line-light); }
.trades { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (max-width: 860px) { .coverage { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact-copy { display: grid; gap: 22px; }
.contact-copy .direct { display: grid; gap: 6px; margin-top: 8px; font-size: 17px; }
.contact-copy .direct a { color: var(--gold); text-decoration: none; font-weight: 600; }
.on-white .contact-copy .direct a { color: var(--gold-ink); }
.on-white form.card { border: 1px solid var(--line-light); box-shadow: 0 20px 50px rgba(18,17,16,.10); }
form.card { background: var(--white); color: var(--ink); border-radius: 8px; padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
form.card .full { grid-column: 1 / -1; }
form.card label { display: grid; gap: 8px; font: 600 12px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
form.card input, form.card select, form.card textarea { width: 100%; font: 400 17px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line-light); border-radius: 4px; padding: 13px 14px; }
form.card textarea { min-height: 130px; resize: vertical; }
form.card input:focus, form.card select:focus, form.card textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); background: var(--white); }
form.card .fine { font-size: 13px; color: var(--muted-light); line-height: 1.5; }
form.card .btn { width: 100%; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) { .contact .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.card { grid-template-columns: 1fr; } }

/* booking calendar (Google appointment schedule, embedded) */
.booking { background: var(--white); border: 1px solid var(--line-light); border-radius: 8px; box-shadow: 0 20px 50px rgba(18,17,16,.10); overflow: hidden; display: grid; }
.booking-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--black); color: var(--white); font: 600 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; }
.booking-head .muted { color: var(--gold); letter-spacing: .08em; text-transform: none; font-weight: 500; }
.booking iframe { width: 100%; height: 720px; border: 0; display: block; background: var(--white); }
.booking .fine { padding: 12px 20px 16px; font-size: 14px; color: var(--muted-light); border-top: 1px solid var(--line-light); }
.booking .fine a { color: var(--gold-ink); font-weight: 600; text-decoration: none; }
@media (max-width: 560px) { .booking iframe { height: 820px; } }

/* ---------- closing band ---------- */
.cta-band { background: var(--gold); color: var(--black); padding: clamp(56px, 7vw, 88px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-band h2 { max-width: 16ch; }
.cta-band .script { color: var(--black); font-size: clamp(24px, 2.6vw, 32px); display: block; margin-bottom: 8px; }

/* ---------- footer ---------- */
.site-foot { background: var(--black); border-top: 1px solid var(--line-dark); padding: 56px 0 40px; color: var(--muted-dark); font-size: 15px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-foot h4 { margin: 0 0 14px; font: 600 12px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--white); }
.site-foot .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 13px; letter-spacing: .06em; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } .site-foot .wrap > :first-child { grid-column: 1 / -1; } }

/* ---------- site chat ---------- */
.rt-chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; justify-items: end; gap: 12px; font-family: var(--body); }
.rt-launch { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px; border: 0; border-radius: 99px; background: var(--gold); color: var(--black); font: 700 14px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .15s, background .15s; }
.rt-launch:hover { background: var(--gold-hi); transform: translateY(-2px); }
.rt-launch svg { width: 22px; height: 22px; }
.rt-chat.is-open .rt-launch span { display: none; }
.rt-chat.is-open .rt-launch { padding: 0 17px; }
.rt-nudge { position: relative; max-width: 300px; background: var(--white); color: var(--ink); border-radius: 12px 12px 4px 12px; padding: 14px 34px 14px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.3); border-left: 3px solid var(--gold); animation: rtIn .35s ease-out; }
.rt-nudge p { margin: 0; font-size: 15px; line-height: 1.45; cursor: pointer; }
.rt-nudge-x { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; background: none; color: var(--muted-light); font-size: 18px; cursor: pointer; }
.rt-panel { padding: 0; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 110px)); max-height: min(560px, calc(100dvh - 110px)); background: var(--white); color: var(--ink); border-radius: 12px; box-shadow: 0 24px 70px rgba(0,0,0,.45); display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto auto; overflow: hidden; animation: rtIn .2s ease-out; }
.rt-panel[hidden], .rt-nudge[hidden] { display: none; }
.rt-panel header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--black); color: var(--white); border-bottom: 2px solid var(--gold); }
.rt-panel header b { display: block; font: 700 17px/1.1 var(--body); }
.rt-panel header small { display: block; font-size: 12px; color: var(--muted-dark); margin-top: 3px; }
.rt-close { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: none; color: var(--white); font-size: 20px; cursor: pointer; }
.rt-log { overflow-y: auto; min-height: 140px; padding: 16px; display: grid; align-content: start; gap: 10px; background: var(--paper); }
.rt-msg { max-width: 86%; display: grid; gap: 10px; }
.rt-msg p { margin: 0; padding: 10px 13px; border-radius: 12px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.rt-msg.bot p { background: var(--white); border: 1px solid var(--line-light); border-bottom-left-radius: 4px; }
.rt-msg.me { justify-self: end; }
.rt-msg.me p { background: var(--black); color: var(--white); border-bottom-right-radius: 4px; }
.rt-cta { justify-self: start; display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 6px; background: var(--gold); color: var(--black); font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.rt-cta:hover { background: var(--gold-hi); }
.rt-typing { display: flex; gap: 5px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line-light); border-radius: 12px; width: max-content; }
.rt-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: rtDot 1s infinite; }
.rt-typing span:nth-child(2) { animation-delay: .15s; } .rt-typing span:nth-child(3) { animation-delay: .3s; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; background: var(--paper); }
.rt-chips:not(:empty) { padding-bottom: 12px; }
.rt-chip { border: 1px solid var(--gold); background: var(--white); color: var(--gold-ink); border-radius: 99px; padding: 8px 12px; font: 600 13px/1 var(--body); cursor: pointer; }
.rt-chip:hover { background: #f1ebdd; }
.rt-input { display: grid; grid-template-columns: 1fr 46px; gap: 8px; padding: 12px; border-top: 1px solid var(--line-light); background: var(--white); }
.rt-input textarea { resize: none; font: 400 15px/1.4 var(--body); border: 1px solid var(--line-light); border-radius: 8px; padding: 11px 12px; color: var(--ink); background: var(--paper); max-height: 120px; }
.rt-input textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; background: var(--white); }
.rt-input button { border: 0; border-radius: 8px; background: var(--black); color: var(--gold); font-size: 20px; cursor: pointer; }
.rt-fine { margin: 0; padding: 0 12px 10px; font-size: 11px; color: var(--muted-light); background: var(--white); }
.rt-hand { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line-light); border-radius: 10px; padding: 12px; }
.rt-hand label { display: grid; gap: 4px; font: 600 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.rt-hand input, .rt-hand textarea { font: 400 15px/1.3 var(--body); border: 1px solid var(--line-light); border-radius: 6px; padding: 9px 10px; color: var(--ink); background: var(--paper); }
.rt-hand button { height: 42px; border: 0; border-radius: 6px; background: var(--black); color: var(--white); font: 700 13px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.rt-sent { font-weight: 600; }
@keyframes rtIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rtDot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (max-width: 560px) {
  .rt-chat { right: 12px; bottom: 12px; left: 12px; }
  .rt-launch span { display: none; }
  .rt-launch { padding: 0 17px; }
  .rt-panel { width: 100%; max-height: calc(100vh - 96px); max-height: calc(100dvh - 96px); }
  .rt-nudge { max-width: none; }
}
