/* Shared, coded product demonstration for the existing marketing pages. */
@font-face {
  font-family: Inter;
  src: url("fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.rw-notification-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(4rem, 8vw, 7rem);
  color: #f4efe6;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.rw-notifications { background: #17120f; }
.rw-notification-copy { min-width: 0; }
.rw-notification-copy h2 {
  max-width: 16ch;
  margin: 0;
  color: #f4efe6;
  font-size: clamp(2.1rem, 4.1vw, 3.65rem);
  font-weight: 550;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.rw-notification-copy > p {
  max-width: 51ch;
  margin: 1.3rem 0 0;
  color: #c4b6aa;
  font-size: 1rem;
  line-height: 1.65;
}
.rw-notification-benefits {
  display: grid;
  gap: .8rem;
  margin: 1.5rem 0 0;
  padding-left: 1.1rem;
  color: #dacabc;
  font-size: .94rem;
  line-height: 1.55;
}
.rw-notification-benefits li::marker { color: #ef9a60; }
.rw-notification-copy .rw-notification-free {
  margin-top: 1.7rem;
  padding-top: 1.2rem;
  border-top: 1px solid #544035;
  font-size: .9rem;
}
.rw-notification-free strong { color: #f4efe6; }
.rw-notification-copy > a {
  display: inline-flex;
  gap: .65rem;
  align-items: center;
  min-height: 44px;
  margin-top: 1rem;
  color: #ffc397;
  font-size: .92rem;
  font-weight: 650;
  text-underline-offset: .3em;
}
.rw-notification-copy > a:hover { color: #fff0df; }
.rw-notification-copy > a:focus-visible { outline: 2px solid #ffc397; outline-offset: 5px; border-radius: 4px; }

.rw-notification-preview { min-width: 0; margin: 0; }
.rw-notification-phone {
  position: relative;
  width: min(100%, 360px);
  min-height: 430px;
  margin-inline: auto;
  padding: 17px 10px 65px;
  overflow: hidden;
  border: 7px solid #383029;
  border-radius: 44px;
  background: linear-gradient(155deg, #64432f, #2e211a 65%, #1e1915);
  box-shadow: 0 26px 60px #0005;
}
.rw-notification-island { width: 88px; height: 23px; margin: 0 auto; border-radius: 20px; background: #15120f; }
.rw-notification-clock { margin: 26px 0 30px; color: #f8e5d1; text-align: center; }
.rw-notification-clock span { display: block; font-size: .84rem; font-weight: 500; }
.rw-notification-clock b { display: block; margin-top: 3px; font-size: 4.7rem; font-weight: 450; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.rw-notification {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 14px 12px;
  border-radius: 22px;
  color: #251a13;
  background: #eee2d5;
  box-shadow: 0 9px 25px #140e0933;
}
.rw-notification img { display: block; width: 38px; height: 38px; margin-top: 2px; border-radius: 9px; }
.rw-notification-content { min-width: 0; }
.rw-notification-meta { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; color: #6b4f3b; font-size: .68rem; line-height: 1.3; }
.rw-notification-meta span:first-child { font-weight: 600; }
.rw-notification strong { display: block; color: #251a13; font-size: .88rem; font-weight: 700; line-height: 1.35; }
.rw-notification p { margin: 4px 0 0; color: #39291e; font-size: .81rem; line-height: 1.45; }
.rw-notification-home { position: absolute; bottom: 12px; left: 50%; width: 100px; height: 4px; border-radius: 4px; background: #d6c2af; transform: translateX(-50%); }
.rw-notification-preview figcaption { max-width: 38ch; margin: 1.2rem auto 0; color: #baa99b; font-size: .75rem; line-height: 1.55; text-align: center; }

/* The shared browser/PWA theme sets paragraph colors with !important. Keep
   the warm marketing copy and the light notification surface readable. */
html:is(.browser-mode, .pwa-mode) .rw-notification-copy > p { color: #c4b6aa !important; }
html:is(.browser-mode, .pwa-mode) .rw-notification-benefits li { color: #dacabc !important; }
html:is(.browser-mode, .pwa-mode) .rw-notification p { color: #39291e !important; }

@media (max-width: 760px) {
  .rw-notification-section { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .rw-notification-copy h2 { max-width: 19ch; }
  .rw-notification-phone { min-height: 405px; }
}
@media (max-width: 360px) {
  .rw-notification { grid-template-columns: 30px minmax(0, 1fr); gap: 7px; padding: 12px 10px; }
  .rw-notification img { width: 30px; height: 30px; border-radius: 7px; }
}
