/* Dressia — shared site styles (index, privacy, terms, contact) */
:root {
  --ink: #0d1b3d;
  --ink-soft: #16294f;
  --paper: #f4f1ed;
  --paper-dim: #eae3d8;
  --plum: #0d1b3d;
  --plum-deep: #081029;
  --plum-bright: #3a5a99;
  --gold: #c9a97a;
  --ivory: #f4efea;
  --ink-text: #1b2333;
  --muted: #6f7789;
  --muted-lt: #aeb4c2;
  --line: rgba(27, 35, 51, 0.1);
  --line-dark: rgba(244, 239, 234, 0.14);
  --radius: 20px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --shadow-sm: 0 1px 3px rgba(13, 27, 61, 0.07);
  --shadow-md: 0 12px 28px -12px rgba(13, 27, 61, 0.22);
  --shadow-lg: 0 28px 56px -20px rgba(13, 27, 61, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --focus-ring: 0 0 0 3px rgba(58, 90, 153, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Public Sans", sans-serif;
  color: var(--ink-text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
section {
  position: relative;
}
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  letter-spacing: -0.01em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  background: var(--plum);
  color: var(--ivory);
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: top 0.25s var(--ease);
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--plum-bright));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  max-width: 100%;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--plum-bright);
  font-weight: 700;
  margin-bottom: 1.1rem;
  background: rgba(58, 90, 153, 0.08);
  border: 1px solid rgba(58, 90, 153, 0.2);
  padding: 0.45rem 0.95rem 0.45rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  display: inline-block;
  flex-shrink: 0;
}
section.dark .eyebrow {
  color: var(--gold);
  background: rgba(201, 169, 122, 0.12);
  border-color: rgba(201, 169, 122, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s var(--ease),
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    color 0.22s ease;
}
.btn:active {
  transform: translateY(0) scale(0.97);
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--plum);
  color: var(--ivory);
  box-shadow:
    var(--shadow-sm),
    0 10px 22px -10px rgba(13, 27, 61, 0.55);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 45%
  );
}
.btn-primary:hover {
  background: var(--plum-deep);
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-md),
    0 16px 30px -12px rgba(13, 27, 61, 0.6);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
}
.btn-ghost:hover {
  border-color: var(--plum);
  color: var(--plum);
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}
section.dark .btn-ghost,
header .btn-ghost {
  border-color: var(--line-dark);
  color: var(--ivory);
  background: rgba(244, 239, 234, 0.07);
}
section.dark .btn-ghost:hover,
header .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 122, 0.1);
}
section.dark .btn-primary {
  background: var(--gold);
  color: var(--plum-deep);
  box-shadow:
    var(--shadow-sm),
    0 10px 22px -10px rgba(0, 0, 0, 0.5);
}
section.dark .btn-primary:hover {
  background: var(--gold);
  filter: brightness(0.92);
  transform: translateY(-2px);
  box-shadow:
    var(--shadow-md),
    0 16px 30px -12px rgba(0, 0, 0, 0.5);
}

/* ---------- Stitch signature motif ---------- */
.stitch {
  width: 100%;
  height: 20px;
  overflow: visible;
}
.stitch path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 6 7;
  opacity: 0.6;
}

/* ---------- Header ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition:
    background 0.35s ease,
    padding 0.35s ease,
    box-shadow 0.35s ease;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  gap: 1.2rem;
}
header.solid,
header.nav-open {
  background: rgba(13, 27, 61, 0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--line-dark);
}
.logo {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--ivory);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.logo:hover .logo-mark {
  transform: rotate(-6deg) scale(1.05);
}
.logo-word {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  flex-shrink: 1;
  min-width: 0;
}
nav.primary-nav a {
  position: relative;
  font-size: 0.88rem;
  color: var(--muted-lt);
  font-weight: 500;
  transition: color 0.2s ease;
  padding-bottom: 4px;
  white-space: nowrap;
}
nav.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}
nav.primary-nav a:hover {
  color: var(--ivory);
}
nav.primary-nav a:hover::after {
  right: 0;
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 16px;
  margin-right: 4px;
  border-right: 1px solid var(--line-dark);
}
.nav-soc {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 239, 234, 0.08);
  color: var(--muted-lt);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.nav-soc:hover {
  background: var(--plum);
  color: var(--ivory);
  transform: translateY(-2px);
}
.nav-soc svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
}
.mobile-social {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 0.6rem;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
.nav-cta .btn-primary {
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
}
header .btn-ghost {
  border-color: var(--line-dark);
  color: var(--ivory);
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
}
header .btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 122, 0.08);
}
.menu-toggle {
  display: none;
  position: relative;
  z-index: 160;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--ivory);
}
.menu-toggle-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    top 0.3s ease;
}
.menu-toggle-bar:nth-child(1) {
  top: 0;
}
.menu-toggle-bar:nth-child(2) {
  top: 9px;
}
.menu-toggle-bar:nth-child(3) {
  top: 18px;
}
.menu-toggle.open .menu-toggle-bar:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.menu-toggle.open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .menu-toggle-bar:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 41, 0.55);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-backdrop.open {
  display: block;
  opacity: 1;
}
.mobile-nav-cta {
  display: none;
}

/* ---------- Language switcher ---------- */
.lang-switcher {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 234, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ivory);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.lang-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 122, 0.1);
}
.lang-btn svg {
  width: 15px;
  height: 15px;
  color: var(--muted-lt);
  flex-shrink: 0;
}
.lang-btn-code {
  min-width: 1.6em;
  text-align: left;
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 168px;
  background: rgba(13, 27, 61, 0.92);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 210;
  flex-direction: column;
  gap: 2px;
}
.lang-menu.open {
  display: flex;
}
.lang-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border-radius: 9px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted-lt);
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.lang-option:hover {
  background: rgba(244, 239, 234, 0.08);
  color: var(--ivory);
}
.lang-option.active {
  background: rgba(201, 169, 122, 0.14);
  color: var(--gold);
}
html[dir="rtl"] .lang-menu {
  right: auto;
  left: 0;
}
html[dir="rtl"] .lang-option {
  text-align: right;
}

