.safety-page {
  background:
    radial-gradient(circle at 82% 5%, rgba(86, 120, 255, .12), transparent 32rem),
    radial-gradient(circle at 12% 38%, rgba(49, 203, 226, .055), transparent 30rem),
    linear-gradient(180deg, #07101f 0%, #050c19 52%, #050914 100%);
  color: #f7f9ff;
}

.safety-main {
  overflow: hidden;
}

.safety-shell {
  width: min(var(--rumapa-semantic-max), calc(100% - var(--rumapa-semantic-gutter)));
  margin: 0 auto;
}

.safety-hero {
  position: relative;
  padding: 96px 0 88px;
}

.safety-hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 120, 255, .22), transparent 68%);
  pointer-events: none;
}

.safety-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  gap: 72px;
  align-items: center;
}

.safety-eyebrow,
.safety-kicker {
  margin: 0 0 16px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #9fb1ff;
}

.safety-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.safety-gradient {
  display: block;
  background: linear-gradient(90deg, #a8b8ff, #d9c4ff 55%, #9fe8dc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.safety-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: #c5cee0;
  font-size: 1.12rem;
  line-height: 1.75;
}

.safety-actions,
.safety-next-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.safety-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  color: #f7f9ff;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255,255,255,.05);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.safety-button:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.28);
}

.safety-button-primary {
  color: #07101f;
  background: #f7f9ff;
  border-color: #f7f9ff;
}

.safety-control-card {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.035));
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.safety-card-label {
  display: inline-block;
  margin-bottom: 22px;
  color: #9fb1ff;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .15em;
}

.safety-control-card > strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.safety-card-points {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.safety-card-points span {
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  color: #dce3f2;
  background: rgba(0,0,0,.12);
}

.safety-control-card > p {
  margin: 0;
  color: #aeb9ce;
  line-height: 1.65;
}

.safety-story {
  padding: 78px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.safety-story-grid {
  display: grid;
  grid-template-columns: 100px minmax(0, 760px);
  gap: 48px;
}

.safety-number {
  color: rgba(255,255,255,.28);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.safety-story h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.safety-story p {
  max-width: 760px;
  color: #c5cee0;
  line-height: 1.75;
}

.safety-principle,
.safety-note {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 18px;
  background: rgba(255,255,255,.045);
}

.safety-principle strong,
.safety-note strong {
  display: block;
  color: #f7f9ff;
  font-size: 1.08rem;
}

.safety-principle p,
.safety-note p {
  margin: 7px 0 0;
}

.safety-guidance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.safety-guidance-grid article {
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.safety-guidance-grid strong {
  display: block;
  margin-bottom: 9px;
  color: #f7f9ff;
}

.safety-guidance-grid p {
  margin: 0;
  font-size: .94rem;
}

.safety-inline-link {
  display: inline-flex;
  margin-top: 18px;
  color: #b8c6ff;
  font-weight: 700;
  text-decoration: none;
}

.safety-inline-link:hover {
  text-decoration: underline;
}

.safety-next {
  padding: 88px 0 108px;
}

.safety-next-card {
  padding: clamp(30px, 6vw, 64px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(108,130,255,.14), rgba(150,108,255,.08), rgba(255,255,255,.035));
}

.safety-next-card h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -.045em;
}

.safety-next-card > p {
  max-width: 650px;
  color: #c5cee0;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .safety-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .safety-story-grid {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 28px;
  }

  .safety-guidance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .safety-shell {
    width: min(100% - 28px, 1180px);
  }

  .safety-hero {
    padding: 70px 0 64px;
  }

  .safety-story {
    padding: 58px 0;
  }

  .safety-story-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .safety-number {
    margin-bottom: 2px;
  }

  .safety-control-card {
    padding: 24px;
    border-radius: 22px;
  }

  .safety-actions,
  .safety-next-links {
    align-items: stretch;
    flex-direction: column;
  }

  .safety-button {
    width: 100%;
  }
}

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

/* RUMAPA SECTION DEPTH */
.safety-story {
  position: relative;
  isolation: isolate;
}

.safety-story:nth-of-type(3)::before,
.safety-story:nth-of-type(6)::before,
.safety-story:nth-of-type(9)::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 50%, rgba(86, 120, 255, .055), transparent 34rem),
    radial-gradient(circle at 16% 55%, rgba(49, 203, 226, .025), transparent 30rem);
}

