
/* RugWeather marketing redesign
   Minimal, cinematic, high-contrast. Legal pages intentionally do not use these rules. */

.marketing-page {
  --rw-black: #090909;
  --rw-black-soft: #10100f;
  --rw-panel: #151412;
  --rw-panel-2: #1b1815;
  --rw-cream: #f4eee4;
  --rw-muted: #b5ada1;
  --rw-muted-2: #827a70;
  --rw-line: rgba(244, 238, 228, 0.13);
  --rw-orange: #e47a35;
  --rw-orange-soft: #b96a3b;
  --rw-green: #53604b;

  width: 100%;
  color: var(--rw-cream);
  background: var(--rw-black);
  overflow: clip;
}

body:has(.marketing-page) {
  background: var(--rw-black, #090909);
  color: var(--rw-cream, #f4eee4);
}

html:has(.marketing-page) {
  background: #090909;
}

body:has(.marketing-page) .site-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.05rem clamp(1.25rem, 5vw, 4rem);
  background: linear-gradient(180deg, rgba(5,5,5,.76), rgba(5,5,5,0));
  border: 0;
  backdrop-filter: none;
}

body:has(.marketing-page) .site-navbar-inner {
  max-width: 1180px;
}

body:has(.marketing-page) .site-brand {
  color: #fff;
}

body:has(.marketing-page) .brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: none;
}

body:has(.marketing-page) .site-nav-links {
  gap: .15rem;
}

body:has(.marketing-page) .site-nav-links a,
body:has(.marketing-page) .site-nav-links .nav-link-button {
  color: rgba(255,255,255,.82);
  font-weight: 600;
  padding: .58rem .78rem;
  background: transparent;
}

body:has(.marketing-page) .site-nav-links a:hover,
body:has(.marketing-page) .site-nav-links .nav-link-button:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

body:has(.marketing-page) .site-nav-links .nav-pill {
  background: #f4eee4;
  color: #171310;
  padding-inline: 1.15rem;
}

body:has(.marketing-page) .site-footer {
  background: #090909;
  color: #777168;
  padding-bottom: 2rem;
}

body:has(.marketing-page) .site-footer-inner {
  max-width: 1180px;
  border-top-color: rgba(255,255,255,.10);
}

body:has(.marketing-page) .site-footer a {
  color: #a59d92;
}

body:has(.marketing-page) .site-footer a:hover {
  color: #fff;
}

.rw-hero {
  position: relative;
  min-height: 860px;
  padding: 145px 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse at 72% 45%, rgba(118, 67, 37, .42), transparent 34%),
    radial-gradient(ellipse at 25% 30%, rgba(69, 41, 25, .35), transparent 35%),
    linear-gradient(180deg, #0a0a09 0%, #17100d 62%, #0a0908 100%);
}

.rw-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.2), transparent 35%, rgba(0,0,0,.12)),
    radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.52) 100%);
}

.rw-hero-glow {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .2;
  pointer-events: none;
}

.rw-hero-glow-one {
  background: #b75a2d;
  right: 4%;
  top: 20%;
}

.rw-hero-glow-two {
  background: #4d2c1c;
  left: 8%;
  bottom: 8%;
}

.rw-hero-inner,
.rw-feature-row {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.rw-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.rw-hero-copy {
  width: min(720px, 100%);
  max-width: 720px;
  margin: 0 auto;
}

.rw-eyebrow {
  margin: 0 0 .85rem;
  color: #c8b9a5;
  font-size: .67rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.rw-hero-copy h1 {
  margin: 0;
  color: #f8f2e9;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(3.3rem, 6.2vw, 5.7rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.065em;
}

.rw-hero-copy h1 span {
  color: #9e9286;
}

.rw-hero-lede {
  max-width: 570px;
  margin: 1.5rem 0 0;
  color: #c1b9ae;
  font-size: 1.02rem;
  line-height: 1.65;
}

.rw-hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.rw-btn {
  min-height: 50px;
  padding: 0 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.rw-btn:hover {
  transform: translateY(-1px);
}

.rw-btn-light {
  background: #f4eee4;
  color: #16120f;
}

.rw-btn-light:hover {
  background: #fffaf2;
}

.rw-btn-outline {
  background: transparent;
  color: #f4eee4;
  border-color: rgba(244,238,228,.35);
}

.rw-text-action {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #e5ded5;
  text-decoration: none;
  font-size: .9rem;
}

.rw-text-action:hover,
.rw-inline-link:hover {
  color: #fff;
}

.rw-play {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244,238,228,.4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
}

.rw-hero-product {
  position: relative;
  width: min(1120px, 100%);
  min-height: 520px;
  margin: 3.2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.rw-desktop-device {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
  padding: 10px 10px 15px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: #0a0a09;
  box-shadow: 0 38px 90px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.025);
}

.rw-browser-bar {
  height: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  color: #6e675f;
}

.rw-browser-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4e4944;
}

.rw-browser-address {
  margin-left: 10px;
  color: #756d65;
  font-size: .6rem;
}

.rw-dashboard-preview {
  padding: 1.15rem;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(180,102,54,.28), transparent 34%),
    linear-gradient(145deg, #1a1916, #0e0e0d);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  padding: 0;
}

.rw-dashboard-preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 11px;
}

.rw-preview-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .85rem;
}

