/* =========================================================
   SAFE
   Main stylesheet
   ========================================================= */

/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
  --safe-red: #d7193f;
  --safe-red-bright: #ee244b;
  --safe-red-dark: #b80f31;

  --navy-950: #060b11;
  --navy-900: #09111a;
  --navy-850: #0c1621;
  --navy-800: #101d29;
  --navy-700: #182735;

  --white: #ffffff;
  --off-white: #f7f6f3;
  --warm-grey: #ece9e4;

  --text-dark: #17212b;
  --text-medium: #52606c;
  --text-light: #b6c0ca;
  --text-lighter: #dce2e7;

  --border-dark: rgba(255, 255, 255, 0.11);
  --border-light: #d8dadd;

  --shadow: 0 25px 70px rgba(0, 0, 0, 0.28);

  --max-width: 1180px;

  --radius-small: 8px;
  --radius-medium: 16px;
  --radius-large: 26px;
}

/* =========================================================
   RESET / BASE
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;

  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  background: var(--navy-900);
  color: var(--white);

  font-size: 16px;
  line-height: 1.65;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

::selection {
  background: var(--safe-red);
  color: var(--white);
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ff718b;
  outline-offset: 4px;
}

/* =========================================================
   GLOBAL LAYOUT
   ========================================================= */

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
}

.vertical-center {
  align-items: center;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.eyebrow {
  margin: 0 0 18px;

  color: #ff4969;

  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.4;

  letter-spacing: 0.2em;
}

.eyebrow-red {
  color: var(--safe-red);
}

.eyebrow-soft {
  color: #ffd4dc;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h2 {
  margin-bottom: 24px;

  font-size: clamp(2.65rem, 4.4vw, 4.35rem);
  line-height: 1.04;

  letter-spacing: -0.045em;
}

.section-text {
  max-width: 650px;

  color: var(--text-light);

  font-size: 1.08rem;
}

.dark-text {
  color: var(--text-medium);
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;

  background: rgba(7, 13, 20, 0.94);

  border-bottom: 1px solid var(--border-dark);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-container {
  min-height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================================================
   SAFE LOGO
   ========================================================= */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;

  flex-shrink: 0;
}

.brand-icon {
  width: 48px;
  height: 48px;

  display: inline-grid;
  place-items: center;

  border-radius: 14px;

  background: linear-gradient(
    145deg,
    var(--safe-red-bright),
    var(--safe-red-dark)
  );

  color: var(--white);

  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;

  box-shadow: 0 10px 28px rgba(215, 25, 63, 0.25);
}

.brand-text {
  font-size: 1.75rem;
  font-weight: 800;

  letter-spacing: 0.14em;
}

.brand-icon-large {
  width: 76px;
  height: 76px;

  border-radius: 21px;

  font-size: 3.1rem;
}

/* =========================================================
   DESKTOP NAV
   ========================================================= */

.main-navigation {
  display: flex;
  align-items: center;
  gap: 33px;
}

.main-navigation a {
  position: relative;

  color: #d7dee4;

  font-size: 0.94rem;
  font-weight: 550;

  transition:
    color 160ms ease,
    background 160ms ease;
}

.main-navigation a:not(.nav-contact)::after {
  position: absolute;

  right: 0;
  bottom: -8px;
  left: 0;

  height: 2px;

  content: "";

  background: var(--safe-red);

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 160ms ease;
}

.main-navigation a:hover {
  color: var(--white);
}

.main-navigation a:hover::after {
  transform: scaleX(1);
}

.main-navigation .nav-contact {
  padding: 10px 17px;

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-small);
}

.main-navigation .nav-contact:hover {
  background: rgba(255, 255, 255, 0.07);
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-button {
  display: none;

  padding: 8px;

  border: 0;

  background: transparent;

  cursor: pointer;
}

.mobile-menu-button span {
  width: 26px;
  height: 2px;

  display: block;

  margin: 5px 0;

  background: var(--white);

  transition: transform 160ms ease;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
  min-height: 54px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 25px;

  border-radius: var(--radius-small);

  font-size: 0.95rem;
  font-weight: 750;

  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--safe-red);
  color: var(--white);

  box-shadow: 0 12px 32px rgba(215, 25, 63, 0.22);
}

.button-primary:hover {
  background: var(--safe-red-dark);

  box-shadow: 0 15px 38px rgba(215, 25, 63, 0.28);
}

.button-outline {
  border: 1px solid rgba(255, 255, 255, 0.48);

  background: rgba(255, 255, 255, 0.02);

  color: var(--white);
}

.button-outline:hover {
  border-color: rgba(255, 255, 255, 0.8);

  background: rgba(255, 255, 255, 0.06);
}

.button-dark {
  background: var(--navy-900);
  color: var(--white);
}

.button-dark:hover {
  background: var(--navy-700);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;

  min-height: 700px;

  overflow: hidden;

  background: linear-gradient(125deg, #060d14 0%, #0c1722 55%, #101c28 100%);
}

.hero-background {
  position: absolute;
  inset: 0;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 78% 38%,
      rgba(215, 25, 63, 0.13),
      transparent 24%
    ),
    radial-gradient(
      circle at 72% 65%,
      rgba(74, 107, 137, 0.13),
      transparent 31%
    ),
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.012) 50%,
      transparent 100%
    );
}

