/*
  My BagTags brand design system.
  Single source of truth for color/type tokens and the layout-level CSS that
  used to live embedded inline in Pages/Shared/_Layout.cshtml. Loaded last,
  after the vendor style.css bundle, so these rules win.
*/

:root {
  --brand-900: #2b142e;
  --brand-700: #4d2145; /* primary brand purple — sparse accent only */
  --brand-500: #7a3a68; /* hover/darken partner for the accent */
  --brand-300: #a6698f;
  --brand-100: #f3e9f0;
  --brand-050: #faf6f9;

  --ink-900: #1f1522;
  --ink-600: #5c5560;
  --ink-200: #e7e1e6;

  /* Apple-minimal surface + text system */
  --surface:     #ffffff;   /* primary section background */
  --surface-alt: #f5f5f7;   /* alternating light-gray panel */
  --surface-dark:#1d1d1f;   /* one dramatic near-black beat */
  --ink:         #1d1d1f;   /* primary near-black text */
  --ink-soft:    #6e6e73;   /* secondary/body gray */
  --ink-faint:   #a1a1a1;   /* tertiary gray — timestamps, fine print */
  --hairline:    #d2d2d7;   /* thin dividers */
  --accent:      var(--brand-700);
  --accent-hover:#3a1834;
}

/* ---------------------------------------------------------------- */
/* Typography — Apple-minimal. Headings use Plus Jakarta Sans        */
/* (already the h1-h6 face in style.css); large, tight, heavy.       */
/* ---------------------------------------------------------------- */

.tp-display-1,
.tp-display-2,
.tp-display-3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  text-wrap: balance;
  overflow-wrap: break-word;
  margin: 0;
}

.tp-display-1 { font-size: clamp(30px, 6vw, 80px); }
.tp-display-2 { font-size: clamp(26px, 4.6vw, 56px); }
.tp-display-3 { font-size: clamp(22px, 3vw, 40px); }

.tp-lead {
  color: var(--ink-soft);
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  overflow-wrap: break-word;
  margin: 0;
}