@media (max-width: 900px) {
  .nav-social {
    display: none;
  }
  .mobile-social {
    display: flex;
  }
  nav.primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: 78%;
    max-width: 340px;
    background: var(--ink);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-left: 1px solid rgba(244, 239, 234, 0.1);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(1rem, 4vh, 1.6rem);
    padding: clamp(64px, 14vh, 100px) 32px clamp(24px, 6vh, 40px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    overflow: hidden;
    z-index: 150;
  }
  nav.primary-nav.open {
    transform: translateX(0);
  }
  nav.primary-nav a {
    font-size: 1.05rem;
  }
  .nav-cta .btn-ghost {
    display: none;
  }
  .mobile-nav-cta {
    display: block;
    margin-top: 0.4rem;
    width: 100%;
    text-align: center;
  }
  nav.primary-nav a.mobile-nav-cta,
  nav.primary-nav a.mobile-nav-cta span {
    background: var(--gold);
    color: var(--plum-deep);
  }
  nav.primary-nav a.mobile-nav-cta::after {
    display: none;
  }
  nav.primary-nav a.mobile-nav-cta:hover,
  nav.primary-nav a.mobile-nav-cta:hover span {
    background: var(--gold);
    color: var(--plum-deep);
    filter: brightness(0.92);
  }
  .menu-toggle {
    display: block;
  }
  .lang-btn-code {
    display: none;
  }
  .lang-btn {
    width: 38px;
    padding: 0;
    justify-content: center;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: var(--ivory);
  padding: 168px 0 100px;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-radial {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 55% 60% at 18% 15%,
      rgba(58, 90, 153, 0.5),
      transparent 65%
    ),
    radial-gradient(
      ellipse 45% 50% at 90% 85%,
      rgba(201, 169, 122, 0.22),
      transparent 70%
    );
}
.hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.hero h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.1rem);
  line-height: 1.03;
  margin-bottom: 1.6rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--muted-lt);
  max-width: 480px;
  margin-bottom: 2.2rem;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.chip-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.chip {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--muted-lt);
  border: 1px solid var(--line-dark);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}

/* ---------- Phone mockup (iPhone 16 style) ---------- */
.phone {
  position: relative;
  z-index: 1;
  width: min(272px, 78vw);
  margin: 0 auto;
  background: linear-gradient(
    155deg,
    #4b4e54 0%,
    #1c1e22 45%,
    #08090b 100%
  );
  border-radius: 52px;
  padding: 9px;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.phone::before {
  content: "";
  position: absolute;
  right: -2px;
  top: 132px;
  width: 3px;
  height: 58px;
  background: #050506;
  border-radius: 2px 0 0 2px;
}
.phone::after {
  content: "";
  position: absolute;
  left: -2px;
  top: 96px;
  width: 3px;
  height: 30px;
  background: #050506;
  border-radius: 0 2px 2px 0;
  box-shadow:
    0 44px 0 #050506,
    0 78px 0 #050506;
}
.phone-screen {
  background: linear-gradient(
    165deg,
    var(--plum) 0%,
    var(--plum-deep) 100%
  );
  border-radius: 44px;
  padding: 22px 18px 26px;
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 9px
  );
}
.phone-screen.has-shot {
  padding: 0;
  min-height: 0;
  aspect-ratio: 393/852;
}
.phone-screen.has-shot::after {
  content: none;
}
.phone-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.phone-shot.active {
  opacity: 1;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  max-width: 96px;
  height: 21px;
  background: #000;
  border-radius: 14px;
  z-index: 5;
}

/* ---------- Section shell ---------- */
.section-pad {
  padding: 110px 0;
}
section.dark {
  background: var(--ink);
  color: var(--ivory);
}
section.dim {
  background: var(--paper-dim);
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  line-height: 1.08;
}
.section-head p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 300;
  max-width: 560px;
}
section.dark .section-head p {
  color: var(--muted-lt);
}