.hero-container {
  position: relative;
  z-index: 2;

  min-height: 700px;

  display: grid;
  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);

  align-items: center;

  gap: 60px;
}

.hero-content {
  padding: 70px 0;
}

.hero h1 {
  max-width: 760px;

  margin: 0;

  font-size: clamp(4.4rem, 7.3vw, 7rem);
  font-weight: 780;
  line-height: 0.91;

  letter-spacing: -0.065em;
}

.hero h1 span {
  display: inline-block;

  color: var(--safe-red);
}

.hero-heading-secondary {
  max-width: 720px;

  margin: 29px 0 0;

  color: var(--white);

  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
}

.hero-description {
  max-width: 690px;

  margin: 23px 0 0;

  color: #bdc7d0;

  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 35px;
}

/* =========================================================
   HERO PHONE
   ========================================================= */

.hero-art {
  position: relative;

  min-height: 590px;

  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;

  width: 390px;
  height: 390px;

  border-radius: 50%;

  background: rgba(215, 25, 63, 0.15);

  filter: blur(65px);
}

.phone {
  position: relative;
  z-index: 2;

  width: 270px;
  height: 548px;

  padding: 9px;

  border: 1px solid #45515d;
  border-radius: 43px;

  background: linear-gradient(
    145deg,
    #65717c,
    #131a21 8%,
    #030608 75%,
    #5d6873
  );

  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.55);

  transform: rotate(5deg);
}

.phone::after {
  position: absolute;

  inset: 6px;

  z-index: 5;

  content: "";

  pointer-events: none;

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 37px;
}

.phone-camera {
  position: absolute;
  z-index: 10;

  top: 19px;
  left: 50%;

  width: 72px;
  height: 20px;

  border-radius: 20px;

  background: #020405;

  transform: translateX(-50%);
}