.tp-eyebrow {
  color: var(--accent);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

/* ---------------------------------------------------------------- */
/* Layout primitives — full-bleed centered sections with lots of air */
/* ---------------------------------------------------------------- */

.tp-section {
  background-color: var(--surface);
  padding: clamp(72px, 10vw, 160px) 20px;
}

.tp-section--alt  { background-color: var(--surface-alt); }
.tp-section--dark { background-color: var(--surface-dark); }
.tp-section--dark .tp-display-1,
.tp-section--dark .tp-display-2,
.tp-section--dark .tp-display-3 { color: #f5f5f7; }
.tp-section--dark .tp-lead { color: #a1a1a6; }

.tp-section__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.tp-section__inner--wide { max-width: 1180px; }

.tp-section__media {
  margin-top: clamp(32px, 5vw, 64px);
}

.tp-section__media img {
  max-width: 100%;
  height: auto;
}

.tp-stack-gap > * + * { margin-top: 22px; }

/* ---------------------------------------------------------------- */
/* Apple-style CTAs                                                  */
/* ---------------------------------------------------------------- */

.tp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
}

.tp-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  padding: 14px 26px;
  border-radius: 980px;
  border: 0;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.tp-cta-primary:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.tp-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-weight: 500;
  font-size: 17px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.tp-cta-link::after {
  content: "\203A"; /* › chevron */
  font-size: 1.25em;
  line-height: 1;
  transform: translateY(-1px);
}

.tp-cta-link:hover { color: var(--accent); opacity: 0.72; }

/* ---------------------------------------------------------------- */
/* Legacy brand utilities (kept for pages not fully restructured)    */
/* ---------------------------------------------------------------- */

.tp-brand-color   { color: var(--brand-700); }
.tp-brand-bg-tint { background-color: var(--brand-100); }
.tp-brand-bg      { background-color: var(--brand-700); }

/* Legacy hero-title (Contact page still uses it) — Barlow is no longer loaded,
   so pin it to the Apple type system: clean Plus Jakarta Sans, tight, no shadow. */
.tp-hero__hero-title {
  font-family: inherit !important;
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  text-shadow: none !important;
}

/* Native <select> caret to replace nice-select's JS-rendered dropdown */
.custom-dropdown {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 48px !important;
  cursor: pointer;
}

.custom-dropdown:invalid {
  color: #75706f;
}

/* ---------------------------------------------------------------- */
/* Header / nav (migrated from _Layout.cshtml inline <style>)        */
/* ---------------------------------------------------------------- */

.tp-about__btn a {
  margin-right: 15px;
}

.dropdown-toggle {
  color: black;
  border: none;
  cursor: pointer;
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 30px;
  background-color: #ffffff;
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  z-index: 1;
}

.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content li {
  padding: 10px 15px;
  transition: background 0.2s;
}

.dropdown-content li:hover {
  background-color: var(--brand-100);
}

.top-language-overlap {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: black;
  padding: 10px;
}

.header-bottom__area-2.header-sticky .tp-btn-border span:hover {
  color: #ffffff;
}

.top-language-overlap i {
  margin-right: 15px;
}

.show,
.dropdown-content.show {
  display: block;
}

.dropdown-content li:hover .submenu {
  display: block;
}

.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
  padding-left: 20px;
  border: 1px solid var(--ink-200);
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  padding: 10px 15px;
  text-decoration: none;
  color: var(--ink-600);
}

.dropdown-item:hover {
  background-color: var(--brand-050);
}

.navbar {
  display: block;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.navbar li {
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.navbar li.categoryQuickMenu:hover,
.navbar li.categorySelectMenu:hover {
  background-color: var(--brand-500);
  opacity: 0.9;
}

.categoryQuickMenuConfig,
.categorySelectMenuConfig {
  font-size: large;
  color: #ffffff;
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  outline: none;
}

.submenu {
  display: none;
  padding-left: 15px;
  max-height: 365px;
  overflow-y: auto;
  color: var(--brand-300);
  background-color: #000000db;
  border-radius: 5px;
  position: relative;
  z-index: 1000;
}

.submenu li {
  padding: 25px;
  border-bottom: 3px groove #ffffff05;
}

.submenu.active {
  display: block;
}

.languageSettingBtn {
  background-color: #e6e6e6 !important;
  color: #2c2c2c !important;
  font-weight: 500 !important;
  border-color: #cfcfcf !important;
  border-style: solid !important;
}

.languageSettingBtn.btn:focus,
.languageSettingBtn.btn.show:focus {
  box-shadow: 0px 0px 5px 1px var(--brand-500) !important;
}

/* Logo sizing */
.whiteTlmLogo {
  width: 8vw;
}

.blueTlmLogo {
  width: 8vw;
  padding: 10px;
}

/* Off-canvas mobile menu */
.body-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1f1f1f;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff;
  transform: translateY(-100%);
  transition: transform 0.5s ease;
}

.menu-visible {
  transform: translateY(0);
}

.menu-hidden {
  transform: translateY(-100%);
}

.menu-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 5px 25px 5px 25px;
  background: linear-gradient(135deg, #1f0d23, #33152f, var(--brand-700), #3a1a3b, var(--brand-900));
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 2px solid #ffffff1c;
  border-radius: 0px 0px 20px 20px;
}

.menu-header h2 {
  font-size: 24px;
}

.close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer !important;
}

/* ---------------------------------------------------------------- */
/* Footer (migrated from _Layout.cshtml's second inline <style>)    */
/* ---------------------------------------------------------------- */

.brandConnectHub {
  width: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: -1rem;
  margin-bottom: -2rem;
}

.myBagtagSocialLinks {
  width: 60%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.myBagtagSocialLinks .appsLinkContainer {
  width: 12vw;
  margin: auto;
  display: flex;
}

.myBagtagSocialLinks .siteLinksContainer {
  width: 20vw;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
}

.myBagtagSocialLinks .siteLink {
  width: 25%;
  display: flex;
  justify-content: center;
}

.myBagtagMainLogo {
  width: 40%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.myBagtagMainLogo img {
  width: 50% !important;
  max-width: 100% !important;
  height: 100%;
}

/* ---------------------------------------------------------------- */
/* Responsive breakpoints                                           */
/* ---------------------------------------------------------------- */

@media (max-width: 600px) {
  .tp-hero__pl-pr {
    background: #ffffff;
  }

  .menu_bar {
    border-size: 2px black;
  }
}

@media (min-width: 600px) {
  .first_banner {
    margin-left: 47%;
  }

  .tp-hero-bg {
    margin-top: 5%;
    margin-left: 1%;
    width: 55%;
    height: 55%;
  }
}

@media (max-width: 991px) {
  .header-bottom__right {
    display: none;
  }

  .header-bottom__bar {
    display: block;
  }

  .mobile-menu ul {
    list-style: none;
    display: block;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 10%;
    font-weight: bold;
    font-size: large;
  }

  .mobile-menu ul li.categoryQuickMenu,
  .mobile-menu ul li.categorySelectMenu {
    padding: 25px;
    border-bottom: 3px groove var(--brand-700);
  }

  .mobile-menu ul li a {
    color: #dbdbdb;
    text-decoration: none;
  }

  .mobile-menu ul li a:hover {
    color: #007bff;
  }

  #languages .arrow {
    font-size: 1.5em;
  }

  #languages .arrowWrap {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer_country {
    margin-left: 15%;
  }
}

@media only screen and (min-width: 300px) and (max-width: 520px), (max-width: 767px) {
  .header-bottom__area.header-mob-space {
    padding: 6px 0px 6px 0px !important;
  }
}

@media (max-width: 767px) {
  .brandConnectHub {
    flex-direction: column !important;
    margin-top: 1rem !important;
  }

  .myBagtagSocialLinks {
    width: 100% !important;
    height: 35vh !important;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: wrap !important;
    justify-content: space-evenly !important;
    align-items: center !important;
  }

  .myBagtagSocialLinks .appsLinkContainer {
    width: 45vw !important;
    justify-content: center !important;
  }

  .myBagtagSocialLinks .siteLinksContainer {
    width: 60vw !important;
  }

  .myBagtagSocialLinks .siteLink {
    width: 20% !important;
  }

  .myBagtagMainLogo {
    width: 100% !important;
    justify-content: center !important;
    margin-top: 0rem !important;
  }

  .myBagtagMainLogo img {
    width: 80vw !important;
    max-width: 80vw !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu {
    transition: none;
  }
}

/* ================================================================ */
/* Apple-minimal components                                         */
/* ================================================================ */

body {
  background-color: var(--surface);
  color: var(--ink);
}

/* Prevent any stray wide element from causing horizontal scroll/clipping */
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#smooth-wrapper, #smooth-content, main.fix { max-width: 100%; overflow-x: clip; }
.tp-section { max-width: 100vw; overflow-x: clip; }

/* ---- Sticky translucent header -------------------------------- */

#header-sticky {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header-sticky.header-sticky {
  background-color: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* Header nav links → dark ink on the light bar */
.header-bottom__area-2 .tp-btn-border .white-text,
.header-bottom__area-2 .dropdown-toggle .white-text {
  color: var(--ink) !important;
}

.header-bottom__logo img {
  width: clamp(96px, 9vw, 168px);
  height: auto;
  padding: 0;
}

/* Mobile header controls — clean flex: language pill + hamburger */
.mobile-header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tp-menu-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  padding: 6px 2px;
  cursor: pointer;
}
.tp-menu-bar:hover { color: var(--accent); }

@media (max-width: 991px) {
  /* Bypass the fragile bootstrap col grid: force a clean 2-item flex row */
  .main_header_navbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 16px !important;
    width: 100%;
    gap: 8px;
  }
  .main_header_navbar > [class*="col"] {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .header-bottom__logo img { width: 90px !important; }
  .mobile-header-controls { flex-shrink: 0; }
  .languageSettingBtn {
    padding: 7px 12px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .main_header_navbar { padding: 0 12px !important; gap: 6px; }
  .mobile-header-controls { gap: 8px; }
  .header-bottom__logo img { width: 80px !important; }
  .languageSettingBtn { padding: 6px 10px !important; font-size: 13px !important; }
}

/* The header "Buy Now" pill uses the accent */
.header-bottom__action .tp-btn-border.first-buy {
  border-radius: 980px;
}

/* ---- How it works: numbered steps ----------------------------- */

.tp-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 72px);
  text-align: left;
}