/* ---------- Problem section ---------- */
.questions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 60px;
}
.q-tag {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1rem;
  border: 1px solid var(--line);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  color: var(--ink-text);
  transition:
    border-color 0.2s ease,
    transform 0.4s var(--ease),
    background 0.2s ease,
    opacity 0.4s var(--ease);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
}
.questions-row.in .q-tag {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.questions-row.in .q-tag:nth-child(1) {
  transition-delay: 0.02s;
}
.questions-row.in .q-tag:nth-child(2) {
  transition-delay: 0.08s;
}
.questions-row.in .q-tag:nth-child(3) {
  transition-delay: 0.14s;
}
.questions-row.in .q-tag:nth-child(4) {
  transition-delay: 0.2s;
}
.questions-row.in .q-tag:nth-child(5) {
  transition-delay: 0.26s;
}
.q-tag:nth-child(5n + 1) {
  background: rgba(201, 169, 122, 0.14);
  border-color: rgba(201, 169, 122, 0.4);
}
.q-tag:nth-child(5n + 2) {
  background: rgba(58, 90, 153, 0.1);
  border-color: rgba(58, 90, 153, 0.32);
}
.q-tag:nth-child(5n + 3) {
  background: rgba(107, 155, 130, 0.12);
  border-color: rgba(107, 155, 130, 0.35);
}
.q-tag:nth-child(5n + 4) {
  background: rgba(180, 110, 110, 0.1);
  border-color: rgba(180, 110, 110, 0.32);
}
.q-tag:nth-child(5n + 5) {
  background: rgba(58, 90, 153, 0.1);
  border-color: rgba(58, 90, 153, 0.32);
}
.q-tag:hover {
  border-color: var(--plum-bright);
  transform: translateY(-3px) scale(1);
  box-shadow: var(--shadow-sm);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.pain-grid > * {
  min-width: 0;
}
.pain-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
}
.pain-grid.in .pain-card {
  opacity: 1;
  transform: translateY(0);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--plum-bright);
}
.pain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.pain-card p {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 300;
}
.stat-highlight {
  font-weight: 700;
  color: var(--plum-bright);
}
.pain-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 0.8rem;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.feature-grid > * {
  min-width: 0;
}
.feature-card {
  background: rgba(244, 239, 234, 0.55);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 1.7rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s ease;
  opacity: 0;
  transform: translateY(16px);
}
.feature-grid.in .feature-card {
  opacity: 1;
  transform: translateY(0);
}
.feature-grid.in .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--plum-bright);
}
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--plum);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform 0.3s var(--ease);
}
.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}
.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--ivory);
  fill: none;
  stroke-width: 1.6;
}
.feature-card h3 {
  font-size: 1.02rem;
  font-weight: 600;
  font-family: "Public Sans", sans-serif;
  margin-bottom: 0.4rem;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}

.pain-grid.in .pain-card:nth-child(1),
.feature-grid.in .feature-card:nth-child(1) {
  transition-delay: 0.02s;
}
.pain-grid.in .pain-card:nth-child(2),
.feature-grid.in .feature-card:nth-child(2) {
  transition-delay: 0.08s;
}
.pain-grid.in .pain-card:nth-child(3),
.feature-grid.in .feature-card:nth-child(3) {
  transition-delay: 0.14s;
}
.pain-grid.in .pain-card:nth-child(4),
.feature-grid.in .feature-card:nth-child(4) {
  transition-delay: 0.2s;
}
.feature-grid.in .feature-card:nth-child(5) {
  transition-delay: 0.26s;
}
.feature-grid.in .feature-card:nth-child(6) {
  transition-delay: 0.32s;
}
.feature-grid.in .feature-card:nth-child(7) {
  transition-delay: 0.38s;
}
.feature-grid.in .feature-card:nth-child(8) {
  transition-delay: 0.44s;
}

/* Footer links target individual cards: keep them clear of the fixed
   header and briefly highlight the card that was linked to. */
.feature-card {
  scroll-margin-top: 110px;
}
.feature-grid .feature-card:target {
  opacity: 1;
  transform: none;
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(201, 169, 122, 0.35),
    var(--shadow-lg);
  animation: feature-target-pulse 1.6s var(--ease) 1;
}
@keyframes feature-target-pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(201, 169, 122, 0.7),
      var(--shadow-lg);
  }
  100% {
    box-shadow:
      0 0 0 3px rgba(201, 169, 122, 0.35),
      var(--shadow-lg);
  }
}

/* ---------- Spotlight (Today's Outfit) ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.spotlight > * {
  min-width: 0;
}
.spotlight-list {
  margin-top: 1.8rem;
}

/* ---------- Shared enhanced checklist (Daily Outfit + Virtual Try-On) ---------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}
.check-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--muted-lt);
  font-weight: 300;
  line-height: 1.5;
}
.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 122, 0.16);
  border: 1px solid rgba(201, 169, 122, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.25s var(--ease),
    background 0.25s ease;
}
.check-list li:hover .check-icon {
  transform: scale(1.1);
  background: rgba(201, 169, 122, 0.26);
}
.check-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Coming soon badge ---------- */
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 122, 0.14);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
  font-weight: 600;
}
.badge-soon .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Personalize stage ---------- */
.personalize-points {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.1rem 2.2rem;
  margin: 1.8rem 0 3.2rem;
}
.personalize-points li {
  max-width: 320px;
}

.personalize-stage {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.6rem;
  align-items: start;
}
.personalize-stage > * {
  min-width: 0;
}
.stage-window {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, #1c2c4d 0%, var(--ink-soft) 100%);
  border: 1px solid var(--line-dark);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.stage-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 1s ease,
    transform 4s ease;
}
.stage-img.active {
  opacity: 1;
  transform: scale(1.06);
}
.stage-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 41, 0.35) 0%,
    transparent 22%,
    transparent 68%,
    rgba(8, 16, 41, 0.55) 100%
  );
}
.stage-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 16, 41, 0.55);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 122, 0.4);
}
.stage-count {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(8, 16, 41, 0.55);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 239, 234, 0.2);
}
.stage-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.1rem;
}
.stage-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-dark);
  border: none;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}
