/* Porchlight AI — getporchlightai.com */

:root {
  --teal-deep: #0a3542;
  --teal: #0f4b5c;
  --teal-soft: #e3edf0;
  --amber: #e9a23b;
  --amber-ink: #a2650f;
  --paper: #fbf9f4;
  --cream: #f7f3ec;
  --ink: #23201a;
  --muted: #6b675f;
  --rule: #ddd8cd;

  --measure: 66ch;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 7rem);

  --font-display: "Cabinet Grotesk", "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, -apple-system, sans-serif;

  --radius: 10px;
  --shadow: 0 1px 2px rgba(35, 32, 26, 0.05), 0 12px 32px -16px rgba(10, 53, 66, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
}

h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.3rem);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1.1em;
  max-width: var(--measure);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: var(--pad);
}

.narrow {
  max-width: 760px;
}

section {
  padding-block: var(--section);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin: 0 0 1rem;
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  line-height: 1.55;
  color: #3a3730;
}

.muted {
  color: var(--muted);
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 249, 244, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}

.brand img {
  width: 190px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.94rem;
}

.nav a {
  color: #34302a;
  text-decoration: none;
}

.nav a:hover {
  color: var(--teal);
}

.nav .btn {
  color: var(--paper);
}

@media (max-width: 860px) {
  .nav a:not(.btn) {
    display: none;
  }
  .brand img {
    width: 158px;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: var(--paper);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(10, 53, 66, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  border-color: var(--rule);
}

.btn-ghost:hover {
  background: var(--teal-soft);
  color: var(--teal-deep);
  border-color: #b9c9ce;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.hero h1 {
  max-width: 21ch;
}

.hero .lede {
  max-width: 58ch;
}

.hero-audience {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-audience::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--amber);
  flex: none;
}

/* ---------- demo ---------- */

.demo-section {
  background: var(--cream);
  border-block: 1px solid var(--rule);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .demo-grid {
    grid-template-columns: 1fr;
  }
}

.demo-copy h2 {
  margin-bottom: 0.5em;
}

.demo-copy ul {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 46ch;
}

.demo-copy li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.demo-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 2px;
  background: var(--amber);
}

.widget {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 620px;
}

.widget-head {
  background: var(--teal-deep);
  color: #eaf1f3;
  padding: 0.95rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.widget-head img {
  width: 26px;
  height: 26px;
}

.widget-head .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
}

.widget-head .s {
  font-size: 0.78rem;
  color: #a9c3ca;
}

.widget-log {
  padding: 1.1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 280px;
}

.msg {
  font-size: 0.95rem;
  line-height: 1.55;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  max-width: 92%;
  animation: rise 0.28s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .msg {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

.msg.bot {
  background: var(--teal-soft);
  color: #17303a;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.msg.me {
  background: var(--teal);
  color: #f4fbfc;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.msg strong {
  font-weight: 700;
}

.msg p {
  margin: 0 0 0.6em;
  max-width: none;
}

.msg p:last-child {
  margin-bottom: 0;
}

.msg.note {
  align-self: stretch;
  max-width: none;
  background: #fdf6e9;
  border: 1px solid #ecd9b2;
  color: #5d4712;
  font-size: 0.86rem;
  border-radius: 10px;
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6d949e;
  animation: blink 1.1s infinite;
}

.typing i:nth-child(2) {
  animation-delay: 0.18s;
}
.typing i:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes blink {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
}

.starters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.1rem 0.9rem;
}

.starters button {
  font: inherit;
  font-size: 0.83rem;
  line-height: 1.3;
  text-align: left;
  background: var(--paper);
  border: 1px solid #c8d9de;
  color: var(--teal);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease;
}

.starters button:hover {
  background: var(--teal-soft);
  border-color: #9fbbc3;
}

.widget-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem 1.1rem 1.1rem;
  border-top: 1px solid var(--rule);
}

.widget-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c9c3b6;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}