.phone-screen {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: hidden;

  border-radius: 35px;

  background:
    radial-gradient(
      circle at 50% 65%,
      rgba(215, 25, 63, 0.14),
      transparent 31%
    ),
    linear-gradient(160deg, #111e2b, #070c12 70%);
}

.phone-safe-icon {
  width: 96px;
  height: 96px;

  display: grid;
  place-items: center;

  border-radius: 27px;

  background: linear-gradient(
    145deg,
    var(--safe-red-bright),
    var(--safe-red-dark)
  );

  color: var(--white);

  font-size: 3.9rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;

  box-shadow: 0 18px 50px rgba(215, 25, 63, 0.3);
}

.phone-safe-name {
  margin-top: 25px;

  font-size: 2rem;
  font-weight: 800;

  letter-spacing: 0.17em;
}

.phone-safe-tagline {
  margin-top: 5px;

  color: #9fabb5;

  font-size: 0.72rem;

  letter-spacing: 0.09em;
}

/* =========================================================
   PRINCIPLES STRIP
   ========================================================= */

.principles {
  background: #060d14;

  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.principle {
  min-height: 105px;

  display: grid;
  grid-template-columns: 40px 1fr;

  align-items: center;

  padding: 22px 25px;

  border-right: 1px solid var(--border-dark);
}

.principle:first-child {
  padding-left: 0;
}

.principle:last-child {
  padding-right: 0;

  border-right: 0;
}

.principle-symbol {
  color: var(--safe-red);

  font-size: 1.6rem;
}

.principle strong {
  display: block;

  margin-bottom: 2px;

  font-size: 0.95rem;
}

.principle div span {
  display: block;

  color: #8e9ba6;

  font-size: 0.79rem;
  line-height: 1.45;
}

/* =========================================================
   LIGHT SECTIONS
   ========================================================= */

.light-section {
  background: var(--off-white);
  color: var(--text-dark);
}

.section-intro h2 {
  max-width: 580px;
}

.body-copy {
  color: var(--text-medium);

  font-size: 1.08rem;
  line-height: 1.8;
}

.body-copy p {
  margin-bottom: 22px;
}

/* =========================================================
   DARK SAFETY TOOLS SECTION
   ========================================================= */

.dark-section {
  position: relative;

  background:
    radial-gradient(
      circle at 15% 30%,
      rgba(215, 25, 63, 0.05),
      transparent 24%
    ),
    var(--navy-900);
}

.section-heading {
  max-width: 760px;

  margin-bottom: 58px;
}

.section-heading h2 {
  margin-bottom: 19px;
}

.section-heading > p:last-child {
  max-width: 680px;

  color: var(--text-light);

  font-size: 1.08rem;
}

.section-heading-dark > p:last-child {
  color: var(--text-medium);
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.feature-card {
  position: relative;

  min-height: 285px;

  padding: 31px;

  overflow: hidden;

  border: 1px solid var(--border-dark);
  border-radius: var(--radius-medium);

  background: linear-gradient(145deg, #101c28, #0a131c);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.feature-card::before {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  content: "";

  background: linear-gradient(90deg, var(--safe-red), transparent 55%);

  opacity: 0;

  transition: opacity 180ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 255, 255, 0.19);

  background: linear-gradient(145deg, #142331, #0b151f);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-number {
  color: var(--safe-red);

  font-size: 0.75rem;
  font-weight: 850;

  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin: 48px 0 12px;

  font-size: 1.34rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;

  color: #a9b4be;

  font-size: 0.94rem;
  line-height: 1.7;
}

/* =========================================================
   DISCRETION SECTION
   ========================================================= */

.discretion-section {
  position: relative;

  padding: 120px 0;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 88% 50%,
      rgba(255, 255, 255, 0.08),
      transparent 28%
    ),
    linear-gradient(120deg, #d7193f 0%, #c41236 60%, #a90d2c 100%);
}

.discretion-section::before {
  position: absolute;

  top: -240px;
  right: -120px;

  width: 650px;
  height: 650px;

  content: "";

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;

  pointer-events: none;
}

.discretion-section::after {
  position: absolute;

  right: 85px;
  bottom: -280px;

  width: 500px;
  height: 500px;

  content: "";

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;

  pointer-events: none;
}

.discretion-content {
  position: relative;
  z-index: 2;

  max-width: 970px;
}

.discretion-content h2 {
  max-width: 900px;

  margin-bottom: 32px;

  font-size: clamp(3rem, 5.2vw, 5.2rem);
  line-height: 1;

  letter-spacing: -0.055em;
}

.discretion-lead {
  max-width: 790px;

  margin-bottom: 22px;

  color: var(--white);

  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.65;
}

.discretion-content
  > p:not(.eyebrow):not(.discretion-lead):not(.discretion-statement) {
  max-width: 780px;

  margin-bottom: 22px;

  color: #ffe4e9;

  font-size: 1.08rem;
  line-height: 1.8;
}

.discretion-statement {
  position: relative;

  max-width: 850px;

  margin: 48px 0 0;
  padding: 27px 0 0 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.35);

  color: var(--white);

  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 750;
  line-height: 1.35;

  letter-spacing: -0.025em;
}

.discretion-statement::before {
  position: absolute;

  top: 27px;
  left: 0;

  width: 5px;
  height: calc(100% - 27px);

  content: "";

  border-radius: 5px;

  background: var(--white);
}

/* Mobile adjustment */

@media (max-width: 620px) {
  .discretion-section {
    padding: 85px 0;
  }

  .discretion-content h2 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  .discretion-lead {
    font-size: 1.12rem;
  }

  .discretion-statement {
    margin-top: 38px;
    padding-top: 23px;
    padding-left: 22px;

    font-size: 1.45rem;
  }

  .discretion-statement::before {
    top: 23px;

    height: calc(100% - 23px);
  }
}

/* =========================================================
   CONNECTION DIAGRAM
   ========================================================= */

.connection-diagram {
  display: grid;
  grid-template-columns:
    minmax(180px, 1fr)
    120px
    180px
    120px
    minmax(180px, 1fr);

  align-items: center;

  margin-top: 65px;
}

.connection-card {
  min-height: 130px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 25px;

  text-align: center;

  border: 1px solid var(--border-light);
  border-radius: var(--radius-medium);

  background: var(--white);

  box-shadow: 0 12px 35px rgba(15, 25, 35, 0.05);
}

.connection-card span {
  margin-bottom: 7px;

  color: var(--safe-red);

  font-size: 0.7rem;
  font-weight: 850;

  letter-spacing: 0.17em;
}

.connection-card strong {
  font-size: 1.05rem;
}

.connection-line {
  height: 1px;

  background: linear-gradient(90deg, #c8ccd0, #9fa7ae, #c8ccd0);
}

.connection-safe {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 10px;

  text-align: center;
}

.connection-safe strong {
  font-size: 1.15rem;

  letter-spacing: 0.12em;
}

/* =========================================================
   SHELTER / SAFEHUB SECTION
   ========================================================= */

.shelter-section {
  background:
    radial-gradient(
      circle at 78% 45%,
      rgba(215, 25, 63, 0.12),
      transparent 28%
    ),
    linear-gradient(135deg, #09121b, #101d29);
}

.shelter-section h2 {
  max-width: 600px;
}

.shelter-section .button {
  margin-top: 14px;
}

.safehub-card {
  position: relative;

  min-height: 410px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 55px;

  overflow: hidden;

  border: 1px solid var(--border-dark);
  border-radius: var(--radius-large);

  background: linear-gradient(145deg, #172938, #0b141d 70%);

  box-shadow: var(--shadow);
}

.safehub-label {
  color: var(--safe-red);

  font-size: 0.78rem;
  font-weight: 900;

  letter-spacing: 0.22em;
}

.safehub-card h3 {
  margin: 23px 0 20px;

  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.04;

  letter-spacing: -0.045em;
}

.safehub-card p {
  max-width: 470px;

  color: var(--text-light);
}

.safehub-decoration {
  position: absolute;

  right: -45px;
  bottom: -45px;

  width: 230px;
  height: 230px;
}

.safehub-decoration span {
  position: absolute;

  inset: 0;

  display: block;

  border: 1px solid rgba(215, 25, 63, 0.22);
  border-radius: 50%;
}

.safehub-decoration span:nth-child(2) {
  inset: 35px;
}

.safehub-decoration span:nth-child(3) {
  inset: 70px;

  background: rgba(215, 25, 63, 0.08);
}

/* =========================================================
   RESOURCES
   ========================================================= */

.resources-section {
  background: var(--warm-grey);
  color: var(--text-dark);
}

.resource-action {
  text-align: right;
}

/* =========================================================
   EMERGENCY STRIP
   ========================================================= */

.emergency-section {
  background: var(--white);
  color: var(--text-dark);

  border-top: 1px solid #dadcdf;
  border-bottom: 1px solid #dadcdf;
}

.emergency-container {
  min-height: 130px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.emergency-container > div:first-child > strong {
  font-size: 1.12rem;
}

.emergency-container p {
  margin: 4px 0 0;

  color: var(--text-medium);

  font-size: 0.94rem;
}

.emergency-number {
  flex-shrink: 0;

  text-align: right;
}

.emergency-number span {
  display: block;

  color: var(--text-medium);

  font-size: 0.8rem;
}

.emergency-number strong {
  color: var(--safe-red);

  font-size: 1.75rem;
}

/* =========================================================
   FINAL CTA
   ========================================================= */

.final-cta {
  position: relative;

  padding: 120px 0;

  overflow: hidden;

  text-align: center;

  background:
    radial-gradient(circle at 50% 0%, rgba(215, 25, 63, 0.16), transparent 34%),
    var(--navy-900);
}

.final-cta-content {
  position: relative;
  z-index: 2;

  max-width: 850px;
}

.final-cta h2 {
  margin-bottom: 22px;

  font-size: clamp(3rem, 5.5vw, 5.2rem);
}

.final-cta-content > p:not(.eyebrow) {
  max-width: 670px;

  margin: 0 auto 32px;

  color: var(--text-light);

  font-size: 1.07rem;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 72px 0 28px;

  background: #04090e;

  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns:
    minmax(260px, 2fr)
    repeat(3, minmax(130px, 1fr));

  gap: 55px;
}

.footer-brand-column p {
  max-width: 330px;

  margin-top: 20px;

  color: #8f9ca7;

  font-size: 0.9rem;
}

.footer-column {
  display: flex;
  flex-direction: column;

  gap: 9px;
}

.footer-column strong {
  margin-bottom: 7px;

  color: var(--white);

  font-size: 0.9rem;
}

.footer-column a {
  color: #8f9ca7;

  font-size: 0.88rem;

  transition: color 150ms ease;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 60px;
  padding-top: 23px;

  border-top: 1px solid var(--border-dark);

  color: #71808c;

  font-size: 0.79rem;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {
  .section {
    padding: 90px 0;
  }

  /* Navigation */

  .mobile-menu-button {
    display: block;
  }

  .main-navigation {
    position: absolute;

    top: 82px;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 15px 24px 25px;

    background: #070e15;

    border-bottom: 1px solid var(--border-dark);

    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
  }

  .main-navigation.open {
    display: flex;
  }

  .main-navigation a {
    padding: 14px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .main-navigation a::after {
    display: none;
  }

  .main-navigation .nav-contact {
    margin-top: 14px;
    padding: 13px 15px;

    text-align: center;

    border: 1px solid rgba(255, 255, 255, 0.24);
  }

  /* Hero */

  .hero-container {
    grid-template-columns: 1fr;

    padding-top: 50px;
    padding-bottom: 30px;

    gap: 0;
  }

  .hero-content {
    padding-bottom: 10px;
  }

  .hero-art {
    min-height: 590px;
  }

  /* General */

  .two-column {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .principle:nth-child(2) {
    border-right: 0;
  }

  .principle:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-dark);
  }

  .principle:first-child {
    padding-left: 25px;
  }

  .principle:last-child {
    padding-right: 25px;
  }

  /* Connection */

  .connection-diagram {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .connection-line {
    width: 1px;
    height: 45px;

    margin-inline: auto;
  }

  .connection-safe {
    padding: 8px 0;
  }

  /* Resources */

  .resource-action {
    text-align: left;
  }

  /* Footer */

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 30px), var(--max-width));
  }

  html {
    scroll-padding-top: 75px;
  }

  /* Header */

  .nav-container {
    min-height: 72px;
  }

  .brand {
    gap: 10px;
  }

  .brand-icon {
    width: 42px;
    height: 42px;

    border-radius: 12px;

    font-size: 1.75rem;
  }

  .brand-text {
    font-size: 1.42rem;
  }

  .main-navigation {
    top: 72px;
  }

  /* Hero */

  .hero {
    min-height: auto;
  }

  .hero-container {
    min-height: auto;

    padding-top: 45px;
  }

  .hero-content {
    padding-top: 20px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 17vw, 5.1rem);
  }

  .hero-heading-secondary {
    margin-top: 23px;

    font-size: 1.28rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-art {
    min-height: 510px;
  }

  .phone {
    width: 225px;
    height: 455px;

    border-radius: 37px;
  }

  .phone-screen {
    border-radius: 30px;
  }

  .phone-safe-icon {
    width: 82px;
    height: 82px;

    border-radius: 22px;

    font-size: 3.25rem;
  }

  /* Principles */

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: 95px;

    padding: 20px 5px;

    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .principle:first-child,
  .principle:last-child {
    padding-right: 5px;
    padding-left: 5px;
  }

  .principle:last-child {
    border-bottom: 0;
  }

  /* Sections */

  .section {
    padding: 75px 0;
  }

  h2 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .two-column {
    gap: 35px;
  }

  /* Features */

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 250px;
  }

  /* Discretion */

  .discretion-section {
    padding: 80px 0;
  }

  /* SafeHub */

  .safehub-card {
    min-height: 350px;

    padding: 35px 28px;
  }

  .safehub-card h3 {
    font-size: 2.4rem;
  }

  /* Emergency */

  .emergency-container {
    flex-direction: column;
    align-items: flex-start;

    padding-top: 27px;
    padding-bottom: 27px;
  }

  .emergency-number {
    text-align: left;
  }

  /* CTA */

  .final-cta {
    padding: 90px 0;
  }

  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 38px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 7px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;

    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =====================================================
   GET SAFE - REGISTRATION FORM
====================================================== */

#safe-registration-form {
  width: 100%;
}

#safe-registration-form .form-group {
  margin-bottom: 22px;
}

#safe-registration-form label {
  display: block;
  margin-bottom: 8px;

  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

#safe-registration-form .optional {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
}

#safe-registration-form input,
#safe-registration-form select {
  display: block;
  width: 100%;
  min-height: 52px;

  padding: 12px 15px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;

  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;

  font: inherit;
  font-size: 1rem;

  outline: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

#safe-registration-form input:hover,
#safe-registration-form select:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
}

#safe-registration-form input:focus,
#safe-registration-form select:focus {
  border-color: var(--safe-red);
  background: rgba(255, 255, 255, 0.12);

  box-shadow: 0 0 0 3px rgba(215, 25, 63, 0.2);
}

#safe-registration-form select {
  cursor: pointer;
}

