/* ============================================================
   Features Tour v2 — "Online Store" landing page
   Page-specific styles for features-tour-v2.html only.
   Depends on tokens.css + base.css (2026 stack). Uses --js-*
   primitives and --color-* semantic tokens; no shared file edits.
   Design source: Claude Design "Online Store Landing" handoff.
   ============================================================ */

.ft2 {
  --ft2-radius-xl: 20px;
  --ft2-radius-lg: 16px;
  --ft2-radius-md: 12px;
  --ft2-shadow-lg: 0 40px 80px -32px rgba(var(--js-color-grey-rgb), .28);
  --ft2-shadow-md: 0 12px 32px -14px rgba(var(--js-color-grey-rgb), .18);
  --ft2-hairline: 1px solid var(--color-main-op1);
}

/* ---- Shared section furniture -------------------------------- */
.ft2-section {
  padding-top: clamp(48px, 5vw, 80px);
  padding-bottom: clamp(48px, 5vw, 80px);
}

.ft2-section--hairline {
  border-top: var(--ft2-hairline);
  border-bottom: var(--ft2-hairline);
}

.ft2-head {
  max-width: 760px;
}

.ft2-head--center {
  margin-inline: auto;
  text-align: center;
}

.ft2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--js-color-green-dark);
  margin-bottom: 16px;
}

[data-bundle-color="carbon"] .ft2-eyebrow,
[data-bundle-color="default"] .ft2-eyebrow {
  color: var(--js-color-green);
}

.ft2-title {
  font-family: var(--font-main);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.5px;
  font-size: clamp(34px, 5vw, 56px);
  margin: 0;
}

.ft2-title--hero {
  font-size: clamp(40px, 6.2vw, 72px);
}

.ft2-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--color-secondary-op7);
  margin: 18px 0 0;
  max-width: 660px;
}

.ft2-microcopy {
  font-size: 13.5px;
  color: rgba(var(--js-color-grey-rgb), .62);
  margin-top: 14px;
}

[data-bundle-color="carbon"] .ft2-microcopy,
[data-bundle-color="default"] .ft2-microcopy {
  color: rgba(var(--js-color-white-rgb), .55);
}

/* ---- Buttons: arrow affordance ------------------------------- */
.ft2-btn-arrow {
  transition: transform .25s ease;
}
.button:hover .ft2-btn-arrow { transform: translateX(3px); }

/* ============================================================
   HERO
   ============================================================ */
.ft2-hero {
  position: relative;
  overflow: hidden;
  /* Clear the fixed header (80px desktop / 60px mobile) with breathing room */
  padding-top: clamp(112px, 8.5vw, 148px);
}

.ft2-hero__glow {
  position: absolute;
  inset: auto auto auto 50%;
  transform: translateX(-50%);
  top: -20%;
  width: min(1100px, 120%);
  height: 620px;
  background: radial-gradient(closest-side, rgba(var(--js-color-green-rgb), .16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.ft2-hero__inner { position: relative; z-index: 1; }

.ft2-hero__copy { max-width: 720px; margin-inline: auto; text-align: center; }

/* CTA bar */
.ft2-cta-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 560px;
  margin: 28px auto 0;
  padding: 8px 8px 8px 16px;
  background: var(--js-color-white);
  border: 1px solid rgba(var(--js-color-grey-rgb), .16);
  border-radius: 14px;
  box-shadow: var(--ft2-shadow-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ft2-cta-bar:focus-within {
  border-color: var(--js-color-green);
  box-shadow: 0 0 0 3px rgba(var(--js-color-green-rgb), .28);
}

.ft2-cta-bar__icon {
  font-size: 20px;
  color: var(--js-color-green-dark);
  flex: none;
}

.ft2-cta-bar__input {
  flex: 1 1 auto;
  min-width: 0;
  border: none !important;
  outline: none;
  background: transparent;
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--js-color-grey);
  padding: 8px 4px;
}

.ft2-cta-bar__input::placeholder { color: rgba(var(--js-color-grey-rgb), .5); }

.ft2-cta-bar .button { flex: none; white-space: nowrap; }

/* Trust strip */
.ft2-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 4vw, 44px);
  margin-top: 40px;
  padding-top: 28px;
  border-top: var(--ft2-hairline);
}

.ft2-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-secondary);
}

.ft2-trust__item .ph { color: var(--js-color-green-dark); font-size: 19px; }

/* Hero mockup — browser window storefront + AI panel */
.ft2-hero__stage {
  position: relative;
  max-width: 980px;
  margin: clamp(48px, 6vw, 72px) auto 0;
}

.ft2-browser {
  background: var(--js-color-white);
  border: 1px solid rgba(var(--js-color-grey-rgb), .1);
  border-radius: var(--ft2-radius-xl);
  box-shadow: var(--ft2-shadow-lg);
  overflow: hidden;
}