.stage-dots button.active {
  background: var(--gold);
  transform: scale(1.35);
}

.stage-rail {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  background: rgba(244, 239, 234, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  padding: 0.55rem 0.9rem 0.55rem 0.55rem;
  text-align: left;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s var(--ease);
}
.rail-item:hover {
  border-color: rgba(201, 169, 122, 0.4);
  transform: translateX(3px);
}
.rail-item.active {
  border-color: var(--gold);
  background: rgba(201, 169, 122, 0.1);
}
.rail-combo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 52px;
  flex-shrink: 0;
}
.rail-combo img {
  width: 52px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  background: #eae3d8;
}
.rail-text b {
  display: block;
  font-size: 0.86rem;
  color: var(--ivory);
  font-weight: 600;
  font-family: "Public Sans", sans-serif;
}
.rail-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--muted-lt);
  font-weight: 300;
  margin-top: 2px;
}

.personalize-cta {
  text-align: center;
  margin-top: 2.8rem;
}

/* ---------- Virtual Try-On (personalize) section: prominent white bg ---------- */
#virtual-try-on {
  background: #ffffff;
  color: var(--ink-text);
}
#virtual-try-on .eyebrow {
  color: var(--plum-bright);
}
#virtual-try-on .section-head p {
  color: var(--muted);
}
#virtual-try-on .personalize-points li {
  color: var(--muted);
}
#virtual-try-on .personalize-stage {
  background: var(--ink);
  border-radius: 28px;
  padding: 2.4rem;
}
@media (max-width: 560px) {
  #virtual-try-on .personalize-stage {
    padding: 1.4rem;
  }
}

/* ---------- How it works: steps slider ---------- */
.steps-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.steps-stage > * {
  min-width: 0;
}
.steps-info-col h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.12;
  margin-bottom: 1.7rem;
}
.steps-phone-col {
  display: flex;
  justify-content: center;
}
.steps-text-wrap {
  display: grid;
}
.steps-text {
  grid-area: 1/1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.steps-text.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.step-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.6rem;
}
.steps-text h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 0.7rem;
}
.steps-text p {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 300;
  max-width: 420px;
}
.steps-cta {
  margin-top: 1.4rem;
}

.btn-compact {
  padding: 0.65rem 1.5rem;
  font-size: 0.82rem;
}

/* Phone-compact: a shorter mockup so the section reads tighter */
.phone-compact {
  width: min(220px, 62vw);
}

/* Attractive stepper/tab bar above the step text */
.steps-tabs {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.steps-tab {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 104px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
  padding: 0.8rem 1rem 0.7rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.25s var(--ease),
    box-shadow 0.3s ease;
}
.steps-tab:hover {
  transform: translateY(-2px);
  border-color: var(--plum-bright);
}
.steps-tab-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
}
.steps-tab-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-text);
  position: relative;
  z-index: 1;
}
.steps-tab-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--plum-bright));
}
.steps-tab.done {
  border-color: rgba(201, 169, 122, 0.4);
  background: rgba(201, 169, 122, 0.08);
}
.steps-tab.done .steps-tab-fill {
  width: 100%;
}
.steps-tab.active {
  border-color: var(--gold);
  background: rgba(201, 169, 122, 0.16);
  box-shadow: var(--shadow-sm);
}
.steps-tab.active .steps-tab-fill {
  animation: stepsTabFill 3.6s linear forwards;
}
@keyframes stepsTabFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* ---------- Download CTA ---------- */
#download {
  padding: 72px 0;
}
.download-cta {
  background: var(--plum);
  color: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 38% 42% at 50% 38%,
      rgba(201, 169, 122, 0.16),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 8% 90%,
      rgba(58, 90, 153, 0.45),
      transparent 70%
    ),
    radial-gradient(
      ellipse 40% 50% at 92% 10%,
      rgba(58, 90, 153, 0.4),
      transparent 70%
    ),
    linear-gradient(180deg, var(--plum-deep), var(--plum) 60%);
}
/* Gold hairline where the section meets the light band above it */
.download-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 122, 0.7),
    transparent
  );
}
.download-cta .eyebrow {
  background: rgba(201, 169, 122, 0.12);
  border-color: rgba(201, 169, 122, 0.32);
}
.download-cta .wrap {
  position: relative;
  z-index: 1;
}
.download-cta h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  margin-bottom: 0.9rem;
}
.download-cta p {
  color: rgba(244, 239, 234, 0.85);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-weight: 300;
}
.download-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.7rem;
  flex-wrap: wrap;
}
.download-divider {
  width: 1px;
  height: 56px;
  background: rgba(244, 239, 234, 0.2);
  flex-shrink: 0;
}
.download-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.download-qr span {
  font-size: 0.72rem;
  color: rgba(244, 239, 234, 0.72);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.download-qr .app-card-qr {
  width: 88px;
  height: 88px;
}
.store-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #000;
  border: 1px solid rgba(244, 239, 234, 0.18);
  border-radius: 14px;
  padding: 0.85rem 1.7rem;
  box-shadow:
    var(--shadow-sm),
    0 12px 26px -12px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}
