.reply-page {
  --rp-border: #30343e;
  --rp-quiet: #aeb4bf;
  --rp-panel: #161a22;
  --rp-ease: cubic-bezier(.22, 1, .36, 1);
}
.reply-page [hidden] { display: none !important; }
.reply-page :is(a, button, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.reply-page .nav [aria-current] { color: var(--accent); }
.reply-page main > section { scroll-margin-top: 18px; }
.reply-page h1, .reply-page h2, .reply-page h3, .reply-page h4 { text-wrap: balance; }
.reply-page h1 { font-size: clamp(2.85rem, 4.15vw, 4.1rem); font-weight: 680; letter-spacing: -.045em; line-height: 1.03; margin: 0; }
.reply-page h2 { font-size: clamp(2rem, 3.7vw, 3.6rem); font-weight: 640; letter-spacing: -.045em; line-height: 1.08; margin: 0; }
.reply-page h3, .reply-page h4 { margin: 0; }
.reply-page main p { margin-block: 0; }
.rp-hero {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.17fr);
  column-gap: clamp(32px,5.5vw,88px); row-gap: clamp(40px,7vw,92px);
  align-items: center; padding-block: clamp(62px,9vw,140px) 0;
}
.rp-hero-copy, .rp-film { min-width: 0; }
.reply-page p.rp-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 20px; font: 650 .71rem/1.5 ui-monospace,monospace; letter-spacing: .08em; color: var(--accent); }
.rp-kicker-separator { height: 11px; width: 1px; background: #566260; }
.rp-dot { display: inline-block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.reply-page .rp-lead { max-width: 52ch; margin: 24px 0 30px; color: var(--rp-quiet); font-size: clamp(1rem,1.35vw,1.125rem); line-height: 1.65; }
.rp-cta {
  display: inline-flex; justify-content: space-between; align-items: center; gap: 28px;
  min-height: 52px; padding: 10px 17px; border: 1px solid transparent; border-radius: 6px;
  background: var(--accent); color: #14271e; font-weight: 700; font-size: .93rem;
  transition: transform 170ms var(--rp-ease), background-color 170ms ease;
}
.rp-cta:hover { background: #d5eddf; }
.rp-cta:active { transform: scale(.98); }
.rp-cta:disabled { cursor: wait; opacity: .7; }
.rp-film { margin: 0; position: relative; align-self: center; }
.rp-film video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; background: #10141b; border: 1px solid #3a424c; border-radius: 11px; box-shadow: 0 24px 64px #0006; }
.rp-film figcaption, .rp-scene-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 .69rem/1.45 ui-monospace,monospace; letter-spacing: .055em; color: var(--rp-quiet); }
.rp-film figcaption { margin-top: 14px; }
.rp-film figcaption > span:first-child, .rp-scene-top > span:first-child { display: flex; align-items: center; gap: 8px; }
.rp-transcript { margin-top: 12px; color: var(--rp-quiet); font-size: .84rem; }
.rp-transcript summary { cursor: pointer; width: fit-content; }
.reply-page .rp-transcript p { margin-top: 8px; }
.rp-hero-index { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--rp-border); }
.rp-hero-index a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 54px; padding: 12px 16px; font-size: .88rem; }
.rp-hero-index a + a { border-left: 1px solid var(--rp-border); }
.rp-hero-index a:hover { background: #ffffff07; }
.rp-hero-index span { color: var(--accent); font-family: ui-monospace,monospace; }

.rp-feature { padding-block: clamp(66px,9vw,130px); }
.rp-feature-grid, .rp-voice, .rp-demo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(30px,7vw,100px); align-items: center; }
.rp-sms { margin-top: clamp(42px,6vw,88px); background: #181b24; }
.reply-page .rp-feature :is(h2 + p), .reply-page .rp-demo h2 + p { margin-top: 20px; color: var(--rp-quiet); max-width: 54ch; }
.rp-inline { display: inline-flex; gap: 12px; align-items: center; margin-top: 24px; min-height: 44px; color: var(--accent); font-weight: 650; text-underline-offset: 5px; }
.rp-inline:hover { text-decoration: underline; }
.rp-sms-scene, .rp-voice-scene, .rp-dashboard { border: 1px solid #37434a; border-radius: 12px; background: #11131c; overflow: hidden; }
.rp-sms-scene { box-shadow: 0 20px 48px #0a0d1650; }
.rp-scene-top { min-height: 45px; padding: 11px 18px; border-bottom: 1px solid #ffffff20; }
.rp-conversation { display: grid; gap: 13px; padding: clamp(16px,4vw,28px); }
.rp-missed { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #ffffff20; padding-bottom: 10px; color: #e4adab; font-size: .82rem; }
.rp-missed span { color: var(--rp-quiet); }
.rp-bubble { width: fit-content; max-width: 86%; border-radius: 12px; padding: 10px 14px; font-size: .9rem; line-height: 1.5; }
.rp-out { justify-self: end; background: var(--accent); color: #14271e; border-bottom-right-radius: 2px; }
.rp-in { background: #242c31; border-bottom-left-radius: 2px; }
.rp-saved { color: var(--accent); font-size: .81rem; justify-self: end; }
.rp-voice-scene { background: #121720; }
.rp-wave { display: block; width: 100%; height: 100px; color: var(--accent); padding: 0 18px; }
.rp-call { margin: 0; padding: 0 18px 19px; display: grid; gap: 8px; }
.rp-call > div { padding: 10px 12px; background: #1e2530; border-radius: 5px; }
.rp-call dt { font-size: .75rem; color: var(--accent); font-weight: 700; }
.rp-call dd { margin: 0; font-size: .88rem; }
.rp-entered :is(.rp-out,.rp-in,.rp-saved,.rp-call > div) { animation: rp-enter 430ms var(--rp-ease) both; }
.rp-entered :is(.rp-out,.rp-call > div:nth-child(1)) { animation-delay: 120ms; }
.rp-entered :is(.rp-in,.rp-call > div:nth-child(2)) { animation-delay: 480ms; }
.rp-entered :is(.rp-saved,.rp-call > div:nth-child(3)) { animation-delay: 820ms; }
.rp-entered .rp-wave path { transform-origin: center; animation: rp-signal 360ms ease-in-out 3 alternate; }
@keyframes rp-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rp-signal { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

.rp-dashboard-section { border-block: 1px solid var(--rp-border); background: #11151c; padding-block: clamp(64px,9vw,112px); }
.rp-section-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: end; margin-bottom: 32px; }
.rp-section-heading > p, .rp-mail p { color: var(--rp-quiet); max-width: 50ch; }
.rp-dashboard-mockup { margin: 0; }
.rp-dashboard-mockup img { display: block; width: 100%; height: auto; }
.rp-dashboard-explore { margin-top: 16px; }
.rp-dashboard-explore summary {
  width: fit-content; padding-block: 10px; min-height: 44px;
  cursor: pointer; color: var(--accent); font-weight: 650;
}
.rp-dashboard-explore summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.rp-dashboard-explore[open] .rp-dashboard { margin-top: 12px; }
.rp-dashboard { background: #0e1116; }
.rp-dashboard-inner { padding: clamp(14px,4vw,32px); }
.rp-inbox-title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.rp-inbox-title h3 { font-weight: 700; font-size: 1.25rem; }
.rp-inbox-title > span, .rp-counts span { color: var(--rp-quiet); font-size: .82rem; }
.rp-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-block: 16px; }
.rp-counts > div { display: grid; gap: 3px; background: var(--rp-panel); border: 1px solid var(--rp-border); border-radius: 7px; padding: 9px 12px; }
.rp-counts strong { font: 650 1.45rem/1.15 ui-monospace,monospace; }
.rp-counts > div:last-child strong { color: #ffaba6; }
.rp-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.rp-filters button { min-height: 44px; padding: 6px 12px; border-radius: 5px; border: 1px solid var(--rp-border); background: var(--rp-panel); color: var(--text); font-size: .8rem; }
.rp-filters button[aria-pressed=true] { background: var(--accent); color: #14271e; }
.rp-requests { display: grid; gap: 8px; }
.rp-request { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 9px; padding: 11px 13px; border: 1px solid var(--rp-border); border-radius: 6px; background: var(--rp-panel); }
.rp-request h4 { font-size: .93rem; }
.rp-request p { color: var(--rp-quiet); font-size: .83rem; }
.rp-urgent { border-left: 3px solid #e0827c; }
.rp-request-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.rp-tag { display: inline-block; padding: 3px 7px; border: 1px solid #3c4551; border-radius: 4px; color: #c4d0df; font: 500 .7rem/1.35 ui-monospace,monospace; }
.rp-tag-urgent { border-color: #7c484a; color: #ffc1bc; }
.rp-request time { font: .75rem ui-monospace,monospace; color: var(--rp-quiet); margin-left: 5px; }
.rp-mail { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(18px,5vw,76px); align-items: center; margin-top: 40px; }
.rp-mail h3 { font-weight: 650; font-size: clamp(1.3rem,2vw,1.65rem); }
.reply-page .rp-mail h3 + p { margin-top: 8px; }
.rp-mail-preview { display: grid; gap: 7px; border-left: 2px solid var(--accent); background: #1b2229; padding: 15px 18px; }
.rp-mail-preview .rp-tag { justify-self: start; }
.rp-mail-preview p, .rp-mail-preview small { font-size: .86rem; color: var(--rp-quiet); }
.rp-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.rp-case { margin: 28px 0 0; display: grid; gap: 12px; background: #1b2229; border: 1px solid var(--rp-border); border-radius: 8px; padding: 22px 24px; }
.rp-case-figure { margin: 0; font-size: .92rem; line-height: 1.55; color: var(--rp-quiet); padding-bottom: 14px; border-bottom: 1px solid var(--rp-border); }
.rp-case-figure b { display: block; font-size: 1.7rem; line-height: 1.1; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.rp-case-stars { color: #f4c95d; letter-spacing: 1px; font-size: 1.05rem; }
.rp-case blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: #e6e9ee; }
.rp-case figcaption { font-size: .84rem; color: var(--rp-quiet); }
.rp-case figcaption b { color: #fff; font-weight: 600; }
.rp-case figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rp-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px,7vw,95px); padding-block: clamp(66px,9vw,116px); }
.rp-benefits ul { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--rp-border); }
.rp-benefits li { display: flex; gap: 12px; border-bottom: 1px solid var(--rp-border); padding: 12px 0; }
.rp-benefits li::before { content: "✓"; color: var(--accent); }
.rp-demo { padding-block: clamp(58px,8vw,105px); background: #181b24; border-block: 1px solid var(--rp-border); }
.rp-demo-grid { align-items: start; }
.reply-page #reply-form { min-width: 0; }
.rp-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.reply-page #reply-form label { color: var(--text); margin-bottom: 14px; font-weight: 550; }
.reply-page #reply-form :is(input,select) { color: var(--text); background: #12151f; border: 1px solid #414655; border-radius: 5px; width: 100%; min-height: 45px; font: inherit; font-size: 16px; margin-top: 5px; padding: 9px 10px; }
#rp-contact-hint { display: block; margin: -9px 0 14px; }
#rp-contact-hint, .rp-privacy, .rp-status { font-size: .83rem; color: var(--rp-quiet); }
.rp-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.reply-page .rp-privacy { margin: 0 0 15px; }
.reply-page .rp-status { margin-top: 9px; min-height: 1.5em; }
.rp-status[data-result="error"] { color: #ffc1bc; }
.rp-status[data-result="success"] { color: var(--accent); }

@media (min-width:1201px) and (max-width:1320px) {
  .reply-page .nav nav { gap: 17px; }
}
@media (max-width:900px) {
  .rp-hero { grid-template-columns: 1fr; row-gap: 34px; }
  .rp-hero-copy { max-width: 43rem; }
  .rp-hero-index { grid-column: auto; }
  .rp-hero-index a { padding-inline: 10px; gap: 6px; }
}
@media (max-width:680px) {
  .rp-feature-grid, .rp-voice, .rp-demo-grid, .rp-section-heading, .rp-mail, .rp-benefits { grid-template-columns: 1fr; }
  .rp-voice-copy { grid-row: 1; }
  .rp-hero-index { grid-template-columns: 1fr; }
  .rp-hero-index a + a { border-left: 0; border-top: 1px solid var(--rp-border); }
  .rp-hero-index a { min-height: 45px; gap: 12px; }
  .reply-page h1 { font-size: clamp(2.45rem,9.5vw,3.5rem); }
  .rp-scene-top { padding-inline: 12px; letter-spacing: .025em; }
  .rp-counts > div { padding: 7px; }
  .rp-counts span { font-size: .72rem; line-height: 1.4; }
  .rp-request { display: grid; }
  .rp-form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reply-page .rp-cta { transition: none; transform: none; }
  .reply-page .rp-entered * { animation: none; }
}