#safe-registration-form select option {
  background: #ffffff;
  color: #111827;
}

#safe-registration-form .form-submit {
  width: 100%;
  margin-top: 6px;

  border: 0;
  cursor: pointer;
}

#safe-registration-form .form-consent {
  margin: 16px 0 0;

  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 1.6;
}

#safe-registration-form .form-message {
  min-height: 24px;
  margin-top: 14px;

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

/* Keep the form panel comfortably sized */

.safehub-card .safehub-panel {
  min-width: 0;
}

/* Mobile */

@media (max-width: 620px) {
  #safe-registration-form input,
  #safe-registration-form select {
    min-height: 50px;
    font-size: 16px;
  }

  #safe-registration-form .form-group {
    margin-bottom: 18px;
  }
}

/* =====================================================
   GET SAFE CTA + QR
====================================================== */

.get-safe-cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: center;
}

.get-safe-cta-copy {
  max-width: 680px;
}

.get-safe-cta-copy h2 {
  margin-bottom: 18px;
}

.get-safe-cta-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 28px;
}

.get-safe-qr {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 18px 22px 18px 18px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.06);
}

.get-safe-qr-image {
  padding: 8px;

  border-radius: 10px;
  background: #ffffff;
}

.get-safe-qr-image img {
  display: block;
  width: 150px;
  height: 150px;
}

