/* ShopFoundry marketing — dark-navy + teal system (redesign 2026-07).
   Recreated from the design handoff: a light body (#F6F8F9) with dark navy
   hero/header/footer bands and a teal accent. Type is Plus Jakarta Sans
   (everything) + Space Grotesk (numerals only). Fonts are loaded in
   templates/marketing/_layout.html; self-host for production.
   Scope: this stylesheet is only linked on the marketing pages, so class
   names here never collide with the app (admin.css / tailwind.css). */

:root {
  /* Navy scale */
  --navy-page: #0F1E2B;      /* darkest page band */
  --navy-surface: #182838;   /* card / mid surface */
  --navy-grad-end: #1B3140;  /* gradient end */
  --navy-deep: #0B1B26;      /* text on teal buttons */

  /* Teal accent */
  --teal: #48A8B8;           /* primary fill / graphics */
  --teal-deep: #2E7E8C;      /* AA-safe accent text on light */
  --teal-light: #6FC4D0;     /* accents on dark */
  --teal-pale: #9BD4DD;      /* pill text on dark */
  --teal-grad-a: #5FBCCB;    /* button gradient top */
  --teal-grad-b: #3E9DAD;    /* button gradient bottom */
  --link: #257585;           /* body link on light */

  /* Light theme */
  --bg: #F6F8F9;
  --tint: #EDF2F4;           /* tinted section */
  --card: #FFFFFF;
  --border: #DFE7EA;
  --hairline: #EAF0F2;
  --ink: #16242F;            /* headings / strong text */
  --body: #4A5E6B;           /* body copy */
  --muted: #7B8C96;          /* muted */
  --disabled: #9DB4BC;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --num: 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1260px;
  --gutter: 56px;
  --nav-h: 84px;
  --r: 10px;          /* buttons / inputs */
  --r-card: 16px;     /* cards */
  --r-card-sm: 14px;  /* small cards / feed */
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--ink);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
a { color: var(--link); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--teal); }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Reveal engine (hidden only when JS can reveal — gated on html.js-reveal) ── */
html.js-reveal .reveal { opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .8s cubic-bezier(.22,.61,.36,1); }
html.js-reveal .reveal.is-in { opacity: 1; transform: none; }
html.js-reveal .reveal.rv-rise { transform: translateY(56px) scale(.965); filter: blur(8px);
  transition: opacity .9s ease, transform 1.1s cubic-bezier(.16,1,.3,1), filter .9s ease; }
html.js-reveal .reveal.rv-rise.is-in { transform: none; filter: blur(0); }
html.js-reveal .reveal.rv-clip { opacity: 1; transform: none; clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.77,0,.175,1); }
html.js-reveal .reveal.rv-clip.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  html.js-reveal .reveal { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: 16px; line-height: 1;
  padding: 14px 26px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  white-space: nowrap; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--teal-grad-a), var(--teal-grad-b));
  color: var(--navy-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 28px rgba(72,168,184,.3);
}
.btn-primary:hover { filter: brightness(1.07); transform: translateY(-1px); color: var(--navy-deep);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 14px 34px rgba(72,168,184,.42); }
.btn-primary:active { transform: scale(.97); }
.btn-ghost-dark { color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost-dark:hover { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); }
.btn-ghost-light { color: var(--ink); border-color: #C6D2D8; background: transparent; }
.btn-ghost-light:hover { color: var(--ink); border-color: var(--teal); }
.btn-lg { font-size: 17px; padding: 16px 32px; }
.btn-block { width: 100%; }

/* ── Nav (transparent, sits inside each page's dark header) ── */
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); position: relative; z-index: 20; }
/* space-between stops separating things once the row is full, and the logo
   is an <img> so it happily shrinks into the links. gap + no-shrink keep a
   real edge between brand and menu at every width. */
