/* ==========================================================================
   COMMON / SHARED STYLES
   ========================================================================== */

:root {
  /* Core theme */
  --bg: #f9f7f3;
  --surface: #ffffff;
  --surface-soft: #f1eee8;

  --ink: #211f24;
  --ink-soft: #57535c;
  --muted: #817c85;

  --primary: #7656e8;
  --primary-dark: #5d3dcb;
  --primary-soft: #eee9ff;

  --yellow: #f4c95d;
  --pink: #ef9fb3;
  --green: #b9d6bb;

  --border: rgba(33, 31, 36, 0.1);

  --shadow: 0 25px 70px rgba(45, 36, 70, 0.1);

  --radius-lg: 32px;
  --radius-md: 20px;

  --max-width: 1160px;

  /* Security-only theme tokens */
  --soft-purple: #f1edff;
  --soft-green: #eaf8ef;
  --security-green: #24924a;
  --soft-pink: #fff0f4;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

/* ================= NAV ================= */

.site-header {
  position: relative;
  z-index: 20;
}

.nav {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.logo-mark {
  position: relative;
  width: 25px;
  height: 25px;
  display: block;
}

.logo-mark span {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--primary);
  border-radius: 100% 0 100% 0;
}

.logo-mark span:nth-child(1) {
  top: 1px;
  left: 7px;
  transform: rotate(45deg);
}

.logo-mark span:nth-child(2) {
  top: 8px;
  left: 1px;
  transform: rotate(-45deg);
}

.logo-mark span:nth-child(3) {
  top: 8px;
  right: 1px;
  transform: rotate(135deg);
}

.logo-mark span:nth-child(4) {
  bottom: 1px;
  left: 7px;
  transform: rotate(225deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  margin-right: 38px;
}

.nav-links a {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta-wrapper {
  position: relative;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;

  text-align: right;

  min-width: 180px;
  padding: 8px;

  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);

  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
}

.nav-cta-wrapper:hover .nav-submenu,
.nav-cta-wrapper.open .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-submenu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-submenu a:hover {
  background: var(--bg);
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 50%;
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.theme-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.moon-icon {
  display: none;
}

.nav-cta {
  padding: 11px 18px;
  background: var(--ink);
  color: white;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
}

/* ================= HERO ================= */

.hero {
  padding: 65px 0 115px;
  overflow: hidden;
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}

.hero h1 {
  max-width: 620px;
  margin: 24px 0 24px;
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 700;
}

.hero h1 em {
  display: block;
  color: var(--primary);
  font-style: normal;
}

.hero-description {
  max-width: 500px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 21px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 18px;
}

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 12px 28px rgba(118, 86, 232, 0.23);
}

.button-primary:hover {
  background: var(--primary-dark);
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-light {
  background: white;
  color: var(--ink);
}

.text-link {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.text-link span {
  margin-left: 5px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 390px;
  margin-top: 42px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.avatar-stack {
  display: flex;
  padding-left: 7px;
}

.mini-avatar {
  width: 29px;
  height: 29px;
  margin-left: -7px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 9px;
  font-weight: 800;
}

.avatar-one {
  background: #8d78b8;
}

.avatar-two {
  background: #d88b76;
}

.avatar-three {
  background: #71968a;
}

/* ================= HERO VISUAL ================= */

.hero-visual {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-main {
  width: min(390px, 82%);
  padding: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.card-top {
  height: 39px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.small-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.online-dot {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.online-dot i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #68ae79;
}

.profile-photo {
  position: relative;
  aspect-ratio: 0.79;
  overflow: hidden;
  border-radius: 21px;
  background: linear-gradient(145deg, #d8c3b9 0%, #e7d6cb 35%, #9c8491 100%);
}

.photo-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 255, 255, 0.55),
      transparent 25%
    ),
    linear-gradient(to bottom, transparent 55%, rgba(32, 25, 36, 0.28));
}

.photo-person {
  position: absolute;
  width: 190px;
  height: 340px;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
}

.person-hair {
  position: absolute;
  width: 130px;
  height: 155px;
  top: 0;
  left: 30px;
  background: #3a2930;
  border-radius: 52% 52% 45% 45%;
}

.person-face {
  position: absolute;
  width: 84px;
  height: 110px;
  top: 28px;
  left: 53px;
  background: #c98d72;
  border-radius: 45% 45% 48% 48%;
}

.person-body {
  position: absolute;
  width: 190px;
  height: 190px;
  bottom: 0;
  background: #66527c;
  border-radius: 48% 48% 0 0;
}

.photo-location {
  position: absolute;
  left: 16px;
  bottom: 15px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.photo-location span {
  color: #aee5b9;
  font-size: 9px;
}

.profile-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 6px 7px;
}

.profile-info h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.profile-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.profile-arrow {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 16px;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(45, 36, 70, 0.13);
}

.friend-card {
  left: 1%;
  bottom: 105px;
  max-width: 230px;
  transform: rotate(-4deg);
}

.floating-avatar {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4c18e;
  color: #604927;
  font-size: 11px;
  font-weight: 800;
}

.floating-card strong,
.floating-label {
  display: block;
}

.floating-label {
  color: var(--muted);
  font-size: 9px;
}

.floating-card strong {
  margin-top: 2px;
  font-size: 10px;
}

.floating-heart {
  margin-left: auto;
  color: var(--primary);
  font-size: 17px;
}

/* ================= FLOWER ================= */

.flower-decoration {
  position: absolute;
  width: 90px;
  height: 90px;
}

.flower-decoration span {
  position: absolute;
  width: 31px;
  height: 42px;
  border-radius: 100% 0 100% 0;
  background: var(--primary);
}

.flower-decoration span:nth-child(1) {
  top: 0;
  left: 29px;
  transform: rotate(45deg);
}

.flower-decoration span:nth-child(2) {
  top: 24px;
  right: 2px;
  transform: rotate(135deg);
}

.flower-decoration span:nth-child(3) {
  bottom: 0;
  left: 29px;
  transform: rotate(225deg);
}

.flower-decoration span:nth-child(4) {
  top: 24px;
  left: 2px;
  transform: rotate(-45deg);
}

.flower-decoration i {
  position: absolute;
  width: 16px;
  height: 16px;
  left: 37px;
  top: 37px;
  border-radius: 50%;
  background: var(--yellow);
  z-index: 2;
}

.flower-one {
  right: -8px;
  top: 70px;
  transform: rotate(12deg);
  opacity: 0.8;
}

.hero-scribble {
  position: absolute;
  right: 15px;
  bottom: 75px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  transform: rotate(-10deg);
}

/* ================= INTRO ================= */

.intro-section {
  padding: 135px 0 145px;
  background: var(--surface);
  text-align: center;
}

.narrow {
  max-width: 850px;
}

.narrow .section-kicker {
  justify-content: center;
}

.intro-section h2 {
  margin: 22px auto;
  max-width: 800px;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.intro-section h2 span {
  color: var(--primary);
}

.large-copy {
  max-width: 590px;
  margin: 25px auto 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

/* ================= FRIENDS SECTION ================= */

.friends-section {
  padding: 145px 0;
}

.friends-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 100px;
}

.friends-visual {
  position: relative;
  min-height: 550px;
  display: grid;
  place-items: center;
}

.phone-card {
  position: relative;
  width: 310px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 31px;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  z-index: 2;
}

.phone-header {
  height: 37px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
}

.phone-profile {
  padding: 0 5px 15px;
  text-align: center;
}

.phone-photo {
  position: relative;
  height: 280px;
  overflow: hidden;
  border-radius: 21px;
  background: linear-gradient(145deg, #d8c5bb, #8d7785);
}

.phone-person {
  position: absolute;
  width: 130px;
  height: 240px;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
  background: #705a7d;
  border-radius: 50% 50% 0 0;
}

.phone-person::before {
  content: '';
  position: absolute;
  width: 75px;
  height: 95px;
  top: 18px;
  left: 28px;
  border-radius: 50%;
  background: #c98d72;
}

.phone-person::after {
  content: '';
  position: absolute;
  width: 110px;
  height: 110px;
  top: -3px;
  left: 10px;
  border-radius: 50%;
  background: #3a2930;
}

.phone-profile h3 {
  margin: 14px 0 0;
  font-size: 17px;
}

.phone-profile p {
  margin: 3px 0;
  color: var(--muted);
  font-size: 10px;
}

.phone-bio {
  margin: 9px auto 0;
  max-width: 220px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.phone-share {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  background: var(--surface-soft);
  border-radius: 15px;
}

.phone-share-avatar {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e4c18e;
  color: #604927;
  font-size: 9px;
  font-weight: 800;
}

.phone-share strong,
.phone-share span {
  display: block;
}

.phone-share strong {
  font-size: 9px;
}

.phone-share span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 7px;
}

.phone-share-arrow {
  margin-left: auto;
  color: var(--primary) !important;
  font-size: 13px !important;
}

.note {
  position: absolute;
  padding: 15px 18px;
  background: #fff9dd;
  border: 1px solid rgba(120, 90, 20, 0.1);
  box-shadow: 0 12px 30px rgba(60, 50, 20, 0.09);
  color: #655b36;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  border-radius: 4px;
  z-index: 3;
}

.note span,
.note small {
  display: block;
}

.note span {
  font-weight: 700;
}

.note small {
  margin-top: 5px;
  font-size: 9px;
}

.note-back {
  top: 45px;
  left: 4%;
  transform: rotate(-8deg);
}

.note-middle {
  right: 2%;
  bottom: 45px;
  transform: rotate(6deg);
  background: #f1e9ff;
  color: #5b4b83;
}

.friends-copy h2,
.matchmaker-copy h2,
.privacy-heading h2 {
  margin: 22px 0;
  font-size: clamp(40px, 4.3vw, 59px);
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.friends-copy h2 em,
.matchmaker-copy h2 em {
  color: var(--primary);
  font-style: normal;
}

.friends-copy p {
  max-width: 490px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

blockquote {
  margin: 25px 0;
  max-width: 470px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.025em;
}

/* ================= HOW ================= */

.how-section {
  padding: 135px 0;
  background: var(--surface);
}

.section-heading {
  max-width: 650px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading.centered .section-kicker {
  justify-content: center;
}

.section-heading h2 {
  margin: 18px 0 13px;
  font-size: clamp(42px, 5vw, 58px);
  letter-spacing: -0.06em;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: start;
  margin-top: 80px;
}

.step {
  text-align: center;
}

.step-number {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 17px auto 23px;
  border-radius: 22px;
  display: grid;
  place-items: center;
}

.step-icon-purple {
  background: var(--primary-soft);
  color: var(--primary);
}

.step-icon-yellow {
  background: #fff5d7;
  color: #c39518;
}

.step-icon-pink {
  background: #ffebef;
  color: #d57c95;
}

.step-icon span {
  position: relative;
  width: 27px;
  height: 27px;
  display: block;
}

.icon-person::before {
  content: '';
  position: absolute;
  width: 11px;
  height: 11px;
  top: 0;
  left: 8px;
  border-radius: 50%;
  background: currentColor;
}

.icon-person::after {
  content: '';
  position: absolute;
  width: 23px;
  height: 12px;
  bottom: 1px;
  left: 2px;
  border-radius: 14px 14px 5px 5px;
  background: currentColor;
}

.icon-share::before {
  content: '↗';
  font-size: 31px;
  font-weight: 700;
}

.icon-heart {
  font-size: 29px;
}

.step h3 {
  margin: 0;
  font-size: 17px;
}

.step p {
  max-width: 270px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.step-line {
  height: 1px;
  margin-top: 120px;
  background: var(--border);
}

/* ================= MATCHMAKER ================= */

.matchmaker-section {
  padding: 150px 0;
  overflow: hidden;
}

.matchmaker-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.matchmaker-copy > p {
  max-width: 460px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}

.matchmaker-copy .button {
  margin-top: 15px;
}

.matchmaker-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
}

.match-message {
  position: relative;
  width: min(440px, 90%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
  z-index: 2;
  transform: rotate(2deg);
}

.message-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--border);
}

.message-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4c18e;
  color: #604927;
  font-size: 11px;
  font-weight: 800;
}

.message-top strong,
.message-top span {
  display: block;
}

.message-top strong {
  font-size: 12px;
}

.message-top span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.message-body > p {
  margin: 22px 3px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
}

.message-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.message-photo {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #d8c5bb, #8d7785);
}

.message-person {
  position: absolute;
  width: 50px;
  height: 65px;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  background: #705a7d;
}

.message-profile strong,
.message-profile span {
  display: block;
}

.message-profile strong {
  font-size: 11px;
}

.message-profile div:nth-child(2) span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.message-profile > span {
  margin-left: auto;
  color: var(--primary);
}

.match-decoration {
  position: absolute;
  inset: 0;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(118, 86, 232, 0.15);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 360px;
  height: 360px;
}

.orbit-two {
  width: 500px;
  height: 500px;
}

.orbit-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-one {
  top: 12%;
  right: 18%;
  background: var(--yellow);
}

.dot-two {
  bottom: 12%;
  left: 16%;
  background: var(--pink);
}

.dot-three {
  top: 45%;
  right: 2%;
  background: var(--primary);
}

.flower-two {
  left: 5%;
  bottom: 15%;
  transform: scale(0.7) rotate(-15deg);
  opacity: 0.7;
}

/* ================= PRIVACY ================= */

.privacy-section {
  padding: 145px 0;
  background: var(--surface);
}

.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px;
}

.privacy-lead {
  max-width: 500px;
  margin: 0 0 50px;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: -0.02em;
}

.privacy-point {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 25px 0;
  border-top: 1px solid var(--border);
}

.privacy-point:last-child {
  border-bottom: 1px solid var(--border);
}

.privacy-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  border-radius: 12px;
  color: var(--primary);
  font-weight: 800;
}

.privacy-point h3 {
  margin: 0;
  font-size: 15px;
}

.privacy-point p {
  max-width: 430px;
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

/* ================= QUOTE ================= */

.quote-section {
  padding: 130px 0;
}

.quote-container {
  position: relative;
  text-align: center;
}

.quote-mark {
  color: var(--primary);
  font-size: 80px;
  line-height: 0.5;
  font-family: Georgia, serif;
}

.quote-container blockquote {
  max-width: 800px;
  margin: 30px auto 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.quote-flower {
  position: absolute;
  right: 5%;
  bottom: 0;
}

.flower-three {
  transform: scale(0.55) rotate(15deg);
  opacity: 0.5;
}

/* ================= CTA ================= */

.cta-section {
  padding: 30px 0 110px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 90px 30px;
  border-radius: 36px;
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta-card .section-kicker {
  justify-content: center;
  color: #dcd3ff;
}

.cta-card h2 {
  max-width: 780px;
  margin: 20px auto;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.cta-card h2 em {
  display: block;
  color: #e9e3ff;
  font-style: normal;
}

.cta-card p {
  max-width: 510px;
  margin: 0 auto;
  color: #ddd5fb;
  font-size: 16px;
  line-height: 1.7;
}

.cta-card .button {
  margin-top: 31px;
}

.cta-card small {
  display: block;
  margin-top: 17px;
  color: #d1c8f4;
  font-size: 10px;
}

.flower-four {
  right: 5%;
  top: 8%;
  opacity: 0.17;
  transform: rotate(15deg) scale(1.2);
}

.cta-flower span {
  background: white;
}

.cta-flower i {
  background: var(--yellow);
}

/* ================= FOOTER ================= */

.footer {
  padding: 35px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 10px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

/* ================= MOBILE MENU ================= */

.mobile-menu {
  display: none;
}

/* ================= ANIMATION ================= */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.8s ease forwards;
}

.reveal-delay {
  animation-delay: 0.15s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= DARK MODE ================= */

html.dark {
  --bg: #17151b;
  --surface: #211e27;
  --surface-soft: #292530;

  --ink: #f5f2f7;
  --ink-soft: #c1bbc6;
  --muted: #938c99;

  --primary: #9477f2;
  --primary-dark: #a48bf7;
  --primary-soft: #2d2543;

  --border: rgba(255, 255, 255, 0.09);

  --shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
}

html.dark .nav-cta,
html.dark .button-dark {
  background: white;
  color: #17151b;
}

html.dark .theme-toggle {
  background: var(--surface);
}

html.dark .sun-icon {
  display: none;
}

html.dark .moon-icon {
  display: block;
}

html.dark .note {
  background: #383322;
  color: #eee2ad;
  border-color: rgba(255, 255, 255, 0.05);
}

html.dark .note-middle {
  background: #30283f;
  color: #d8c9ff;
}

html.dark .phone-share {
  background: var(--surface-soft);
}

html.dark .cta-card {
  background: #6749d1;
}

/* ==========================================================================
   SECURITY PAGE
   Unique security-page components are below the shared styles.
   Shared selectors intentionally inherit the styles.css versions above.
   ========================================================================== */

/* ================= SECURITY NAV ================= */

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-back span {
  font-size: 18px;
}

/* ================= SECURITY HERO ================= */

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 100px;
  background: var(--soft-purple);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
}

.hero-kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.security-overview {
  padding-bottom: 120px;
}

.security-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
}

.security-card-copy {
  padding: 56px;
}

.security-card-copy .kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.security-card-copy h2 {
  margin: 14px 0 0;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.security-card-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.security-card-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background: radial-gradient(
    circle at 50% 50%,
    #eee9ff 0,
    #f7f5fc 42%,
    #f4f2f7 100%
  );
}

.lock-card {
  width: 260px;
  padding: 30px;
  border: 1px solid rgba(108, 76, 230, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(58, 42, 112, 0.12);
  text-align: center;
}

.lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: var(--soft-purple);
  color: var(--primary);
}

.lock-icon svg {
  width: 30px;
  height: 30px;
}

.lock-card strong {
  display: block;
  font-size: 18px;
}

.lock-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ================= SECURITY HOW IT WORKS ================= */

.how-it-works {
  padding: 110px 0;
  background: #f4f2f7;
}

/*
 * .section-heading, .steps, .step, .step-number, .step h3 and .step p
 * intentionally use the shared styles.css definitions above.
 */

.section-heading .kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ================= WHAT THEY SEE ================= */

.visibility {
  padding: 120px 0;
}

.visibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
}

.visibility-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
}

.visibility-card.allowed {
  border-color: #d9eadf;
}

.visibility-card.locked {
  border-color: #eadde1;
}

.visibility-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
}

.visibility-card.allowed .visibility-label {
  color: var(--security-green);
}

.visibility-card.locked .visibility-label {
  color: #a24a60;
}

.visibility-label svg {
  width: 17px;
  height: 17px;
}

.visibility-card h3 {
  margin: 15px 0 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.visibility-card > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.info-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.info-pill {
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--soft-green);
  color: #28643d;
  font-size: 13px;
  font-weight: 700;
}

.locked .info-pill {
  background: var(--soft-pink);
  color: #93445a;
}

/* ================= MATCH MOMENT ================= */

.match-section {
  padding: 110px 0;
  background: var(--soft-purple);
}

.match-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.match-inner h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.match-inner h2 em {
  color: var(--primary);
  font-style: normal;
}

.match-inner > p {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.unlock-card {
  max-width: 520px;
  margin: 42px auto 0;
  padding: 30px;
  border: 1px solid rgba(108, 76, 230, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.85);
  text-align: left;
}

.unlock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}

.unlock-row + .unlock-row {
  border-top: 1px solid var(--border);
}

.unlock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--soft-purple);
  color: var(--primary);
}

.unlock-icon svg {
  width: 19px;
  height: 19px;
}

.unlock-row strong {
  display: block;
  font-size: 14px;
}

.unlock-row span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

/* ================= FRIENDSPEAK ================= */

.friendspeak {
  padding: 120px 0;
  text-align: center;
}

.friendspeak h2 {
  max-width: 720px;
  margin: 0 auto;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.friendspeak h2 em {
  color: var(--primary);
  font-style: normal;
}

.friendspeak p {
  max-width: 590px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.heart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: var(--soft-pink);
  color: #e25475;
  font-size: 25px;
}

/* ================= SECURITY FOOTER ================= */

footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* .footer-inner intentionally uses the shared grid definition above. */

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-button {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-left: 7px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    cursor: pointer;
  }

  .mobile-menu-button span {
    width: 15px;
    height: 1.5px;
    background: var(--ink);
  }

  .mobile-menu {
    position: absolute;
    left: 24px;
    right: 24px;
    top: 76px;
    display: none;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .mobile-menu.open {
    display: block;
  }

  .mobile-menu a {
    display: block;
    padding: 13px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
  }

  .mobile-menu a:hover {
    background: var(--surface-soft);
  }

  .mobile-menu-cta {
    margin-top: 5px;
    background: var(--primary);
    color: white;
    text-align: center;
  }

  .hero-grid,
  .friends-grid,
  .matchmaker-grid,
  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-grid {
    gap: 70px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .hero-visual {
    min-height: 580px;
  }

  .friends-grid,
  .matchmaker-grid {
    gap: 70px;
  }

  .friends-copy,
  .matchmaker-copy,
  .privacy-heading {
    text-align: center;
  }

  .friends-copy .section-kicker,
  .matchmaker-copy .section-kicker {
    justify-content: center;
  }

  .friends-copy p,
  .matchmaker-copy > p {
    margin-left: auto;
    margin-right: auto;
  }

  .matchmaker-copy .button {
    margin-top: 20px;
  }

  .privacy-grid {
    gap: 55px;
  }

  .privacy-heading h2 {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }

  .privacy-heading .section-kicker {
    justify-content: center;
  }

  /* Security-specific responsive rules */
  .security-card {
    grid-template-columns: 1fr;
  }

  .security-card-visual {
    min-height: 340px;
  }

  .visibility-grid {
    grid-template-columns: 1fr;
  }

  .security-card-copy {
    padding: 36px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  /* Security-only breakpoint */
  .how-it-works .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .container {
    width: min(100% - 34px, var(--max-width));
  }

  .nav {
    height: 72px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 35px 0 80px;
  }

  .hero h1 {
    font-size: 49px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    gap: 17px;
  }

  .button-primary {
    width: 100%;
  }

  .hero-visual {
    min-height: 500px;
  }

  .card-main {
    width: 82%;
  }

  .friend-card {
    left: 0;
    bottom: 60px;
  }

  .flower-one {
    right: -25px;
  }

  .intro-section,
  .friends-section,
  .how-section,
  .matchmaker-section,
  .privacy-section {
    padding: 90px 0;
  }

  .intro-section h2,
  .friends-copy h2,
  .matchmaker-copy h2,
  .privacy-heading h2 {
    font-size: 40px;
  }

  .large-copy {
    font-size: 15px;
  }

  .friends-visual {
    min-height: 470px;
  }

  .phone-card {
    width: 270px;
  }

  .phone-photo {
    height: 250px;
  }

  .note-back {
    left: -5px;
  }

  .note-middle {
    right: -3px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 55px;
  }

  .step-line {
    display: none;
  }

  .step p {
    max-width: 320px;
  }

  .matchmaker-visual {
    min-height: 400px;
  }

  .match-message {
    width: 92%;
  }

  .orbit-one {
    width: 290px;
    height: 290px;
  }

  .orbit-two {
    width: 390px;
    height: 390px;
  }

  .privacy-lead {
    font-size: 17px;
  }

  .quote-section {
    padding: 90px 0;
  }

  .quote-container blockquote {
    font-size: 38px;
  }

  .quote-flower {
    display: none;
  }

  .cta-section {
    padding-bottom: 70px;
  }

  .cta-card {
    padding: 70px 20px;
    border-radius: 27px;
  }

  .cta-card h2 {
    font-size: 43px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer p {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-logo {
    justify-content: center;
  }

  /* Security-specific mobile rules */
  .security-overview,
  .visibility,
  .friendspeak {
    padding: 80px 0;
  }

  .how-it-works,
  .match-section {
    padding: 80px 0;
  }

  .security-card-copy {
    padding: 30px 24px;
  }

  .security-card-copy h2 {
    font-size: 30px;
  }

  .step,
  .visibility-card {
    padding: 26px 22px;
  }

  footer .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  /* Security-specific container breakpoint is intentionally redundant
     with the shared 650px rule, so the shared value wins. */
  .hero-copy {
    font-size: 16px;
  }
}