.get-safe-qr-copy {
  display: flex;
  flex-direction: column;
  max-width: 160px;
}

.get-safe-qr-copy strong {
  margin-bottom: 6px;

  color: #ffffff;
  font-size: 1rem;
}

.get-safe-qr-copy span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .get-safe-cta-content {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .get-safe-qr {
    width: fit-content;
  }
}

@media (max-width: 520px) {
  .get-safe-qr {
    align-items: center;
    gap: 14px;

    padding: 14px;
  }

  .get-safe-qr-image img {
    width: 115px;
    height: 115px;
  }

  .get-safe-qr-copy {
    max-width: 140px;
  }
}

/* =========================================================
   RESOURCES HERO — SUPPORT NETWORK
   ========================================================= */

.support-network {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  isolation: isolate;
}

.network-glow {
  position: absolute;
  width: 58%;
  height: 58%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 55, 75, 0.2) 0%,
    rgba(255, 55, 75, 0.08) 38%,
    transparent 72%
  );
  filter: blur(8px);
  z-index: 0;
}

/* Centre */

.network-centre {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  z-index: 4;
}

.network-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 62, 82, 0.45);
}

.ring-outer {
  inset: 0;
  box-shadow:
    0 0 35px rgba(255, 45, 65, 0.1),
    inset 0 0 35px rgba(255, 45, 65, 0.05);
}

