:root {
  --rp-red: #d7000d;
  --rp-red-dark: #ad0009;
  --rp-blue: #38bdf8;
  --rp-blue-deep: #137eae;
  --rp-navy: #07111d;
  --rp-navy-soft: #0e1d2d;
  --rp-ink: #111827;
  --rp-muted: #596270;
  --rp-line: #dce2e8;
  --rp-pale: #f3f6f8;
  --rp-white: #fff;
  --rp-radius-lg: 22px;
  --rp-radius-md: 14px;
  --rp-shadow: 0 18px 50px rgba(7, 17, 29, 0.1);
}

.p-rapsodo {
  color: var(--rp-ink);
  overflow-x: clip;
}

.p-rapsodo main {
  overflow: clip;
}

.rp-shell {
  width: min(calc(100% - 48px), 1120px);
  margin-inline: auto;
}

.rp-shell--narrow {
  max-width: 880px;
}

.rp-section {
  position: relative;
  padding-block: 110px;
}

.rp-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  @media screen and (max-width: 768px) {
   text-align: left;
  }

}

.rp-heading--left {
  max-width: none;
  margin-inline: 0;
  text-align: left;
}

.rp-heading__en,
.rp-eyebrow {
  color: var(--rp-red);
  font-family: var(--en-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.22em;
}

.rp-heading__en::after {
  display: inline-block;
  width: 72px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: currentColor;
  content: "";
}

.rp-heading h2 {
  margin-top: 15px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.rp-heading>p:last-child:not(.rp-heading__en) {
  margin-top: 22px;
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 1.9;
}

.rp-heading--light,
.rp-heading--light h2,
.rp-heading--light>p:last-child:not(.rp-heading__en) {
  color: var(--rp-white);
}

.rp-heading--light .rp-heading__en {
  color: var(--rp-blue);
}

/* Hero */
.rp-hero {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  background: var(--rp-navy);
  color: var(--rp-white);
}

.rp-hero__media,
.rp-hero__overlay {
  position: absolute;
  inset: 0;
}

.rp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.rp-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgb(3 9 16) 0%, rgb(3 9 16 / 13%) 42%, rgba(3, 9, 16, 0.2) 76%, rgba(3, 9, 16, 0.38) 100%), linear-gradient(0deg, rgb(3 9 16 / 21%) 0%, transparent 42%)
}

.rp-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 90px 150px;
}

.rp-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding-inline: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--rp-white);
  background: rgba(7, 17, 29, 0.36);
  backdrop-filter: blur(6px);
}

.rp-hero__title {
  margin-top: 24px;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-shadow: 0 5px 28px rgba(0, 0, 0, 0.35);
}

.rp-hero__title span {
  color: var(--rp-white);
}

