/*
Theme Name: Rescue Tax Relief
Theme URI: https://rescuetaxrelief.com/
Author: Rescue Tax Relief
Description: Direct-response tax resolution theme for Rescue Tax Relief.
Version: 1.1.9
Text Domain: rescue-tax-relief
*/

:root {
  --rtr-navy: #071b3a;
  --rtr-blue: #0b4c9c;
  --rtr-blue-2: #123f7a;
  --rtr-red: #cf1f2f;
  --rtr-red-dark: #991626;
  --rtr-ink: #111827;
  --rtr-muted: #5d6978;
  --rtr-line: #d9e2ee;
  --rtr-bg: #f4f7fb;
  --rtr-white: #ffffff;
  --rtr-radius: 8px;
  --rtr-shadow: 0 18px 45px rgba(7, 27, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--rtr-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--rtr-white);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.rtr-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.rtr-topbar {
  background: var(--rtr-red);
  color: var(--rtr-white) !important;
  font-weight: 700;
}

.rtr-topbar .rtr-shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.rtr-topbar a {
  color: var(--rtr-white) !important;
  text-decoration: none;
}

.rtr-topbar span,
.rtr-hero-copy,
.rtr-form-card {
  min-width: 0;
}

.rtr-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.rtr-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rtr-line);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.rtr-header .rtr-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 180ms ease;
}

.rtr-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.rtr-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--rtr-white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--rtr-blue), var(--rtr-red));
  letter-spacing: 0;
}

.rtr-brand-name {
  display: block;
  color: var(--rtr-navy);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.05;
}

.rtr-brand-sub {
  display: block;
  color: var(--rtr-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rtr-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--rtr-navy);
  font-weight: 800;
}

.rtr-nav a {
  color: var(--rtr-navy) !important;
  text-decoration: none;
}

.rtr-nav a:hover,
.rtr-nav a:focus {
  color: var(--rtr-red) !important;
}

.rtr-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0 18px;
  color: var(--rtr-white) !important;
  font-weight: 900;
  text-decoration: none;
  background: var(--rtr-blue);
}

.rtr-phone:hover,
.rtr-phone:focus {
  background: var(--rtr-red);
}

.rtr-header.is-scrolled {
  background: rgba(17, 18, 78, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(5, 9, 20, 0.18);
}

.rtr-header.is-scrolled .rtr-shell {
  min-height: 78px;
}

.rtr-header.is-scrolled .rtr-brand-mark {
  color: var(--rtr-navy);
  background: var(--rtr-white);
}

.rtr-header.is-scrolled .rtr-brand-name,
.rtr-header.is-scrolled .rtr-nav,
.rtr-header.is-scrolled .rtr-nav a {
  color: var(--rtr-white) !important;
}

.rtr-header.is-scrolled .rtr-brand-sub {
  color: #dbeafe;
}

.rtr-header.is-scrolled .rtr-nav a:hover,
.rtr-header.is-scrolled .rtr-nav a:focus {
  color: #ffdce2 !important;
}

.rtr-header.is-scrolled .rtr-phone {
  color: var(--rtr-white) !important;
  background: var(--rtr-red);
}

.rtr-header.is-scrolled .rtr-phone:hover,
.rtr-header.is-scrolled .rtr-phone:focus {
  color: var(--rtr-navy) !important;
  background: var(--rtr-white);
}

@media (min-width: 981px) {
  body.rtr-header-fixed {
    padding-top: 78px;
  }

  .rtr-header.is-scrolled {
    position: fixed;
    right: 0;
    left: 0;
  }
}

.rtr-hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  color: var(--rtr-white) !important;
  background:
    linear-gradient(90deg, rgba(7, 27, 58, 0.97) 0%, rgba(7, 27, 58, 0.9) 37%, rgba(7, 27, 58, 0.34) 68%, rgba(7, 27, 58, 0.1) 100%),
    var(--rtr-hero-image) center / cover no-repeat;
}

.rtr-hero .rtr-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  gap: 34px;
  align-items: start;
  min-height: auto;
  padding: 14px 0 36px;
}

.rtr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #dbeafe !important;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rtr-kicker::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--rtr-red);
}

.rtr-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--rtr-white) !important;
  font-size: clamp(2.9rem, 6vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.rtr-hero-lede {
  max-width: 650px;
  margin: 22px 0 28px;
  color: #edf4ff !important;
  font-size: 1.25rem;
}

.rtr-hero-actions,
.rtr-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.rtr-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 0 22px;
  color: var(--rtr-white) !important;
  font-weight: 900;
  text-decoration: none;
  background: var(--rtr-red);
  cursor: pointer;
}