/* RUMAPA Safety Premium Stories 01-04 V1 */


/* Premium foundation */

.safety-main {
  position: relative;
  isolation: isolate;
}

.safety-story {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.022);
}

.safety-story .safety-shell {
  position: relative;
  z-index: 2;
}

@media (min-width: 1101px) {
  .safety-story .safety-shell {
    width: min(1240px, calc(100% - 96px));
    max-width: 1240px;
  }

  .safety-story-grid {
    grid-template-columns: 320px minmax(0, 720px);
    gap: 76px;
    justify-content: center;
    align-items: center;
  }
}

@media (min-width: 1500px) {
  .safety-story .safety-shell {
    width: min(1280px, calc(100% - 120px));
    max-width: 1280px;
  }
}

.safety-number {
  opacity: .62;
  text-shadow:
    0 0 34px rgba(82, 126, 255, .07);
}


/* 01 — More context before you connect */

.safety-story-01::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(49, 203, 226, .085),
      rgba(61, 118, 255, .04) 44%,
      transparent 70%
    );
}

.safety-story-01 .safety-story-grid > :last-child {
  position: relative;
  padding: 36px 38px 92px;
  overflow: hidden;
  border: 1px solid rgba(89, 143, 225, .18);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 90% 15%,
      rgba(49, 203, 226, .065),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      rgba(14, 31, 63, .90),
      rgba(7, 16, 38, .95)
    );
  box-shadow:
    0 24px 64px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.safety-story-01 .safety-story-grid > :last-child::after {
  content: "";
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 30px;
  height: 44px;
  background:
    radial-gradient(
      circle at 8% 50%,
      #39d5d1 0 4px,
      rgba(57,213,209,.15) 5px 12px,
      transparent 13px
    ),
    radial-gradient(
      circle at 38% 50%,
      #468eff 0 4px,
      rgba(70,142,255,.14) 5px 12px,
      transparent 13px
    ),
    radial-gradient(
      circle at 68% 50%,
      #7184ff 0 4px,
      rgba(113,132,255,.13) 5px 12px,
      transparent 13px
    ),
    radial-gradient(
      circle at 92% 50%,
      #8b6bff 0 4px,
      rgba(139,107,255,.13) 5px 12px,
      transparent 13px
    ),
    linear-gradient(
      90deg,
      transparent 8%,
      rgba(74, 158, 229, .19) 10% 91%,
      transparent 93%
    );
}


/* 02 — Trust is a signal */

.safety-story-02::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(92, 105, 255, .09),
      rgba(47, 116, 255, .04) 45%,
      transparent 71%
    );
}

.safety-story-02 .safety-principle {
  position: relative;
  margin-top: 32px;
  padding: 30px 32px 30px 82px;
  overflow: hidden;
  border: 1px solid rgba(91, 137, 232, .20);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 92% 15%,
      rgba(102, 92, 255, .07),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(14, 31, 65, .91),
      rgba(7, 17, 41, .95)
    );
  box-shadow:
    0 24px 62px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.safety-story-02 .safety-principle::before {
  content: "✓";
  position: absolute;
  left: 26px;
  top: 28px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93, 140, 255, .24);
  border-radius: 50%;
  color: #8eb6ff;
  background: rgba(65, 91, 180, .13);
  box-shadow:
    0 0 0 8px rgba(80, 112, 255, .018),
    0 0 28px rgba(80, 112, 255, .065);
  font-weight: 900;
}

.safety-story-02 .safety-principle strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}


/* 03 — Reporting */

.safety-story-03::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(41, 194, 205, .075),
      rgba(40, 114, 255, .038) 44%,
      transparent 70%
    );
}

.safety-story-03 .safety-story-grid > :last-child {
  position: relative;
  padding: 36px 38px;
  overflow: hidden;
  border: 1px solid rgba(82, 141, 226, .18);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(14, 31, 64, .90),
      rgba(7, 17, 40, .95)
    );
  box-shadow:
    0 24px 64px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.safety-story-03 .safety-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  padding: 13px 17px;
  border: 1px solid rgba(83, 153, 237, .20);
  border-radius: 14px;
  background:
    rgba(39, 94, 157, .10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025);
}