.nav-logo { flex: 0 0 auto; }
.nav-logo img { height: 46px; width: auto; }
.hero .nav-logo img { height: 55px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
/* Nothing in the nav may wrap. Adding a 5th link (Support) pushed the
   two buttons onto second lines at 1280px -- "Sign / in" -- and shoved
   the logo into Features. The gap came down to buy the room; nowrap
   stops the buttons breaking if a label ever grows again. */
.nav-links > a { white-space: nowrap; }
.nav-links a { color: rgba(255,255,255,.75); }
.nav-links a:hover { color: #fff; }
.nav-links a.is-active { color: #fff; }
.nav-signin { color: #fff !important; font-weight: 600; padding: 10px 20px; border-radius: var(--r); border: 1px solid rgba(255,255,255,.28); }
.nav-signin:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.07); }
.nav-cta { color: var(--navy-deep) !important; font-weight: 700; padding: 11px 24px; border-radius: var(--r);
  background: linear-gradient(180deg, var(--teal-grad-a), var(--teal-grad-b));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 18px rgba(72,168,184,.32); }
.nav-cta:hover { filter: brightness(1.07); transform: translateY(-1px); color: var(--navy-deep); }

/* Mobile menu (checkbox toggle — works without JS) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.28); border-radius: var(--r); color: #fff; cursor: pointer; }
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .i-x { display: none; }
.nav-overlay { display: none; }

/* Five links + two buttons needs ~1010px to sit on one line, so the desktop
   nav gets two tightening steps and hands off to the burger at 1000 rather
   than 900 -- below that no amount of shaving fits it without shrinking the
   logo to nothing. Support is in the overlay too, so nothing is lost. */
@media (max-width: 1180px) {
  .nav-links { gap: 18px; font-size: 14.5px; }
  .nav-signin { padding: 9px 15px; }
  .nav-cta { padding: 10px 17px; }
  .nav-logo img { height: 40px; }
  .hero .nav-logo img { height: 46px; }
}
@media (max-width: 1080px) {
  .nav-row { gap: 16px; }
  .nav-links { gap: 14px; font-size: 14px; }
  .nav-signin { padding: 8px 12px; }
  .nav-cta { padding: 9px 14px; }
  .nav-logo img { height: 34px; }
  .hero .nav-logo img { height: 38px; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-toggle:checked ~ .nav-row .nav-burger .i-menu,
  .nav-toggle:checked ~ .wrap .nav-row .nav-burger .i-menu { display: none; }
  .nav-toggle:checked ~ .nav-row .nav-burger .i-x,
  .nav-toggle:checked ~ .wrap .nav-row .nav-burger .i-x { display: block; }
  .nav-overlay {
    position: fixed; inset: 0; z-index: 40; display: none; flex-direction: column;
    background: linear-gradient(160deg, var(--navy-page), var(--navy-surface));
    padding: 26px 24px calc(24px + env(safe-area-inset-bottom));
  }
  .nav-toggle:checked ~ .nav-overlay { display: flex; }
  .nav-ov-top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
  .nav-ov-links { display: flex; flex-direction: column; margin-top: 8px; }
  .nav-ov-links a { color: #fff; font-size: 26px; font-weight: 700; padding: 22px 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-ov-signin { color: rgba(255,255,255,.7); font-size: 18px; font-weight: 600; padding: 22px 2px; }
  .nav-ov-foot { margin-top: auto; }
  .nav-ov-foot .btn { width: 100%; }
  .nav-ov-foot .micro { text-align: center; margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.5); }
}

/* ── Shared dark-band background layers ──────────────────── */
@keyframes sfDrift { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-70px,45px) scale(1.07); } }
@keyframes sfDrift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(55px,-35px); } }

.dark-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.dark-bg .glow-a { position: absolute; top: -260px; right: -180px; width: 1100px; height: 900px;
  background: radial-gradient(closest-side, rgba(72,168,184,.3), rgba(46,110,130,.12) 55%, transparent 75%);
  filter: blur(30px); animation: sfDrift 16s ease-in-out infinite; }
.dark-bg .glow-b { position: absolute; top: 160px; right: 520px; width: 520px; height: 460px;
  background: radial-gradient(closest-side, rgba(29,74,94,.55), transparent 72%);
  filter: blur(40px); animation: sfDrift2 20s ease-in-out infinite; }
.dark-bg .glow-c { position: absolute; left: -240px; bottom: -320px; width: 900px; height: 640px;
  background: radial-gradient(closest-side, rgba(72,168,184,.1), transparent 72%); filter: blur(50px); }
