/* 270b: the page for RMTs and massage therapy students (/rmt), opened from the lunch room TV ad's QR code. It looks
   like the ad (cream, lemon, deep green, the chat bubbles) so the scan feels like the next moment of the same story.
   Phone first: the headline, the student's own link, one gold button. Flat buttons, even borders. */
.rmt-main {
  --rmt-green: var(--g-forest, #173a30);
  --rmt-cream: #fff6e6;
  --rmt-lemon: #ffe36e;
  --rmt-ink2: #3b5248;
  --rmt-line: rgba(23, 58, 48, .14);
  background: radial-gradient(1200px 700px at 12% 0%, #fffdf6 0%, var(--rmt-cream) 55%, #fbe9cc 100%);
  color: var(--rmt-green);
}
.rmt-main > section { width: min(100% - 2 * var(--site-gutter, 20px), 1120px); margin-inline: auto; }

/* The hero: headline, the stage (chat + name), the action. */
.rmt-hero { padding: 36px 0 56px; display: grid; gap: 28px; }
.rmt-eyebrow { margin: 0 0 10px; color: #7a6230; font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.rmt-hero h1 { margin: 0; font-family: var(--g-display, "Fraunces", serif); font-weight: 500; font-size: clamp(44px, 9vw, 84px); line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; max-width: 12ch; }
.rmt-stage { position: relative; padding: 20px; border-radius: 20px; background: var(--rmt-lemon); }
.rmt-chat { position: relative; margin: 0; display: grid; gap: 8px; }
.rmt-picture { margin: 0 0 8px; font-family: var(--g-display, "Fraunces", serif); font-weight: 500; font-size: clamp(22px, 4.6vw, 30px); line-height: 1.15; }
.rmt-who { margin: 0; color: #7a6a3a; font-size: 13px; font-weight: 600; }
.rmt-who-you { margin-top: 6px; text-align: right; }
.rmt-bubble { margin: 0; padding: 14px 20px; border-radius: 22px; font-size: clamp(17px, 4.4vw, 22px); font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.rmt-ask { justify-self: start; background: #fff; border-bottom-left-radius: 6px; }
.rmt-reply { justify-self: end; max-width: 100%; background: var(--rmt-green); color: #fff6e6; border-bottom-right-radius: 6px; }
.rmt-host { display: block; font-size: .72em; font-weight: 500; opacity: .85; }
.rmt-reply b { display: block; color: #ffe3a3; font-weight: 600; font-size: 1.15em; overflow-wrap: anywhere; }
.rmt-name { margin-top: 18px; display: grid; gap: 8px; }
.rmt-name label { font-size: 15px; font-weight: 600; }
.rmt-name input { width: 100%; min-height: 56px; padding: 0 18px; border: 1px solid rgba(23, 58, 48, .28); border-radius: 16px; background: #fff; color: var(--rmt-green); font: 500 18px/1.2 var(--g-font-ui, "Be Vietnam Pro", sans-serif); }
.rmt-name input:focus-visible { outline: 2px solid var(--rmt-green); outline-offset: 2px; }
.rmt-hint { margin: 0; color: #5b5232; font-size: 13px; line-height: 1.45; }
.rmt-act { display: grid; gap: 12px; justify-items: start; }
.rmt-cta { min-height: 56px; padding-inline: 28px; font-size: 18px; }
@media (max-width: 899px) { .rmt-hero .rmt-cta { width: 100%; justify-content: center; } .rmt-hero .rmt-act { justify-items: stretch; } .rmt-hero .rmt-save { justify-self: start; } }
.rmt-free { margin: 0; color: var(--rmt-ink2); font-size: 15px; line-height: 1.5; }
.rmt-free b { color: #b8432f; font-weight: 600; }
.rmt-save { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--rmt-green); font: 600 16px/1 var(--g-font-ui, "Be Vietnam Pro", sans-serif); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.rmt-save:focus-visible, .rmt-link:focus-visible { outline: 2px solid var(--rmt-green); outline-offset: 3px; border-radius: 6px; }
.rmt-saved { margin: 0; min-height: 0; color: var(--rmt-ink2); font-size: 14px; }
.rmt-saved:empty { display: none; }
.rmt-copy-field { margin-top: 6px; width: min(100%, 320px); min-height: 40px; padding: 0 10px; border: 1px solid var(--rmt-line); border-radius: 10px; font: inherit; }

/* Bands below the hero. */
.rmt-band { padding: 48px 0; border-top: 1px solid var(--rmt-line); display: grid; gap: 28px; }
.rmt-band h2, .rmt-end h2 { margin: 0 0 12px; font-family: var(--g-display, "Fraunces", serif); font-weight: 500; font-size: clamp(30px, 6vw, 46px); line-height: 1.08; letter-spacing: -.015em; }
.rmt-band-head > p { margin: 0 0 14px; max-width: 46ch; color: var(--rmt-ink2); font-size: 17px; line-height: 1.55; }
.rmt-link { color: var(--rmt-green); font-weight: 600; text-underline-offset: 4px; }
.rmt-qs { border-top: 1px solid var(--rmt-line); }
.rmt-q { border-bottom: 1px solid var(--rmt-line); }
.rmt-q summary { min-height: 56px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.rmt-q summary::-webkit-details-marker { display: none; }
.rmt-q summary::before { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--rmt-green); color: #fff6e6; font-size: 18px; line-height: 1; }
.rmt-q[open] summary::before { content: "\2212"; }
.rmt-a { padding: 0 0 18px 40px; color: var(--rmt-ink2); font-size: 16px; line-height: 1.6; }
.rmt-a p, .rmt-a ul { margin: 0; }
.rmt-a ul { padding-left: 18px; display: grid; gap: 8px; }
.rmt-a b { color: var(--rmt-green); font-weight: 600; }
.rmt-rows { display: grid; }
.rmt-row { padding: 16px 0; border-bottom: 1px solid var(--rmt-line); display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.rmt-row-name { font-size: 18px; font-weight: 600; }
.rmt-row-price { text-align: right; font-size: 18px; font-weight: 600; color: var(--rmt-green); }
.rmt-row-price small { display: block; margin-top: 4px; font-family: var(--g-font-ui, "Be Vietnam Pro", sans-serif); font-size: 13px; color: var(--rmt-ink2); }
.rmt-glo-card { position: relative; padding: 28px 24px 18px; border-radius: 28px; background: var(--rmt-green); color: #fff6e6; }
.rmt-main .rmt-glo-card img { position: absolute; object-fit: contain; right: 18px; top: 18px; width: 64px; height: 64px; }
.rmt-glo-card h3 { margin: 0 0 10px; padding-right: 72px; font-family: var(--g-display, "Fraunces", serif); font-weight: 500; font-size: 28px; line-height: 1.12; color: #ffe3a3; }
.rmt-glo-card p { margin: 0 0 12px; font-size: 17px; line-height: 1.5; }
.rmt-glo-card .rmt-glo-price { font-weight: 600; color: var(--rmt-lemon); }
.rmt-glo-card .rmt-glo-price { margin-bottom: 6px; }
.rmt-glo-card .rmt-glo-fine { font-size: 14px; line-height: 1.45; color: #c9d3cc; }
.rmt-glo-card .rmt-q { border-color: rgba(255, 246, 230, .2); border-bottom: 0; border-top: 1px solid rgba(255, 246, 230, .2); }
.rmt-glo-card .rmt-q summary::before { background: var(--rmt-lemon); color: var(--rmt-green); }
.rmt-glo-card .rmt-a { color: #e8efe9; }
.rmt-tax { margin: 0; color: var(--rmt-ink2); font-size: 14px; }

/* The close. */
.rmt-end { margin-bottom: 56px; padding: 36px 26px; border-radius: 32px; background: var(--rmt-lemon); }
.rmt-end > p { margin: 0 0 18px; color: #4a4320; font-size: 16px; }
.rmt-help { margin: 22px 0 0; color: #4a4320; font-size: 15px; }
.rmt-help a { color: var(--rmt-green); font-weight: 600; }

@media (min-width: 900px) {
  .rmt-hero { padding: 64px 0 80px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy stage" "act stage"; column-gap: 56px; row-gap: 32px; align-items: end; }
  .rmt-hero-copy { grid-area: copy; }
  .rmt-stage { grid-area: stage; align-self: center; padding: 34px; }
  .rmt-hero > .rmt-act { grid-area: act; align-self: start; }
  .rmt-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start; padding: 72px 0; }
  .rmt-paid .rmt-tax { grid-column: 1 / -1; }
  .rmt-end { padding: 48px 56px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: center; }
  .rmt-end h2, .rmt-end > p, .rmt-help { grid-column: 1; }
  .rmt-end .rmt-act { grid-column: 2; grid-row: 1 / span 2; }
}
@media (prefers-reduced-motion: no-preference) {
  .rmt-cta, .rmt-save { transition: transform .15s ease-out; }
  .rmt-cta:active, .rmt-save:active { transform: translateY(1px); }
}

/* Phones: once the first gold button has scrolled away, one stays at the bottom until the closing one shows. */
.rmt-bar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 246, 230, .96); border-top: 1px solid var(--rmt-line); }
.rmt-bar .btn { width: 100%; min-height: 52px; justify-content: center; font-size: 17px; }
@media (min-width: 900px) { .rmt-bar { display: none !important; } }

.rmt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rmt-glo-card > p:not(.rmt-glo-price):not(.rmt-glo-fine) { padding-right: 72px; }