.widget-form input:focus-visible,
.field input:focus-visible,
.field textarea:focus-visible,
.starters button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--amber-ink);
  outline-offset: 2px;
}

.widget-form button {
  flex: none;
  padding-inline: 0.95rem;
}

.widget-foot {
  font-size: 0.75rem;
  color: var(--muted);
  padding: 0 1.1rem 0.9rem;
  margin: -0.5rem 0 0;
}

/* ---------- three things ---------- */

.three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 2.5rem;
}

@media (max-width: 800px) {
  .three {
    grid-template-columns: 1fr;
  }
}

.three .item {
  border-top: 2px solid var(--teal);
  padding-top: 1rem;
}

.three .item p {
  font-size: 0.99rem;
  margin-bottom: 0;
}

.three .item h3 {
  margin-bottom: 0.4em;
}

/* ---------- refuse ---------- */

.refuse {
  background: var(--teal-deep);
  color: #dfeaed;
}

.refuse h2 {
  color: #fff;
}

.refuse p {
  color: #c4d6db;
}

.refuse .lede {
  color: #e4eff1;
}

.refuse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 860px) {
  .refuse-grid {
    grid-template-columns: 1fr;
  }
}

.transcript {
  background: #0d3f4e;
  border: 1px solid #1d5666;
  border-radius: 14px;
  padding: 1.15rem;
  font-size: 0.93rem;
  line-height: 1.55;
}

.transcript .q {
  color: #9fc4cd;
  font-weight: 700;
  margin: 0 0 0.6rem;
  max-width: none;
}

.transcript .a {
  color: #eaf2f4;
  margin: 0;
  max-width: none;
}

.transcript .tag {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1204;
  background: var(--amber);
  border-radius: 5px;
  padding: 0.2rem 0.5rem;
}

/* ---------- screenshots ---------- */

.shots {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .shots {
    grid-template-columns: 1fr;
  }
}

.shot figure {
  margin: 0;
}

.shot img {
  border: 1px solid var(--rule);
  border-radius: 10px;
  box-shadow: var(--shadow);
  background: #fff;
}

.shot figcaption {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* ---------- pricing ---------- */

.pricing {
  background: var(--cream);
  border-block: 1px solid var(--rule);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (max-width: 880px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

.plan {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--teal);
  box-shadow: 0 14px 34px -22px rgba(10, 53, 66, 0.55);
}

.plan .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.15rem;
}

.plan .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 0.1rem;
  font-variant-numeric: tabular-nums lining-nums;
}

.plan .per {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.plan ul {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.plan li {
  padding: 0.42rem 0;
  border-bottom: 1px solid #ece7dc;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.plan li span:last-child {
  color: var(--muted);
  text-align: right;
}

.plan .foot {
  margin-top: auto;
  font-size: 0.86rem;
  color: var(--muted);
}

.badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1204;
  background: var(--amber);
  border-radius: 5px;
  padding: 0.18rem 0.45rem;
  vertical-align: 2px;
  margin-left: 0.5rem;
}

/* ---------- pilot form ---------- */

.pilot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .pilot-grid {
    grid-template-columns: 1fr;
  }
}

.steps {
  counter-reset: s;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 48ch;
}

.steps li {
  counter-increment: s;
  position: relative;
  padding-left: 2.4rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--teal);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

form.card {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #3c3830;
}

.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #c9c3b6;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}

.field textarea {
  min-height: 84px;
  resize: vertical;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 460px) {
  .two-up {
    grid-template-columns: 1fr;
  }
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
}

.form-done {
  background: #f0f6ee;
  border: 1px solid #c9ddc0;
  color: #2f4a23;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.93rem;
  margin-top: 1rem;
}

/* ---------- who built this ---------- */

.owner {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 2rem);
}

@media (max-width: 620px) {
  .owner {
    grid-template-columns: 1fr;
  }
}

.owner .initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: var(--cream);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}

.owner p:last-child {
  margin-bottom: 0;
}

/* ---------- faq ---------- */