.store-badge:hover {
  transform: translateY(-3px);
  background: #141414;
  border-color: var(--gold);
  box-shadow:
    var(--shadow-md),
    0 20px 36px -14px rgba(0, 0, 0, 0.6);
}
.store-badge:active {
  transform: translateY(0) scale(0.97);
}
.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.store-badge .store-text {
  text-align: left;
  line-height: 1.15;
}
.store-badge .store-text small {
  display: block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  opacity: 0.75;
}
.store-badge .store-text b {
  font-size: 1.05rem;
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: #fff;
}
.store-note {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(244, 239, 234, 0.65);
}

/* ---------- FAQ (card accordion) ---------- */
.faq-list {
  max-width: 980px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
  align-content: start;
}
details {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 1.35rem 1.6rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-sm);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--ease);
}
details:hover {
  border-color: rgba(58, 90, 153, 0.35);
  transform: translateY(-2px);
}
details[open] {
  border-color: var(--plum-bright);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-md);
}
details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: "Fraunces", serif;
  font-size: 1.04rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
details summary:hover {
  color: var(--plum-bright);
}
details summary::-webkit-details-marker {
  display: none;
}
.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--plum-bright);
  background: rgba(58, 90, 153, 0.1);
  border-radius: 999px;
  padding: 4px;
  transition:
    transform 0.3s var(--ease),
    background 0.25s ease;
}
details[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(58, 90, 153, 0.16);
}
details p {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
  max-width: 640px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: var(--muted-lt);
  padding: 80px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.4rem;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-top > * {
  min-width: 0;
}
.footer-brand .logo {
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.88rem;
  max-width: 280px;
  font-weight: 300;
}
.footer-col h3 {
  font-family: "Public Sans";
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--muted-lt);
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--ivory);
}
.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.4rem;
}
.fsoc {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(244, 239, 234, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.fsoc:hover {
  background: var(--plum);
  border-color: transparent;
  transform: translateY(-3px);
}
.fsoc svg {
  width: 16px;
  height: 16px;
  fill: var(--muted-lt);
  stroke: none;
}
.fsoc:hover svg {
  fill: var(--ivory);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--muted-lt);
}
.footer-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-tags span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--plum-deep);
  background: var(--gold);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(201, 169, 122, 0.5);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: inline-block;
}
.footer-tags span:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -8px rgba(201, 169, 122, 0.65);
}

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    order: 1;
  }
  .phone {
    order: 0;
    margin-bottom: 20px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .personalize-stage {
    grid-template-columns: 1fr;
  }
  .stage-rail {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.7rem;
    padding-bottom: 0.3rem;
  }
  .rail-item {
    flex: 0 0 auto;
    width: auto;
  }
  .steps-stage {
    grid-template-columns: 1fr;
  }
  .steps-phone-col {
    order: 0;
    margin-bottom: 0.5rem;
  }
  .steps-info-col {
    order: 1;
  }
  .faq-list {
    column-gap: 2rem;
  }
}
@media (max-width: 560px) {
  .wrap {
    padding: 0 20px;
  }
  .section-pad {
    padding: 76px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .pain-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 140px;
  }
  .faq-list {
    grid-template-columns: 1fr;
  }
  .store-row {
    flex-direction: column;
    align-items: stretch;
  }
  .store-badge {
    justify-content: center;
  }
  .download-divider {
    display: none;
  }
}
@media (max-width: 380px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .personalize-cta .btn {
    width: 100%;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Glassmorphism (subtle — boxes & buttons only) ---------- */
.glass {
  background: rgba(244, 239, 234, 0.06);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(244, 239, 234, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 234, 0.08),
    var(--shadow-md);
}

/* ---------- Reveal: left/right (NextGeneSol block) ---------- */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- NextGeneSol ---------- */
.ngs-section {
  position: relative;
  overflow: hidden;
}
.ngs-section.section-pad {
  padding: 56px 0;
}
@media (max-width: 560px) {
  .ngs-section.section-pad {
    padding: 40px 0;
  }
}
.ngs-mesh {
  position: absolute;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 20%,
      rgba(201, 169, 122, 0.18),
      transparent 42%
    ),
    radial-gradient(
      circle at 84% 0%,
      rgba(58, 90, 153, 0.28),
      transparent 45%
    );
}
.ngs-inner {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 540px);
  justify-content: center;
  column-gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.ngs-brand {
  /* Shrink to the widest item (the heading) and sit centred in its column */
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  text-align: center;
}
.ngs-brand .fsoc {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.ngs-brand .fsoc svg {
  width: 14px;
  height: 14px;
}
.ngs-brand .footer-social {
  justify-content: center;
}
.ngs-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  /* Fill the brand column without widening it, so the buttons match
     the width of the "NextGeneSol" heading above. */
  width: 0;
  min-width: 100%;
}
.ngs-cta-row .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
  font-size: 0.76rem;
  letter-spacing: 0;
  padding: 0.6rem 0.85rem;
}
.ngs-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(201, 169, 122, 0.14);
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 169, 122, 0.3);
}
.ngs-logo {
  width: 130px;
  max-width: 60vw;
  height: auto;
  margin: 0 auto 14px;
  border-radius: 12px;
  background: #fff;
  padding: 10px 13px;
  display: block;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.55);
}
#ngs-heading {
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);
  margin: 0 0 12px;
}
.ngs-text {
  padding-left: 44px;
  border-left: 1px solid var(--line-dark);
}
.ngs-text p {
  font-size: 0.92rem;
  color: var(--muted-lt);
  line-height: 1.7;
  margin-bottom: 10px;
  font-weight: 300;
}
.ngs-text p strong {
  color: var(--ivory);
}
.ngs-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
}
.ngs-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  color: var(--muted-lt);
  font-weight: 500;
  transition: color 0.25s ease;
}
.ngs-contact a:hover {
  color: var(--gold);
}
.ngs-contact svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