.ring-inner {
  inset: 24px;
  border-color: rgba(255, 62, 82, 0.22);
}

.network-shield {
  position: relative;
  width: 84px;
  height: 96px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    145deg,
    rgba(255, 67, 83, 0.16),
    rgba(255, 67, 83, 0.03)
  );
  border: 5px solid #ff3d50;
  clip-path: polygon(
    50% 0,
    94% 15%,
    94% 61%,
    84% 77%,
    67% 90%,
    50% 100%,
    33% 90%,
    16% 77%,
    6% 61%,
    6% 15%
  );
  filter: drop-shadow(0 0 12px rgba(255, 52, 73, 0.35))
    drop-shadow(0 0 28px rgba(255, 52, 73, 0.12));
}

.network-shield span {
  color: #ff4053;
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

/* Nodes */

.support-node {
  position: absolute;
  width: 116px;
  min-height: 116px;
  padding: 16px 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 65, 82, 0.62);
  background: radial-gradient(
    circle at 50% 35%,
    rgba(255, 65, 82, 0.12),
    rgba(12, 18, 26, 0.94) 68%
  );
  box-shadow:
    0 0 28px rgba(255, 50, 70, 0.08),
    inset 0 0 22px rgba(255, 50, 70, 0.04);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;

  color: #f5f7fa;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  z-index: 5;
}