.rw-preview-top span {
  display: block;
  color: #d87538;
  font-size: .56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.rw-preview-top strong {
  display: block;
  margin-top: .12rem;
  color: #f2ebe2;
  font-size: 1.15rem;
}

.rw-preview-location {
  color: #c7bfb5;
  font-size: .72rem;
}

.rw-weather-preview {
  display: grid;
  grid-template-columns: auto 1fr repeat(2, auto);
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.045);
}

.rw-weather-icon {
  font-size: 2rem;
  color: #e47a35;
}

.rw-weather-preview strong {
  display: block;
  color: #f5eee4;
  font-size: 1.75rem;
  font-weight: 500;
}

.rw-weather-preview span,
.rw-weather-stat span {
  color: #898077;
  font-size: .64rem;
}

.rw-weather-stat b {
  display: block;
  color: #e9e1d7;
  font-size: .75rem;
}

.rw-recommendations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem;
  margin-top: .7rem;
}

.rw-rec-card {
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .75rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
}

.rw-rec-safe {
  background: rgba(74, 91, 68, .55);
}

.rw-rec-warm {
  background: rgba(109, 58, 31, .58);
}

.rw-rec-avatar,
.rw-showcase-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d0bda8;
  color: #3a2a20;
  font-weight: 800;
}

.rw-rec-avatar-light,
.rw-showcase-avatar-two,
.rw-avatar-two {
  background: #a98770;
}

.rw-rec-copy strong,
.rw-rec-copy span {
  display: block;
}

.rw-rec-copy strong {
  color: #f5eee4;
  font-size: .8rem;
}

.rw-rec-copy span {
  margin-top: .18rem;
  color: #c5bdb3;
  font-size: .66rem;
}

.rw-rec-arrow {
  color: #ddd4ca;
}

.rw-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .45rem;
  margin-top: .7rem;
}

.rw-timeline div {
  padding: .55rem;
  border-radius: 9px;
  background: rgba(255,255,255,.045);
}

.rw-timeline span,
.rw-timeline b,
.rw-timeline strong {
  display: block;
}

.rw-timeline span {
  color: #81786e;
  font-size: .57rem;
}

.rw-timeline b {
  margin: .25rem 0;
  color: #e8b15e;
  font-size: 1rem;
  font-weight: 500;
}

.rw-timeline strong {
  color: #d8d0c6;
  font-size: .68rem;
}

.rw-phone {
  position: absolute;
  z-index: 2;
  width: 176px;
  height: 360px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 31px;
  background: #080808;
  box-shadow: 0 28px 60px rgba(0,0,0,.55);
}

.rw-phone-left {
  left: -8px;
  transform: rotate(-8deg) translateY(35px);
}

.rw-phone-right {
  right: -8px;
  transform: rotate(8deg) translateY(35px);
}

.rw-phone-notch {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 19px;
  border-radius: 999px;
  background: #050505;
}

.rw-phone-screen {
  height: 100%;
  padding: 28px 11px 12px;
  border-radius: 25px;
  background: linear-gradient(180deg, #f3ede3, #ded4c5);
  color: #30271f;
  overflow: hidden;
}

.rw-phone-status {
  display: flex;
  justify-content: space-between;
  color: #51473e;
  font-size: .54rem;
  font-weight: 700;
}

.rw-phone-kicker {
  margin: 1.4rem 0 .15rem;
  color: #c8662e;
  font-size: .5rem;
  font-weight: 900;
  letter-spacing: .12em;
}

.rw-phone-screen h3 {
  margin: 0;
  color: #30271f;
  font-size: 1.18rem;
  line-height: 1.05;
}

.rw-mini-horse {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .55rem;
  align-items: center;
  margin-top: .65rem;
  padding: .55rem;
  border-radius: 11px;
  background: rgba(255,255,255,.75);
}

.rw-mini-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c7b09a;
  color: #4a3527;
  font-size: .7rem;
  font-weight: 800;
}