.app-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 18px;
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}
.app-card:last-child {
  margin-bottom: 0;
}
.app-card:hover {
  transform: translateX(6px);
}
.app-card.din {
  background: rgba(232, 85, 30, 0.1);
  border: 1px solid rgba(232, 85, 30, 0.25);
}
.app-card.zen {
  background: rgba(112, 179, 73, 0.1);
  border: 1px solid rgba(112, 179, 73, 0.25);
}
.app-card.queue {
  background: rgba(244, 239, 234, 0.04);
  border: 1px dashed rgba(244, 239, 234, 0.18);
}
.app-card.queue:hover {
  transform: none;
}
.app-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
}
.app-card-plate {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 239, 234, 0.07);
}
.app-card-plate svg {
  width: 20px;
  height: 20px;
  color: var(--muted-lt);
}
.app-card-body {
  flex: 1;
  min-width: 0;
}
.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.app-card-top h4 {
  font-size: 1rem;
  color: var(--ivory);
  font-weight: 700;
  font-family: "Public Sans", sans-serif;
}
.app-card-status {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.app-card.din .app-card-status {
  background: rgba(232, 85, 30, 0.24);
  color: #f5a075;
}
.app-card.zen .app-card-status {
  background: rgba(112, 179, 73, 0.22);
  color: #a9d98d;
}
.app-card.queue .app-card-status {
  background: rgba(244, 239, 234, 0.08);
  color: var(--muted-lt);
}
.app-card-body p {
  font-size: 0.84rem;
  color: var(--muted-lt);
  line-height: 1.6;
  margin-bottom: 10px;
  font-weight: 300;
}
.app-card-link {
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.app-card.din .app-card-link {
  color: #f5a075;
}
.app-card.zen .app-card-link {
  color: #a9d98d;
}
.app-card.queue .app-card-link {
  color: var(--ivory);
}
.app-card-link svg {
  width: 14px;
  height: 14px;
}
.app-card-qr {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
  cursor: pointer;
}
.app-card-qr:hover {
  transform: scale(1.08) rotate(-1deg);
}
.app-card-qr:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.app-card:hover .app-card-qr {
  transform: scale(1.06) rotate(-1deg);
}
.app-card-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Published Apps modal ---------- */
.apps-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.apps-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.apps-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 41, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.apps-modal-box {
  position: relative;
  background: var(--ink-soft);
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  padding: 36px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.55);
  max-width: 520px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  transform: scale(0.92);
  opacity: 0;
  transition:
    transform 0.35s var(--ease),
    opacity 0.3s ease;
}
.apps-modal.open .apps-modal-box {
  transform: scale(1);
  opacity: 1;
}
.apps-modal-box h3 {
  font-size: 1.3rem;
  color: var(--ivory);
  margin-bottom: 6px;
  padding-right: 30px;
}
.apps-modal-box > p {
  font-size: 0.9rem;
  color: var(--muted-lt);
  margin-bottom: 24px;
}
.apps-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(244, 239, 234, 0.08);
  border: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.apps-modal-close:hover {
  background: rgba(244, 239, 234, 0.16);
}
.apps-modal-close svg {
  width: 18px;
  height: 18px;
  color: var(--ivory);
}
@media (max-width: 600px) {
  .apps-modal-box {
    padding: 26px 22px;
  }
}

/* ---------- QR modal ---------- */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 410;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.qr-modal.open {
  opacity: 1;
  pointer-events: auto;
}
.qr-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 41, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.qr-modal-box {
  position: relative;
  background: var(--paper);
  border-radius: 28px;
  padding: 40px;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.55);
  max-width: 360px;
  width: 100%;
  text-align: center;
  transform: scale(0.85);
  opacity: 0;
  transition:
    transform 0.35s var(--ease),
    opacity 0.3s ease;
}
.qr-modal.open .qr-modal-box {
  transform: scale(1);
  opacity: 1;
}
.qr-modal-box img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: block;
}
.qr-modal-caption {
  font-weight: 700;
  color: var(--ink-text);
  font-size: 1.05rem;
  font-family: "Fraunces", serif;
}
.qr-modal-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 6px;
}
.qr-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--paper-dim);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.qr-modal-close:hover {
  background: var(--gold);
}
.qr-modal-close svg {
  width: 18px;
  height: 18px;
  color: var(--ink-text);
}
@media (max-width: 480px) {
  .qr-modal-box {
    padding: 30px 24px;
  }
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(244, 239, 234, 0.12);
  backdrop-filter: blur(13px) saturate(150%);
  -webkit-backdrop-filter: blur(13px) saturate(150%);
  border: 1px solid rgba(244, 239, 234, 0.2);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 150;
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s var(--ease),
    background 0.3s ease;
}
.scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.scroll-top:hover {
  background: var(--gold);
}
.scroll-top svg {
  color: var(--gold);
  width: 20px;
  height: 20px;
  transition: color 0.3s ease;
}
.scroll-top:hover svg {
  color: var(--plum-deep);
}

