/* Relaunch — Field system, extended for the public site.
   One idea per full-bleed colour plane. Large, light type sits directly on
   the colour. The phone and inquiry form are the only framed objects because
   each needs a clear edge to explain how the service works. */

@font-face {
  font-family: "InterVariable";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Field palette: bone planes, ink text, forest accents. */
  color-scheme: light;
  --bone: #f7ecdc;
  --paper: #fffaf3;
  --ink: #13271e;
  --ink-soft: #52645b;
  --forest: #0d402b;
  --forest-deep: #082f20;
  --forest-soft: #b8cbbd;
  --sage: #dce6dc;
  --sage-ink: #315743;
  --hair: rgb(19 39 30 / 15%);
  --hair-light: rgb(247 236 220 / 20%);
  --tint: rgb(13 64 43 / 7%);
  --focus: #0b65a5;

  --gap: clamp(2rem, 4.5vw, 3.5rem);
  --bezel: 0.5rem;
  --frame-radius: 2.5rem;
  --screen-radius: calc(var(--frame-radius) - var(--bezel));
  --bubble-radius: 1.125rem;
  --control-radius: 0.35rem;
  --cycle: 27s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: "InterVariable", ui-sans-serif, system-ui, sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "ss01", "ss03";
  font-optical-sizing: auto;
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  isolation: isolate;
  overflow: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

a {
  color: inherit;
}

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

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
input[type="radio"],
input[type="checkbox"] {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: -1px;
}

h1,
h2 {
  max-width: 22ch;
  font-size: clamp(2.375rem, 7vw, 4.75rem);
  font-weight: 250;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 5.4vw, 3.75rem);
}

h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  text-wrap: balance;
}

.page-shell {
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}