.faq {
  margin-top: 2.25rem;
  border-top: 1px solid var(--rule);
  max-width: 860px;
}

.faq details {
  border-bottom: 1px solid var(--rule);
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  padding: 1.05rem 2.5rem 1.05rem 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 1.45rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
}

.faq .answer {
  padding-bottom: 1.15rem;
}

.faq .answer p {
  font-size: 1rem;
  margin-bottom: 0.8em;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--teal-deep);
  color: #bfd3d8;
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
  font-size: 0.93rem;
}

.site-footer a {
  color: #e7f1f3;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer img {
  width: 178px;
  margin-bottom: 1rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fb0b8;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer p {
  max-width: 44ch;
  color: #a7c1c7;
}

.footer-bottom {
  border-top: 1px solid #1d5666;
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8fb0b8;
}

/* ---------- legal pages ---------- */

.legal {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.legal h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  margin-top: 2.25rem;
}

.legal h3 {
  font-size: 1.08rem;
  margin-top: 1.6rem;
}

.legal p,
.legal li {
  font-size: 1rem;
}

.legal ul {
  max-width: var(--measure);
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal .updated {
  font-size: 0.9rem;
  color: var(--muted);
}

.callout {
  background: #fdf6e9;
  border: 1px solid #ecd9b2;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  margin: 1.75rem 0;
  max-width: var(--measure);
}

.callout p {
  margin: 0;
  font-size: 0.95rem;
  color: #5d4712;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 99;
  background: var(--paper);
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--teal);
}

/* ---------- mobile menu ---------- */

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-deep);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
}

.nav-toggle .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 15px;
}

.nav-toggle .bars span {
  display: block;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 2px;
}

.nav-drawer {
  border-top: 1px solid var(--rule);
  background: var(--paper);
  padding: 0.75rem 0 1.1rem;
}

.nav-drawer .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.nav-drawer a {
  display: block;
  width: 100%;
  padding: 0.6rem 0;
  color: #34302a;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid var(--rule);
}

.nav-drawer a:last-child {
  border-bottom: 0;
}

.nav-drawer .btn {
  width: auto;
  margin-top: 0.7rem;
  color: var(--paper);
  padding: 0.62rem 1.1rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

@media (min-width: 861px) {
  .nav-drawer {
    display: none !important;
  }
}

/* ---------- bilingual proof ---------- */

.bilingual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  padding-top: clamp(2.2rem, 4vw, 3rem);
  border-top: 1px solid var(--rule);
}

.bl-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.7rem;
}

.bl-copy p {
  color: var(--muted);
  margin: 0;
  max-width: 44ch;
}

.bl-pair {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bl-turn {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}

.bl-turn.bot {
  background: var(--teal-soft);
  border-color: #c9dde2;
}

.bl-turn .who {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.bl-turn.bot .who {
  color: #2d6272;
}

.bl-turn .say {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.5;
}

.bl-turn .gloss {
  margin: 0.55rem 0 0;
  font-size: 0.85rem;
  color: #4c6f79;
}

@media (max-width: 800px) {
  .bilingual {
    grid-template-columns: 1fr;
  }
}

/* ---------- management companies ---------- */

.mgmt {
  background: var(--cream);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.mgmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

.mgmt .mg {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: clamp(1.2rem, 2.2vw, 1.6rem);
}

.mgmt .mg .n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.04rem;
  color: var(--teal-deep);
  margin: 0 0 0.5rem;
}

.mgmt .mg p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.mgmt-foot {
  margin: clamp(1.6rem, 3vw, 2.2rem) 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
  color: var(--ink);
  max-width: 62ch;
}

@media (max-width: 800px) {
  .mgmt-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- embed snippet fits narrow screens ---------- */

.owner > div {
  min-width: 0;
}

.owner pre {
  max-width: 100%;
}

@media (max-width: 640px) {
  .owner pre code {
    white-space: pre-wrap;
    word-break: break-word;
  }
}