.rw-mini-horse strong,
.rw-mini-horse span {
  display: block;
}

.rw-mini-horse strong {
  font-size: .67rem;
}

.rw-mini-horse span {
  margin-top: .1rem;
  color: #766b61;
  font-size: .54rem;
}

.rw-mini-button {
  margin-top: .65rem;
  padding: .55rem;
  border-radius: 10px;
  border: 1px solid rgba(70,56,45,.15);
  color: #6d5e52;
  text-align: center;
  font-size: .58rem;
}

.rw-phone-back {
  margin: 1.15rem 0 .8rem;
  color: #6e6258;
  font-size: .58rem;
}

.rw-detail-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #a98770;
  color: #fff;
  font-weight: 800;
}

.rw-phone-detail h3 {
  margin-top: .5rem;
}

.rw-detail-meta {
  margin: .2rem 0 .75rem;
  color: #75695e;
  font-size: .56rem;
}

.rw-detail-result {
  padding: .75rem;
  border-radius: 12px;
  background: #46563f;
  color: #fff;
}

.rw-detail-result span,
.rw-detail-result strong,
.rw-detail-result small {
  display: block;
}

.rw-detail-result span {
  color: #e7b58e;
  font-size: .48rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.rw-detail-result strong {
  margin-top: .35rem;
  font-size: .88rem;
}

.rw-detail-result small {
  margin-top: .25rem;
  color: rgba(255,255,255,.72);
  font-size: .52rem;
}

.rw-detail-weather {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  margin-top: .55rem;
}

.rw-detail-weather div {
  padding: .5rem .35rem;
  border-radius: 9px;
  background: rgba(255,255,255,.68);
}

.rw-detail-weather span,
.rw-detail-weather b {
  display: block;
}

.rw-detail-weather span {
  color: #80756b;
  font-size: .47rem;
}

.rw-detail-weather b {
  margin-top: .2rem;
  font-size: .56rem;
}

.rw-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--rw-line);
  padding-top: 1.5rem;
}

.rw-feature-row > div {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 2rem;
  border-right: 1px solid var(--rw-line);
}

.rw-feature-row > div:first-child { padding-left: 0; }
.rw-feature-row > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.rw-feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228,122,53,.4);
  border-radius: 50%;
  color: #e47a35;
  font-size: 1rem;
}

.rw-feature-row b,
.rw-feature-row small {
  display: block;
}

.rw-feature-row b {
  color: #e8e0d7;
  font-size: .78rem;
  font-weight: 600;
}

.rw-feature-row small {
  margin-top: .18rem;
  color: #7f766d;
  font-size: .64rem;
}

.rw-section {
  position: relative;
  background: var(--rw-black);
  border-top: 1px solid rgba(255,255,255,.07);
}

.rw-section-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.rw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
}

.rw-split h2,
.rw-section-heading h2,
.rw-showcase-grid h2,
.rw-premium h2,
.rw-register h2,
.rw-app-strip h2 {
  margin: 0;
  color: #f2ebe2;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  font-weight: 450;
  line-height: .98;
  letter-spacing: -.055em;
}

.rw-split > div:last-child p,
.rw-showcase-grid > div:first-child > p:last-of-type,
.rw-premium-inner > div:first-child > p:last-of-type,
.rw-register-grid > div:first-child > p:last-of-type,
.rw-app-strip p:last-child {
  margin: 0;
  color: #9d958c;
  font-size: 1rem;
  line-height: 1.7;
}

.rw-how {
  background:
    radial-gradient(circle at 50% 0, rgba(119,70,42,.12), transparent 42%),
    #0b0b0a;
}

.rw-section-heading {
  position: relative;
}

.rw-section-heading .rw-inline-link {
  position: absolute;
  right: 0;
  bottom: .25rem;
}

.rw-inline-link {
  color: #d8cec3;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 650;
}

.rw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4rem;
}

.rw-steps article {
  position: relative;
  min-height: 250px;
  padding: 0 2.5rem;
  border-right: 1px solid var(--rw-line);
}

.rw-steps article:first-child { padding-left: 0; }
.rw-steps article:last-child {
  border-right: 0;
  padding-right: 0;
}

.rw-step-number {
  color: #696159;
  font-size: .75rem;
}