.section-space {
  padding-block: clamp(4rem, 10vw, 8.5rem);
  scroll-margin-top: 2rem;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 0.75rem 1rem;
  transform: translateY(-110%);
  background: var(--forest-deep);
  color: var(--bone);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Masthead */

.site-header {
  background: var(--bone);
  color: var(--ink);
  padding-block: 1.5rem;
}

.header-inner {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.brand {
  display: inline-flex;
  min-width: 0;
  min-height: 48px;
  flex: 0 1 auto;
  align-items: center;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.header-link {
  display: inline-flex;
  min-height: 48px;
  flex-shrink: 0;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.header-link span,
.text-link span {
  margin-left: 0.5rem;
}

/* Shared actions and headings */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  width: 100%;
  border-color: var(--forest);
  background: var(--forest);
  color: var(--bone);
}

.button-primary:hover {
  background: var(--forest-deep);
}

.button-primary:focus-visible {
  outline-color: var(--forest);
}

.button-secondary {
  border-color: var(--forest);
  background: transparent;
  color: var(--forest);
}

.button-secondary:hover {
  background: var(--forest);
  color: var(--bone);
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  color: var(--forest);
  font-weight: 500;
  text-decoration: none;
}

.large-link {
  margin-top: 0.75rem;
}

.eyebrow {
  margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--ink-soft);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.heading-group,
.heading-group-wide {
  min-width: 0;
}

.heading-group > p:not(.eyebrow) {
  max-width: 50ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 350;
  line-height: 1.55;
  text-wrap: pretty;
}

/* Hero */

.hero {
  padding-top: clamp(1.5rem, 3.5vw, 2.5rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
  background: var(--bone);
  color: var(--ink);
}

.hero-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem) var(--gap);
  align-items: start;
}

.hero-copy {
  min-width: 0;
}

.hero-lede {
  max-width: 40ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 350;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  margin-top: clamp(2rem, 4.5vw, 3rem);
}

.price-note,
.term-note,
.card-note,
.form-note {
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.price-note {
  margin-top: 1.25rem;
}

/* Phone demonstration */

.phone-demo {
  width: min(20rem, 100%);
  min-width: 0;
  margin-inline: auto;
}

.phone-shell {
  position: relative;
  padding: var(--bezel);
  overflow: hidden;
  border-radius: var(--frame-radius);
  background: var(--forest-deep);
  box-shadow: 0 1.5rem 3rem rgb(19 39 30 / 18%);
  outline: 1px solid rgb(19 39 30 / 18%);
  outline-offset: -1px;
}

.phone-speaker {
  position: absolute;
  z-index: 3;
  top: 0.75rem;
  left: 50%;
  width: 4.75rem;
  height: 0.35rem;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgb(19 39 30 / 26%);
}

.phone-header,
.conversation-stage,
.phone-home {
  background: var(--paper);
}

.phone-header {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  gap: 0.625rem;
  padding: 1.5rem 1.125rem 0.75rem;
  border-bottom: 1px solid var(--hair);
  border-radius: var(--screen-radius) var(--screen-radius) 0 0;
}

.phone-header .agent-mark {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--forest);
  color: var(--bone);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1;
}

.phone-header > div {
  min-width: 0;
}

.phone-header strong,
.phone-header span {
  display: block;
  line-height: 1.25;
}

.phone-header strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.phone-header span {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.phone-header i {
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: #2f6f4f;
}

.conversation-stage {
  position: relative;
  min-height: 36rem;
  overflow: hidden;
}

.conversation {
  --cycle-offset: -7s;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.875rem 0.75rem;
  opacity: 0;
}

.conversation-one {
  opacity: 1;
}

.conversation-two {
  --cycle-offset: -25s;
}

.conversation-three {
  --cycle-offset: -16s;
}

.conversation-label {
  align-self: center;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.message {
  width: fit-content;
  max-width: 84%;
  margin-bottom: 0.4375rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--bubble-radius);
  font-size: 1rem;
  line-height: 1.35;
  text-wrap: pretty;
}

.message span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  opacity: 0.72;
}

.message-owner {
  align-self: flex-end;
  border-bottom-right-radius: 0.3125rem;
  background: var(--forest);
  color: var(--bone);
}

.message-agent {
  align-self: flex-start;
  border-bottom-left-radius: 0.3125rem;
  background: var(--tint);
  color: var(--ink);
}

.preview-url {
  display: block;
  margin-top: 0.25rem;
  color: var(--forest);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

.speed-stamp {
  align-self: flex-end;
  margin-top: 0.75rem;
  padding-inline: 0.25rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.speed-stamp::before {
  content: "";
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-right: 0.375rem;
  border-radius: 50%;
  background: #2f6f4f;
  vertical-align: 0.06em;
}

.phone-home {
  height: 2.25rem;
  border-top: 1px solid var(--hair);
  border-radius: 0 0 var(--screen-radius) var(--screen-radius);
}

.phone-home::after {
  content: "";
  display: block;
  width: 5rem;
  height: 0.25rem;
  margin: 0.9rem auto 0;
  border-radius: 999px;
  background: rgb(19 39 30 / 22%);
}

.phone-demo figcaption {
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Private preview plane */

.preview-section {
  background: var(--forest);
  color: var(--bone);
}

.preview-grid > div {
  max-width: 56rem;
}

.preview-section .eyebrow,
.preview-section p {
  color: var(--forest-soft);
}

.preview-section h2 {
  color: var(--bone);
}

.preview-section p:not(.eyebrow) {
  max-width: 48ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 350;
  line-height: 1.55;
  text-wrap: pretty;
}

.preview-section .text-link {
  color: var(--bone);
}

/* Search plane */

.search-section {
  background: var(--bone);
  color: var(--ink);
}

.search-layout {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem) var(--gap);
}

.term-note {
  margin-top: 1.25rem;
}

.search-grid {
  display: grid;
  gap: 0;
}

.search-grid > div {
  min-width: 0;
  padding-block: 1.75rem;
  border-top: 1px solid var(--hair);
}

.search-grid > div:last-child {
  border-bottom: 1px solid var(--hair);
}

.search-grid dt {
  max-width: 24ch;
  font-size: clamp(1.375rem, 2.6vw, 1.875rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

.search-grid dt span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--sage-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.search-grid dd {
  max-width: 46ch;
  margin-top: 0.625rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Pricing plane */

.pricing-section {
  background: var(--sage);
  color: var(--forest-deep);
}

.pricing-section .eyebrow {
  color: var(--sage-ink);
}

.pricing-section .heading-group > p:not(.eyebrow) {
  color: var(--sage-ink);
}

.pricing-layout {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem) var(--gap);
}

.pricing-copy {
  min-width: 0;
}

.price-card {
  container-type: inline-size;
  min-width: 0;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(13 64 43 / 20%);
}

.price-heading {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgb(13 64 43 / 20%);
}

.price-heading > p:first-child {
  color: var(--sage-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.price strong {
  font-size: clamp(3rem, 7vw, 5.25rem);
  font-weight: 250;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.price span,
.price-heading > p:last-child {
  color: var(--sage-ink);
}

.price-card > h3 {
  margin-top: 1.75rem;
}

.check-list {
  margin-top: 1rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-top: 1px solid rgb(13 64 43 / 16%);
}

.check-list li:last-child {
  border-bottom: 1px solid rgb(13 64 43 / 16%);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1.45rem;
  left: 0;
  width: 0.75rem;
  height: 2px;
  background: currentColor;
}

.price-extras {
  margin-top: 1.75rem;
}

.price-extras div {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 1.5fr);
  gap: 1rem;
  padding-block: 0.75rem;
  border-top: 1px solid rgb(13 64 43 / 16%);
}

.price-extras div:last-child {
  border-bottom: 1px solid rgb(13 64 43 / 16%);
}

.price-extras dt,
.price-extras dd {
  min-width: 0;
}

.price-extras dt {
  font-weight: 500;
}

.price-extras dd {
  color: var(--sage-ink);
  text-align: right;
}

.card-note {
  margin-top: 1.25rem;
  color: var(--sage-ink);
}

/* Inquiry plane */

.start-section {
  background: var(--bone);
  color: var(--ink);
}

.start-layout {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem) var(--gap);
  align-items: start;
}

.start-copy {
  min-width: 0;
}

.start-notes {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.start-notes div {
  padding-block: 1rem;
  border-top: 1px solid var(--hair);
}

.start-notes div:last-child {
  border-bottom: 1px solid var(--hair);
}

.start-notes dt {
  font-weight: 600;
}

.start-notes dd {
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

.inquiry-form {
  min-width: 0;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--paper);
  outline: 1px solid var(--hair);
  outline-offset: -1px;
}

.choice-fieldset {
  padding: 0;
  border: 0;
}

.choice-fieldset legend {
  margin-bottom: 0.875rem;
  font-weight: 600;
}

.choice-fieldset label {
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.875rem;
  border-top: 1px solid var(--hair);
}

.choice-fieldset label:last-child {
  border-bottom: 1px solid var(--hair);
}

.choice-fieldset label:has(input:checked) {
  color: var(--forest);
}

.choice-fieldset input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin: 0.15rem 0 0;
  accent-color: var(--forest);
}

.choice-fieldset strong,
.choice-fieldset small {
  display: block;
}

.choice-fieldset strong {
  font-weight: 600;
}

.choice-fieldset small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-grid label {
  min-width: 0;
  font-weight: 500;
}

.form-grid label > span {
  color: var(--ink-soft);
  font-weight: 400;
}

.form-grid input,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid var(--hair);
  border-radius: var(--control-radius);
  background: var(--bone);
  font-size: 1rem;
}

.form-grid input {
  min-height: 50px;
  padding: 0.625rem 0.75rem;
}

.form-grid textarea {
  min-height: 8.25rem;
  padding: 0.75rem;
  resize: vertical;
}

.full-field {
  grid-column: 1 / -1;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block: 1.5rem 1.25rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  margin-top: 0.1rem;
  accent-color: var(--forest);
}

.consent a {
  color: var(--forest);
  font-weight: 500;
}

.form-note {
  margin-top: 0.75rem;
  text-align: center;
}

/* Closing questions plane */

.faq-section {
  background: var(--forest);
  color: var(--bone);
}

.faq-section h2 {
  color: var(--bone);
}

.faq-section .eyebrow {
  color: var(--forest-soft);
}

.faq-layout {
  display: grid;
  gap: clamp(3rem, 6vw, 4.5rem) var(--gap);
}

.faq-list {
  border-top: 1px solid var(--hair-light);
}

.faq-list details {
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--hair-light);
}

.faq-list summary {
  min-height: 48px;
  color: var(--bone);
  font-size: 1.0625rem;
  font-weight: 600;
}

.faq-list details p {
  max-width: 44ch;
  padding-top: 1rem;
  color: var(--forest-soft);
  text-wrap: pretty;
}

/* Footer */

.site-footer {
  background: var(--bone);
  color: var(--ink-soft);
  padding-block: 2.5rem 3.5rem;
  font-size: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem var(--gap);
}

.footer-brand > a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--ink);
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.footer-brand p {
  max-width: 22rem;
  margin-top: 0.75rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.25rem;
}

.site-footer nav a,
.footer-meta a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  font-weight: 400;
  text-underline-offset: 0.32em;
}

.footer-meta p + p {
  margin-top: 0.25rem;
}

/* Legal and confirmation pages */

.simple-main {
  min-height: calc(100vh - 6rem);
  padding-block: clamp(4rem, 10vw, 8.5rem);
  background: var(--bone);
}

.simple-shell {
  width: min(100% - 2.5rem, 52rem);
  margin-inline: auto;
}

.simple-shell h1 {
  max-width: 15ch;
}

.simple-intro {
  max-width: 44ch;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1.8vw, 1.3125rem);
  font-weight: 350;
  line-height: 1.55;
  text-wrap: pretty;
}

.simple-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  margin-top: 2rem;
}

.legal-prose {
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: 1rem;
  line-height: 1.8;
}

.legal-prose > * + * {
  margin-top: 1.25rem;
}

.legal-prose h2 {
  max-width: 30ch;
  margin-top: 3.25rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.15;
}

.legal-prose h3 {
  margin-top: 2rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.legal-prose p,
.legal-prose li {
  max-width: 72ch;
  text-wrap: pretty;
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 1.35rem;
}

.legal-prose ul {
  list-style: disc;
}

.legal-prose ol {
  list-style: decimal;
}

.legal-prose li + li {
  margin-top: 0.5rem;
}

.legal-date {
  color: var(--ink-soft);
}

.notice-box {
  padding: 1.25rem;
  background: var(--sage);
  color: var(--forest-deep);
  outline: 1px solid rgb(13 64 43 / 12%);
  outline-offset: -1px;
}

/* Responsive steps */

@media (min-width: 45rem) {
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.7fr 0.9fr;
  }

  .footer-meta {
    text-align: right;
  }
}

@media (min-width: 48rem) {
  .price-note,
  .term-note,
  .card-note,
  .form-note,
  .phone-demo figcaption,
  .site-footer {
    font-size: 0.9375rem;
  }

}

@media (min-width: 60rem) {
  .start-layout,
  .faq-layout {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }
  .inquiry-form {
    align-self: start;
  }
}

@media (min-width: 64rem) {
  .hero {
    padding-bottom: 2rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }

  .phone-demo {
    justify-self: end;
    margin-inline: 0;
  }

  .search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-grid > div {
    padding: 1.75rem;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
  }

  .search-grid > div:first-child {
    padding-left: 0;
  }

  .search-grid > div + div {
    border-left: 1px solid var(--hair);
  }

  .search-grid > div:last-child {
    padding-right: 0;
  }
}

@media (min-width: 70rem) {
  .pricing-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card {
    align-self: start;
    padding-top: 0;
    padding-left: calc(var(--gap) / 2);
    border-top: 0;
    border-left: 1px solid rgb(13 64 43 / 20%);
  }
}

@media (max-width: 32rem) {
  .header-link {
    max-width: 9.5rem;
    font-size: 0.875rem;
    line-height: 1.25;
    text-align: right;
  }

  .brand {
    font-size: 1.375rem;
  }

}

@container (max-width: 31rem) {
  .price-extras div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .price-extras dd {
    text-align: left;
  }
}

/* Conversation timing. Every message keeps its final space from the start,
   so the phone never shifts while examples change. */

@media (prefers-reduced-motion: no-preference) {
  .conversation {
    animation: conversation-cycle var(--cycle) linear infinite;
    animation-delay: var(--cycle-offset);
  }

  .message-turn-1,
  .message-turn-2,
  .message-turn-3,
  .message-turn-4,
  .message-turn-5 {
    animation: message-turn var(--cycle) linear infinite;
    animation-delay: calc(var(--cycle-offset) + var(--turn-delay, 0s));
  }

  .message-turn-2 { --turn-delay: 1.2s; }
  .message-turn-3 { --turn-delay: 2.4s; }
  .message-turn-4 { --turn-delay: 3.6s; }
  .message-turn-5 { --turn-delay: 4.8s; }
}

@keyframes conversation-cycle {
  0%, 1%, 31%, 100% { opacity: 0; }
  3%, 29% { opacity: 1; }
}

@keyframes message-turn {
  0%, 5%, 31%, 100% {
    opacity: 0;
    transform: translateY(0.5rem) scale(0.98);
  }
  7%, 29% {
    opacity: 1;
    transform: none;
  }
}

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

  .conversation-one {
    opacity: 1;
  }

  .conversation-two,
  .conversation-three {
    display: none;
  }
}