.rp-hero__service {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.rp-hero__service::before {
  width: 42px;
  height: 4px;
  background: var(--rp-red);
  content: "";
}

.rp-hero__lead {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.9;
}

.rp-hero__store {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.rp-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.rp-cta-group--center {
  justify-content: center;
}

.rp-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: 290px;
  min-height: 58px;
  padding: 14px 22px 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--rp-white);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rp-button__arrow {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
}

.rp-button__arrow img {
  display: block;
  width: 100%;
  height: 100%;
}

.rp-button--primary {
  background: linear-gradient(100deg, var(--rp-red) 0%, #f3313c 100%);
  box-shadow:
    0 10px 30px rgba(215, 0, 13, 0.27),
    inset 0 0 0 999px rgba(92, 0, 7, 0);
}

.rp-button--secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(7, 17, 29, 0.4);
  backdrop-filter: blur(7px);
}

.rp-sp-cta {
  display: none;
}

@media screen and (max-width: 768px) {
  .rp-sp-cta {
    display: block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    z-index: 1000;
    width: min(calc(100% - 40px), 390px);
    opacity: 0;
    visibility: hidden;
    translate: -50% 0;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  .rp-sp-cta.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .rp-sp-cta .rp-button {
    box-shadow: 0 8px 24px rgba(92, 0, 7, 0.38);
  }
}

@media (any-hover: hover) {
  .rp-button:hover {
    color: var(--rp-white);
  }

  .rp-button--primary:hover {
    box-shadow:
      0 10px 30px rgba(215, 0, 13, 0.27),
      inset 0 0 0 999px rgba(92, 0, 7, 0.28);
  }

  .rp-button--secondary:hover {
    border-color: var(--rp-white);
    background: rgba(7, 17, 29, 0.72);
  }
}

.rp-process {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(4, 12, 20, 0.82);
  backdrop-filter: blur(10px);
}

.rp-process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rp-process__list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 92px;
  color: var(--rp-white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.rp-process__list li:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 10px;
  height: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  border-right: 1px solid rgba(255, 255, 255, 0.65);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.rp-process__list span {
  color: var(--rp-blue);
  font-family: var(--en-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

/* Breadcrumb */
.rp-breadcrumb {
  padding-block: 17px;
}

.rp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #7c8590;
  font-size: 12px;
  line-height: 1.6;
}

.rp-breadcrumb li:not(:last-child)::after {
  margin-left: 8px;
  content: "/";
}

.rp-breadcrumb a {
  display: inline;
  color: inherit;
  text-decoration: underline;
}

/* Problems */
.rp-problems {
  padding-top: 82px;
  background:
    radial-gradient(circle at 7% 13%, rgba(56, 189, 248, 0.08) 0 90px, transparent 91px),
    var(--rp-white);
}

.rp-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  max-width: 960px;
  margin: 48px auto 0;
}

.rp-check-grid li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 14px 20px 14px 58px;
  border: 1px solid var(--rp-line);
  border-radius: 12px;
  background: var(--rp-white);
  box-shadow: 0 8px 22px rgba(7, 17, 29, 0.04);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.rp-check-grid li::before {
  position: absolute;
  left: 20px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  background: var(--rp-navy);
  color: var(--rp-white);
  content: "✓";
  font-size: 13px;
}

.rp-message {
  position: relative;
  max-width: 920px;
  margin: 52px auto 0;
  padding: 30px 38px 30px 160px;
  border-radius: var(--rp-radius-md);
  background: var(--rp-navy);
  color: var(--rp-white);
  box-shadow: var(--rp-shadow);
}

.rp-message::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 126px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  content: "";
}

.rp-message__label {
  position: absolute;
  top: 50%;
  left: 24px;
  width: fit-content;
  color: var(--rp-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.08em;
  text-align: center;
  transform: translateY(-50%);
}

.rp-message>p:last-child {
  font-size: 17px;
  line-height: 1.85;
}

.rp-message strong {
  color: #8ad9fb;
}

/* What is Rapsodo */
.rp-about {
  background: var(--rp-pale);
}

.rp-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(50px, 7vw, 90px);
}

.rp-about__media {
  position: relative;
}

.rp-about__media::before {
  position: absolute;
  top: 28px;
  right: 28px;
  bottom: -22px;
  left: -22px;
  z-index: 0;
  border: 1px solid rgba(19, 126, 174, 0.3);
  border-radius: var(--rp-radius-lg);
  content: "";
}

.rp-about__media figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: var(--rp-radius-lg);
  box-shadow: var(--rp-shadow);
}

.rp-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-about__media-label {
  position: absolute;
  right: -18px;
  bottom: 24px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--rp-red);
  color: var(--rp-white);
  font-family: var(--en-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.12em;
  box-shadow: 0 8px 22px rgba(215, 0, 13, 0.25);
}

.rp-about__text {
  margin-top: 24px;
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 2;
}

.rp-about__text+.rp-about__text {
  margin-top: 12px;
}

.rp-feature-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 32px;
}

