/* Quiltt Voice — voice.quiltt.com
   Navy #161845 is the brand anchor. The four tints are surfaces and the violet
   is the only palette colour light enough to carry a mark on them, so it does
   all the emphasis work: links, the rule under a heading, the accent tiles. */

/* PT Serif for headings, PT Sans for everything else — self-hosted rather
   than pulled from Google. One fewer third party on every page load, one fewer
   origin in the CSP, and a heading that cannot fall back to Georgia because
   somebody else's CDN had a bad morning. Both faces are SIL Open Font License.
   Latin and Latin Extended only; the Cyrillic and Greek subsets these families
   ship with are weight this site never renders. */

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ptsans-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ptsans-400-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ptsans-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ptsans-700-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ptserif-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ptserif-400-latin.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ptserif-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ptserif-700-latin.woff2") format("woff2");
  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 {
  --navy: #161845;
  --teal: #12323a;
  --plum: #33143e;
  --cream: #fbf6ee;
  --lavender: #f0f1fa;
  --sky: #e8f4f8;
  --blush: #f9f3fb;
  --violet: #690fc9;
  --violet-deep: #4c0b93;

  --ink: #1b1c2a;
  --muted: #5c5f73;
  --line: #e0dfd8;
  --line-soft: #eae8e1;
  --white: #fff;

  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --sans: "PT Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --page: min(1120px, 100% - 48px);
  --radius: 12px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--violet-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--violet); }

img, svg { max-width: 100%; }
/* An image's width and height attributes reserve its space before it loads.
   Without this, a narrowed image keeps the attribute's height and stretches. */
img { height: auto; }

.wrap { width: var(--page); margin-inline: auto; }
.lede { font-size: 20px; color: var(--muted); max-width: 62ch; }
.small { font-size: 15px; }
.muted { color: var(--muted); }

/* Skip link — the first thing a keyboard reaches, and invisible until then. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 20;
  border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding-block: 12px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--navy);
}
.brand img { height: 21px; width: auto; display: block; align-self: center; }
.brand .product {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--violet);
  line-height: 1;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
/* :not(.btn) is load-bearing, not tidiness. `.site-nav a:hover` is (0,2,1)
   and `.btn-ghost:hover` is (0,2,0), so without it the nav wins and paints
   the Sign in label violet while the button paints its own background navy —
   violet on navy is a 2.0:1 contrast ratio, against a 4.5:1 minimum, and the
   label all but disappears on hover. It also dragged an underline onto a
   button. A button inside the nav is a button, and styles itself. */
.site-nav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-size: 16px;
}
.site-nav a:not(.btn):hover { color: var(--violet); text-decoration: underline; }

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--violet-deep); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { font-size: 16px; padding: 9px 18px; }

/* ---------- sections ---------- */

section { padding-block: 84px; }
section.tight { padding-block: 64px; }