.rtr-button:hover,
.rtr-button:focus {
  background: var(--rtr-red-dark);
}

.rtr-button.rtr-button-light {
  border: 1px solid var(--rtr-line);
  color: var(--rtr-navy) !important;
  background: var(--rtr-white);
}

.rtr-button.rtr-button-light:hover,
.rtr-button.rtr-button-light:focus {
  color: var(--rtr-white) !important;
  background: var(--rtr-blue);
}

.rtr-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin-top: 24px;
}

.rtr-trust-tile {
  border-left: 4px solid var(--rtr-red);
  padding: 12px 16px;
  color: var(--rtr-white) !important;
  background: rgba(255, 255, 255, 0.1);
}

.rtr-trust-tile strong {
  display: block;
  color: var(--rtr-white) !important;
  font-size: 1.2rem;
}

.rtr-form-card {
  border-radius: var(--rtr-radius);
  padding: 26px;
  color: var(--rtr-ink);
  background: var(--rtr-white);
  box-shadow: var(--rtr-shadow);
}

.rtr-iphone-frame {
  position: relative;
  width: min(100%, 560px);
  justify-self: end;
  border: 2px solid rgba(255, 255, 255, 0.48);
  border-radius: 42px;
  padding: 10px;
  color: var(--rtr-ink);
  background: linear-gradient(145deg, #050b18 0%, #18243a 54%, #050914 100%);
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.rtr-iphone-frame::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 2;
  width: 106px;
  height: 24px;
  border-radius: 999px;
  background: #050914;
  transform: translateX(-50%);
}

.rtr-iphone-frame::after {
  content: "";
  position: absolute;
  bottom: 13px;
  left: 50%;
  z-index: 2;
  width: 110px;
  height: 5px;
  border-radius: 999px;
  background: rgba(5, 9, 20, 0.35);
  transform: translateX(-50%);
}

.rtr-iphone-screen {
  min-height: auto;
  border-radius: 31px;
  padding: 48px 22px 14px;
  color: var(--rtr-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 251, 0.98)),
    var(--rtr-white);
}

.rtr-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.rtr-form-card h2,
.rtr-iphone-screen h2 {
  margin: 0;
  color: var(--rtr-navy);
  font-size: 1.55rem;
  line-height: 1.12;
}

.rtr-iphone-screen h2 {
  font-size: 1.62rem;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.rtr-iphone-screen h2 span {
  position: relative;
  display: inline-block;
}

.rtr-iphone-screen h2 span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: -5px;
  height: 4px;
  border-radius: 999px;
  background: var(--rtr-red);
}

.rtr-available {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  margin-top: 7px;
  padding: 6px 10px;
  color: #147444;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  background: #eaf8ee;
}

.rtr-available::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #39bf62;
}

.rtr-form-card p,
.rtr-iphone-screen p {
  margin: 0 0 12px;
  color: var(--rtr-muted);
}

.rtr-iphone-screen p {
  font-size: 0.92rem;
  line-height: 1.4;
}

.rtr-form {
  display: grid;
  gap: 7px;
}

.rtr-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.rtr-field {
  display: block;
}

.rtr-field-full {
  grid-column: 1 / -1;
}

.rtr-field label {
  color: var(--rtr-navy);
  font-size: 0.9rem;
  font-weight: 900;
}

.rtr-field input,
.rtr-field select,
.rtr-field textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfd9e6;
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--rtr-ink);
  font: inherit;
  background: var(--rtr-white);
}

.rtr-field input::placeholder,
.rtr-field textarea::placeholder {
  color: #66758a;
  opacity: 1;
}

.rtr-field textarea {
  min-height: 56px;
  resize: vertical;
}

.rtr-field input:focus,
.rtr-field select:focus,
.rtr-field textarea:focus {
  outline: 3px solid rgba(11, 76, 156, 0.22);
  border-color: var(--rtr-blue);
}

.rtr-consent {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 7px;
  color: var(--rtr-muted);
  font-size: 0.55rem;
  line-height: 1.2;
}

.rtr-terms-line {
  margin: -2px 0 0;
  color: var(--rtr-muted);
  font-size: 0.62rem;
  line-height: 1.25;
}

.rtr-iphone-screen .rtr-button {
  width: 100%;
  min-height: 42px;
  border-radius: 999px;
  margin-top: 2px;
  padding: 0 16px;
  background: var(--rtr-red);
}

.rtr-consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.rtr-form-status {
  min-height: 0;
  margin: 0;
  color: var(--rtr-blue);
  font-size: 0.84rem;
  font-weight: 800;
}

.rtr-form-status:empty {
  display: none;
}

.rtr-featured-on {
  grid-column: 1 / -1;
  padding: 2px 0 8px;
  color: var(--rtr-white);
}