.rp-feature-points li {
  min-width: 0;
  padding: 17px 12px;
  border-top: 3px solid var(--rp-blue-deep);
  border-radius: 0 0 10px 10px;
  background: var(--rp-white);
  box-shadow: 0 6px 18px rgba(7, 17, 29, 0.06);
  text-align: center;
}

.rp-feature-points span {
  display: block;
  color: var(--rp-blue-deep);
  font-family: var(--en-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.rp-feature-points strong {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.rp-feature-points small {
  display: block;
  margin-top: 6px;
  color: var(--rp-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Measurement data */
.rp-data {
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--rp-navy);
  background-size: 36px 36px;
}

.rp-data::before {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 740px;
  height: 360px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.08);
  filter: blur(80px);
  content: "";
  transform: translateX(-50%);
}

.rp-data-preview {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 48px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rp-radius-lg);
  background: rgba(14, 29, 45, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.rp-data-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.rp-data-preview figcaption {
  padding: 15px 22px 17px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.7;
}

.rp-data__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 54px;
}

.rp-data-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--rp-radius-lg);
  background: rgba(14, 29, 45, 0.88);
  color: var(--rp-white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.rp-data-card__header {
  padding: 26px 30px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.rp-data-card__header p {
  color: var(--rp-blue);
  font-family: var(--en-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.rp-data-card--hitting .rp-data-card__header p {
  color: #ff6670;
}

.rp-data-card__header h3 {
  margin-top: 8px;
  font-size: 28px;
  line-height: 1.4;
}

.rp-metric-list {
  padding: 8px 30px 24px;
}

.rp-metric-list>div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.rp-metric-list dt {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
}

.rp-metric-list dd {
  color: rgba(255, 255, 255, 0.66);
  font-size: 16px;
  line-height: 1.6;
}

.rp-data__note {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.7;
  text-align: right;
}

/* Reasons */
.rp-reasons {
  background: var(--rp-white);
}

.rp-reasons__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.rp-reason-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 38px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  background: var(--rp-white);
  box-shadow: 0 10px 34px rgba(7, 17, 29, 0.06);
}

.rp-reason-card::after {
  position: absolute;
  right: -32px;
  bottom: -60px;
  color: rgba(7, 17, 29, 0.035);
  content: attr(data-number);
  font-family: var(--en-font);
  font-size: 180px;
  font-weight: 700;
  line-height: 1;
}

.rp-reason-card__number {
  color: var(--rp-red);
  font-family: var(--en-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.rp-reason-card h3 {
  position: relative;
  margin-top: 21px;
  padding-bottom: 18px;
  font-size: 23px;
  line-height: 1.5;
}

.rp-reason-card h3::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--rp-red);
  content: "";
}

.rp-reason-card>p:last-of-type {
  margin-top: 20px;
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 1.9;
}

.rp-reason-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.rp-reason-card li {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--rp-pale);
  color: #414a56;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* Flow */
.rp-flow {
  background: var(--rp-navy-soft);
  color: var(--rp-white);
}

.rp-flow__photo {
  position: relative;
  max-width: 960px;
  margin: 52px auto 0;
  overflow: hidden;
  aspect-ratio: 16 / 7.5;
  border-radius: var(--rp-radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.rp-flow__photo::after {
  position: absolute;
  inset: 0;
  content: "";
}

.rp-flow__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rp-flow__photo figcaption {
  position: absolute;
  right: 30px;
  bottom: 24px;
  left: 30px;
  z-index: 1;
  color: var(--rp-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.rp-step-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.rp-step-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 23px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--rp-radius-md);
  background: rgba(255, 255, 255, 0.045);
}

.rp-step-list__number {
  align-self: start;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--rp-blue);
  font-family: var(--en-font);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

.rp-step-list__number strong {
  display: block;
  margin-top: 5px;
  font-size: 37px;
  line-height: 1;
}

.rp-step-list h3 {
  font-size: 20px;
  line-height: 1.5;
}

.rp-step-list div p {
  margin-top: 11px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.85;
}

/* Recommended */
.rp-recommend {
  background: var(--rp-navy);
  color: var(--rp-white);
}

.rp-recommend__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 80px;
}

.rp-recommend__lead {
  margin-top: 27px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
  line-height: 1.9;
}

.rp-recommend__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rp-recommend__list li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 14px 18px 14px 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.rp-recommend__list li::before {
  position: absolute;
  left: 20px;
  color: var(--rp-blue);
  content: "+";
  font-family: var(--en-font);
  font-size: 25px;
  font-weight: 400;
}

/* Cases */
.rp-cases {
  background: var(--rp-pale);
}

.rp-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.rp-case-card {
  overflow: hidden;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-lg);
  background: var(--rp-white);
  box-shadow: var(--rp-shadow);
}

.rp-case-card header {
  padding: 28px 32px 24px;
  background: var(--rp-navy);
  color: var(--rp-white);
}

.rp-case-card--batter header {
  background: #5c0a10;
}

.rp-case-card header p {
  color: var(--rp-blue);
  font-family: var(--en-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.rp-case-card--batter header p {
  color: #ff9da3;
}

.rp-case-card header h3 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.4;
}

.rp-case-card__section {
  padding: 25px 32px;
  border-bottom: 1px solid var(--rp-line);
}

.rp-case-card__section:last-child {
  border-bottom: 0;
}

.rp-case-card__section h4 {
  color: var(--rp-red);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.rp-case-card__section p {
  margin-top: 8px;
  color: var(--rp-muted);
  font-size: 14px;
  line-height: 1.85;
}

.rp-case-card__section ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 11px;
}

.rp-case-card__section li {
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf6fb;
  color: #1d6380;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.rp-case-card__section--answer {
  background: #fff7f7;
}

.rp-case-card__section--answer h4::before {
  margin-right: 8px;
  content: "→";
}

.rp-nowrap {
  white-space: nowrap;
}

/* Price */
.rp-price {
  background: var(--rp-white);
}

.rp-price__notice {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 780px;
  margin: 42px auto 0;
  padding: 18px 24px;
  border: 1px solid #f0c8ca;
  border-radius: 12px;
  background: #fff6f6;
}

.rp-price__notice strong {
  flex: 0 0 auto;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--rp-red);
  color: var(--rp-white);
  font-size: 12px;
  line-height: 1.4;
}

.rp-price__notice p {
  color: #775255;
  font-size: 13px;
  line-height: 1.7;
}

.rp-price__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  align-items: stretch;
  gap: 18px;
  margin-top: 34px;
}

.rp-price-card {
  position: relative;
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  padding: 30px 24px;
  border: 1px solid var(--rp-line);
  border-radius: var(--rp-radius-md);
  background: var(--rp-white);
  box-shadow: 0 10px 30px rgba(7, 17, 29, 0.06);
  text-align: center;
}

.rp-price-card__badge {
  align-self: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--rp-navy);
  color: var(--rp-white);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
}

.rp-price-card h3 {
  align-self: center;
  font-size: 19px;
  line-height: 1.65;
}

.rp-price-card__amount {
  align-self: center;
  color: var(--rp-red);
  font-family: var(--en-font);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.rp-price-card__amount small {
  margin-inline: 3px;
  font-family: var(--main-font);
  font-size: 12px;
}

.rp-price-card__status {
  align-self: start;
  color: #8a929b;
  font-size: 11px;
  line-height: 1.4;
}

.rp-price-card__text {
  padding-top: 20px;
  border-top: 1px solid var(--rp-line);
  color: var(--rp-muted);
  font-size: 16px;
  line-height: 1.8;
  text-align: left;

  @media screen and (max-width: 768px) {
    text-align: center;
    font-size: 14px;
  }

}

.rp-price__footnote {
  margin-top: 20px;
  color: var(--rp-muted);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;

  @media screen and (max-width: 768px) {
    text-align: left;
  }

}

.rp-price .rp-button {
  min-width: min(100%, 380px);
}

/* FAQ */
.rp-faq {
  background: var(--rp-pale);
}

.rp-faq__list {
  margin-top: 48px;
  border-top: 1px solid #cfd6dc;
}

.rp-faq details {
  border-bottom: 1px solid #cfd6dc;
  background: var(--rp-white);
}

.rp-faq summary {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 14px;
  padding: 23px 62px 23px 24px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  list-style: none;
}

.rp-faq summary::-webkit-details-marker {
  display: none;
}

.rp-faq summary::before,
.rp-faq summary::after {
  position: absolute;
  top: 50%;
  right: 27px;
  width: 16px;
  height: 2px;
  background: var(--rp-ink);
  content: "";
  transition: transform 0.3s ease;
}

.rp-faq summary::after {
  transform: rotate(90deg);
}

.rp-faq details[open] summary::after {
  transform: rotate(0);
}

.rp-faq details.is-closing summary::after {
  transform: rotate(90deg);
}

.rp-faq summary span,
.rp-faq__answer>span {
  color: var(--rp-red);
  font-family: var(--en-font);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.rp-faq__answer {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 0 62px 24px 24px;
  color: var(--rp-muted);
}

.rp-faq__answer>span {
  color: var(--rp-blue-deep);
}

.rp-faq__answer p {
  font-size: 14px;
  line-height: 1.9;
}

.rp-stores {
  margin-top: 50px;
  padding: 36px;
  border-radius: var(--rp-radius-md);
  background: var(--rp-navy);
  color: var(--rp-white);
  text-align: center;
}

.rp-stores__label {
  color: var(--rp-blue);
  font-family: var(--en-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.18em;
}

.rp-stores h3 {
  margin-top: 8px;
  font-size: 25px;
  line-height: 1.4;
}

.rp-stores ul {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.rp-stores li {
  min-width: 230px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.rp-stores>p:last-child {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  line-height: 1.7;
}

/* Closing */
.rp-closing {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  isolation: isolate;
  background: var(--rp-navy);
  color: var(--rp-white);
}

.rp-closing__media,
.rp-closing__overlay {
  position: absolute;
  inset: 0;
}

.rp-closing__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rp-closing__overlay {
  z-index: 1;
  background: rgba(3, 9, 16, 0.75);
}

.rp-closing__inner {
  position: relative;
  z-index: 2;
  padding-block: 90px;
  text-align: center;
}

.rp-closing h2 {
  margin-top: 14px;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.28;
}

.rp-closing__inner>p:not(.rp-heading__en) {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 2;
}

.rp-closing__inner>p+p:not(.rp-heading__en) {
  margin-top: 10px;
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .rp-section {
    padding-block: 90px;
  }

  .rp-hero__overlay {
    background:
      linear-gradient(90deg, rgba(3, 9, 16, 0.9) 0%, rgba(3, 9, 16, 0.65) 58%, rgba(3, 9, 16, 0.26) 100%),
      linear-gradient(0deg, rgba(3, 9, 16, 0.84) 0%, transparent 42%);
  }

  .rp-about__grid {
    gap: 55px;
  }

  .rp-feature-points {
    grid-template-columns: 1fr;
  }

  .rp-feature-points li {
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    text-align: left;
  }

  .rp-feature-points strong,
  .rp-feature-points small {
    margin-top: 0;
  }

  .rp-feature-points small {
    grid-column: 2;
  }

  .rp-price-card__amount {
    white-space: normal;
  }
}

/* Smartphone */
@media screen and (max-width: 768px) {
  .p-rapsodo {
    padding-bottom: 62px;
  }

  .rp-shell {
    width: min(calc(100% - 36px), 560px);
  }

  .rp-section {
    padding-block: 68px;
  }

  .rp-heading h2 {
    margin-top: 11px;
    font-size: 28px;
  }

  .rp-heading__en,
  .rp-eyebrow {
    font-size: 11px;
  }

  .rp-heading__en::after {
    width: 40px;
    margin-left: 10px;
  }

  .rp-heading>p:last-child:not(.rp-heading__en) {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.8;
  }

  .rp-hero {
    min-height: 100svh;
  }

  .rp-hero__media img {
    object-position: 56% center;
  }

  .rp-hero__overlay {
    background:
      linear-gradient(0deg, rgb(3 9 16 / 0%) 0%, rgb(3 9 16 / 27%) 57%, rgb(3 9 16 / 60%) 100%)
  }

  .rp-hero__inner {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-start;
    padding-block: 48px 120px;
  }

  .rp-eyebrow {
    align-self: flex-start;
    min-height: 28px;
    padding-inline: 12px;
    letter-spacing: 0.12em;
  }

  .rp-hero__title {
    margin-top: 18px;
    font-size: 41px;
  }

  .rp-hero__service {
    margin-top: 17px;
    font-size: 18px;
  }

  .rp-hero__service::before {
    width: 28px;
    height: 3px;
  }

  .rp-hero__lead {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.8;
  }

  .rp-cta-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .rp-button {
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 12px 15px 12px 20px;
    font-size: 16px;
  }

  .rp-hero__store {
    margin-top: 10px;
    font-size: 11px;
  }

  .rp-process__list {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .rp-process__list li {
    min-height: 55px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
  }

  .rp-process__list li::after {
    display: none;
  }

  .rp-process__list span {
    font-size: 17px;
  }

  .rp-breadcrumb {
    padding-block: 13px;
  }

  .rp-problems {
    padding-top: 55px;
  }

  .rp-check-grid {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 32px;
  }

  .rp-check-grid li {
    min-height: 58px;
    padding: 11px 15px 11px 49px;
    font-size: 12px;
  }

  .rp-check-grid li::before {
    left: 15px;
    width: 22px;
    height: 22px;
  }

  .rp-message {
    margin-top: 34px;
    padding: 58px 21px 23px;
  }

  .rp-message::before {
    top: 47px;
    right: 21px;
    bottom: auto;
    left: 21px;
    width: auto;
    height: 1px;
  }

  .rp-message__label {
    top: 15px;
    left: 21px;
    width: auto;
    transform: none;
  }

  .rp-message>p:last-child {
    font-size: 14px;
    line-height: 1.8;
  }

  .rp-about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rp-about__media {
    width: calc(100% - 12px);
  }

  .rp-about__media::before {
    top: 16px;
    right: -12px;
    bottom: -14px;
    left: 16px;
  }

  .rp-about__media figure {
    aspect-ratio: 4 / 3;
    border-radius: var(--rp-radius-md);
  }

  .rp-about__media-label {
    right: -13px;
    bottom: 16px;
    padding: 10px 15px;
    font-size: 10px;
  }

  .rp-about__text {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.9;
  }

  .rp-feature-points {
    margin-top: 24px;
  }

  .rp-data-preview {
    margin-top: 32px;
    border-radius: var(--rp-radius-md);
  }

  .rp-data-preview figcaption {
    padding: 12px 15px 14px;
    font-size: 10px;
  }

  .rp-data__grid,
  .rp-reasons__grid,
  .rp-step-list,
  .rp-cases__grid,
  .rp-price__grid {
    grid-template-columns: 1fr;
  }

  .rp-data__grid,
  .rp-reasons__grid,
  .rp-cases__grid {
    margin-top: 34px;
  }

  .rp-data-card__header {
    padding: 22px 20px 18px;
  }

  .rp-data-card__header h3 {
    font-size: 24px;
  }

  .rp-metric-list {
    padding: 6px 20px 18px;
  }

  .rp-metric-list>div {
    grid-template-columns: 90px 1fr;
    gap: 10px;
    padding-block: 12px;
  }

  .rp-metric-list dt,
  .rp-metric-list dd {
    font-size: 12px;
  }

  .rp-data__note {
    font-size: 10px;
    text-align: left;
  }

  .rp-reason-card {
    min-height: 0;
    padding: 27px 18px;
  }

  .rp-reason-card__number {
    font-size: 32px;
  }

  .rp-reason-card h3 {
    margin-top: 15px;
    font-size: 19px;
  }

  .rp-reason-card>p:last-of-type {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.8;
  }

  .rp-flow__photo {
    margin-top: 34px;
    aspect-ratio: 4 / 3;
    border-radius: var(--rp-radius-md);
  }

  .rp-flow__photo figcaption {
    right: 16px;
    bottom: 14px;
    left: 16px;
    font-size: 11px;
  }

  .rp-step-list {
    gap: 11px;
    margin-top: 26px;
  }

  .rp-step-list li {
    grid-template-columns: 67px 1fr;
    gap: 15px;
    padding: 20px 17px;
  }

  .rp-step-list__number {
    padding-right: 12px;
    font-size: 9px;
  }

  .rp-step-list__number strong {
    font-size: 27px;
  }

  .rp-step-list h3 {
    font-size: 16px;
  }

  .rp-step-list div p {
    margin-top: 7px;
    font-size: 11px;
    line-height: 1.75;
  }

  .rp-recommend__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rp-recommend__lead {
    margin-top: 18px;
    font-size: 13px;
  }

  .rp-recommend__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rp-recommend__list li {
    min-height: 58px;
    padding: 11px 14px 11px 45px;
    font-size: 14px;
  }

  .rp-recommend__list li::before {
    left: 17px;
  }

  .rp-case-card header,
  .rp-case-card__section {
    padding: 22px;
  }

  .rp-case-card header h3 {
    font-size: 21px;
  }

  .rp-case-card__section p {
    font-size: 13px;
    line-height: 1.8;
  }

  .rp-price__notice {
    display: block;
    margin-top: 30px;
    padding: 17px;
    text-align: center;
  }

  .rp-price__notice p {
    margin-top: 10px;
    font-size: 12px;
  }

  .rp-price__grid {
    margin-top: 22px;
  }

  .rp-price-card {
    padding: 25px 21px;
  }

  .rp-price-card__amount {
    font-size: 33px;
    white-space: normal;
  }

  .rp-faq__list {
    margin-top: 32px;
  }

  .rp-faq summary {
    grid-template-columns: 28px 1fr;
    gap: 9px;
    padding: 18px 49px 18px 15px;
    font-size: 15px;
  }

  .rp-faq summary::before,
  .rp-faq summary::after {
    right: 19px;
    width: 13px;
  }

  .rp-faq summary span,
  .rp-faq__answer>span {
    font-size: 20px;
  }

  .rp-faq__answer {
    grid-template-columns: 28px 1fr;
    gap: 9px;
    padding: 0 17px 18px 15px;
  }

  .rp-faq__answer p {
    font-size: 14px;
    line-height: 1.8;
  }

  .rp-stores {
    margin-top: 34px;
    padding: 26px 17px;
  }

  .rp-stores h3 {
    font-size: 21px;
  }

  .rp-stores ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 17px;
  }

  .rp-stores li {
    min-width: 0;
    padding: 11px;
    font-size: 12px;
  }

  .rp-closing {
    min-height: 620px;
  }

  .rp-closing__inner {
    padding-block: 65px;
  }

  .rp-closing h2 {
    font-size: 39px;
  }

  .rp-closing__inner>p:not(.rp-heading__en) {
    margin-top: 19px;
    font-size: 13px;
    line-height: 1.85;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {

  .rp-button,
  .rp-faq summary::after {
    transition: none;
  }
}