.safety-story-03 .safety-inline-link::after {
  content: "→";
  transition: transform .2s ease;
}

.safety-story-03 .safety-inline-link:hover::after {
  transform: translateX(3px);
}


/* 04 — Local transactions and meetings */

.safety-story-04 {
  min-height: 640px;
}

.safety-story-04::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(84, 106, 255, .085),
      rgba(30, 129, 226, .04) 45%,
      transparent 71%
    );
}

.safety-story-04 .safety-guidance-grid {
  margin-top: 34px;
  gap: 14px;
}

.safety-story-04 .safety-guidance-grid article {
  position: relative;
  min-height: 148px;
  padding: 25px 24px 24px;
  overflow: hidden;
  border: 1px solid rgba(89, 137, 224, .17);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(93, 105, 255, .065),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(15, 32, 65, .90),
      rgba(7, 17, 40, .95)
    );
  box-shadow:
    0 18px 48px rgba(0,0,0,.17),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.safety-story-04 .safety-guidance-grid article::before {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 99px;
  background:
    linear-gradient(
      90deg,
      #37d0cd,
      #4b8dff,
      #796cff
    );
  opacity: .78;
}

.safety-story-04 .safety-guidance-grid strong {
  display: block;
  margin-bottom: 9px;
}


/* Responsive */

@media (max-width: 720px) {
  .safety-story {
    min-height: auto;
  }

  .safety-story-04 {
    min-height: auto;
  }

  .safety-story-01 .safety-story-grid > :last-child,
  .safety-story-03 .safety-story-grid > :last-child {
    padding: 26px 22px;
  }

  .safety-story-01 .safety-story-grid > :last-child {
    padding-bottom: 84px;
  }

  .safety-story-01 .safety-story-grid > :last-child::after {
    left: 22px;
    right: 22px;
  }

  .safety-story-02 .safety-principle {
    padding: 26px 22px 26px 72px;
  }

  .safety-story-04 .safety-guidance-grid article {
    min-height: auto;
  }
}

/* RUMAPA Safety Premium Rhythm Width Refinement V1 */

@media (min-width: 1101px) {
  .safety-story {
    min-height: 430px;
  }

  .safety-story-04 {
    min-height: 560px;
  }

  .safety-story-grid {
    grid-template-columns: 285px minmax(0, 790px);
    gap: 64px;
  }

  .safety-story .safety-shell {
    width: min(1280px, calc(100% - 96px));
    max-width: 1280px;
  }
}

@media (min-width: 1500px) {
  .safety-story .safety-shell {
    width: min(1320px, calc(100% - 120px));
    max-width: 1320px;
  }

  .safety-story-grid {
    grid-template-columns: 300px minmax(0, 820px);
    gap: 68px;
  }
}

.safety-story-01 {
  padding-top: 20px;
}

.safety-story + .safety-story {
  margin-top: -10px;
}

/* RUMAPA Safety Premium Panorama Width V1 */

@media (min-width: 1101px) {
  .safety-story .safety-shell {
    width: min(1360px, calc(100% - 72px));
    max-width: 1360px;
  }

  .safety-story-grid {
    grid-template-columns: 340px minmax(0, 860px);
    gap: 72px;
  }
}

@media (min-width: 1500px) {
  .safety-story .safety-shell {
    width: min(1420px, calc(100% - 96px));
    max-width: 1420px;
  }

  .safety-story-grid {
    grid-template-columns: 360px minmax(0, 900px);
    gap: 80px;
  }
}

/* Let premium content breathe wider */

.safety-story-01 .safety-story-grid > :last-child,
.safety-story-03 .safety-story-grid > :last-child {
  width: 100%;
}

.safety-story-02 .safety-principle,
.safety-story-04 .safety-guidance-grid {
  width: 100%;
}

/* RUMAPA Safety Premium Centered Panorama V1 */

/*
  Safety stories use one centered content canvas.
  The story number becomes a secondary decorative element
  instead of consuming a full grid column.
*/