.rw-step-icon {
  width: 48px;
  height: 48px;
  margin: 2rem 0 1.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228,122,53,.45);
  border-radius: 50%;
  color: #e47a35;
  font-size: 1.35rem;
}

.rw-steps h3 {
  margin: 0;
  color: #e9e1d7;
  font-size: 1rem;
  font-weight: 650;
}

.rw-steps p {
  max-width: 260px;
  margin: .55rem 0 0;
  color: #817970;
  font-size: .86rem;
  line-height: 1.55;
}

.rw-feature-showcase {
  background:
    radial-gradient(circle at 80% 50%, rgba(132,76,43,.18), transparent 36%),
    #0a0a09;
}

.rw-showcase-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

.rw-showcase-panel {
  padding: 1.1rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: linear-gradient(145deg, #171512, #0e0e0d);
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}

.rw-showcase-header {
  display: flex;
  justify-content: space-between;
  color: #e9e1d7;
  font-size: .8rem;
  padding: .2rem .25rem .85rem;
}

.rw-showcase-header span {
  color: #df7031;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .6rem;
}

.rw-showcase-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

.rw-showcase-row strong,
.rw-showcase-row span {
  display: block;
}

.rw-showcase-row strong {
  color: #eee7dd;
  font-size: .84rem;
}

.rw-showcase-row span {
  margin-top: .18rem;
  color: #777068;
  font-size: .62rem;
}

.rw-showcase-row em {
  padding: .45rem .6rem;
  border-radius: 999px;
  background: rgba(83,96,75,.45);
  color: #cbd2c4;
  font-size: .6rem;
  font-style: normal;
}

.rw-showcase-row em.rw-showcase-warm {
  background: rgba(122,66,36,.45);
  color: #e5b28e;
}

.rw-showcase-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  margin-top: .65rem;
}

.rw-showcase-timeline span {
  padding: .7rem;
  border-radius: 9px;
  background: rgba(255,255,255,.04);
  color: #756e66;
  font-size: .6rem;
}

.rw-showcase-timeline b {
  display: block;
  margin-top: .25rem;
  color: #ded5ca;
  font-size: .72rem;
}

.rw-premium {
  background:
    radial-gradient(circle at 10% 50%, rgba(176,87,40,.2), transparent 35%),
    #11100f;
}

.rw-premium-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.rw-premium-actions {
  min-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .7rem;
}

.rw-premium-actions strong {
  color: #f4eee4;
  font-size: 2rem;
  font-weight: 500;
}

.rw-premium-actions strong span {
  color: #80776d;
  font-size: .8rem;
}

.rw-premium-actions small {
  color: #716a62;
}

.rw-register {
  background: #0a0a09;
}

.rw-register-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.rw-register-form {
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.rw-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-bottom: .75rem;
}

.rw-register-form label {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  color: #dcd3c9;
  font-size: .72rem;
  font-weight: 650;
}

.rw-register-form input[type="text"],
.rw-register-form input[type="email"],
.rw-register-form input[type="password"] {
  min-height: 48px;
  padding: 0 .85rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  background: rgba(255,255,255,.06) !important;
  color: #f5eee5 !important;
  font: inherit;
  outline: none;
  box-shadow: none;
}

.rw-register-form input::placeholder {
  color: #726b63;
}

.rw-register-form input:focus {
  border-color: rgba(228,122,53,.8);
  box-shadow: 0 0 0 3px rgba(228,122,53,.13);
}

.rw-terms-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: .55rem;
  margin: 1rem 0;
  color: #898077 !important;
  font-size: .68rem !important;
  font-weight: 500 !important;
}

.rw-terms-check input {
  width: auto;
  min-height: auto;
  margin-top: .12rem;
  accent-color: #e47a35;
}

.rw-terms-check a {
  color: #d6c9bc;
}

.rw-form-submit {
  width: 100%;
}

.rw-form-login {
  display: block;
  margin-top: .9rem;
  color: #a79e94;
  text-align: center;
  font-size: .75rem;
  text-decoration: none;
}

.rw-form-login:hover {
  color: #fff;
}

.rw-app-strip {
  background: #11100e;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.rw-app-strip-inner {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.rw-app-strip h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.rw-app-strip .rw-eyebrow {
  margin-bottom: .55rem;
}

.rw-app-strip p:last-child {
  margin-top: .6rem;
}