.node-icon {
  color: #ff5363;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3px;
}

.node-top {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.node-left {
  top: 31%;
  left: 0;
}

.node-right {
  top: 31%;
  right: 0;
}

.node-bottom-left {
  bottom: 1%;
  left: 10%;
}

.node-bottom-right {
  bottom: 1%;
  right: 10%;
}

/* Connections */

.network-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 76, 91, 0.85),
    transparent
  );
  transform-origin: left center;
  z-index: 2;
  box-shadow: 0 0 7px rgba(255, 60, 80, 0.28);
}

.network-line::after {
  content: "";
  position: absolute;
  right: 48%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff5363;
  transform: translate(50%, -50%);
  box-shadow: 0 0 9px rgba(255, 65, 82, 0.7);
}

.line-top {
  width: 120px;
  left: 50%;
  top: 29%;
  transform: rotate(-90deg);
}

.line-left {
  width: 150px;
  left: 23%;
  top: 43%;
  transform: rotate(18deg);
}

.line-right {
  width: 150px;
  left: 51%;
  top: 48%;
  transform: rotate(-18deg);
}

.line-bottom-left {
  width: 145px;
  left: 28%;
  top: 58%;
  transform: rotate(122deg);
}

.line-bottom-right {
  width: 145px;
  left: 53%;
  top: 59%;
  transform: rotate(58deg);
}

/* Subtle motion — decorative only */

@media (prefers-reduced-motion: no-preference) {
  .network-glow {
    animation: supportGlow 5s ease-in-out infinite;
  }

  .network-shield {
    animation: shieldGlow 5s ease-in-out infinite;
  }
}

@keyframes supportGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.96);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
}

@keyframes shieldGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 52, 73, 0.28))
      drop-shadow(0 0 22px rgba(255, 52, 73, 0.1));
  }

  50% {
    filter: drop-shadow(0 0 16px rgba(255, 52, 73, 0.48))
      drop-shadow(0 0 34px rgba(255, 52, 73, 0.18));
  }
}

/* Responsive */

@media (max-width: 900px) {
  .support-network {
    width: min(100%, 500px);
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .support-network {
    width: 100%;
    max-width: 390px;
  }

  .support-node {
    width: 92px;
    min-height: 92px;
    padding: 11px 7px;
    font-size: 11px;
  }

  .node-icon {
    font-size: 19px;
  }

  .network-centre {
    width: 140px;
    height: 140px;
  }

  .network-shield {
    width: 66px;
    height: 76px;
    border-width: 4px;
  }

  .network-shield span {
    font-size: 37px;
  }

  .node-bottom-left {
    left: 5%;
  }

  .node-bottom-right {
    right: 5%;
  }
}