.band-white { background: var(--white); }
.band-lavender { background: var(--lavender); }
.band-navy { background: var(--navy); color: #f2f2f7; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .lede, .band-navy .muted { color: #b9bacb; }
.band-navy a { color: #cfc0f2; }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--violet-deep);
  margin: 0 0 14px;
}
.band-navy .eyebrow { color: #b39bee; }

.section-head { max-width: 66ch; margin-bottom: 44px; }
.section-head h2,
h2.h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 16px; }

/* Spacing helpers rather than style attributes: the marketing page ships a
   CSP with style-src 'self' and no 'unsafe-inline', which blocks a style=""
   attribute exactly as it blocks an inline <style> block. */
.gap-lg { margin-bottom: 24px; }
.flush { margin-bottom: 0; }
.note-after { margin-top: 16px; }
.note-after-lg { margin-top: 22px; }
.centered { margin-inline: auto; }

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

.hero {
  padding-block: 96px 88px;
  background:
    radial-gradient(1100px 460px at 82% -8%, var(--blush), transparent 62%),
    radial-gradient(900px 420px at 6% 4%, var(--sky), transparent 60%);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 22px;
}

.hero .lede { font-size: 21px; color: #45485c; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-note {
  margin-top: 22px;
  font-size: 15px;
  color: var(--muted);
}

/* The photo carries the mood; the room card overlaps its corner so the
   product's one physical artefact is still the first thing explained.

   Three people take turns: a resident, a family member, a staff member. The
   word in the heading, the photo and the card are each three stacked
   slides on one 18-second cycle, six seconds apiece, so they change
   together. CSS only, because this page's policy runs no script. */
.hero-visual {
  position: relative;
  padding: 0 0 56px 0;
}
.hero-photos {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(22, 24, 69, .16);
  background: var(--lavender);
}
.hero-photos picture,
.hero-photos img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-photos img { object-fit: cover; }
.hero-photos .s1 img { object-position: 44% 30%; }
.hero-photos .s2 img { object-position: 33% 40%; }
.hero-photos .s3 img { object-position: 48% 35%; }

.hero-cards {
  position: absolute;
  left: -56px;
  bottom: 0;
  width: min(300px, 78%);
  display: grid;
}
.hero-cards .room-card {
  grid-area: 1 / 1;
  padding: 24px 24px 22px;
}
.hero-cards .room-card .rc-ask { font-size: 20px; margin-bottom: 12px; }
.hero-cards .room-card .rc-number { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 4px; }

/* Without animation (reduced motion, or a browser that will not run it)
   the resident is shown and the other two are not. */
.slide { opacity: 0; }
.slide.s1 { opacity: 1; }

@keyframes hero-fade {
  0%      { opacity: 0; }
  4%      { opacity: 1; }
  33.33%  { opacity: 1; }
  37.33%  { opacity: 0; }
  100%    { opacity: 0; }
}

/* The page opens 4.3 seconds into the cycle: the resident is already
   showing, and starts to change a little over a second later, so a visitor
   sees that it does. The photo and card switch as the next word types. */
.slide { animation: hero-fade 18s linear infinite both; }
.slide.s1 { animation-delay: -4.80s; }
.slide.s2 { animation-delay: 1.20s; }
.slide.s3 { animation-delay: 7.20s; }

.hero:has(.pause-toggle:checked) :is(.slide, .tw .l, .caret) { animation-play-state: paused; }

/* The typewriter. Every letter of all three roles is in the heading; a
   letter at font-size 0 takes no room, so the cursor always sits right after
   the last one showing. Each letter has its own window on the same 18-second
   cycle, typed in at 80ms a letter and deleted, last letter first, at 50ms.
   The per-letter rules below are generated, not hand-written: letter i
   (from 0) of role r (from 0) appears at 6r + 0.1 + 0.08i seconds into the
   cycle and goes at 6r + 5.85 - 0.05(i + 1), as a percentage of 18s. */
.tw { color: var(--violet-deep); white-space: nowrap; }
.tw .l { font-size: 0; }
.tw .r1 .l { font-size: 1em; }
.tw .l {
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: step-end;
  animation-fill-mode: both;
  animation-delay: -4.3s;
}
.caret {
  display: inline-block;
  width: .06em;
  height: .8em;
  margin-left: .05em;
  vertical-align: -0.04em;
  background: currentColor;
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink { 0% { opacity: 1; } 50% { opacity: 0; } }

@keyframes tw-r1-1 { 0% { font-size: 0; } 0.556% { font-size: 1em; } 32.222% { font-size: 0; } }
.tw .r1 .l:nth-child(1) { animation-name: tw-r1-1; }
@keyframes tw-r1-2 { 0% { font-size: 0; } 1.000% { font-size: 1em; } 31.944% { font-size: 0; } }
.tw .r1 .l:nth-child(2) { animation-name: tw-r1-2; }
@keyframes tw-r1-3 { 0% { font-size: 0; } 1.444% { font-size: 1em; } 31.667% { font-size: 0; } }
.tw .r1 .l:nth-child(3) { animation-name: tw-r1-3; }
@keyframes tw-r1-4 { 0% { font-size: 0; } 1.889% { font-size: 1em; } 31.389% { font-size: 0; } }
.tw .r1 .l:nth-child(4) { animation-name: tw-r1-4; }
@keyframes tw-r1-5 { 0% { font-size: 0; } 2.333% { font-size: 1em; } 31.111% { font-size: 0; } }
.tw .r1 .l:nth-child(5) { animation-name: tw-r1-5; }
@keyframes tw-r1-6 { 0% { font-size: 0; } 2.778% { font-size: 1em; } 30.833% { font-size: 0; } }
.tw .r1 .l:nth-child(6) { animation-name: tw-r1-6; }
@keyframes tw-r1-7 { 0% { font-size: 0; } 3.222% { font-size: 1em; } 30.556% { font-size: 0; } }
.tw .r1 .l:nth-child(7) { animation-name: tw-r1-7; }
@keyframes tw-r1-8 { 0% { font-size: 0; } 3.667% { font-size: 1em; } 30.278% { font-size: 0; } }
.tw .r1 .l:nth-child(8) { animation-name: tw-r1-8; }
@keyframes tw-r2-1 { 0% { font-size: 0; } 33.889% { font-size: 1em; } 65.556% { font-size: 0; } }
.tw .r2 .l:nth-child(1) { animation-name: tw-r2-1; }
@keyframes tw-r2-2 { 0% { font-size: 0; } 34.333% { font-size: 1em; } 65.278% { font-size: 0; } }
.tw .r2 .l:nth-child(2) { animation-name: tw-r2-2; }
@keyframes tw-r2-3 { 0% { font-size: 0; } 34.778% { font-size: 1em; } 65.000% { font-size: 0; } }
.tw .r2 .l:nth-child(3) { animation-name: tw-r2-3; }
@keyframes tw-r2-4 { 0% { font-size: 0; } 35.222% { font-size: 1em; } 64.722% { font-size: 0; } }
.tw .r2 .l:nth-child(4) { animation-name: tw-r2-4; }
@keyframes tw-r2-5 { 0% { font-size: 0; } 35.667% { font-size: 1em; } 64.444% { font-size: 0; } }
.tw .r2 .l:nth-child(5) { animation-name: tw-r2-5; }
@keyframes tw-r2-6 { 0% { font-size: 0; } 36.111% { font-size: 1em; } 64.167% { font-size: 0; } }
.tw .r2 .l:nth-child(6) { animation-name: tw-r2-6; }
@keyframes tw-r2-7 { 0% { font-size: 0; } 36.556% { font-size: 1em; } 63.889% { font-size: 0; } }
.tw .r2 .l:nth-child(7) { animation-name: tw-r2-7; }
@keyframes tw-r2-8 { 0% { font-size: 0; } 37.000% { font-size: 1em; } 63.611% { font-size: 0; } }
.tw .r2 .l:nth-child(8) { animation-name: tw-r2-8; }
@keyframes tw-r2-9 { 0% { font-size: 0; } 37.444% { font-size: 1em; } 63.333% { font-size: 0; } }
.tw .r2 .l:nth-child(9) { animation-name: tw-r2-9; }
@keyframes tw-r2-10 { 0% { font-size: 0; } 37.889% { font-size: 1em; } 63.056% { font-size: 0; } }
.tw .r2 .l:nth-child(10) { animation-name: tw-r2-10; }
@keyframes tw-r2-11 { 0% { font-size: 0; } 38.333% { font-size: 1em; } 62.778% { font-size: 0; } }
.tw .r2 .l:nth-child(11) { animation-name: tw-r2-11; }
@keyframes tw-r2-12 { 0% { font-size: 0; } 38.778% { font-size: 1em; } 62.500% { font-size: 0; } }
.tw .r2 .l:nth-child(12) { animation-name: tw-r2-12; }
@keyframes tw-r2-13 { 0% { font-size: 0; } 39.222% { font-size: 1em; } 62.222% { font-size: 0; } }
.tw .r2 .l:nth-child(13) { animation-name: tw-r2-13; }
@keyframes tw-r3-1 { 0% { font-size: 0; } 67.222% { font-size: 1em; } 98.889% { font-size: 0; } }
.tw .r3 .l:nth-child(1) { animation-name: tw-r3-1; }
@keyframes tw-r3-2 { 0% { font-size: 0; } 67.667% { font-size: 1em; } 98.611% { font-size: 0; } }
.tw .r3 .l:nth-child(2) { animation-name: tw-r3-2; }
@keyframes tw-r3-3 { 0% { font-size: 0; } 68.111% { font-size: 1em; } 98.333% { font-size: 0; } }
.tw .r3 .l:nth-child(3) { animation-name: tw-r3-3; }
@keyframes tw-r3-4 { 0% { font-size: 0; } 68.556% { font-size: 1em; } 98.056% { font-size: 0; } }
.tw .r3 .l:nth-child(4) { animation-name: tw-r3-4; }
@keyframes tw-r3-5 { 0% { font-size: 0; } 69.000% { font-size: 1em; } 97.778% { font-size: 0; } }
.tw .r3 .l:nth-child(5) { animation-name: tw-r3-5; }
@keyframes tw-r3-6 { 0% { font-size: 0; } 69.444% { font-size: 1em; } 97.500% { font-size: 0; } }
.tw .r3 .l:nth-child(6) { animation-name: tw-r3-6; }
@keyframes tw-r3-7 { 0% { font-size: 0; } 69.889% { font-size: 1em; } 97.222% { font-size: 0; } }
.tw .r3 .l:nth-child(7) { animation-name: tw-r3-7; }
@keyframes tw-r3-8 { 0% { font-size: 0; } 70.333% { font-size: 1em; } 96.944% { font-size: 0; } }
.tw .r3 .l:nth-child(8) { animation-name: tw-r3-8; }
@keyframes tw-r3-9 { 0% { font-size: 0; } 70.778% { font-size: 1em; } 96.667% { font-size: 0; } }
.tw .r3 .l:nth-child(9) { animation-name: tw-r3-9; }
@keyframes tw-r3-10 { 0% { font-size: 0; } 71.222% { font-size: 1em; } 96.389% { font-size: 0; } }
.tw .r3 .l:nth-child(10) { animation-name: tw-r3-10; }
@keyframes tw-r3-11 { 0% { font-size: 0; } 71.667% { font-size: 1em; } 96.111% { font-size: 0; } }
.tw .r3 .l:nth-child(11) { animation-name: tw-r3-11; }
@keyframes tw-r3-12 { 0% { font-size: 0; } 72.111% { font-size: 1em; } 95.833% { font-size: 0; } }
.tw .r3 .l:nth-child(12) { animation-name: tw-r3-12; }

@media (max-width: 620px) {
  /* Its own line, so a word that grows as it types never jumps down one;
     the line break after it is then one too many. */
  .tw { display: block; }
  .tw + br { display: none; }
}

/* The pause control: a real checkbox, so it works from the keyboard and is
   announced, drawn as a small button on the photo. */
.visually-hidden,
.pause-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.pause-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255, 255, 255, .88);
  border-radius: 999px;
  padding: 5px 12px;
  cursor: pointer;
  user-select: none;
}
.pause-btn:hover { background: #fff; }
.pause-toggle:focus-visible + .pause-btn { outline: 3px solid var(--violet); outline-offset: 2px; }
.pause-btn .when-paused { display: none; }
.pause-toggle:checked + .pause-btn .when-paused { display: inline; }
.pause-toggle:checked + .pause-btn .when-playing { display: none; }

@media (prefers-reduced-motion: reduce) {
  .slide, .tw .l, .caret { animation: none; }
  .pause-btn { display: none; }
}

/* The artefact the product actually puts in a resident's room. Showing it
   explains the whole thing faster than a paragraph can. */
.room-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px 32px 30px;
  box-shadow: 0 18px 46px rgba(22, 24, 69, .10);
  transform: rotate(-1.1deg);
  position: relative;
}
.room-card::after {
  content: "";
  position: absolute;
  inset: 10px 10px auto;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--sky));
  border-radius: 2px;
  opacity: .5;
}
.room-card .rc-community {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 6px;
}
.room-card .rc-ask {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 22px;
}
.room-card .rc-number {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  color: var(--violet-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.room-card .rc-detail {
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.room-card .rc-example {
  position: absolute;
  right: 16px;
  bottom: -13px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- the two senses ---------- */

.senses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.sense {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.sense h3 { font-size: 22px; margin-bottom: 12px; }
.sense p { color: var(--muted); margin-bottom: 0; }

/* ---------- generic card grids ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 24px;
}

/* Four short cards want four columns. At the default minimum they fall to
   three and leave one stranded on a row of its own, which reads as a mistake
   rather than as a set. */
.grid.four { grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
/* Four longer cards read better two by two than three and one. */
.grid.pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) {
  .grid.pair { grid-template-columns: 1fr; }
}
.grid > * { min-width: 0; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 16px; }

.band-lavender .card { border-color: #dcdcec; }

/* ---------- problem and answer ---------- */

/* The usual ways on the left, quiet; the phone's answer on the right, in the
   one dark panel, so the page reads as a contrast rather than a list of six. */
.contrast {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.contrast-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.problems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.problem {
  border: 1px dashed #c9c9dc;
  border-radius: var(--radius);
  padding: 22px 24px;
  min-width: 0;
}
.problem h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.problem p { color: var(--muted); font-size: 15px; margin-bottom: 0; }

.solution {
  background: var(--navy);
  color: #d9dae6;
  border-radius: var(--radius);
  padding: 28px 30px;
}
.solution .contrast-label { color: #b39bee; margin-bottom: 22px; }
.solution ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.solution li { padding-left: 30px; position: relative; }
.solution li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b39bee;
}
.solution h3 { font-size: 19px; color: #fff; margin-bottom: 6px; }
.solution p { font-size: 15px; margin-bottom: 0; }

/* ---------- numbered steps ---------- */

.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }

.step {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
  position: relative;
}
.step::before {
  content: counter(step);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: var(--navy);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; margin-bottom: 0; }

/* ---------- accessibility list ---------- */

.plainlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.plainlist li { padding-left: 30px; position: relative; }
.plainlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: var(--violet);
}
.band-navy .plainlist li::before { background: #b39bee; }
.plainlist b { font-family: var(--serif); font-weight: 700; }
.plainlist .band-note { display: block; color: inherit; opacity: .8; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 60px; align-items: start; }

/* ---------- what comes back ---------- */

.answer-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.answer-panel .ap-head {
  background: var(--lavender);
  border-bottom: 1px solid var(--line);
  padding: 13px 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy);
}
.answer-panel .ap-body { padding: 24px 22px; }
.answer-panel blockquote {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
  border-left: 3px solid var(--sky);
  padding-left: 18px;
}
.fields { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; }
.field { display: flex; gap: 14px; justify-content: space-between; background: var(--white); padding: 11px 16px; font-size: 15px; }
.field .k { color: var(--muted); }
.field .v { font-weight: 700; color: var(--navy); text-align: right; }

/* ---------- workflow timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.timeline li {
  position: relative;
  background: var(--lavender);
  border: 1px solid #dcdcec;
  border-radius: var(--radius);
  padding: 24px 26px;
  min-width: 0;
}
/* The arrow sits in the gap between two steps, pointing at the next one. */
.timeline li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--violet);
  font-weight: 700;
  font-size: 20px;
}
.timeline .when {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--violet-deep);
  background: var(--white);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 12px;
}
.timeline h3 { font-size: 20px; margin-bottom: 6px; }
.timeline p { color: var(--muted); font-size: 16px; margin-bottom: 0; }
.section-after { margin-top: 44px; }

/* ---------- templates ---------- */

.template-group {
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 40px 0 16px;
}
.template-group:first-of-type { margin-top: 0; }


.templates { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.template {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.template h3 { font-size: 18px; margin-bottom: 8px; }
.template p { font-size: 15px; color: var(--muted); margin-bottom: 0; }

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

.price-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: start;
}
.price-cards .price-card { max-width: none; }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px;
  max-width: 640px;
}
.price-figure {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.price-figure .amount {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.price-figure .per { color: var(--muted); font-size: 17px; }

.price-lines { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.price-lines li { background: var(--white); padding: 13px 2px; display: flex; justify-content: space-between; gap: 20px; font-size: 16px; }
.price-lines .k { color: var(--muted); }
.price-lines .v { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ---------- closing ---------- */

.cta-box { text-align: center; max-width: 60ch; margin-inline: auto; }
.cta-box h2 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 18px; }
.cta-box .hero-actions { justify-content: center; }

.site-footer {
  background: var(--navy);
  color: #a9aabd;
  padding-block: 46px;
  font-size: 15px;
}
.site-footer .wrap { display: flex; gap: 20px 40px; flex-wrap: wrap; align-items: center; }
.site-footer a:not(.btn) { color: #cfc0f2; }
.site-footer .spacer { flex: 1; }
.site-footer img { height: 18px; filter: brightness(0) invert(1); opacity: .85; }

/* ---------- narrow ---------- */

@media (max-width: 900px) {
  :root { --page: min(1120px, 100% - 36px); }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .room-card { transform: none; }
  .hero-photos { aspect-ratio: 4 / 3; }
  .hero-visual { padding-bottom: 0; }
  .hero-cards {
    position: relative;
    left: auto;
    width: min(300px, 86%);
    margin: -64px 0 0 16px;
  }
  .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 34px; }
  .timeline li:not(:last-child)::after {
    content: "\2193";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -30px;
    transform: translateX(-50%);
  }
  .senses { grid-template-columns: 1fr; }
  .contrast { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  section { padding-block: 64px; }
  .hero { padding-block: 64px 60px; }
  .price-card { padding: 30px 26px; }
}

@media (max-width: 620px) {
  .problems { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .site-nav { gap: 18px; }
  .site-nav .nav-hide { display: none; }
}