@media (max-width: 1180px) {
  .rw-hero-inner {
    gap: 0;
  }

  .rw-phone {
    width: 160px;
    height: 330px;
  }

  .rw-desktop-device {
    width: min(610px, 100%);
  }
}

@media (max-width: 980px) {
  body:has(.marketing-page) .site-navbar-inner {
    max-width: 100%;
  }

  .rw-hero {
    min-height: auto;
    padding-top: 120px;
  }

  .rw-hero-inner {
    grid-template-columns: 1fr;
  }

  .rw-hero-copy {
    max-width: 720px;
  }

  .rw-hero-copy h1 {
    font-size: clamp(3.2rem, 10vw, 5rem);
  }

  .rw-hero-product {
    min-height: 500px;
    margin-top: 2rem;
  }

  .rw-desktop-device {
    width: min(700px, 86%);
  }

  .rw-phone {
    width: 145px;
    height: 300px;
  }

  .rw-phone-left { left: 0; }
  .rw-phone-right { right: 0; }

  .rw-feature-row {
    margin-top: 2rem;
  }

  .rw-split,
  .rw-showcase-grid,
  .rw-register-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .rw-premium-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .rw-section-inner {
    padding-block: 5rem;
  }
}

@media (max-width: 680px) {
  body:has(.marketing-page) .site-navbar {
    padding: .75rem 1rem;
  }

  body:has(.marketing-page) .site-navbar-inner {
    flex-direction: row;
    align-items: center;
  }

  body:has(.marketing-page) .site-brand span {
    font-size: .9rem;
  }

  body:has(.marketing-page) .brand-logo {
    width: 34px;
    height: 34px;
  }

  body:has(.marketing-page) .site-nav-links {
    width: auto;
    margin-left: auto;
    overflow: visible;
  }

  body:has(.marketing-page) .site-nav-links a:not(.nav-pill) {
    display: none;
  }

  body:has(.marketing-page) .site-nav-links .nav-pill {
    padding: .5rem .9rem;
    font-size: .75rem;
  }

  .rw-hero {
    padding: 105px 1rem 1.5rem;
  }

  .rw-hero-copy h1 {
    font-size: clamp(2.45rem, 11vw, 3.15rem);
    line-height: .95;
  }

  .rw-hero-lede {
    font-size: .9rem;
  }

  .rw-hero-actions {
    flex-wrap: wrap;
  }

  .rw-hero-product {
    min-height: 390px;
    margin-inline: -.5rem;
  }

  .rw-desktop-device {
    width: 78%;
    padding: 6px 6px 9px;
    border-radius: 14px;
  }

  .rw-browser-bar {
    height: 20px;
  }

  .rw-dashboard-preview {
    padding: 0;
  }

  .rw-preview-top strong {
    font-size: .9rem;
  }

  .rw-weather-preview {
    grid-template-columns: auto 1fr;
  }

  .rw-weather-stat {
    display: none;
  }

  .rw-recommendations {
    grid-template-columns: 1fr;
  }

  .rw-rec-card {
    min-height: 62px;
  }

  .rw-timeline {
    grid-template-columns: repeat(4, 1fr);
  }

  .rw-phone {
    width: 105px;
    height: 225px;
    border-radius: 20px;
    padding: 4px;
  }

  .rw-phone-notch {
    top: 8px;
    width: 44px;
    height: 11px;
  }

  .rw-phone-screen {
    padding: 19px 6px 7px;
    border-radius: 16px;
  }

  .rw-phone-status {
    font-size: .38rem;
  }

  .rw-phone-kicker {
    margin-top: .65rem;
    font-size: .36rem;
  }

  .rw-phone-screen h3 {
    font-size: .72rem;
  }

  .rw-mini-horse {
    gap: .3rem;
    margin-top: .4rem;
    padding: .35rem;
  }

  .rw-mini-avatar {
    width: 20px;
    height: 20px;
    font-size: .42rem;
  }

  .rw-mini-horse strong {
    font-size: .43rem;
  }

  .rw-mini-horse span {
    font-size: .34rem;
  }

  .rw-mini-button {
    padding: .3rem;
    font-size: .34rem;
  }

  .rw-detail-avatar {
    width: 28px;
    height: 28px;
  }

  .rw-detail-meta,
  .rw-detail-result span,
  .rw-detail-result small,
  .rw-detail-weather span {
    font-size: .33rem;
  }

  .rw-detail-result {
    padding: .45rem;
  }

  .rw-detail-result strong {
    font-size: .58rem;
  }

  .rw-detail-weather b {
    font-size: .38rem;
  }

  .rw-phone-left { left: -2px; }
  .rw-phone-right { right: -2px; }

  .rw-feature-row {
    grid-template-columns: 1fr;
    gap: .85rem;
    padding-top: 1rem;
  }

  .rw-feature-row > div,
  .rw-feature-row > div:first-child,
  .rw-feature-row > div:last-child {
    padding: .65rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--rw-line);
  }

  .rw-feature-row > div:last-child {
    border-bottom: 0;
  }

  .rw-section-inner {
    width: min(100% - 2rem, 1180px);
    padding-block: 4rem;
  }

  .rw-split h2,
  .rw-section-heading h2,
  .rw-showcase-grid h2,
  .rw-premium h2,
  .rw-register h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .rw-section-heading .rw-inline-link {
    position: static;
    display: inline-block;
    margin-top: 1rem;
  }

  .rw-steps {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .rw-steps article,
  .rw-steps article:first-child,
  .rw-steps article:last-child {
    min-height: auto;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--rw-line);
  }

  .rw-steps article:last-child {
    border-bottom: 0;
  }

  .rw-step-icon {
    margin: 1rem 0 .9rem;
  }

  .rw-showcase-grid {
    gap: 2.5rem;
  }

  .rw-premium-actions {
    width: 100%;
  }

  .rw-form-row {
    grid-template-columns: 1fr;
  }

  .rw-register-form {
    padding: 1rem;
  }

  .rw-app-strip-inner {
    width: min(100% - 2rem, 1180px);
    padding-block: 3rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rw-btn {
    transition: none;
  }
}