@media (max-width: 780px) {
  .ngs-inner {
    grid-template-columns: 1fr;
  }
  .ngs-brand {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .ngs-badge,
  .ngs-logo,
  .ngs-cta-row {
    margin-left: auto;
    margin-right: auto;
  }
  .ngs-text {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--line-dark);
    margin-top: 24px;
    padding-top: 22px;
    text-align: center;
  }
  .ngs-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .ngs-contact,
  .ngs-cta-row {
    align-items: center;
  }
  .footer-social[aria-label="NextGeneSol on social media"] {
    justify-content: center;
  }
}
@media (max-width: 720px) {
  .app-card {
    flex-direction: column;
  }
  .app-card-qr {
    align-self: flex-start;
  }
}

/* =================================================================
   Subpages (privacy.html, terms.html, contact.html)
   Built from the same tokens and components as the landing page.
   ================================================================= */
.page-hero {
  padding: 156px 0 88px;
}
.page-hero .wrap {
  grid-template-columns: 1fr;
  gap: 0;
}
.page-hero .hero-copy {
  max-width: 760px;
}
.page-hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 1.2rem;
}
.page-hero p.lead {
  max-width: 600px;
  margin-bottom: 1.8rem;
}
.page-meta {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--muted-lt);
  letter-spacing: 0.02em;
}

/* Two-column split used for retention / deletion and contact */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: start;
}
.split > * {
  min-width: 0;
}
.panel {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  padding: 1.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-sm);
}
section.dim .panel {
  background: rgba(244, 239, 234, 0.6);
}
.panel h3 {
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.panel p {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
}
.kv-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.kv-list li:last-child {
  border-bottom: none;
}
.kv-list span {
  color: var(--ink-text);
  font-weight: 500;
}
.kv-list b {
  color: var(--plum-bright);
  font-weight: 600;
  text-align: right;
}
.step-list {
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}
.step-list li {
  counter-increment: step;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  font-size: 0.93rem;
}
.step-list li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.panel a:not(.btn),
.faq-list a,
.feature-card a {
  color: var(--plum-bright);
  font-weight: 600;
  border-bottom: 1px solid rgba(58, 90, 153, 0.3);
}
.faq-list.single {
  grid-template-columns: 1fr;
  max-width: 860px;
}

/* Contact */
.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-card .feature-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.contact-card address {
  unicode-bidi: plaintext; /* keep the Latin-script address readable in RTL */
  font-style: normal;
  font-size: 0.92rem;
  color: var(--ink-text);
}
.contact-stack {
  display: grid;
  gap: 1rem;
}
.contact-card .contact-desc {
  font-size: 0.86rem;
  margin: 0.1rem 0 0.45rem;
}
.feature-card a.contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(58, 90, 153, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.feature-card a.contact-cta:hover {
  background: rgba(58, 90, 153, 0.08);
  border-color: var(--plum-bright);
}
[dir="rtl"] .contact-cta > span[aria-hidden] {
  display: inline-block;
  transform: scaleX(-1);
}
.contact-stack .feature-card {
  opacity: 1;
  transform: none;
}
.map-frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--paper-dim);
  box-shadow: var(--shadow-sm);
}
.map-frame {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(58, 90, 153, 0.12), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px),
    var(--paper-dim);
}
.map-load {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(58, 90, 153, 0.3);
  background: rgba(255, 255, 255, 0.85);
  color: var(--plum);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s ease;
}
.map-load:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.map-load svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--plum-bright);
  stroke-width: 1.8;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  margin-bottom: 1rem;
}
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-text);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(27, 35, 51, 0.16);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--plum-bright);
  box-shadow: var(--focus-ring);
}
/* Honeypot: visually hidden in place. An off-screen offset (left: -9999px)
   creates scrollable overflow in RTL (Arabic) and blanks the page. */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.2rem 0 1.2rem;
}
.panel .btn-primary {
  width: 100%;
}
.btn-primary[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
}
.form-status.show {
  display: block;
}
.form-status.ok {
  background: #e7f3ec;
  color: #1d5b3a;
  border: 1px solid #b9dcc8;
}
.form-status.err {
  background: #fbeaea;
  color: #8a1f1a;
  border: 1px solid #f0c2bf;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .page-hero {
    padding: 128px 0 64px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 1.4rem;
  }
}

/* ---------- For Brands (B2B) ---------- */
/* Sits between two navy sections, so the navy lives in a floating panel on a
   light band — the paper gap keeps it from merging with its neighbours. */
