/* SEVN Reviews, the offer page (/sevn-reviews/, its thanks page and 404). Built on site.css tokens and
   components; this file only adds the page's own layout. Mobile first: base rules are for a 375px phone, wider
   layouts are added with min-width queries. --accent / --accent-ink are the SEVN Reviews green (set on <body>). */

/* Shorter bands than the studio pages: on a phone the whole offer should be a few thumb-scrolls long. */
.is-rvs .band { padding-block: clamp(56px, 7vw, 120px); }

/* Slim header: the brand and one button, visible at every width (site.css hides .hd__cta on phones). */
.rvs-hd__cta { margin-left: auto; }

/* ---------- hero ---------- */
.is-rvs .rvs-hero { --rvs-hero-pb: clamp(48px, 8vw, 128px); padding-top: calc(var(--hd) + clamp(24px, 7vw, 120px)); padding-bottom: var(--rvs-hero-pb); overflow: hidden; }
.rvs-hero::before { content: ''; position: absolute; right: -24vw; top: -30vw; width: 72vw; height: 72vw; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 18%, transparent), transparent); pointer-events: none; }
.rvs-hero .wrap, .rvs-msg .wrap { position: relative; }
.rvs-kicker { display: flex; align-items: center; gap: 10px; color: var(--on-ink-2); }
.rvs-kicker .dot { --a: var(--accent); }
.rvs-h1 { margin-top: 16px; font-family: var(--serif); font-weight: 300; font-optical-sizing: auto; font-size: clamp(2.35rem, 1.2rem + 5.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.035em; max-width: 20ch; text-wrap: balance; }
.rvs-h1 em { font-style: italic; }
.rvs-sub { margin-top: 18px; max-width: 46ch; font-size: clamp(1.06rem, .95rem + .5vw, 1.3rem); line-height: 1.55; color: var(--on-ink-2); text-wrap: pretty; }
.rvs-sub b { color: var(--on-ink); font-weight: 500; }
.rvs-sub a { color: var(--on-ink); }
.rvs-cta { margin-top: 26px; }
.rvs-cta--row { display: flex; flex-wrap: wrap; gap: 12px; }
.rvs-price-note { margin-top: 14px; max-width: 46ch; font-size: .95rem; line-height: 1.5; color: var(--on-ink-2); }
.rvs-price-note a { color: var(--on-ink); }
@media (max-width: 560px) { .rvs-cta .btn { width: 100%; } }
.rvs-hero .rvs-h1 { margin-top: 0; }

/* The phone: the request a customer gets, as real text. It comes after the price line in the source, so on a phone it
   never pushes the first screen down, and it rises out of the bottom edge of the band (cropped by the band's
   overflow), so only the top of the handset is drawn. Beside the copy from 1100px. No images and no motion. */
.rvs-hero__grid { display: grid; row-gap: 44px; }
@media (min-width: 1100px) {
  .rvs-hero__grid { grid-template-columns: minmax(0, 1fr) 360px; column-gap: clamp(48px, 6vw, 112px); align-items: end; }
  .rvs-hero .rvs-h1 { font-size: clamp(3.5rem, 6vw - .5rem, 5.4rem); } /* keeps the headline on two lines beside the phone */
}
.rvs-phone { margin: 0 0 calc(-1 * var(--rvs-hero-pb)); width: min(100%, 340px); display: grid; gap: 16px; }
@media (min-width: 1100px) { .rvs-phone { width: 100%; } }
.rvs-phone__cap { max-width: 40ch; font-size: .88rem; line-height: 1.5; color: var(--on-ink-2); }
.rvs-phone__body { position: relative; padding: 11px 11px 0; border: 1px solid var(--line-ink-2); border-bottom: 0; border-radius: 46px 46px 0 0; background: var(--ink-4); box-shadow: 0 32px 64px -24px rgba(0, 0, 0, .7); }
.rvs-phone__body::before { content: ''; position: absolute; top: 23px; left: 50%; width: 88px; height: 25px; margin-left: -44px; border-radius: 13px; background: var(--ink); }
.rvs-phone__screen { padding: 56px 16px 32px; border-radius: 36px 36px 0 0; background: var(--surface-paper); color: var(--on-paper); }
.rvs-phone__from { display: grid; justify-items: center; gap: 6px; font-size: .85rem; line-height: 1.3; }
.rvs-phone__from b { font-weight: 600; }
.rvs-phone__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-ink); color: var(--paper); font: 500 1.05rem/1 var(--sans); }
.rvs-phone__contact { fill: currentColor; opacity: .9; } /* the contact silhouette a phone shows for a sender with no photo */
.rvs-phone__when { margin-top: 18px; text-align: center; font-size: .75rem; line-height: 1.4; color: var(--on-paper-2); }
.rvs-phone__sms { margin-top: 8px; max-width: 88%; padding: 10px 14px; border-radius: 18px 18px 18px 4px; background: var(--paper-2); font-size: .95rem; line-height: 1.45; overflow-wrap: anywhere; }
.rvs-phone__link { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- who does what: our list, then the short list the business keeps ---------- */
.rvs-lede { margin-top: 12px; max-width: 46ch; font-size: clamp(1.06rem, .95rem + .5vw, 1.3rem); line-height: 1.55; color: var(--fg-2); }
.rvs-split { display: grid; gap: 32px; margin-top: 32px; align-items: start; }
@media (min-width: 1000px) { .rvs-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .rvs-split__we { padding-top: 22px; } } /* level with the panel's heading */
.rvs-split__h { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; }
.rvs-split__you { padding: 22px 20px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.rvs-duties { display: grid; gap: 20px; margin-top: 18px; }
.rvs-duties > li { border-top: 1px solid var(--line-2); padding-top: 14px; }
@media (min-width: 760px) { .rvs-split__we .rvs-duties { grid-template-columns: 1fr 1fr; gap: 24px 32px; } }
.rvs-duties h4 { font: 600 1.05rem/1.3 var(--sans); letter-spacing: -.005em; }
.rvs-duties p { margin-top: 6px; color: var(--fg-2); max-width: 52ch; }
.rvs-ways { display: grid; gap: 8px; margin-top: 10px; }
.rvs-ways li { position: relative; padding-left: 18px; color: var(--fg-2); }
.rvs-ways li::before { content: ''; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--fg-3); }
.rvs-wont { margin-top: 40px; padding: 18px 20px; max-width: 62ch; border: 1px solid var(--line-2); border-radius: 16px; }
.rvs-wont__h { font: 600 1rem/1.3 var(--sans); letter-spacing: -.005em; }
.rvs-wont ul { display: grid; gap: 8px; margin-top: 12px; }
.rvs-wont li { position: relative; padding-left: 26px; color: var(--fg-2); }
.rvs-wont li::before, .rvs-wont li::after { content: ''; position: absolute; left: 3px; top: .8em; width: 12px; height: 1.5px; border-radius: 1px; background: var(--fg); }
.rvs-wont li::before { transform: rotate(45deg); }
.rvs-wont li::after { transform: rotate(-45deg); }

/* ---------- fictional examples: two reviews and their draft replies ---------- */
.rvs-fiction { margin-top: 16px; max-width: 62ch; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--surface); font-size: .95rem; line-height: 1.5; }
.rvs-eg { display: grid; gap: 16px; margin-top: 24px; align-items: start; }
@media (min-width: 900px) { .rvs-eg { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; } }
.rvs-card { margin: 0; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.rvs-card__h { font: 600 1rem/1.3 var(--sans); letter-spacing: -.005em; }
.rvs-review { margin-top: 12px; }
.rvs-review__who { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rvs-review__text { margin-top: 6px; font-size: .98rem; line-height: 1.5; }
.rvs-review__rating { flex: none; font-size: .8rem; color: var(--fg-2); }
.rvs-reply { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); font-size: .98rem; line-height: 1.5; }
.rvs-reply__label { color: var(--accent-ink); margin-bottom: 6px; }
.rvs-eg__rules { margin-top: 20px; max-width: 70ch; color: var(--fg-2); font-size: .95rem; line-height: 1.55; }
.rvs-eg__demo { margin-top: 20px; display: grid; justify-items: start; }
.rvs-eg__demo p { color: var(--fg-2); font-size: .95rem; }

/* ---------- pricing ---------- */
.rvs-price-lede { margin-top: 12px; max-width: 52ch; font-size: clamp(1.06rem, .95rem + .5vw, 1.3rem); line-height: 1.55; color: var(--on-ink-2); }
.rvs-plans { display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 760px) { .rvs-plans { grid-template-columns: 1fr 1fr; max-width: 920px; } }
.rvs-plan { padding: 22px; border: 1px solid var(--line-2); border-radius: 18px; background: var(--ink-3); }
.rvs-plan--first { border-color: var(--signal); }
.rvs-plan__name { color: var(--on-ink); }
.rvs-plan__name span { color: var(--on-ink-2); }
.rvs-plan__price { margin-top: 14px; color: var(--on-ink-2); }
.rvs-plan__price span { font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 2rem + 3vw, 3.8rem); line-height: 1; letter-spacing: -.035em; color: var(--on-ink); margin-right: 6px; font-variant-numeric: lining-nums; }
.rvs-plan__setup { margin-top: 12px; font-size: 1.05rem; color: var(--on-ink); }
.rvs-plan__total { margin-top: 4px; font-size: .95rem; color: var(--on-ink-2); }
.rvs-terms { display: grid; gap: 8px; margin-top: 22px; max-width: 70ch; color: var(--on-ink-2); }
.rvs-terms li { position: relative; padding-left: 18px; }
.rvs-terms li::before { content: ''; position: absolute; left: 0; top: .78em; width: 8px; height: 1px; background: var(--on-ink-3); }
.rvs-price-small { margin-top: 18px; max-width: 62ch; font-size: .95rem; line-height: 1.5; color: var(--on-ink-2); }