.tp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.tp-step__title {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.tp-step__desc {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

/* ---- Feature grid (minimal, mono-tone) ------------------------ */

.tp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(40px, 5vw, 72px);
  background-color: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
}

.tp-feature-cell {
  background-color: var(--surface);
  padding: clamp(28px, 3vw, 44px);
  text-align: left;
}

.tp-feature-cell img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 22px;
}

.tp-feature-cell h3 {
  color: var(--ink);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}

.tp-feature-cell p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* ---- Product variant tiles ------------------------------------ */

.tp-variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(40px, 5vw, 72px);
}

.tp-variant {
  background-color: var(--surface-alt);
  border-radius: 26px;
  padding: clamp(36px, 4vw, 60px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tp-variant:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
}

.tp-variant img {
  max-width: 220px;
  width: 70%;
  height: auto;
  margin-bottom: 26px;
}

.tp-variant h3 {
  color: var(--ink);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

/* ---- Hero + story media ---------------------------------------- */

.tp-hero-apple {
  padding-top: clamp(120px, 14vh, 200px);
}

.tp-hero-apple .tp-section__media img {
  max-width: 720px;
  width: 100%;
}

/* Safe CSS-only hero entrance — ends visible even if JS never runs (no gsap
   opacity:0 hold on above-the-fold content). Text only; the media image is
   left to the GSAP scrub so the two don't fight over opacity. */
.tp-hero-apple .tp-section__inner > *:not(.tp-section__media) {
  animation: tpHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.tp-hero-apple .tp-section__inner > *:nth-child(2) { animation-delay: 0.08s; }
.tp-hero-apple .tp-section__inner > *:nth-child(3) { animation-delay: 0.16s; }

.tp-hero-apple .tp-section__media {
  animation: tpHeroIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

@keyframes tpHeroIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tp-hero-apple .tp-section__inner > *,
  .tp-hero-apple .tp-section__media { animation: none; }
}

/* ---- Footer — exact nor.ma structure/values --------------------- */

.nm-footer {
  background: var(--surface);
  padding: clamp(64px, 7vw, 96px) clamp(20px, 3vw, 40px) clamp(30px, 3vw, 40px);
}
.nm-footer__inner { max-width: 1300px; margin: 0 auto; }

.nm-footer__grid {
  display: grid;
  grid-template-columns: 1fr 2.8fr;
  gap: clamp(48px, 6vw, 80px);
}

.nm-footer__brand { max-width: 340px; }
.nm-footer__wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.nm-footer__wordmark img { height: 28px; width: auto; display: block; border-radius: 50%; }
.nm-footer__brand p { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

.nm-footer__form {
  margin-top: 22px;
  display: flex; align-items: center; gap: 8px;
  width: 100%; max-width: 340px;
  padding: 6px 6px 6px 18px;
  border: 1px solid var(--hairline);
  border-radius: 980px;
}
.nm-footer__form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: none;
  font-size: 15px; color: var(--ink); font-family: inherit;
}
.nm-footer__form input::placeholder { color: var(--ink-faint); }
.nm-footer__form button {
  flex-shrink: 0; height: 36px; padding: 0 16px; border: 0; border-radius: 980px;
  background: var(--ink); color: var(--surface); font-size: 14px; font-weight: 600;
  font-family: inherit; cursor: pointer; transition: opacity 0.2s ease;
}
.nm-footer__form button:hover { opacity: 0.85; }

.nm-footer__lang {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: 980px;
  background: var(--surface); color: var(--ink-soft);
  font-size: 13px; font-weight: 600; font-family: inherit; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.nm-footer__lang:hover { border-color: rgba(29,29,31,0.3); color: var(--ink); }

.nm-footer__cols {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.1fr 1.3fr;
  gap: 32px 32px;
}
.nm-footer__colhead { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0; }
.nm-footer__cols ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nm-footer__cols a, .nm-footer__cols span {
  font-size: 14px; color: var(--ink-soft); text-decoration: none;
  transition: color 0.2s ease; cursor: default;
}
.nm-footer__cols a { cursor: pointer; }
.nm-footer__cols a:hover { color: var(--ink); }

.nm-footer__offices li { display: flex; flex-direction: column; gap: 3px; }
.nm-footer__office-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.nm-footer__office-addr { font-size: 12.5px; line-height: 1.5; color: var(--ink-faint); max-width: 22ch; }

.nm-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: clamp(48px, 5.5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  font-size: 13px; color: var(--ink-faint);
}
.nm-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.nm-footer__legal a { color: inherit; text-decoration: none; transition: color 0.2s ease; }
.nm-footer__legal a:hover { color: var(--ink); }

/* ---- Responsive: collapse grids on small screens --------------- */

@media (max-width: 900px) {
  .tp-steps,
  .tp-feature-grid {
    grid-template-columns: 1fr;
  }
  .tp-variants {
    grid-template-columns: 1fr;
  }
  .tp-feature-grid {
    border-radius: 18px;
  }
}

/* ================================================================ */
/* Norma-style hero + section 2 + offer popup                        */
/* ================================================================ */

/* ---- Floating pill nav ---------------------------------------- */

.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 30px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: padding 0.3s ease;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 980px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-brand {
  padding: 6px 18px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand img { height: 30px; width: auto; display: block; }

.nav-links { gap: 2px; }

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 980px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover { background: rgba(0, 0, 0, 0.06); color: var(--ink); }
.nav-links a svg { width: 15px; height: 15px; opacity: 0.65; flex: none; }

.nav-right { display: flex; align-items: center; gap: 10px; }

.nav-lang { padding: 4px; }
.nav-lang .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 980px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  border: 0;
  white-space: nowrap;
}
.nav-lang .dropdown-toggle::after { margin-left: 2px; opacity: 0.5; }

.nav-order {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: 980px;
  background: #ffffff;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.10);
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.nav-order:hover { transform: translateY(-1px); color: var(--ink); }

/* Dark variant — pills floating over the dark hero (homepage, unscrolled) */
.nav-shell--over-dark .nav-pill {
  background: rgba(28, 28, 30, 0.55);
  box-shadow: none;
}
.nav-shell--over-dark .nav-brand,
.nav-shell--over-dark .nav-links a,
.nav-shell--over-dark .nav-lang .dropdown-toggle { color: #f5f5f7; }
.nav-shell--over-dark .nav-links a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.nav-shell--over-dark .nav-links a svg { opacity: 0.8; }

/* Scrolled state — light pills, black order button (matches reference) */
.nav-shell.is-stuck .nav-pill {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}
.nav-shell.is-stuck .nav-brand,
.nav-shell.is-stuck .nav-links a,
.nav-shell.is-stuck .nav-lang .dropdown-toggle { color: var(--ink); }
.nav-shell.is-stuck .nav-links a:hover { background: rgba(0, 0, 0, 0.06); }
.nav-shell.is-stuck .nav-order { background: var(--ink); color: #fff; }
.nav-shell.is-stuck .nav-links a svg { opacity: 0.65; }

/* ---- Inset dark hero ------------------------------------------- */

.hero-inset {
  padding: 12px;
  background: var(--surface);
}

.hero-inset__frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(20px, 2.4vw, 34px);
  background: #101014;
  background-image:
    radial-gradient(120% 90% at 78% 78%, #22314f 0%, rgba(16,16,20,0) 62%),
    radial-gradient(90% 70% at 12% 6%, #1d2740 0%, rgba(16,16,20,0) 58%);
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 12vh, 150px) clamp(22px, 4vw, 68px) clamp(40px, 6vh, 80px);
  isolation: isolate;
}

/* product render bleeding off the bottom-right, like the reference */
.hero-inset__product {
  position: absolute;
  right: -6%;
  bottom: -20%;
  width: min(62%, 780px);
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
}
.hero-inset__product img { width: 100%; height: auto; display: block; }

.hero-inset__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; width: 100%; }

.hero-note {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #e8e8ed;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  margin-bottom: clamp(24px, 4vh, 44px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 60px);
  align-items: end;
}

.hero-head {
  font-size: clamp(38px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.hero-head .dim { color: #7b7b83; display: block; }
.hero-head .lit { color: #ffffff; display: block; }

.hero-side { padding-bottom: 6px; }

.hero-desc {
  color: #d6d6dc;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  text-wrap: pretty;
}
.hero-desc strong { color: #ffffff; font-weight: 600; }

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-light {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 980px;
  background: #fff; color: var(--ink);
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-light:hover { color: var(--ink); transform: translateY(-1px); }

.btn-ghost-dark {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 980px;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-size: 16px; font-weight: 600; text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-ghost-dark:hover { background: rgba(255, 255, 255, 0.24); color: #fff; transform: translateY(-1px); }

/* ---- Join line ------------------------------------------------- */

.join-line {
  text-align: center;
  padding: clamp(56px, 8vw, 110px) 20px clamp(8px, 2vw, 24px);
  background: var(--surface);
}

/* ---- Section 2: two-column card -------------------------------- */

.split-2 {
  padding: clamp(28px, 4vw, 56px) 12px clamp(56px, 7vw, 96px);
  background: var(--surface);
}

.split-2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 24px);
  max-width: 1440px;
  margin: 0 auto;
}

.split-2__card {
  background: var(--surface-alt);
  border-radius: clamp(18px, 2vw, 30px);
  padding: clamp(32px, 4vw, 68px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: clamp(420px, 52vw, 640px);
}

.split-2__title {
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}

.split-2__body {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  margin: 0;
  max-width: 46ch;
  text-wrap: pretty;
}

.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  align-self: flex-start;
  padding: 17px 40px; border-radius: 980px;
  background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 600; text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-dark:hover { color: #fff; transform: translateY(-1px); opacity: 0.9; }

.split-2__media {
  border-radius: clamp(18px, 2vw, 30px);
  overflow: hidden;
  background: #e9e7e4;
  background-image: radial-gradient(90% 80% at 60% 40%, #f2f0ed 0%, #dcd9d4 100%);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(24px, 3vw, 52px);
  min-height: clamp(420px, 52vw, 640px);
}
.split-2__media img { width: 100%; max-width: 560px; height: auto; display: block; }

/* ---- Floating offer pill --------------------------------------- */

.offer-pill {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px 12px 12px;
  border-radius: 980px;
  background: #fff;
  color: var(--ink);
  font-size: 15px; font-weight: 600;
  border: 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.offer-pill:hover { transform: translateY(-2px); }
.offer-pill__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 700;
}

/* ---- Offer popup ----------------------------------------------- */

.offer-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(120, 120, 120, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.offer-modal.is-open { opacity: 1; visibility: visible; }

.offer-modal__card {
  position: relative;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.offer-modal.is-open .offer-modal__card { transform: none; }

.offer-modal__media { height: 280px; background: #dcd9d4; overflow: hidden; }
.offer-modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.offer-modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: transform 0.2s ease;
}
.offer-modal__close:hover { transform: scale(1.06); }

.offer-modal__body { padding: 28px 30px 30px; }

.offer-modal__title {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 10px; text-wrap: balance;
}
.offer-modal__text {
  color: var(--ink-soft); font-size: 15px; line-height: 1.5; margin: 0 0 22px;
}

.offer-modal__input {
  width: 100%; height: 52px;
  padding: 0 20px;
  border-radius: 980px;
  border: 1px solid var(--hairline);
  background: #fff;
  font-size: 15px; color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.offer-modal__input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }

.offer-modal__submit {
  width: 100%; height: 54px; margin-top: 12px;
  border: 0; border-radius: 980px;
  background: var(--ink); color: #fff;
  font-size: 16px; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.offer-modal__submit:hover { opacity: 0.9; transform: translateY(-1px); }
.offer-modal__submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.offer-modal__note {
  text-align: center; color: var(--ink-soft);
  font-size: 12.5px; margin: 14px 0 0;
}

/* ---- Responsive ------------------------------------------------ */

@media (max-width: 1100px) {
  .nav-links { display: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero-inset__frame { min-height: auto; padding-top: clamp(110px, 16vh, 150px); }
  .hero-inset__product {
    position: relative; right: auto; bottom: auto;
    width: 86%; margin: 34px auto -12% auto;
  }
  .split-2__grid { grid-template-columns: 1fr; }
  .split-2__card, .split-2__media { min-height: auto; }
  .split-2__media { order: -1; padding: 30px; }
  .offer-modal__media { height: 200px; }
}

@media (max-width: 560px) {
  /* nav-shell / nav-brand / nav-order sizing for small screens is owned by the
     "Top bar sizing" block further down — don't fight it from here. */
  .offer-pill { left: 12px; bottom: 12px; padding: 10px 18px 10px 10px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .offer-modal, .offer-modal__card { transition: none; }
}

/* ---- Nav brand: emblem + wordmark, light/dark variants ---------- */

.nav-brand { gap: 9px; padding: 5px 18px 5px 6px; }
.nav-brand__mark { height: 34px; width: auto; display: block; }
.nav-brand__word {
  font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
  white-space: nowrap; color: inherit;
}
/* default (light pill): dark emblem */
.nav-brand__mark--light { display: none; }
/* over the dark hero (and not yet scrolled): white emblem */
.nav-shell--over-dark:not(.is-stuck) .nav-brand__mark--dark { display: none; }
.nav-shell--over-dark:not(.is-stuck) .nav-brand__mark--light { display: block; }

/* ---- Hero product: keep it clear of the copy -------------------- */

.hero-inset__product {
  right: -4%;
  bottom: -26%;
  width: min(48%, 660px);
}

/* readability scrim behind the right-hand copy */
.hero-side {
  position: relative;
  z-index: 2;
}
.hero-side::before {
  content: "";
  position: absolute;
  inset: -28px -34px -24px -34px;
  background: radial-gradient(70% 70% at 40% 50%, rgba(16, 16, 20, 0.82) 0%, rgba(16, 16, 20, 0) 100%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-side::before { display: none; }
}

/* section-2 media: transparent product render sits large on the tinted card */
.split-2__media img {
  max-width: none;
  width: min(86%, 520px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.22));
}

.offer-modal__media { background: #eceaf0; }
.offer-modal__media img { object-fit: cover; }

/* Fix: the earlier `.nav-brand img` rule (0,1,1) outranked the plain
   `.nav-brand__mark--light` toggle (0,1,0) and showed both emblems.
   Match its specificity so the light/dark swap actually applies. */
.nav-brand img.nav-brand__mark { height: 34px; width: auto; }
.nav-brand img.nav-brand__mark--light { display: none; }
.nav-brand img.nav-brand__mark--dark { display: block; }
.nav-shell--over-dark:not(.is-stuck) .nav-brand img.nav-brand__mark--dark { display: none; }
.nav-shell--over-dark:not(.is-stuck) .nav-brand img.nav-brand__mark--light { display: block; }

/* ---- Mobile nav: the pill row was wider than the viewport, which forced
   horizontal overflow and clipped every section's text. Shrink it down. --- */

@media (max-width: 700px) {
  .nav-shell { gap: 8px; }
  .nav-brand__word { display: none; }         /* emblem only on small screens */
  .nav-right { gap: 6px; }
  .nav-lang .dropdown-toggle svg { display: none; }
}

@media (max-width: 400px) {
  .nav-order { display: none; }               /* Buy Now lives in the off-canvas menu */
}

/* (No overflow-x guard: measured scrollWidth == viewport at 390px, and
   overflow-x:hidden on html/body interferes with ScrollSmoother.) */

/* ---- Full-bleed image slots (swap the file, layout is unchanged) -------- */

.hero-inset__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Scrim so the headline/copy stay legible over any photo that lands here */
.hero-inset__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,14,0.92) 0%, rgba(10,10,14,0.62) 46%, rgba(10,10,14,0.10) 100%),
    linear-gradient(180deg, rgba(10,10,14,0.55) 0%, rgba(10,10,14,0) 34%);
}

/* the old cutout + local scrim are superseded by the bg image + its scrim */
.hero-inset__product { display: none; }
.hero-side::before { display: none; }

.split-2__media { padding: 0; overflow: hidden; }
.split-2__media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: none;
}

@media (max-width: 900px) {
  /* let the photo breathe above the copy on small screens */
  .split-2__media { min-height: 320px; }
  .hero-inset__frame::after {
    background:
      linear-gradient(180deg, rgba(10,10,14,0.55) 0%, rgba(10,10,14,0.35) 40%, rgba(10,10,14,0.88) 100%);
  }
}

/* Guarantee the right-hand copy stays readable over ANY photo dropped into
   the hero slot (a swappable slot can't rely on the placeholder's composition). */
.hero-side { position: relative; z-index: 2; }
.hero-side::before {
  content: "";
  display: block;
  position: absolute;
  inset: -30px -40px -26px -40px;
  z-index: -1;
  pointer-events: none;
  border-radius: 26px;
  background: radial-gradient(75% 75% at 45% 50%, rgba(8, 8, 12, 0.9) 0%, rgba(8, 8, 12, 0.55) 55%, rgba(8, 8, 12, 0) 100%);
}
@media (max-width: 900px) { .hero-side::before { display: none; } }

/* ================================================================ */
/* Top bar sizing: one shared pill height so brand / links / lang /  */
/* order all line up, with real breathing room around the logo.      */
/* ================================================================ */

:root { --nav-pill-h: 66px; }

/* min-height + centred flex keeps every pill identical regardless of
   how much padding its inner content happens to need */
.nav-pill,
.nav-order {
  min-height: var(--nav-pill-h);
  align-items: center;
  box-sizing: border-box;
}

.nav-brand {
  gap: 14px;
  padding: 8px 34px 8px 28px;   /* extra room to the left of the mark */
}
.nav-brand img.nav-brand__mark { height: 46px; }
.nav-brand__word { font-size: 18px; }

.nav-links { padding: 9px; gap: 3px; }
.nav-links a { padding: 12px 18px; font-size: 15.5px; }
.nav-links a svg { width: 16px; height: 16px; }

.nav-lang { padding: 9px; }
.nav-lang .dropdown-toggle { padding: 12px 18px; font-size: 15.5px; }

.nav-order { padding: 12px 32px; font-size: 16.5px; }

/* Scale the whole bar down on smaller screens */
@media (max-width: 700px) {
  :root { --nav-pill-h: 50px; }
  .nav-shell { padding: 16px 12px; }
  .nav-brand { gap: 9px; padding: 6px 16px 6px 14px; }
  .nav-brand img.nav-brand__mark { height: 34px; }
  .nav-lang { padding: 6px; }
  .nav-lang .dropdown-toggle { padding: 9px 12px; font-size: 14px; }
  .nav-order { padding: 9px 18px; font-size: 14px; }
}

/* ================================================================ */
/* Section 3 — "How it works" step cards                            */
/* ================================================================ */

.sec-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 130px) clamp(20px, 3vw, 40px);
}

.sec-head { max-width: 720px; }
.sec-head .tp-display-2 { margin-bottom: 18px; }
.sec-head .tp-lead { font-size: clamp(17px, 1.5vw, 22px); }

.tp-highlight-wrap { position: relative; display: inline-block; }
.tp-highlight-hand { color: #E0A800; font-weight: 800; }
.tp-doodle { position: absolute; pointer-events: none; }
.tp-doodle-star { width: 24px; height: 24px; top: -20px; left: -16px; transform: rotate(-10deg); }
.tp-doodle-arrow-r { width: 52px; height: 40px; top: -40px; right: -50px; transform: rotate(-6deg); }
.tp-doodle-flower { width: 28px; height: 28px; bottom: -26px; left: -34px; transform: rotate(-8deg); }
@media (max-width: 640px) {
  .tp-doodle-arrow-r, .tp-doodle-flower { display: none; }
}

.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 26px);
  margin-top: clamp(40px, 5vw, 76px);
}

.step-card {
  border: 1px solid var(--hairline);
  border-radius: clamp(16px, 1.6vw, 24px);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.step-card__top { padding: clamp(22px, 2.2vw, 34px); }

.step-card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--hairline);
  color: var(--ink-soft); font-size: 15px; font-weight: 600;
  margin-bottom: clamp(28px, 4vw, 60px);
}

.step-card__title {
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 8px;
}

.step-card__sub { color: var(--ink-soft); font-size: 16px; margin: 0; }

.step-card__media {
  border-top: 1px solid var(--hairline);
  background: var(--surface-alt);
  aspect-ratio: 9 / 7;
  overflow: hidden;
}
.step-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* "Or get notified via [App] [WhatsApp] [E-mail]" */
.chan-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; margin-top: clamp(34px, 4vw, 56px);
}
.chan-row__label { color: var(--ink-soft); font-size: clamp(15px, 1.3vw, 19px); margin-right: 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 980px;
  background: var(--surface-alt); color: var(--ink);
  font-size: 15px; font-weight: 600;
}

/* ================================================================ */
/* Section 4 — "Everything lives in one app"                        */
/* ================================================================ */

.app-sec { background: var(--surface-alt); }

.app-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4vw, 70px);
  align-items: start;
}

.app-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 3vw, 40px); }

.chip-outline {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 22px; border-radius: 980px;
  background: var(--surface); color: var(--ink);
  border: 1px solid transparent;
  font-size: 16px; font-weight: 600;
  font-family: inherit; cursor: default;
}
button.chip-outline { cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
button.chip-outline:hover:not(.chip-outline--active) { background: var(--surface-alt); }
.chip-outline svg { width: 17px; height: 17px; opacity: 0.6; }
.chip-outline--active { background: var(--ink); color: #fff; }
.chip-outline--active svg { opacity: 0.9; }
.chip-outline--soon {
  background: transparent; color: var(--ink-soft);
  border: 1px dashed var(--hairline);
}

.app-shot img { transition: opacity 0.18s ease; }
.app-shot img.is-swapping { opacity: 0; }

.app-note { margin-top: clamp(50px, 7vw, 110px); max-width: 46ch; }
.app-note h3 {
  font-size: clamp(22px, 2.1vw, 30px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px;
}
.app-note p { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; margin: 0; }

.app-shot {
  border-radius: clamp(18px, 2vw, 28px);
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
}
.app-shot img { width: 100%; height: auto; display: block; }

/* ================================================================ */
/* Section 5 — reviews (layout only; content is placeholder)        */
/* ================================================================ */

.rev-card {
  position: relative;
  border-radius: clamp(20px, 2.4vw, 34px);
  background: var(--surface-alt);
  overflow: hidden;
  padding: clamp(30px, 4vw, 62px);
  min-height: clamp(520px, 56vw, 760px);
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(30px, 4vw, 60px);
}

.rev-card__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 0;
  object-fit: cover;
}

.rev-card__head { position: relative; z-index: 1; max-width: 560px; }
.rev-card__title {
  font-size: clamp(30px, 3.4vw, 52px); font-weight: 700;
  letter-spacing: -0.028em; line-height: 1.05; color: var(--ink);
  margin: 0 0 22px; text-wrap: balance;
}

.btn-white-pill {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 980px;
  background: var(--surface); color: var(--ink);
  font-size: 16px; font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}
.btn-white-pill:hover { color: var(--ink); transform: translateY(-1px); }

.rev-quotes {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--surface);
  border-radius: clamp(14px, 1.4vw, 22px);
  overflow: hidden;
}
.rev-quote {
  padding: clamp(22px, 2.2vw, 34px);
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 230px;
}
.rev-quote:last-child { border-right: 0; }
.rev-quote__stars { color: var(--hairline); letter-spacing: 3px; font-size: 15px; }
.rev-quote__text { color: var(--ink); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.45; margin: 0; flex: 1; }
.rev-quote__who { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* placeholder styling — make dummy content unmistakable */
.is-placeholder { opacity: 0.55; font-style: italic; }

/* ---- "Make Room for What Matters" — nor.ma-style snap carousel ---- */

.room-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.room-nav { display: flex; align-items: center; gap: 8px; }
.room-nav__btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink);
  cursor: pointer; transition: border-color 0.2s ease;
}
.room-nav__btn:hover { border-color: rgba(29,29,31,0.4); }

.room-carousel-wrap { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.room-carousel {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  margin-top: clamp(36px, 4.5vw, 48px);
  padding: 0 max(20px, calc(50vw - 590px)) 8px;
  scroll-padding-left: max(20px, calc(50vw - 590px));
  scroll-padding-right: max(20px, calc(50vw - 590px));
  scrollbar-width: none;
}
.room-carousel::-webkit-scrollbar { display: none; }

.room-card { flex: 0 0 280px; scroll-snap-align: start; margin: 0; }
@media (min-width: 640px) { .room-card { flex-basis: 340px; } }

.room-card__media {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  background: var(--surface-dark);
}
.room-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-card__pill {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center;
  padding: 8px 18px; border-radius: 980px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: #fff; font-size: 15px; font-weight: 600;
}
.room-card figcaption { margin-top: 16px; padding: 0 4px; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }

/* ---- Journal preview + journal listing page (nor.ma /blog pattern) - */

.journal-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}

.journal-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  overflow: hidden;
  margin-top: clamp(40px, 5vw, 56px);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.journal-feature:hover { border-color: rgba(29,29,31,0.2); }
.journal-feature:hover .journal-feature__media img { transform: scale(1.04); }
.journal-feature__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); }
.journal-feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.journal-feature__pill {
  position: absolute; bottom: 12px; z-index: 1;
  padding: 3px 10px; border-radius: 980px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  font-size: 12px;
}
.journal-feature__pill--tag { left: 12px; font-weight: 600; color: var(--ink-soft); }
.journal-feature__pill--time { right: 12px; color: var(--ink-faint); }
.journal-feature__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 3.4vw, 40px); }
.journal-feature__body h3 {
  font-size: clamp(22px, 2.4vw, 32px); font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink); margin: 0 0 12px;
}
.journal-feature__body p { color: var(--ink-soft); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; margin: 0; }
.journal-read {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 24px; color: var(--ink); font-size: 14px; font-weight: 600;
}
.journal-read svg { transition: transform 0.2s ease; }
.journal-feature:hover .journal-read svg { transform: translateX(3px); }

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(24px, 3vw, 36px);
}
.journal-card {
  display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--hairline); border-radius: 24px; overflow: hidden;
  text-decoration: none; transition: border-color 0.2s ease;
}
.journal-card:hover { border-color: rgba(29,29,31,0.2); }
.journal-card:hover .journal-card__media img { transform: scale(1.04); }
.journal-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-alt); }
.journal-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.journal-card__pill {
  position: absolute; bottom: 10px; z-index: 1;
  padding: 3px 10px; border-radius: 980px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  font-size: 12px;
}
.journal-card__pill--tag { left: 10px; font-weight: 600; color: var(--ink-soft); }
.journal-card__pill--time { right: 10px; color: var(--ink-faint); }
.journal-card__body { padding: 22px; }
.journal-card h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 8px; line-height: 1.3; }
.journal-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.5; margin: 0; }