/* Desktop scale pass: keep the minimalist hero compact enough to breathe. */
@media (min-width: 901px) {
  .rw-hero {
    min-height: 740px;
    padding-top: 118px;
    padding-bottom: 1rem;
  }

  .rw-hero-copy {
    width: min(620px, 100%);
    max-width: 620px;
  }

  .rw-hero-copy h1 {
    font-size: clamp(3.2rem, 4.7vw, 4.35rem);
    line-height: .98;
    letter-spacing: -.06em;
  }

  .rw-hero-lede {
    max-width: 540px;
    margin-top: 1.2rem;
    font-size: .96rem;
    line-height: 1.6;
  }

  .rw-hero-actions {
    margin-top: 1.4rem;
    gap: 1rem;
  }

  .rw-btn {
    min-height: 46px;
    padding-inline: 1.15rem;
    font-size: .84rem;
  }

  .rw-text-action {
    font-size: .84rem;
  }

  .rw-play {
    width: 31px;
    height: 31px;
  }

  .rw-hero-product {
    width: min(900px, 100%);
    min-height: 405px;
    margin-top: 1.9rem;
  }

  .rw-desktop-device {
    width: min(570px, 66vw);
    padding: 8px 8px 11px;
    border-radius: 17px;
  }

  .rw-browser-bar {
    height: 25px;
    padding-inline: 8px;
  }

  .rw-browser-dot {
    width: 6px;
    height: 6px;
  }

  .rw-browser-address {
    margin-left: 8px;
    font-size: .54rem;
  }

  .rw-dashboard-preview {
    padding: 0;
    border-radius: 10px;
  }

  .rw-weather-preview {
    gap: .75rem;
    padding: .7rem .8rem;
  }

  .rw-weather-preview strong {
    font-size: 1.45rem;
  }

  .rw-phone {
    width: 150px;
    height: 305px;
    border-radius: 27px;
  }

  .rw-phone-left {
    left: 3%;
    transform: rotate(-8deg) translateY(28px);
  }

  .rw-phone-right {
    right: 3%;
    transform: rotate(8deg) translateY(28px);
  }

  .rw-feature-row {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
  }
}


@media (max-width: 390px) {
  .rw-hero-copy h1 {
    font-size: 2.35rem;
    line-height: .96;
  }

  .rw-hero-lede {
    font-size: .88rem;
    line-height: 1.55;
  }

  .rw-hero-actions {
    gap: .75rem;
  }
}


/* Real product proof gallery */
.rw-proof {
  background:
    radial-gradient(circle at 18% 35%, rgba(111, 64, 36, .14), transparent 34%),
    #090909;
}

.rw-proof-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 3.25rem;
}

.rw-proof-heading h2 {
  margin: 0;
  color: #f8f2e9;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.06em;
}

.rw-proof-heading > p {
  max-width: 510px;
  margin: 0 0 .25rem;
  color: #a9a096;
  font-size: .98rem;
  line-height: 1.7;
}