.ft2-browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(var(--js-color-grey-rgb), .08);
}

.ft2-browser__dots { display: flex; gap: 6px; }
.ft2-browser__dots i {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(var(--js-color-grey-rgb), .16);
}
.ft2-browser__url {
  margin-left: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(var(--js-color-grey-rgb), .06);
  font-size: 13px;
  color: rgba(var(--js-color-grey-rgb), .62);
}

.ft2-store { padding: 0; }
.ft2-store__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  font-size: 13px;
  color: var(--js-color-grey);
  border-bottom: 1px solid rgba(var(--js-color-grey-rgb), .06);
}
.ft2-store__brand { font-weight: 700; letter-spacing: 1.5px; }
.ft2-store__links { display: flex; gap: 16px; color: rgba(var(--js-color-grey-rgb), .6); }
.ft2-store__banner {
  position: relative;
  margin: 18px 22px;
  padding: 34px 30px;
  border-radius: var(--ft2-radius-md);
  background:
    linear-gradient(90deg, rgba(240,232,218,.94) 0%, rgba(240,232,218,.42) 32%, rgba(240,232,218,0) 58%),
    url("/images/home-2026/ft2-store/banner-alba.jpg") right center / cover no-repeat,
    #E9DED2;
  color: #3a2f24;
}
.ft2-store__chip {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ft2-store__banner h4 { font-size: clamp(20px, 3vw, 30px); font-weight: 600; margin: 0 0 16px; max-width: 15ch; }
.ft2-store__shopbtn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--js-color-grey);
  color: var(--js-color-white);
  font-size: 13px;
  font-weight: 600;
}
.ft2-store__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0 22px 26px;
}
.ft2-store__product { display: flex; flex-direction: column; gap: 6px; }
.ft2-store__swatch { width: 100%; aspect-ratio: 1 / 1; border-radius: 10px; object-fit: cover; display: block; }
.ft2-store__pname { font-size: 12.5px; color: var(--js-color-grey); }
.ft2-store__price { font-size: 12.5px; font-weight: 600; color: var(--js-color-grey); }

/* AI panel overlapping the mockup */
.ft2-aipanel {
  position: absolute;
  left: clamp(-8px, -1vw, 0px);
  bottom: -26px;
  width: min(320px, 78%);
  background: #20221B;
  color: var(--js-color-white);
  border-radius: var(--ft2-radius-lg);
  padding: 18px;
  box-shadow: var(--ft2-shadow-lg);
}
.ft2-aipanel__head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ft2-aipanel__logo { width: 20px; height: 20px; }
.ft2-aipanel__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--js-color-green);
  box-shadow: 0 0 0 0 rgba(var(--js-color-green-rgb), .6);
  animation: ft2Pulse 2s infinite;
}
.ft2-aipanel__label { font-size: 13px; font-weight: 600; }
.ft2-aipanel__check { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 0; color: rgba(var(--js-color-white-rgb), .85); }
.ft2-aipanel__check .ph { color: var(--js-color-green); }
.ft2-aipanel__spinner {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(var(--js-color-white-rgb), .25);
  border-top-color: var(--js-color-green);
  animation: ft2Spin .9s linear infinite;
  flex: none;
}
.ft2-aipanel__bar { height: 6px; border-radius: 999px; background: rgba(var(--js-color-white-rgb), .15); margin-top: 12px; overflow: hidden; }
.ft2-aipanel__fill { height: 100%; width: 82%; background: var(--js-color-green); border-radius: 999px; }

.ft2-hero__floatchip {
  position: absolute;
  right: -6px;
  top: -14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--js-color-white);
  color: var(--js-color-grey);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--ft2-shadow-md);
}
.ft2-hero__floatchip .ph { color: var(--js-color-green-dark); }

@keyframes ft2Pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--js-color-green-rgb), .6); }
  70% { box-shadow: 0 0 0 8px rgba(var(--js-color-green-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--js-color-green-rgb), 0); }
}
@keyframes ft2Spin { to { transform: rotate(360deg); } }

/* ============================================================
   STEPS (AI section)
   ============================================================ */
.ft2-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(36px, 5vw, 56px);
}
.ft2-step {
  border: var(--ft2-hairline);
  border-radius: var(--ft2-radius-lg);
  padding: 24px;
  background: var(--color-main-op05);
}
.ft2-step__num {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  color: var(--js-color-green-dark); margin-bottom: 10px; display: block;
}
.ft2-step h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.ft2-step p { font-size: 15px; color: var(--color-secondary-op7); margin: 0; line-height: 1.55; }

/* ============================================================
   FEATURE CARDS (generic grid)
   ============================================================ */
.ft2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(18px, 2.5vw, 28px);
  margin-top: clamp(36px, 5vw, 56px);
}