section.dark.b2b-section {
  background: var(--paper);
}
.b2b-section.section-pad {
  padding: 88px 0;
}
.b2b-panel {
  position: relative;
  overflow: hidden;
  padding: 64px 56px 56px;
  border-radius: 32px;
  background:
    radial-gradient(
      ellipse 55% 60% at 100% 0%,
      rgba(201, 169, 122, 0.2),
      transparent 65%
    ),
    radial-gradient(
      ellipse 50% 55% at 0% 100%,
      rgba(58, 90, 153, 0.45),
      transparent 70%
    ),
    linear-gradient(160deg, var(--ink-soft), var(--plum-deep));
  border: 1px solid rgba(201, 169, 122, 0.3);
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 234, 0.08),
    var(--shadow-lg);
}
.b2b-section .section-head .eyebrow {
  color: var(--gold);
}
.b2b-grid {
  grid-template-columns: repeat(3, 1fr);
}
.b2b-section .feature-card {
  background: rgba(244, 239, 234, 0.05);
  border-color: var(--line-dark);
  box-shadow:
    inset 0 1px 0 rgba(244, 239, 234, 0.08),
    var(--shadow-md);
}
.b2b-section .feature-grid.in .feature-card:hover {
  border-color: var(--gold);
}
.b2b-section .feature-icon {
  background: var(--gold);
}
.b2b-section .feature-icon svg {
  stroke: var(--plum-deep);
}
.b2b-section .feature-card h3 {
  color: var(--ivory);
}
.b2b-section .feature-card p {
  color: var(--muted-lt);
}
.b2b-callout {
  margin-top: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem 2.4rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius);
  background: rgba(201, 169, 122, 0.08);
  color: var(--muted-lt);
  border: 1px solid rgba(201, 169, 122, 0.35);
  box-shadow: var(--shadow-md);
}
.b2b-callout p {
  max-width: 720px;
  font-size: 0.98rem;
  font-weight: 300;
}
.b2b-callout strong {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.b2b-callout .btn-primary {
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .b2b-grid {
    grid-template-columns: 1fr;
  }
  .b2b-panel {
    padding: 48px 32px 36px;
  }
  .b2b-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .b2b-callout {
    padding: 1.4rem;
  }
  .b2b-callout .btn {
    width: 100%;
  }
  .b2b-section.section-pad {
    padding: 48px 0;
  }
  .b2b-section .wrap {
    padding: 0 12px;
  }
  .b2b-panel {
    padding: 40px 20px 24px;
    border-radius: 24px;
  }
}

/* Partner modal: navy panel like the other modals, with dark form fields */
.partner-modal-box {
  max-width: 620px;
  border-color: rgba(201, 169, 122, 0.28);
}
.partner-modal-box h3 {
  font-size: 1.6rem;
}
.partner-modal-box .field label,
.partner-modal-box .check-group legend {
  color: var(--ivory);
}
.partner-modal-box .field input,
.partner-modal-box .field textarea {
  color: var(--ivory);
  background: rgba(244, 239, 234, 0.06);
  border-color: var(--line-dark);
}
.partner-modal-box .field input::placeholder,
.partner-modal-box .field textarea::placeholder {
  color: rgba(174, 180, 194, 0.7);
}
.partner-modal-box .field input:focus,
.partner-modal-box .field textarea:focus {
  background: rgba(244, 239, 234, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 122, 0.25);
}
.partner-modal-box .btn-primary {
  width: 100%;
  background: var(--gold);
  color: var(--plum-deep);
}
.partner-modal-box .btn-primary:hover {
  background: var(--gold);
  filter: brightness(0.92);
}
.field-opt {
  font-weight: 400;
  color: var(--muted-lt);
}
.check-group {
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.check-group legend {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line-dark);
  background: rgba(244, 239, 234, 0.06);
  color: var(--ivory);
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.check input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}
.check:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 169, 122, 0.14);
}
.check:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(201, 169, 122, 0.25);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 500;
  max-width: min(460px, calc(100vw - 32px));
  padding: 0.95rem 1.3rem;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.3s ease,
    transform 0.35s var(--ease);
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.toast.err {
  border-left-color: #e0817a;
}

/* ---------- Footer: Investor Relations box ---------- */
.investor-box {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 320px;
  margin-top: 1.6rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(244, 239, 234, 0.04);
  border: 1px solid rgba(201, 169, 122, 0.28);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s var(--ease);
}
.investor-box:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 122, 0.08);
  transform: translateY(-2px);
}
.investor-box-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.investor-box-text {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted-lt);
}
.investor-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ivory);
}
.investor-box-cta > span:last-child {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.investor-box:hover .investor-box-cta > span:last-child {
  transform: translateX(4px);
}
[dir="rtl"] .investor-box-cta > span:last-child {
  transform: scaleX(-1);
}
[dir="rtl"] .investor-box:hover .investor-box-cta > span:last-child {
  transform: scaleX(-1) translateX(4px);
}

/* ---------- Investors page ---------- */
.inv-split {
  grid-template-columns: 1fr 1.05fr;
  gap: 2.4rem;
}
.inv-head {
  margin-bottom: 0.6rem;
}
.inv-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}
.inv-panel {
  border-top: 3px solid var(--gold);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-md);
}
.inv-panel h3 {
  font-family: "Public Sans", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 1.4rem;
}
.inv-note {
  margin: 0.9rem 0 0;
  text-align: center;
}
@media (max-width: 900px) {
  .inv-split {
    grid-template-columns: 1fr;
  }
}