@media (min-width: 1101px) {

  .safety-story .safety-shell {
    width: min(1480px, calc(100% - 72px));
    max-width: 1480px;
  }

  .safety-story-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1120px);
    justify-content: center;
    gap: 0;
  }

  .safety-number {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .safety-story-grid > :last-child {
    width: 100%;
    min-width: 0;
  }

  .safety-story-01 .safety-story-grid > :last-child,
  .safety-story-02 .safety-story-grid > :last-child,
  .safety-story-03 .safety-story-grid > :last-child,
  .safety-story-04 .safety-story-grid > :last-child {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }
}

@media (min-width: 1500px) {

  .safety-story .safety-shell {
    width: min(1540px, calc(100% - 96px));
    max-width: 1540px;
  }

  .safety-story-grid {
    grid-template-columns: minmax(0, 1180px);
  }

  .safety-number {
    left: 28px;
  }
}


/* Let the first premium stories fill the centered canvas */

@media (min-width: 1101px) {

  .safety-story-01 .safety-story-grid > :last-child,
  .safety-story-03 .safety-story-grid > :last-child {
    padding-left: 46px;
    padding-right: 46px;
  }

  .safety-story-02 .safety-principle {
    width: 100%;
  }

  .safety-story-04 .safety-guidance-grid {
    width: 100%;
  }
}

/* RUMAPA Safety Premium Stories 05-08 V1 */


/* 05 — AI assists. You decide. */

.safety-story-05::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(100, 93, 255, .085),
      rgba(43, 121, 255, .04) 44%,
      transparent 71%
    );
}

.safety-story-05 .safety-note {
  position: relative;
  margin-top: 34px;
  padding: 32px 34px 32px 86px;
  overflow: hidden;
  border: 1px solid rgba(96, 134, 232, .19);
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 92% 16%,
      rgba(112, 84, 255, .075),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(15, 31, 65, .91),
      rgba(7, 17, 41, .95)
    );
  box-shadow:
    0 24px 62px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.safety-story-05 .safety-note::before {
  content: "AI";
  position: absolute;
  left: 25px;
  top: 29px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(115, 119, 255, .25);
  border-radius: 14px;
  color: #aab8ff;
  background:
    linear-gradient(
      145deg,
      rgba(62, 79, 178, .18),
      rgba(87, 55, 170, .14)
    );
  box-shadow:
    0 0 0 8px rgba(96, 95, 255, .018),
    0 0 28px rgba(96, 95, 255, .07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
}

.safety-story-05 .safety-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 17px;
}


/* 06 — Translation verification */

.safety-story-06::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(38, 202, 205, .075),
      rgba(43, 116, 255, .038) 45%,
      transparent 71%
    );
}

.safety-story-06 .safety-story-grid > :last-child {
  position: relative;
  padding: 38px 46px;
  overflow: hidden;
  border: 1px solid rgba(81, 143, 226, .18);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 92% 16%,
      rgba(43, 198, 205, .055),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      rgba(14, 31, 64, .90),
      rgba(7, 17, 40, .95)
    );
  box-shadow:
    0 24px 64px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.safety-story-06 .safety-story-grid > :last-child::after {
  content: "⇄";
  position: absolute;
  right: 30px;
  top: 30px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(73, 169, 230, .22);
  border-radius: 15px;
  color: #71d4dc;
  background:
    linear-gradient(
      145deg,
      rgba(27, 95, 133, .20),
      rgba(55, 68, 154, .17)
    );
  box-shadow:
    0 14px 34px rgba(0,0,0,.16);
  font-size: 20px;
  font-weight: 800;
}

.safety-story-06 .safety-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 13px 17px;
  border: 1px solid rgba(74, 157, 227, .20);
  border-radius: 14px;
  background: rgba(36, 111, 151, .10);
}

.safety-story-06 .safety-inline-link::after {
  content: "→";
}


/* 07 — Privacy choices */

.safety-story-07::after {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(75, 113, 255, .08),
      rgba(74, 78, 199, .035) 45%,
      transparent 71%
    );
}