.rtr-featured-on p {
  margin: 0 0 22px;
  color: #edf4ff;
  font-size: 1.16rem;
}

.rtr-media-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 26px;
  align-items: center;
}

.rtr-media-logo {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rtr-white);
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.94;
  text-align: center;
  white-space: nowrap;
}

.rtr-media-nbc::before {
  content: "";
  width: 28px;
  height: 24px;
  margin-right: 6px;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 35%, 100% 16%, 74% 50%, 100% 82%, 58% 62%, 50% 100%, 42% 62%, 0 82%, 26% 50%, 0 16%, 38% 35%);
}

.rtr-media-cnn,
.rtr-media-fox {
  font-family: Arial Black, Arial, Helvetica, sans-serif;
}

.rtr-media-abc {
  gap: 4px;
  font-family: Georgia, Times New Roman, serif;
  font-weight: 800;
}

.rtr-media-abc::before {
  content: "abc";
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--rtr-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  background: var(--rtr-white);
}

.rtr-media-abc {
  font-size: 1.55rem;
}

.rtr-media-abc > span {
  font-size: 0.86em;
  letter-spacing: 0;
}

.rtr-media-bloomberg {
  font-size: 1.65rem;
}

.rtr-media-forbes {
  font-family: Georgia, Times New Roman, serif;
  font-weight: 800;
}

.rtr-video-section {
  padding: 76px 0 46px;
  background: var(--rtr-white);
}

.rtr-video-frame {
  width: min(100%, 1040px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--rtr-radius);
  margin: 0 auto;
  background: var(--rtr-navy);
  box-shadow: var(--rtr-shadow);
}

.rtr-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.rtr-section {
  padding: 74px 0;
}

.rtr-section .rtr-kicker {
  color: var(--rtr-blue);
}

.rtr-section.rtr-navy .rtr-kicker {
  color: #dbeafe;
}

.rtr-section.rtr-soft {
  background: var(--rtr-bg);
}

.rtr-section.rtr-navy {
  color: var(--rtr-white);
  background: var(--rtr-navy);
}

.rtr-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.52fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.rtr-section-head h2,
.rtr-split-copy h2,
.rtr-final h2 {
  margin: 0;
  color: var(--rtr-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.rtr-navy .rtr-section-head h2,
.rtr-navy .rtr-split-copy h2,
.rtr-navy .rtr-final h2 {
  color: var(--rtr-white);
}

.rtr-section-head p,
.rtr-split-copy p,
.rtr-final p {
  margin: 0;
  color: var(--rtr-muted);
  font-size: 1.08rem;
}

.rtr-navy .rtr-section-head p,
.rtr-navy .rtr-split-copy p,
.rtr-navy .rtr-final p {
  color: #dbeafe;
}

.rtr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rtr-card {
  border: 1px solid var(--rtr-line);
  border-radius: var(--rtr-radius);
  padding: 26px;
  background: var(--rtr-white);
}

.rtr-card h3 {
  margin: 0 0 10px;
  color: var(--rtr-navy);
  font-size: 1.22rem;
}

.rtr-card p {
  margin: 0;
  color: var(--rtr-muted);
}

.rtr-card .rtr-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  margin-bottom: 16px;
  color: var(--rtr-white);
  font-weight: 900;
  background: var(--rtr-blue);
}

.rtr-card:nth-child(even) .rtr-icon {
  background: var(--rtr-red);
}

.rtr-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--rtr-radius);
  background: rgba(255, 255, 255, 0.22);
}

.rtr-proof-item {
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.08);
}

.rtr-proof-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rtr-white);
  font-size: 1.7rem;
  line-height: 1;
}

.rtr-proof-item span {
  color: #dbeafe;
}

.rtr-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 46px;
  align-items: center;
}

.rtr-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.rtr-list li {
  position: relative;
  padding-left: 34px;
  color: var(--rtr-muted);
}

.rtr-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rtr-red);
  box-shadow: inset 0 0 0 5px var(--rtr-white);
}

.rtr-process {
  display: grid;
  gap: 16px;
  counter-reset: process;
}

.rtr-step {
  position: relative;
  border: 1px solid var(--rtr-line);
  border-radius: var(--rtr-radius);
  padding: 22px 22px 22px 78px;
  background: var(--rtr-white);
}

.rtr-step::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--rtr-white);
  font-weight: 900;
  background: var(--rtr-blue);
}

.rtr-step h3 {
  margin: 0 0 6px;
  color: var(--rtr-navy);
}

.rtr-step p {
  margin: 0;
  color: var(--rtr-muted);
}