/* Full /journal listing page */
.journal-hero { padding: clamp(64px, 8vw, 120px) 0 0; }
.journal-hero .tp-display-1 { margin-bottom: 18px; }
.journal-older-head { margin-top: clamp(56px, 6vw, 90px); margin-bottom: 8px; }
.journal-listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  margin-top: clamp(28px, 3vw, 40px);
}

/* ---- Responsive -------------------------------------------------- */

@media (max-width: 980px) {
  .steps-row { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .app-shot { max-width: 420px; }
  .app-note { margin-top: 40px; }
  .rev-quotes { grid-template-columns: 1fr; }
  .rev-quote { border-right: 0; border-bottom: 1px solid var(--hairline); min-height: 0; }
  .rev-quote:last-child { border-bottom: 0; }
  .rev-card__bg { display: none; }
  .journal-feature { grid-template-columns: 1fr; }
  .journal-grid, .journal-listing-grid { grid-template-columns: 1fr; }
  .nm-footer__grid { grid-template-columns: 1fr; }
  .nm-footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Order page — exact nor.ma /shop structure ------------------- */

.shop-sec { background: var(--surface-alt); padding: clamp(140px, 16vw, 220px) clamp(24px, 4vw, 56px) clamp(80px, 9vw, 120px); }
.shop-sec__inner { max-width: 1180px; margin: 0 auto; }
.shop-sec__sub { margin-top: 16px; max-width: 58ch; }

.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; margin-top: 48px; }

.shop-gallery { display: flex; flex-direction: column; gap: 12px; }
.shop-gallery__main {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: 28px; border: 1px solid var(--hairline); background: var(--surface);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.shop-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--hairline); background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px); color: var(--ink); cursor: pointer;
  transition: background 0.2s ease;
}
.shop-gallery__nav:hover { background: var(--surface); }
.shop-gallery__nav--prev { left: 12px; }
.shop-gallery__nav--next { right: 12px; }