/* Keep the product evidence visually contained rather than stretching it
   edge-to-edge. The screenshots should feel like curated product panels. */
.rw-proof-gallery {
  display: grid;
  gap: 4.25rem;
  justify-items: center;
}

.rw-proof-main {
  width: min(100%, 980px);
  margin: 0;
}

.rw-proof-frame {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: #050505;
  box-shadow: 0 35px 90px rgba(0,0,0,.35);
}

.rw-proof-main .rw-proof-frame {
  max-width: 980px;
  margin: 0 auto;
}

.rw-proof-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.rw-proof-main figcaption,
.rw-proof-secondary figcaption {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem .15rem 0;
}

.rw-proof-main figcaption strong,
.rw-proof-secondary figcaption strong {
  color: #eee7de;
  font-size: .88rem;
  font-weight: 700;
}

.rw-proof-main figcaption span,
.rw-proof-secondary figcaption span {
  color: #7f766d;
  font-size: .75rem;
  line-height: 1.5;
}

.rw-proof-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem;
  width: min(100%, 680px);
  margin: 0 auto;
}

.rw-proof-secondary figure {
  min-width: 0;
  margin: 0;
}

.rw-proof-phone-frame {
  width: min(100%, 280px);
  margin: 0 auto;
  border-radius: 28px;
}

.rw-proof-phone-frame img {
  width: 100%;
}

@media (max-width: 680px) {
  /* Bring the hero product closer to the CTA on smaller screens. */
  .rw-hero-product {
    min-height: 350px;
    margin-top: .75rem;
  }

  .rw-proof-heading {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
  }

  .rw-proof-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
  }

  .rw-proof-heading > p {
    font-size: .9rem;
  }

  .rw-proof-gallery {
    gap: 3rem;
  }

  .rw-proof-main {
    width: 94%;
  }

  .rw-proof-main .rw-proof-frame {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    border-radius: 17px;
  }

  .rw-proof-secondary {
    width: 94%;
    gap: 1.5rem;
    align-items: start;
  }

  .rw-proof-frame {
    border-radius: 17px;
  }

  .rw-proof-phone-frame {
    width: min(100%, 205px);
    border-radius: 19px;
  }

  .rw-proof-main figcaption,
  .rw-proof-secondary figcaption {
    padding-top: .7rem;
  }

  .rw-proof-main figcaption strong,
  .rw-proof-secondary figcaption strong {
    font-size: .74rem;
  }

  .rw-proof-main figcaption span,
  .rw-proof-secondary figcaption span {
    font-size: .65rem;
  }
}

@media (max-width: 430px) {
  .rw-proof-gallery {
    gap: 2.5rem;
  }

  .rw-proof-secondary {
    width: 94%;
    gap: .9rem;
  }

  .rw-proof-phone-frame {
    width: 100%;
  }
}


/* Homepage product mockup refinement */
@media (min-width: 901px) {
  .rw-desktop-device {
    /* A narrower laptop/tablet frame gives the hero more breathing room. */
    width: min(430px, 48vw);
  }

  .rw-dashboard-preview {
    position: relative;
    aspect-ratio: 1.62 / 1;
  }

  .rw-dashboard-preview-image {
    position: absolute;
    top: 0;
    left: 50%;
    width: 176%;
    max-width: none;
    height: 100%;
    transform: translateX(-50%);
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
  }
}

/* Real screens gallery: two genuine mobile screens in physical phone frames. */
.rw-proof-gallery {
  gap: 0;
}

.rw-proof-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  gap: 4rem;
  width: 100%;
  margin: 0 auto;
}

.rw-proof-secondary figure {
  min-width: 0;
  margin: 0;
}

.rw-proof-phone {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 942 / 2048;
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 38px;
  background: linear-gradient(145deg, #171717, #050505);
  box-shadow:
    0 30px 70px rgba(0,0,0,.48),
    0 0 0 5px rgba(255,255,255,.025);
}

.rw-proof-phone-notch {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 50%;
  width: 30%;
  height: 4.2%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.rw-proof-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 31px;
  background: #080808;
}

.rw-proof-phone-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rw-proof-secondary figcaption {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem .15rem 0;
}

.rw-proof-secondary figcaption strong {
  color: #eee7de;
  font-size: .88rem;
  font-weight: 700;
}

.rw-proof-secondary figcaption span {
  color: #7f766d;
  font-size: .75rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .rw-proof-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
  }

  .rw-proof-phone {
    width: min(100%, 205px);
    padding: 6px;
    border-radius: 27px;
  }

  .rw-proof-phone-screen {
    border-radius: 22px;
  }

  .rw-proof-phone-notch {
    top: 11px;
  }

  .rw-proof-secondary figcaption {
    padding-top: .7rem;
  }

  .rw-proof-secondary figcaption strong {
    font-size: .74rem;
  }

  .rw-proof-secondary figcaption span {
    font-size: .65rem;
  }
}