.rtr-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rtr-quote {
  border-radius: var(--rtr-radius);
  padding: 26px;
  color: var(--rtr-white);
  background: rgba(255, 255, 255, 0.08);
}

.rtr-quote p {
  margin: 0 0 18px;
  color: #eef4ff;
}

.rtr-quote strong {
  display: block;
}

.rtr-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.rtr-footer {
  padding: 42px 0;
  color: #cbd5e1;
  background: #06152e;
}

.rtr-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.rtr-footer h3,
.rtr-footer strong {
  color: var(--rtr-white);
}

.rtr-footer a {
  color: #e9f1ff;
  text-decoration: none;
}

.rtr-footer a:hover,
.rtr-footer a:focus {
  color: var(--rtr-white);
  text-decoration: underline;
}

.rtr-footer ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.rtr-legal {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
  color: #9fb0c9;
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .rtr-header .rtr-shell,
  .rtr-topbar .rtr-shell {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .rtr-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .rtr-hero,
  .rtr-hero .rtr-shell {
    min-height: auto;
  }

  .rtr-hero .rtr-shell,
  .rtr-section-head,
  .rtr-split,
  .rtr-final {
    grid-template-columns: 1fr;
  }

  .rtr-iphone-frame {
    justify-self: start;
  }

  .rtr-card-grid,
  .rtr-proof,
  .rtr-quote-grid,
  .rtr-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .rtr-media-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rtr-shell {
    width: calc(100vw - 26px);
    max-width: calc(100vw - 26px);
  }

  .rtr-topbar {
    font-size: 0.92rem;
    line-height: 1.35;
  }

  .rtr-topbar .rtr-shell {
    gap: 8px;
  }

  .rtr-brand,
  .rtr-phone {
    width: 100%;
  }

  .rtr-nav {
    display: none;
  }

  .rtr-hero {
    background:
      linear-gradient(180deg, rgba(7, 27, 58, 0.98) 0%, rgba(7, 27, 58, 0.82) 62%, rgba(7, 27, 58, 0.72) 100%),
      var(--rtr-hero-image) center / cover no-repeat;
  }

  .rtr-hero .rtr-shell {
    padding: 42px 0;
  }

  .rtr-header.is-scrolled .rtr-shell {
    min-height: auto;
  }

  .rtr-hero,
  .rtr-topbar,
  .rtr-header {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .rtr-topbar span,
  .rtr-hero-copy,
  .rtr-hero-lede {
    width: 100%;
    max-width: calc(100vw - 26px);
  }

  .rtr-hero h1 {
    max-width: 100%;
    font-size: 2.3rem;
    line-height: 1.04;
  }

  .rtr-hero-lede {
    width: 31ch;
    max-width: 100%;
    font-size: 1.05rem;
  }

  .rtr-hero-actions,
  .rtr-section-actions {
    align-items: stretch;
    width: 100%;
  }

  .rtr-hero-actions .rtr-button,
  .rtr-section-actions .rtr-button,
  .rtr-form .rtr-button {
    width: 100%;
  }

  .rtr-trust-row,
  .rtr-card-grid,
  .rtr-proof,
  .rtr-quote-grid,
  .rtr-footer-grid {
    grid-template-columns: 1fr;
  }

  .rtr-featured-on {
    padding-top: 0;
    text-align: center;
  }

  .rtr-featured-on p {
    margin-bottom: 16px;
  }

  .rtr-media-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rtr-form-fields {
    grid-template-columns: 1fr;
  }

  .rtr-video-section {
    padding: 42px 0 32px;
  }

  .rtr-form-card {
    padding: 20px;
  }

  .rtr-iphone-frame {
    width: min(100%, 360px);
    margin-inline: auto;
    border-radius: 34px;
    padding: 10px;
  }

  .rtr-iphone-frame::before {
    top: 18px;
    width: 92px;
    height: 22px;
  }

  .rtr-iphone-frame::after {
    bottom: 17px;
  }

  .rtr-iphone-screen {
    min-height: auto;
    border-radius: 26px;
    padding: 54px 18px 32px;
  }

  .rtr-form-head {
    display: block;
  }

  .rtr-available {
    margin: 8px 0 0;
  }

  .rtr-iphone-screen h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 420px) {
  .rtr-iphone-frame {
    width: min(100%, 350px);
    padding: 8px;
  }

  .rtr-iphone-screen {
    padding: 54px 15px 32px;
  }

  .rtr-iphone-screen h2 {
    font-size: 1.38rem;
  }

  .rtr-iphone-screen p {
    font-size: 0.94rem;
  }

  .rtr-field input,
  .rtr-field select,
  .rtr-field textarea {
    padding-inline: 12px;
  }

}