.safety-story-07 .safety-story-grid > :last-child {
  position: relative;
  padding: 38px 46px 38px 108px;
  overflow: hidden;
  border: 1px solid rgba(91, 132, 224, .18);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 91% 15%,
      rgba(81, 99, 240, .065),
      transparent 31%
    ),
    linear-gradient(
      145deg,
      rgba(15, 31, 64, .90),
      rgba(7, 17, 40, .95)
    );
  box-shadow:
    0 24px 64px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.safety-story-07 .safety-story-grid > :last-child::before {
  content: "";
  position: absolute;
  left: 38px;
  top: 40px;
  width: 44px;
  height: 50px;
  border: 2px solid rgba(121, 155, 255, .50);
  border-radius:
    22px 22px 18px 18px;
  background:
    linear-gradient(
      180deg,
      rgba(77, 106, 219, .15),
      rgba(40, 60, 131, .08)
    );
  box-shadow:
    0 0 30px rgba(75, 105, 255, .07);
}

.safety-story-07 .safety-story-grid > :last-child::after {
  content: "";
  position: absolute;
  left: 54px;
  top: 58px;
  width: 12px;
  height: 12px;
  border: 2px solid #9eb7ff;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  opacity: .75;
}

.safety-story-07 .safety-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding: 13px 17px;
  border: 1px solid rgba(91, 138, 229, .20);
  border-radius: 14px;
  background: rgba(54, 74, 151, .11);
}

.safety-story-07 .safety-inline-link::after {
  content: "→";
}


/* 08 — Human control */

.safety-story-08 {
  min-height: 500px;
}

.safety-story-08::after {
  content: "";
  position: absolute;
  width: 580px;
  height: 580px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(42, 201, 205, .075),
      rgba(75, 113, 255, .045) 42%,
      rgba(113, 79, 255, .025) 56%,
      transparent 72%
    );
}

.safety-story-08 .safety-principle {
  position: relative;
  margin-top: 34px;
  padding: 34px 36px 34px 90px;
  overflow: hidden;
  border: 1px solid rgba(81, 144, 228, .20);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 90% 14%,
      rgba(37, 196, 201, .055),
      transparent 30%
    ),
    linear-gradient(
      145deg,
      rgba(14, 31, 64, .92),
      rgba(7, 17, 40, .96)
    );
  box-shadow:
    0 26px 68px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.045);
}

.safety-story-08 .safety-principle::before {
  content: "✓";
  position: absolute;
  left: 28px;
  top: 31px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(50, 211, 200, .24);
  border-radius: 50%;
  color: #68ddd3;
  background: rgba(27, 120, 112, .12);
  box-shadow:
    0 0 0 9px rgba(38, 203, 194, .017),
    0 0 30px rgba(38, 203, 194, .065);
  font-weight: 900;
}

.safety-story-08 .safety-principle strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}


/* Final CTA */

.safety-next {
  position: relative;
  padding-top: 78px;
  padding-bottom: 110px;
}

.safety-next .safety-shell {
  width: min(1180px, calc(100% - 72px));
  max-width: 1180px;
}

.safety-next-card {
  position: relative;
  overflow: hidden;
  padding: 68px 72px;
  border: 1px solid rgba(89, 134, 230, .18);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(105, 82, 255, .09),
      transparent 31%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(35, 199, 199, .055),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      rgba(14, 30, 63, .88),
      rgba(7, 17, 40, .94)
    );
  box-shadow:
    0 34px 90px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.04);
}

.safety-next-card::after {
  content: "";
  position: absolute;
  right: 7%;
  top: 50%;
  width: 220px;
  height: 220px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(101, 119, 255, .085);
  box-shadow:
    0 0 0 36px rgba(91, 105, 255, .017),
    0 0 0 76px rgba(72, 119, 255, .010);
}


/* Center 05–08 in the approved panorama system */

@media (min-width: 1101px) {
  .safety-story-05 .safety-story-grid > :last-child,
  .safety-story-06 .safety-story-grid > :last-child,
  .safety-story-07 .safety-story-grid > :last-child,
  .safety-story-08 .safety-story-grid > :last-child {
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }
}


/* Mobile */

@media (max-width: 720px) {

  .safety-story-05 .safety-note,
  .safety-story-08 .safety-principle {
    padding: 26px 22px 26px 72px;
  }

  .safety-story-06 .safety-story-grid > :last-child {
    padding: 26px 22px;
  }

  .safety-story-06 .safety-story-grid > :last-child::after {
    display: none;
  }

  .safety-story-07 .safety-story-grid > :last-child {
    padding: 26px 22px 26px 74px;
  }

  .safety-story-07 .safety-story-grid > :last-child::before {
    left: 20px;
    top: 28px;
    transform: scale(.82);
    transform-origin: top left;
  }

  .safety-story-07 .safety-story-grid > :last-child::after {
    left: 33px;
    top: 43px;
  }

  .safety-next {
    padding-top: 58px;
    padding-bottom: 82px;
  }

  .safety-next .safety-shell {
    width: min(100% - 32px, 1180px);
  }

  .safety-next-card {
    padding: 42px 26px;
  }

  .safety-next-card::after {
    display: none;
  }
}