@media (max-width: 430px) {
  .rw-proof-secondary {
    gap: .8rem;
  }

  .rw-proof-phone {
    padding: 5px;
    border-radius: 23px;
  }

  .rw-proof-phone-screen {
    border-radius: 19px;
  }

  .rw-proof-phone-notch {
    top: 9px;
  }
}


/* Final hero device composition: one proportional group at every viewport size. */
.rw-hero-product {
  --hero-scale: 1;
  position: relative;
  width: 900px;
  max-width: none;
  height: 430px;
  min-height: 0;
  margin: 3.2rem auto 0;
  display: block;
  perspective: 1400px;
  transform: scale(var(--hero-scale));
  transform-origin: center center;
}

.rw-desktop-device {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 340px;
  height: 286px;
  box-sizing: border-box;
  padding: 10px 10px 12px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 20px;
  background: #0a0a09;
  box-shadow: 0 38px 90px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.025);
}

.rw-browser-bar {
  height: 30px;
}

.rw-dashboard-preview {
  width: 100%;
  height: calc(100% - 30px);
  box-sizing: border-box;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}

.rw-dashboard-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 11px;
}

.rw-phone {
  position: absolute;
  z-index: 2;
  width: 176px;
  height: 360px;
}

.rw-phone-left {
  left: 250px;
  transform: rotate(-8deg) translateY(35px);
}

.rw-phone-right {
  right: 250px;
  transform: rotate(8deg) translateY(35px);
}

/* Keep the exact same composition, simply scale the complete group down. */
@media (max-width: 1100px) {
  .rw-hero-product {
    --hero-scale: .88;
  }
}

@media (max-width: 900px) {
  .rw-hero-product {
    --hero-scale: .78;
    margin-top: 2.5rem;
  }
}

@media (max-width: 680px) {
  .rw-hero-product {
    --hero-scale: .66;
    width: 900px;
    height: 360px;
    margin-top: 2.2rem;
  }
}

@media (max-width: 480px) {
  .rw-hero-product {
    --hero-scale: .60;
  }
}

@media (max-width: 390px) {
  .rw-hero-product {
    --hero-scale: .55;
  }
}

/* Hero composition v3: responsive composition without viewport overflow.
   The three devices share one proportional canvas, so the layout scales as a unit. */
.rw-hero-product {
  position: relative;
  width: min(900px, calc(100vw - 24px));
  height: auto;
  aspect-ratio: 900 / 430;
  max-width: 900px;
  min-height: 0;
  margin: 3.2rem auto 0;
  transform: none;
  overflow: visible;
}

.rw-hero-product .rw-desktop-device {
  left: 50%;
  top: 45%;
  width: 54%;
  height: 90%;
  padding: 10px 10px 12px;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  z-index: 3;
  border-radius: 20px;
}

.rw-hero-product .rw-phone {
  width: 19.55%;
  height: 83.72%;
  top: 50%;
  z-index: 2;
}

.rw-hero-product .rw-phone-left {
  left: 27.8%;
  transform: translate(-50%, -50%) rotate(-8deg);
}

.rw-hero-product .rw-phone-right {
  right: 27.8%;
  transform: translate(50%, -50%) rotate(8deg);
}

/* Keep the same composition on smaller screens: only the canvas gets smaller. */
@media (max-width: 900px) {
  .rw-hero-product {
    width: min(900px, calc(100vw - 24px));
    margin-top: 2.5rem;
  }

  .rw-hero-product .rw-desktop-device {
    width: 54%;
    height: 90%;
  }

  .rw-hero-product .rw-phone {
    width: 19.55%;
    height: 83.72%;
  }

  .rw-hero-product .rw-phone-left {
    left: 24.8%;
  }

  .rw-hero-product .rw-phone-right {
    right: 24.8%;
  }
}

@media (max-width: 680px) {
  .rw-hero-product {
    width: calc(100vw - 24px);
    margin-top: 2.2rem;
  }
}

@media (max-width: 480px) {
  .rw-hero-product {
    width: calc(100vw - 20px);
  }
}