.dark-bg .grain { position: absolute; inset: 0; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.dark-bg .vignette { position: absolute; inset: 0; box-shadow: inset 0 0 220px rgba(4,10,15,.55); }
@media (prefers-reduced-motion: reduce) { .dark-bg .glow-a, .dark-bg .glow-b { animation: none; } }

/* ── Hero (homepage) ─────────────────────────────────────── */
.hero { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0F1E2B 0%, #182838 62%, #1B3140 100%); }
.hero .hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 220px;
  background: linear-gradient(transparent, rgba(9,19,27,.55)); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; padding: 84px 0 104px; }
.hero-pill { display: inline-block; border: 1px solid rgba(111,196,208,.4); color: var(--teal-pale);
  font-size: 13.5px; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 28px; }
.hero-h1 { font-size: 58px; line-height: 1.07; letter-spacing: -.025em; color: #fff; margin-bottom: 24px; }
.hero-h1 .hl { color: var(--teal); }
.hero-sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 520px; margin-bottom: 36px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero-micro { margin-top: 14px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* Hero order feed (the signature animation) */
.feed { display: flex; flex-direction: column; gap: 14px; }
.feed [data-feed-t] { opacity: 1; }
html.js-reveal .feed-anim [data-feed-t] { opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity .5s ease, transform .55s cubic-bezier(.22,.61,.36,1), filter .5s ease; }
.feed-email { background: #F4F7F8; border-radius: var(--r-card-sm); padding: 20px 24px; box-shadow: 0 20px 50px rgba(5,14,20,.45); }
.feed-email .fe-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.feed-email .fe-lbl { font-size: 13px; font-weight: 700; color: var(--body); letter-spacing: .04em; }
.feed-email .fe-time { font-size: 13px; color: var(--muted); }
.feed-email .fe-from { font-size: 15px; color: var(--ink); margin-bottom: 3px; }
.feed-email .fe-line { font-size: 15px; color: var(--body); margin-bottom: 12px; }
.feed-chip { display: inline-flex; align-items: center; gap: 8px; background: #E4EBEE; border-radius: 8px;
  padding: 7px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.feed-chip .pdf { width: 8px; height: 10px; border: 1.5px solid var(--body); border-radius: 2px; }
.feed-connector { display: flex; align-items: center; gap: 12px; padding: 0 6px; }
.feed-connector .ln { width: 2px; height: 26px; background: linear-gradient(var(--teal), transparent); margin-left: 26px; }
.feed-connector .txt { font-size: 13.5px; font-weight: 600; color: var(--teal-light); }
.feed-order { background: rgba(20,36,48,.85); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-card-sm); padding: 20px 24px; backdrop-filter: blur(6px); }
.feed-order .fo-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.feed-order .fo-id { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: .04em; }
.feed-order .fo-priced { background: rgba(72,168,184,.18); color: var(--teal-light); font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.feed-order .fo-rows { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.feed-order .fo-rows > div { display: flex; justify-content: space-between; }
.feed-order .fo-rows .k { color: rgba(255,255,255,.5); }
.feed-order .fo-rows .v { color: #fff; font-weight: 600; }
.feed-order .fo-rows .v.ok { color: var(--teal-light); font-weight: 700; }
.feed-status { display: flex; align-items: center; gap: 14px; background: rgba(72,168,184,.13);
  border: 1px solid rgba(72,168,184,.55); border-radius: 12px; padding: 15px 20px; box-shadow: 0 0 34px rgba(72,168,184,.16); }
.feed-status .fs-check { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: var(--navy-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex: none; }
.feed-status .fs-body { flex: 1; }
.feed-status .fs-title { font-size: 15.5px; font-weight: 700; color: #fff; }
.feed-status .fs-sub { font-size: 13.5px; color: rgba(255,255,255,.6); }
.feed-status .fs-time { font-family: var(--num); font-variant-numeric: tabular-nums; font-size: 19px; font-weight: 700; color: var(--teal-light); }

/* ── Inner-page dark header ──────────────────────────────── */
.page-header { position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, #0F1E2B 0%, #182838 70%, #1B3140 100%); }
.page-header .wrap { position: relative; z-index: 1; }
.page-header .ph-copy { padding: 64px 0 74px; max-width: 820px; }
.page-header h1 { font-size: 54px; line-height: 1.08; letter-spacing: -.025em; color: #fff; margin-bottom: 20px; }
.page-header .ph-sub { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.72); max-width: 600px; text-wrap: pretty; }

/* ── Generic sections ────────────────────────────────────── */
.section { max-width: var(--maxw); margin: 0 auto; padding: 104px var(--gutter) 96px; }
.section-tint { background: var(--tint); }
.section-tint .inner { max-width: var(--maxw); margin: 0 auto; padding: 96px var(--gutter); }
.eyebrow-rule { width: 44px; height: 4px; background: var(--teal); margin-bottom: 26px; }
.h2 { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.h2-sm { font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.lead { font-size: 18px; line-height: 1.65; color: var(--body); text-wrap: pretty; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Split (text + media) */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 76px; align-items: center; }
.split.rev .split-media { order: -1; }
.split.even { grid-template-columns: 1fr 1fr; }
.split-media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(22,42,56,.16); }
.split-media.on-dark { border-color: rgba(255,255,255,.1); background: var(--navy-page); box-shadow: 0 30px 70px rgba(22,42,56,.3); }
.split h2 { margin-bottom: 16px; }
.split .lead + .lead { margin-top: 18px; }

/* Cards + module grid */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card-sm); padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 16px 36px rgba(22,42,56,.1); }
.card h3 { font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body); }
.card.on-navy { background: var(--navy-surface); border-color: var(--navy-surface); }
.card.on-navy:hover { border-color: var(--teal); box-shadow: 0 16px 36px rgba(22,42,56,.3); }
.card.on-navy h3 { color: #fff; }
.card.on-navy p { color: rgba(255,255,255,.65); }
.card.pad-lg { padding: 32px 36px; }
.card .card-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(72,168,184,.14);
  display: flex; align-items: center; justify-content: center; flex: none; }
.card .card-ico .sq { width: 13px; height: 13px; border-radius: 4px; background: var(--teal-deep); }
.card .card-ico .ci { width: 13px; height: 13px; border-radius: 50%; background: var(--teal-deep); }
.card .card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.card .card-head h3 { margin: 0; font-size: 21px; }
.card.pad-lg p { font-size: 16px; line-height: 1.6; }

.sec-head { text-align: center; margin: 0 auto 48px; }
.sec-head h2 { margin-bottom: 14px; }
.sec-head .lead { max-width: 520px; margin: 0 auto; color: var(--body); }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 48px; }
.row-head h2 { margin: 0; }
.row-head a { font-weight: 600; font-size: 16px; flex: none; padding-bottom: 8px; }

/* Browser-framed showcase */
.browser { background: var(--card); border-radius: var(--r-card); box-shadow: 0 40px 90px rgba(22,42,56,.18); overflow: hidden; border: 1px solid var(--border); }
.browser-bar { display: flex; align-items: center; gap: 8px; background: #F1F5F7; border-bottom: 1px solid #E2E9EC; padding: 12px 18px; }
.browser-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #D7DFE3; }
.browser-bar .url { font-size: 13px; color: var(--muted); margin-left: 14px; font-weight: 500; }
.browser > img { display: block; width: 100%; height: auto; }

/* Small screenshot cards (product screens) */
.shot-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 24px; }
.shot-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card-sm); overflow: hidden; }
.shot-card img { display: block; width: 100%; height: 170px; object-fit: cover; object-position: top; }
.shot-card .cap { padding: 16px 20px; font-size: 14.5px; color: var(--body); }
.shot-card .cap strong { color: var(--ink); }

/* Built in a shop (dark band) */
.dark-band { background: var(--navy-page); position: relative; overflow: hidden; color: #fff; }
.dark-band .glow-corner { position: absolute; inset: 0; background: radial-gradient(700px 360px at 18% 100%, rgba(72,168,184,.16), transparent 65%); }
.dark-band .inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 100px var(--gutter); }
.dark-band h2 { color: #fff; }
.dark-band .lead { color: rgba(255,255,255,.7); }
.dark-band .split-media { box-shadow: 0 30px 70px rgba(0,0,0,.45); border-color: rgba(255,255,255,.12); }

/* Proofing gallery (dark) */
.proof-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.proof-gallery .pg-shot { border-radius: var(--r-card-sm); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.proof-gallery .pg-cap { margin: 16px 4px 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.6); }
.proof-gallery .pg-cap strong { color: #fff; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 38px 36px;
  display: flex; flex-direction: column; transition: border-color .25s ease; }
.plan:hover { border-color: var(--teal); }
.plan h3 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.plan .pitch { font-size: 15px; color: var(--body); margin-bottom: 26px; }
.plan .price { font-family: var(--num); font-size: 44px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.plan .price .per { font-family: var(--font); font-size: 17px; font-weight: 500; color: var(--muted); }
.plan .price-alt { font-size: 14.5px; color: var(--muted); margin: 4px 0 0; }
.plan .price-was { color: var(--disabled); text-decoration-color: rgba(123,140,150,.55); }
.plan .price-launch { font-size: 12.5px; font-weight: 700; color: var(--teal-deep);
  letter-spacing: .02em; margin: 6px 0 26px; }
.plan .features { display: flex; flex-direction: column; gap: 11px; font-size: 15px; color: #37474F;
  padding: 22px 0 30px; border-top: 1px solid var(--hairline); margin: 0 0 auto; list-style: none; }
.plan .features li { padding: 0; }
.plan .plan-cta { margin-top: auto; }
.plan.featured { background: var(--navy-surface); border: none; position: relative; box-shadow: 0 24px 60px rgba(22,42,56,.28); }
.plan.featured h3 { color: #fff; }
.plan.featured .pitch { color: rgba(255,255,255,.6); }
.plan.featured .price { color: #fff; }
.plan.featured .price .per { color: rgba(255,255,255,.5); }
.plan.featured .price-alt { color: rgba(255,255,255,.5); }
.plan.featured .price-was { color: rgba(255,255,255,.35); }
.plan.featured .price-launch { color: var(--teal-light); }
.plan.featured .features { color: rgba(255,255,255,.8); border-top-color: rgba(255,255,255,.12); }
.plan .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal);
  color: var(--navy-page); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; padding: 6px 14px; border-radius: 999px; }
.pricing-note { text-align: center; font-size: 14.5px; color: var(--muted); margin-top: 26px; }
.nocharge { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.nocharge span { font-size: 13px; font-weight: 600; color: var(--teal-deep); background: #EAF4F6;
  border-radius: 999px; padding: 7px 15px; }
.ala-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ala-row { display: flex; align-items: baseline; gap: 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--r-card-sm); padding: 15px 20px; }
.ala-name { font-weight: 600; font-size: 15px; color: var(--ink); margin-right: auto; }
.ala-price { font-size: 17px; font-weight: 700; color: var(--ink); }
.ala-price em { font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.ala-cad { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .ala-grid { grid-template-columns: 1fr; } }

/* ── Comparison table (CSS grid) ─────────────────────────── */
.cmp { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 24px 60px rgba(22,42,56,.08); }
.cmp-row { display: grid; grid-template-columns: 1.5fr repeat(6, 1fr); font-size: 14.5px; border-bottom: 1px solid var(--hairline); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-row.head { font-size: 14px; font-weight: 700; border-bottom: 2px solid var(--navy-surface); }
.cmp-row > div { padding: 18px 20px; }
.cmp-row .rowlabel { padding-left: 24px; color: var(--body); }
.cmp-row.head .rowlabel { padding: 18px 24px; }
.cmp-row .us { background: rgba(72,168,184,.12); }
.cmp-row.head .us { color: var(--ink); }
.cmp-row .us.win { font-weight: 800; color: var(--teal-deep); }
.cmp-row .us.strong { font-weight: 700; }
.cmp-row .us.num { font-family: var(--num); font-weight: 700; color: var(--teal-deep); }
.cmp-row .comp { color: var(--muted); }
.cmp-row .comp.no { color: var(--disabled); }
.cmp-note { margin: 22px 4px 0; font-size: 14px; color: var(--muted); max-width: 720px; }

/* ── FAQ card grid ───────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.faq-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card-sm); padding: 28px 30px; }
.faq-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 8px; }
.faq-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body); }

/* ── CTA blocks ──────────────────────────────────────────── */
.cta-final { background: var(--tint); border-top: 1px solid var(--border); }
.cta-final .inner { max-width: var(--maxw); margin: 0 auto; padding: 100px var(--gutter); text-align: center; }
.cta-final h2 { font-size: 48px; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 18px; }
.cta-final h2 .hl { color: var(--teal-deep); }
.cta-final .lead { margin: 0 0 38px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.cta-band { background: var(--tint); border-top: 1px solid var(--border); }
.cta-band .inner { max-width: var(--maxw); margin: 0 auto; padding: 88px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 60px; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0; font-size: 17px; color: var(--body); }
.cta-band .btn { flex: none; }

/* ── Footer (4-column, homepage) ─────────────────────────── */
.footer { background: var(--navy-page); color: #fff; }
.footer .inner { max-width: var(--maxw); margin: 0 auto; padding: 70px var(--gutter) 40px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .f-logo { height: 32px; width: auto; margin-bottom: 18px; }
.footer .f-tag { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 280px; }
.footer .f-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer .f-col .f-head { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.footer .f-col a { color: rgba(255,255,255,.7); }
.footer .f-col a:hover { color: #fff; }
.footer .f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 26px; font-size: 13.5px; color: rgba(255,255,255,.45); }

/* Slim footer (inner pages) */
.footer-slim { background: var(--navy-page); color: #fff; }
.footer-slim .inner { max-width: var(--maxw); margin: 0 auto; padding: 38px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.footer-slim .fs-logo { height: 28px; width: auto; }
.footer-slim .fs-links { display: flex; gap: 28px; font-size: 14.5px; }
.footer-slim .fs-links a { color: rgba(255,255,255,.7); }
.footer-slim .fs-links a:hover { color: #fff; }
.footer-slim .fs-copy { font-size: 13.5px; color: rgba(255,255,255,.45); }

/* ── Sign In ─────────────────────────────────────────────── */
.signin-page { font-family: var(--font); min-height: 100vh; position: relative; overflow: hidden;
  display: flex; flex-direction: column; color: #fff;
  background: linear-gradient(160deg, #0F1E2B 0%, #182838 62%, #1B3140 100%); }
.signin-top { position: relative; z-index: 1; }
.signin-top .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.signin-top .logo img { height: 46px; width: auto; }
.signin-top .right { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.signin-top .right .new { color: rgba(255,255,255,.55); }
.signin-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 50px 20px 90px; }
.signin-card { width: 440px; max-width: 100%; background: rgba(20,36,48,.85); border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 44px 44px 40px; backdrop-filter: blur(8px); box-shadow: 0 40px 90px rgba(4,10,15,.5); }
.signin-card h1 { font-size: 28px; color: #fff; margin-bottom: 8px; }
.signin-card .sub { margin: 0 0 32px; font-size: 15px; color: rgba(255,255,255,.55); }
.signin-fields { display: flex; flex-direction: column; gap: 20px; }
.signin-field { display: flex; flex-direction: column; gap: 8px; }
.signin-field .lbl-row { display: flex; justify-content: space-between; align-items: baseline; }
.signin-field label { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.8); }
.signin-field .forgot { font-size: 13.5px; }
.signin-field input { background: rgba(11,23,32,.7); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r);
  padding: 14px 16px; font-size: 15.5px; color: #fff; font-family: var(--font); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.signin-field input::placeholder { color: rgba(255,255,255,.35); }
.signin-field input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(72,168,184,.2); }
.signin-card .btn { margin-top: 6px; width: 100%; }
.signin-note { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px; color: rgba(255,255,255,.55); text-align: center; }
.signin-foot { position: relative; z-index: 1; text-align: center; padding: 0 0 30px; font-size: 13.5px; color: rgba(255,255,255,.4); }
.signin-flash { background: rgba(72,168,184,.14); border: 1px solid rgba(72,168,184,.4); color: var(--teal-light);
  border-radius: var(--r); padding: 12px 14px; margin-bottom: 18px; font-size: 14px; }

/* ── Contact / generic light form ────────────────────────── */
.mk-form { max-width: 560px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--r-card); padding: 32px; }
.mk-field { margin-bottom: 16px; }
.mk-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.mk-field input, .mk-field textarea, .mk-field select { width: 100%; border: 1px solid #C6D2D8; border-radius: var(--r); padding: 12px 14px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.mk-field input:focus, .mk-field textarea:focus, .mk-field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(72,168,184,.16); }
.mk-field ::placeholder { color: var(--disabled); opacity: 1; }
.mk-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .mk-field-row { grid-template-columns: 1fr; } }
.mk-form .btn { width: 100%; }
.mk-form-note { text-align: center; margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.hp { position: absolute; left: -9999px; }
.flash-ok { background: rgba(14,159,110,.1); border: 1px solid rgba(14,159,110,.35); color: #0e9f6e; border-radius: var(--r); padding: 14px; margin-bottom: 16px; font-weight: 500; }
.flash-err { background: rgba(72,168,184,.08); border: 1px solid rgba(72,168,184,.3); color: var(--teal-deep); border-radius: var(--r); padding: 14px; margin-bottom: 16px; }

/* ── Feature-detail outcomes checklist ───────────────────── */
.check-list { list-style: none; margin: 20px 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin: 12px 0; font-size: 16px; color: var(--body); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 6px; background: rgba(72,168,184,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232E7E8C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 13px; background-position: center; background-repeat: no-repeat; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-grid { gap: 48px; }
  .split, .split.even { gap: 48px; }
}
@media (max-width: 860px) {
  :root { --gutter: 24px; }
  .nav-logo img, .hero .nav-logo img { height: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 24px 0 72px; }
  .hero-h1 { font-size: 37px; line-height: 1.12; }
  .hero-sub { font-size: 16.5px; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; padding: 16px; }
  .hero-micro { text-align: center; }
  .split, .split.even { grid-template-columns: 1fr; gap: 30px; }
  .split.rev .split-media { order: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .shot-cards { grid-template-columns: 1fr; }
  .proof-gallery { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 18px; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan.featured { order: -1; }
  .section { padding: 52px 24px; }
  .section-tint .inner, .dark-band .inner, .cta-final .inner { padding: 52px 24px; }
  .h2, .cta-final h2 { font-size: 27px; }
  .h2-sm { font-size: 25px; }
  .page-header h1 { font-size: 30px; }
  .page-header .ph-copy { padding: 40px 0 48px; }
  .row-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .cta-band .inner { flex-direction: column; align-items: flex-start; gap: 28px; padding: 52px 24px; }
  .cta-band .btn { width: 100%; }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer .f-brand { grid-column: 1 / -1; }
  .footer .f-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-slim .inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  /* Comparison table → stacked metric cards */
  .cmp { border: 0; box-shadow: none; background: transparent; overflow: visible; display: flex; flex-direction: column; gap: 14px; }
  .cmp-row { display: block; border: 1px solid var(--border); border-radius: var(--r-card-sm); background: var(--card); padding: 18px 18px 8px; }
  .cmp-row.head { display: none; }
  .cmp-row > div { padding: 0; }
  .cmp-row .rowlabel { padding: 0 0 12px; font-weight: 700; color: var(--ink); text-transform: uppercase; font-size: 12.5px; letter-spacing: .04em; }
  .cmp-row .us { display: flex; justify-content: space-between; background: rgba(72,168,184,.12); border-radius: 8px; padding: 10px 12px !important; margin-bottom: 10px; }
  .cmp-row .us::before { content: "ShopFoundry"; font-weight: 700; color: var(--teal-deep); }
  .cmp-row .comp { display: inline; padding: 0 !important; }
  .cmp-row .comp::after { content: " · "; color: var(--disabled); }
  .cmp-row .comp:last-child::after { content: ""; }
}

/* ─── Help portal ──────────────────────────────────────────────────────────
   /help on the marketing host and inside a tenant portal. Reuses the page
   chrome; everything below is the article body + index listing only.        */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.help-search { display: flex; gap: 10px; margin: 0 0 34px; max-width: 620px; }
.help-search input[type="search"] {
  flex: 1; padding: 12px 16px; font-size: 16px; color: var(--ink);
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
}
.help-search input[type="search"]:focus {
  outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal);
}
.help-resultcount { color: var(--muted); margin: 0 0 18px; }

.help-section { margin: 0 0 40px; }
.help-section > h2 { margin: 0 0 14px; }

.help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.help-list > li { margin: 0; }
.help-list a {
  display: block; padding: 15px 18px; background: var(--card);
  border: 1px solid var(--border); border-radius: 10px; text-decoration: none;
  transition: border-color .14s ease, transform .14s ease;
}
.help-list a:hover { border-color: var(--teal); transform: translateY(-1px); }
.help-list-title {
  display: block; font-weight: 700; color: var(--ink); margin-bottom: 3px;
}
.help-list-sum { display: block; font-size: 14.5px; color: var(--muted); line-height: 1.5; }

.help-lock {
  display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--tint); border: 1px solid var(--border);
  vertical-align: 1px;
}
.help-foot { color: var(--muted); font-size: 14.5px; margin-top: 30px; }

/* ─── Article body ─── */
.help-article-wrap { max-width: 820px; }
.help-crumbs { font-size: 14px; color: var(--muted); margin: 0 0 26px; }
.help-crumbs a { color: var(--link); text-decoration: none; }
.help-crumbs a:hover { text-decoration: underline; }
.help-crumbs span { margin: 0 8px; color: var(--border); }

.help-body { color: var(--ink); font-size: 17px; line-height: 1.72; }
.help-body > * + * { margin-top: 1.1em; }
.help-body h2 {
  font-size: 27px; line-height: 1.2; letter-spacing: -.01em;
  margin-top: 2.1em; margin-bottom: .5em; scroll-margin-top: 24px;
}
.help-body h3 { font-size: 20px; margin-top: 1.7em; margin-bottom: .35em; }
.help-body h4 { font-size: 16.5px; margin-top: 1.4em; margin-bottom: .3em; }
.help-body ul, .help-body ol { padding-left: 24px; }
.help-body li + li { margin-top: .45em; }
.help-body a { color: var(--link); }
.help-body strong { color: var(--ink); }

.help-body code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: .88em; background: var(--tint); padding: 1.5px 5px;
  border-radius: 4px; border: 1px solid var(--border); word-break: break-word;
}
.help-body pre {
  background: var(--navy-page); color: #DCE7EC; padding: 16px 18px;
  border-radius: 10px; overflow-x: auto; font-size: 13.5px; line-height: 1.6;
}
.help-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }

/* Wide content scrolls inside its own box so the page never scrolls sideways. */
.help-body table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.help-body th, .help-body td {
  text-align: left; padding: 10px 13px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.help-body th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }

.help-body blockquote {
  margin: 1.4em 0; padding: 14px 20px; background: var(--tint);
  border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; color: var(--ink);
}
.help-body blockquote p { margin: 0; }
.help-body blockquote p + p { margin-top: .7em; }

.help-body img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }

/* Hand-authored inline SVG diagrams — no client-side diagram library, so the
   picture that explains the page is there on first paint. */
.help-diagram { margin: 1.6em 0; padding: 20px; background: var(--card);
                border: 1px solid var(--border); border-radius: 12px; overflow-x: auto; }
.help-diagram svg { display: block; width: 100%; height: auto; max-width: 720px; margin: 0 auto; }
.help-diagram figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }

.help-meta {
  display: flex; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 16px;
  border-top: 1px solid var(--border); font-size: 13.5px; color: var(--muted);
}
.help-more { margin-top: 52px; }
.help-more > h2 { margin: 0 0 14px; }

@media (max-width: 640px) {
  .help-search { flex-direction: column; }
  .help-body { font-size: 16px; }
  .help-body h2 { font-size: 23px; }
}