.ft2-card {
  border: var(--ft2-hairline);
  border-radius: var(--ft2-radius-lg);
  padding: 26px 24px;
  background: var(--color-main-op05);
  transition: border-color .2s ease, transform .2s ease;
}
.ft2-card:hover { border-color: var(--color-main-op2); transform: translateY(-3px); }
.ft2-card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--js-color-green-tint);
  color: var(--js-color-green-dark);
  font-size: 24px; margin-bottom: 16px;
}
[data-bundle-color="carbon"] .ft2-card__icon,
[data-bundle-color="default"] .ft2-card__icon { color: var(--js-color-green); }
.ft2-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.ft2-card p { font-size: 15px; color: var(--color-secondary-op7); margin: 0; line-height: 1.55; }

/* 5-card conversion grid → balanced 3-over-2, centered (no lonely orphan).
   6-col grid: each card spans 2 cols → 3 per row; the trailing 2 are pulled
   to the middle columns so they sit centered. Width-independent. */
.ft2-grid--conv { grid-template-columns: repeat(6, 1fr); }
.ft2-grid--conv .ft2-card { grid-column: span 2; }
.ft2-grid--conv .ft2-card:nth-child(4) { grid-column: 2 / 4; }
.ft2-grid--conv .ft2-card:nth-child(5) { grid-column: 4 / 6; }
@media (max-width: 860px) {
  .ft2-grid--conv { grid-template-columns: repeat(2, 1fr); }
  .ft2-grid--conv .ft2-card,
  .ft2-grid--conv .ft2-card:nth-child(4),
  .ft2-grid--conv .ft2-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 560px) {
  .ft2-grid--conv { grid-template-columns: 1fr; }
}

/* ============================================================
   ICON BULLET LIST (Grow section)
   ============================================================ */
.ft2-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.ft2-bullets { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 20px; }
.ft2-bullet { display: flex; gap: 14px; }
.ft2-bullet .ph { color: var(--js-color-green-dark); font-size: 20px; flex: none; margin-top: 2px; }
[data-bundle-color="carbon"] .ft2-bullet .ph,
[data-bundle-color="default"] .ft2-bullet .ph { color: var(--js-color-green); }
.ft2-bullet strong { display: block; font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.ft2-bullet span.ft2-bullet__desc { font-size: 14.5px; color: var(--color-secondary-op7); line-height: 1.5; }

.ft2-media-card {
  border: 1px solid rgba(var(--js-color-grey-rgb), .1);
  border-radius: var(--ft2-radius-xl);
  overflow: hidden;
  box-shadow: var(--ft2-shadow-lg);
  line-height: 0;
}
.ft2-media-card img,
.ft2-media-card video { width: 100%; height: auto; display: block; }
.ft2-media-card video { aspect-ratio: 854 / 460; object-fit: cover; background: #B9B9B7; }

/* ============================================================
   RUN SMART (dark)
   ============================================================ */
.ft2-works {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.ft2-works__label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(var(--js-color-white-rgb), .55); }
.ft2-works__pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(var(--js-color-white-rgb), .16);
  font-size: 14px; font-weight: 600;
}
.ft2-agents {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--ft2-radius-md);
  background: rgba(var(--js-color-white-rgb), .05);
  border: 1px solid rgba(var(--js-color-white-rgb), .1);
  font-size: 15px;
  color: rgba(var(--js-color-white-rgb), .8);
  line-height: 1.55;
}

/* Dashboard mockup */
.ft2-dash {
  background: rgba(var(--js-color-white-rgb), .04);
  border: 1px solid rgba(var(--js-color-white-rgb), .12);
  border-radius: var(--ft2-radius-lg);
  padding: 18px;
}
.ft2-dash__row { display: flex; align-items: center; justify-content: space-between; padding: 11px 12px; border-radius: 10px; background: rgba(var(--js-color-white-rgb), .04); margin-bottom: 8px; font-size: 14px; }
.ft2-dash__row span:last-child { color: rgba(var(--js-color-white-rgb), .6); font-size: 13px; }
.ft2-dash__title { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: rgba(var(--js-color-white-rgb), .5); margin: 6px 2px 12px; }
.ft2-dash__auto { margin-top: 16px; }
.ft2-dash__autoitem { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: rgba(var(--js-color-white-rgb), .82); padding: 6px 0; }
.ft2-dash__autoitem .ph { color: var(--js-color-green); flex: none; margin-top: 2px; }

/* ============================================================
   ESSENTIALS grid
   ============================================================ */