/* RUMAPA Safety Premium Hero Refinement V1 */

.safety-hero {
  position: relative;
  padding-top: 78px;
  padding-bottom: 86px;
}

.safety-hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -4%;
  top: 43%;
  transform: translateY(-50%);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(91, 100, 255, .10),
      rgba(53, 118, 255, .05) 43%,
      rgba(42, 194, 205, .025) 57%,
      transparent 72%
    );
  filter: blur(2px);
}

@media (min-width: 1101px) {
  .safety-hero .safety-shell {
    width: min(1480px, calc(100% - 72px));
    max-width: 1480px;
  }

  .safety-hero-grid {
    grid-template-columns:
      minmax(0, 1.08fr)
      minmax(440px, .82fr);
    gap: 92px;
    align-items: center;
  }

  .safety-hero h1 {
    max-width: 720px;
  }

  .safety-lead {
    max-width: 690px;
  }

  .safety-control-card {
    width: 100%;
    max-width: 520px;
    justify-self: end;
  }
}

@media (min-width: 1500px) {
  .safety-hero .safety-shell {
    width: min(1540px, calc(100% - 96px));
    max-width: 1540px;
  }

  .safety-hero-grid {
    grid-template-columns:
      minmax(0, 1.12fr)
      minmax(470px, .78fr);
    gap: 108px;
  }

  .safety-control-card {
    max-width: 550px;
  }
}


/* Premium control panel */

.safety-control-card {
  position: relative;
  overflow: hidden;
  padding: 34px 34px 32px;
  border: 1px solid rgba(111, 132, 212, .23);
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 88% 12%,
      rgba(117, 96, 255, .10),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      rgba(31, 42, 70, .96),
      rgba(16, 28, 52, .96)
    );
  box-shadow:
    0 34px 88px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.055);
}

.safety-control-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(255,255,255,.025),
      transparent 27%,
      transparent 74%,
      rgba(108, 90, 255, .025)
    );
}

.safety-card-points {
  gap: 10px;
}

.safety-card-points span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid rgba(107, 133, 202, .18);
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(15, 28, 53, .68),
      rgba(12, 23, 45, .74)
    );
}

.safety-control-card > p {
  margin-top: 24px;
}


/* CTA balance */

.safety-actions {
  margin-top: 30px;
}

@media (min-width: 1101px) {
  .safety-actions {
    max-width: 620px;
  }
}


/* Hero → Story 01 rhythm */

@media (min-width: 1101px) {
  .safety-hero + .safety-story {
    border-top-color: rgba(255,255,255,.018);
  }

  .safety-story-01 {
    padding-top: 0;
  }
}


/* Mobile stays compact */

@media (max-width: 720px) {
  .safety-hero {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .safety-control-card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .safety-card-points span {
    min-height: 44px;
  }
}

/* RUMAPA Safety Hero Center Balance V1 */

@media (min-width: 1101px) {
  .safety-hero .safety-shell {
    width: min(1280px, calc(100% - 80px));
    max-width: 1280px;
  }

  .safety-hero-grid {
    grid-template-columns:
      minmax(0, 680px)
      minmax(420px, 500px);
    justify-content: center;
    gap: 58px;
  }

  .safety-hero h1 {
    max-width: 650px;
  }

  .safety-lead {
    max-width: 640px;
  }

  .safety-control-card {
    width: 100%;
    max-width: 500px;
    justify-self: stretch;
  }
}

@media (min-width: 1500px) {
  .safety-hero .safety-shell {
    width: min(1340px, calc(100% - 96px));
    max-width: 1340px;
  }

  .safety-hero-grid {
    grid-template-columns:
      minmax(0, 700px)
      minmax(440px, 510px);
    gap: 64px;
  }

  .safety-control-card {
    max-width: 510px;
  }
}