/* ---------- questions ---------- */
.rvs-faq__list { margin-top: 24px; max-width: 68ch; }
.rvs-faq__list h3 { margin-top: 30px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.7rem); line-height: 1.2; letter-spacing: -.02em; }
.rvs-faq__list h3:first-child { margin-top: 0; }
.rvs-faq__list p, .rvs-faq__list ul { margin-top: 8px; color: var(--fg-2); }
.rvs-faq__list ul { padding-left: 1.15em; list-style: disc; }
.rvs-faq__list li + li { margin-top: 6px; }
.rvs-faq__list a { color: var(--fg); }
/* "Who's behind this?" with the owner's photo, once OWNER_PHOTO is set in reviews-sales.mjs. Unused until then. */
.rvs-who { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 12px; }
.rvs-who img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--paper-3); }
.rvs-faq__list .rvs-who p { margin-top: 0; }
@media (min-width: 1000px) { .rvs-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; } .rvs-faq__list { margin-top: 0; } }

/* ---------- book a call ---------- */
.rvs-book { display: grid; gap: 32px; }
@media (min-width: 1000px) { .rvs-book { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; } }
.rvs-book__lede { margin-top: 12px; max-width: 48ch; color: var(--fg-2); }
/* The card is dark inside a paper band: put the step numbers back on chartreuse (paper bands set --signal-text to ink). */
.rvs-book__aside { --signal-text: var(--signal); }
.rvs-form { margin-top: 24px; max-width: 560px; }
/* Field edges at 3:1 or better against the band, and the site's 2px focus ring instead of the studio form's faint one. */
.rvs-form .fld input { border-color: var(--fg-3); }
.rvs-form .fld input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.rvs-hint { margin-top: -2px; font-size: .88rem; color: var(--fg-2); }
.rvs-form__submit { padding-top: 20px; }
.rvs-form__submit .form__status:empty { display: none; }
@media (max-width: 560px) { .rvs-form__submit .btn { width: 100%; } }
.rvs-form__note { margin-top: 12px; max-width: 56ch; font-size: .9rem; line-height: 1.5; color: var(--fg-2); }
.rvs-form__note a { color: var(--fg); }

/* ---------- footer: legal identity ---------- */
.rvs-ft { padding: 56px 0 32px; }
.rvs-ft__grid { display: grid; gap: 24px; padding-bottom: 28px; }
@media (min-width: 900px) { .rvs-ft__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.rvs-ft__line { margin-top: 10px; color: var(--on-ink-2); }
.rvs-ft__id > div { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-ink); }
.rvs-ft__id dt { color: var(--on-ink-3); padding-top: 3px; }
.rvs-ft__id dd { color: var(--on-ink); overflow-wrap: anywhere; }
.rvs-nb { white-space: nowrap; }
.rvs-ft__base { display: grid; gap: 8px; }
.rvs-ft__base p { max-width: 80ch; color: var(--on-ink-2); font-size: .9rem; line-height: 1.5; }
.rvs-ft__base a { color: var(--on-ink); }

/* ---------- thanks and 404 ---------- */
.is-rvs .rvs-msg { padding-top: calc(var(--hd) + clamp(40px, 8vw, 120px)); min-height: 70vh; }
.rvs-msg .rvs-h1 { max-width: 18ch; }
.rvs-msg .notice { max-width: 46ch; }