.ft2-ess {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(40px, 5vw, 56px);
}
.ft2-ess__item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 22px 20px;
  border: var(--ft2-hairline);
  border-radius: var(--ft2-radius-lg);
  background: var(--color-main-op05);
  transition: border-color .2s ease, transform .2s ease;
}
.ft2-ess__item:hover { border-color: var(--color-main-op2); transform: translateY(-3px); }
.ft2-ess__item .ph {
  color: var(--js-color-green-dark);
  font-size: 22px;
  flex: none;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--js-color-green-tint);
  border-radius: 10px;
}
.ft2-ess__item h3 { font-size: 15.5px; font-weight: 600; margin: 0 0 3px; }
.ft2-ess__item p { font-size: 13.5px; color: var(--color-secondary-op7); margin: 0; line-height: 1.45; }
@media (max-width: 900px) { .ft2-ess { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ft2-ess { grid-template-columns: 1fr; } }

/* ============================================================
   SUPPORT
   ============================================================ */
.ft2-support__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ft2-support__chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  border: var(--ft2-hairline);
  font-size: 14px; font-weight: 600;
}
.ft2-support__chip .ph { color: var(--js-color-green-dark); }

/* ============================================================
   MERCHANTS showcase
   ============================================================ */
.ft2-merchants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(36px, 5vw, 56px);
}
.ft2-merchant {
  display: block;
  border-radius: var(--ft2-radius-md);
  overflow: hidden;
  border: var(--ft2-hairline);
  background: var(--color-main-op05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ft2-merchant:hover { transform: translateY(-4px); box-shadow: var(--ft2-shadow-md); }
.ft2-merchant img { width: 100%; height: 200px; object-fit: cover; object-position: top center; display: block; }
.ft2-merchant__name { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--color-secondary); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.ft2-final { text-align: center; }
.ft2-final .ft2-cta-bar { margin-top: 30px; }
.ft2-final__actions { display: flex; justify-content: center; margin-top: 30px; }

/* ============================================================
   Scroll reveal (JS-driven; safe defaults if JS/motion off)
   ============================================================ */
.ft2-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.ft2-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ft2-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ft2-aipanel__dot, .ft2-aipanel__spinner { animation: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .ft2-store__grid { grid-template-columns: repeat(2, 1fr); }
  .ft2-aipanel { position: static; width: 100%; margin-top: 16px; }
  .ft2-hero__floatchip { display: none; }
  .ft2-hero__stage { margin-top: 40px; }
  .ft2-cta-bar { flex-wrap: wrap; }
  .ft2-cta-bar .button { width: 100%; justify-content: center; }
}

/* ============================================================
   PAGE-SCOPED HEADER — light-hero blend
   This page has a light hero, so at the top the fixed header stays
   transparent with DARK text/logo (blends into the hero). On scroll
   (>125px) main.js adds .is-scrolling → the default dark brand header
   with white text + the Get started button appears. The logo src is
   swapped in the page script to match. These rules only load on this
   page (via its <link>), so no other page is affected.
   ============================================================ */
.header:not(.is-scrolling) .header-menu__link,
.header:not(.is-scrolling) .header-menu__link .ph-caret-down {
  color: var(--js-color-grey);
}
.header:not(.is-scrolling):hover {
  background: transparent !important;
}
/* On scroll: solid dark brand color (this page is mostly light sections, so
   the default 40%-translucent header would look washed here). */
.header.is-scrolling {
  background: var(--color-background) !important;
}
.header:not(.is-scrolling) .button--login {
  color: var(--js-color-grey);
  border-color: rgba(var(--js-color-grey-rgb), .3);
}
.header:not(.is-scrolling) .button--login:hover {
  color: var(--js-color-white);
  border-color: var(--js-color-grey);
  background: var(--js-color-grey) !important;
}
body:not(:has(#mobile-menu.show)) .header:not(.is-scrolling) .header-toggle__icon > div {
  background: var(--js-color-grey);
}
body:not(:has(#mobile-menu.show)) .header:not(.is-scrolling) .header-toggle__text {
  color: var(--js-color-grey);
}

/* Dropdown panels: blend light with the header at the top, dark on scroll.
   The dropdown CSS reads semantic tokens (--color-background/-main/-secondary/
   -border), so remapping them here flips the whole panel — background, titles,
   links and dividers — with no per-element overrides. A soft shadow + hairline
   give the light panel definition over the hero. */
.header:not(.is-scrolling) .header-dropdown {
  --color-background: var(--js-color-white);
  --color-main: var(--js-color-black);
  --color-secondary: var(--js-color-grey);
  --color-border: rgba(var(--js-color-black-rgb), 0.12);
  box-shadow: 0 26px 44px -26px rgba(var(--js-color-grey-rgb), 0.28);
  border-bottom: 1px solid rgba(var(--js-color-black-rgb), 0.08);
}
/* When a dropdown is open at the top, solidify the bar to the same light tone
   so the menu row and the panel read as one continuous surface. */
.header:not(.is-scrolling):has(.header-menu__item:hover) {
  background: var(--js-color-white) !important;
}