.shop-gallery__thumbs { display: flex; gap: 8px; }
.shop-thumb {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--hairline); background: var(--surface); cursor: pointer;
  padding: 0; transition: border-color 0.2s ease;
}
.shop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop-thumb:hover { border-color: rgba(29,29,31,0.4); }
.shop-thumb--active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.shop-panel {
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: 28px; border: 1px solid var(--hairline); background: var(--surface);
  padding: clamp(28px, 3vw, 40px);
}

.shop-variants { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.shop-variant {
  position: relative; text-align: left; border-radius: 16px;
  border: 1px solid var(--hairline); background: transparent;
  padding: 20px 16px 16px; cursor: pointer; font-family: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.shop-variant:hover { border-color: rgba(29,29,31,0.4); }
.shop-variant--active { border-color: var(--ink); background: rgba(29,29,31,0.03); }
.shop-variant__badge {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  white-space: nowrap; border-radius: 980px; padding: 4px 10px;
  font-size: 11px; font-weight: 700;
  border: 1px solid var(--hairline); background: var(--surface); color: var(--ink-soft);
}
.shop-variant__badge--dark { border-color: transparent; background: var(--ink); color: var(--surface); }
.shop-variant__name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.shop-variant__from { display: block; margin-top: 2px; font-size: 13px; color: var(--ink-faint); }
.shop-variant__from strong { font-weight: 600; color: var(--ink-soft); }

.shop-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.shop-qty-row__label { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0; }
.shop-qty-row__hint { font-size: 13px; color: var(--ink-faint); margin: 2px 0 0; }
.shop-stepper { display: flex; align-items: center; gap: 4px; border: 1px solid var(--hairline); border-radius: 980px; padding: 4px; }
.shop-stepper__btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent;
  color: var(--ink); font-size: 18px; cursor: pointer; font-family: inherit;
  transition: background 0.2s ease;
}
.shop-stepper__btn:hover:not(:disabled) { background: var(--surface-alt); }
.shop-stepper__btn:disabled { opacity: 0.3; cursor: default; }
.shop-stepper__num { width: 32px; text-align: center; font-size: 17px; font-weight: 700; color: var(--ink); }

.shop-summary { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.shop-summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 15px; }
.shop-summary__row + .shop-summary__row { margin-top: 10px; }
.shop-summary__row span:first-child { font-weight: 500; color: var(--ink-soft); }
.shop-summary__free { font-weight: 600; color: var(--ink); display: inline-flex; gap: 8px; align-items: baseline; }
.shop-summary__free s { font-weight: 400; color: var(--ink-faint); }
.shop-summary__row--total span:first-child { font-size: 15px; }
.shop-summary__total { display: inline-flex; align-items: baseline; gap: 10px; }
.shop-summary__total strong { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.shop-summary__total s { font-size: 17px; color: var(--ink-faint); }
.shop-summary__pill {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  border-radius: 980px; background: var(--surface-alt); padding: 6px 12px;
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.shop-order-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 16px; height: 56px; width: 100%; border-radius: 980px;
  background: var(--ink); color: var(--surface); font-size: 17px; font-weight: 700;
  text-decoration: none; transition: background 0.2s ease, transform 0.1s ease;
}
.shop-order-btn:hover { background: rgba(29,29,31,0.9); color: var(--surface); }
.shop-order-btn:active { transform: scale(0.99); }
.shop-order-btn svg { transition: transform 0.2s ease; }
.shop-order-btn:hover svg { transform: translateX(3px); }

.shop-features {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 28px; margin-top: 40px;
  border-radius: 16px; border: 1px solid var(--hairline); background: var(--surface);
  padding: 16px 24px;
}
.shop-features span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.shop-features svg { color: var(--ink-faint); flex-shrink: 0; }

.shop-delivery { margin-top: 24px; border-radius: 20px; border: 1px solid var(--hairline); background: var(--surface); overflow: hidden; }
.shop-delivery__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 32px; padding: 20px 24px; }
.shop-delivery__item { display: flex; align-items: center; gap: 12px; }
.shop-delivery__item svg { flex-shrink: 0; color: var(--ink-faint); }
.shop-delivery__item p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.shop-delivery__item strong { color: var(--ink); font-weight: 600; }
.shop-delivery__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 24px; border: 0; border-top: 1px solid var(--hairline); background: transparent;
  font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; font-family: inherit;
  transition: background 0.2s ease;
}
.shop-delivery__toggle:hover { background: var(--surface-alt); }
.shop-delivery__toggle svg { transition: transform 0.25s ease; color: var(--ink-faint); }
.shop-delivery__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.shop-delivery__panel { padding: 0 24px 20px; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-variants { grid-template-columns: 1fr; }
  .shop-features { justify-content: flex-start; }
  .shop-delivery__row { grid-template-columns: 1fr; }
}

/* ---- Legal pages (Privacy Policy / Terms) — bring the real bootstrap
   content in line with the site's typography without rewriting the copy. */

.legal-page { padding-top: clamp(120px, 14vw, 190px); padding-bottom: clamp(60px, 7vw, 96px); }
.legal-page h3.mb-4 {
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 28px;
  text-transform: none;
}
.legal-page h5, .legal-page h6 {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: 40px;
  margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.legal-page p i { color: var(--ink); font-style: normal; font-weight: 600; }
.legal-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--accent); }
.legal-page .row { max-width: 820px; margin: 0 auto; }
