/* The Ground inner pages (features, pricing, for-brands, partner-program, terms, privacy, 404, help center).
   Loaded after css/home.css, which supplies the tokens, nav, buttons, type roles (.display .grot .ital .didone .mono),
   reveal, stories, faq, final CTA and footer. This file only adds what the inner pages need. */

/* Solid nav for pages that open on a light surface (help center) */
.nav--solid { background: rgba(13, 31, 25, 0.96); box-shadow: 0 1px 0 var(--line-dark); }

/* ---------- Page hero: big type on the left, one portrait clip on the right ---------- */
.phero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(128px, 15vw, 190px) 0 clamp(64px, 8vw, 110px); }
.phero::before { content: ""; position: absolute; left: -20%; bottom: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 58, 44, 0.9), transparent); z-index: -1; pointer-events: none; }
.phero__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.phero__in--solo { grid-template-columns: minmax(0, 1fr); }
.phero h1 { display: flex; flex-direction: column; align-items: flex-start; font-weight: 400; margin: 0; }
.phero h1 .grot { font-size: clamp(54px, 7vw, 118px); }
.phero h1 .ital { font-size: clamp(46px, 6.2vw, 104px); white-space: normal; padding-bottom: 0.08em; }
.phero__line { display: block; height: 6px; width: min(420px, 60%); background: var(--gold); margin-top: clamp(14px, 1.6vw, 22px); transform-origin: left; }
.js .phero__line { transform: scaleX(0); transition: transform 1.2s var(--ease) 0.35s; }
.js.is-ready .phero__line { transform: scaleX(1); }
.phero__sub { max-width: 52ch; margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(17px, 1.45vw, 21px); color: rgba(243, 238, 227, 0.8); }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.phero__media { position: relative; justify-self: end; width: min(360px, 100%); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--forest-800); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-dark); }
.phero__media video, .phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 31, 25, 0) 55%, rgba(13, 31, 25, 0.7)); }
.phero__tag { position: absolute; left: 16px; bottom: 16px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--forest-900); color: var(--bone); font-weight: 700; font-size: 13px; }
.phero__tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--spark); animation: ping 2.2s ease-out infinite; }
/* hero entrance */
.js .phero [data-in] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready .phero [data-in] { opacity: 1; transform: none; }

/* brands hero: a collage of activation photos (one large print, four small ones laid over its lower edge) */
.phero--collage .phero__in { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(32px, 4.5vw, 72px); }
.phero--collage h1 .grot { font-size: clamp(50px, 5.5vw, 92px); }
.phero--collage h1 .ital { font-size: clamp(42px, 4.7vw, 78px); }
.collage { position: relative; padding-bottom: 27%; }
.collage figure { margin: 0; overflow: hidden; background: var(--forest-800); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__main { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-dark); }
.collage__main figcaption { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: var(--forest-900); color: var(--bone); font-weight: 700; font-size: 13px; }
.collage__main figcaption i { width: 9px; height: 9px; border-radius: 50%; background: var(--spark); animation: ping 2.2s ease-out infinite; }
.collage__card { position: absolute; bottom: 0; border-radius: 16px; border: 5px solid var(--bone); box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.85); transition: transform 0.7s var(--ease), box-shadow 0.7s; }
.js.is-ready .collage .collage__card { transform: rotate(var(--r)); }
.collage__card { --r: 0deg; }
.collage__card:hover { --r: 0deg !important; z-index: 3; box-shadow: 0 40px 60px -24px rgba(0, 0, 0, 0.95); }
.collage__card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; background: linear-gradient(180deg, transparent, rgba(13, 31, 25, 0.85)); color: var(--bone); font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.collage__card--a { left: -3%; width: 25%; aspect-ratio: 3 / 4; --r: -5deg; }
.collage__card--b { left: 44%; width: 28%; aspect-ratio: 3 / 4; --r: 2deg; bottom: -2%; z-index: 2; }
.collage__card--c { right: -2%; width: 24%; aspect-ratio: 3 / 4; --r: 4deg; }
.collage__card--d { left: 19%; width: 28%; aspect-ratio: 3 / 4; --r: -1.5deg; bottom: 1%; z-index: 1; }
@media (max-width: 1000px) {
  .phero--collage .phero__in { grid-template-columns: minmax(0, 1fr); }
  .collage { margin: 8px 8px 0; }
}
@media (max-width: 640px) {
  .phero--collage h1 .grot { font-size: 13vw; }
  .phero--collage h1 .ital { font-size: 11.6vw; }
  .collage__card { border-width: 3px; border-radius: 12px; }
  .collage__card figcaption { font-size: 8.5px; padding: 14px 6px 5px; }
  .collage__main figcaption { font-size: 11.5px; padding: 7px 11px 7px 8px; left: 10px; top: 10px; }
}

/* short hero for legal pages and 404 */
.phero--short { padding-bottom: clamp(48px, 6vw, 80px); }
.phero--short h1 .grot { font-size: clamp(46px, 7vw, 108px); }

/* ---------- Section heads ---------- */
.shead { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 60px); }
.shead .lede { margin-top: 0; }
.shead--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.shead--center .h2 { max-width: 20ch; }
.shead--center .lede { margin-top: 0; }

/* ---------- Big numbers row ---------- */
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nums--3 .num__v { font-size: clamp(56px, 6.6vw, 104px); }
.num { display: flex; flex-direction: column; gap: 12px; }
.num__v { font-family: var(--serif); text-transform: uppercase; font-size: clamp(48px, 5.3vw, 82px); line-height: 0.84; letter-spacing: -0.01em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.num__bar { display: block; height: 5px; background: rgba(243, 238, 227, 0.16); }
.num__bar i { display: block; height: 100%; background: var(--gold); transform-origin: left; }
.js .num__bar i { transform: scaleX(0); transition: transform 1.4s var(--ease) calc(var(--d, 0s) + 0.2s); }
.js [data-reveal].in .num__bar i, .js .in .num__bar i { transform: scaleX(1); }
.num__l { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 1.8vw, 26px); line-height: 1.1; color: var(--gold); max-width: 18ch; }
.bone .num__v, .section:not(.dark) .num__v { color: var(--ink); }
.section:not(.dark) .num__bar { background: var(--line-light); }
.section:not(.dark) .num__l { color: var(--forest-600); }
.nums__note { margin-top: 26px; }
.dark .nums__note { color: rgba(243, 238, 227, 0.55); }

/* ---------- Feature blocks (features page) ---------- */
.fblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; border-top: 1px solid var(--line-light); }
.dark .fblock { border-color: var(--line-dark); }
.fblock:first-of-type { border-top: 0; padding-top: 0; }
.fblock--flip .fblock__media { order: -1; }
.fblock__no { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.18em; color: var(--forest-600); }
.dark .fblock__no { color: var(--gold); }
.fblock h3 { font-size: clamp(34px, 4.2vw, 60px); margin-top: 14px; }
.fblock p { margin-top: 18px; color: var(--ink-soft); max-width: 48ch; font-size: clamp(16px, 1.25vw, 18px); }
.dark .fblock p { color: rgba(243, 238, 227, 0.74); }
.checks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: baseline; font-weight: 600; font-size: 16px; }
.checks li::before { content: ""; flex: none; width: 18px; height: 10px; border-left: 2.5px solid var(--forest-600); border-bottom: 2.5px solid var(--forest-600); transform: rotate(-45deg) translate(2px, -3px); }
.dark .checks li::before, .plan--dark .checks li::before { border-color: var(--gold); }
.fblock__media { position: relative; display: grid; place-items: center; }
.uicard { width: min(400px, 82%); aspect-ratio: 640 / 836; border-radius: 24px; overflow: hidden; background: #f4f6f5; box-shadow: 0 0 0 1px var(--line-light), 0 50px 90px -40px rgba(14, 32, 24, 0.6); transform: rotate(var(--r, -2.5deg)); transition: transform 0.9s var(--ease); }
.uicard img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fblock:hover .uicard { transform: rotate(0deg) scale(1.02); }
.uicard--back { position: absolute; width: min(340px, 70%); transform: translate(-30%, 6%) rotate(-9deg); filter: brightness(0.82); z-index: -1; }
.fblock:hover .uicard--back { transform: translate(-36%, 6%) rotate(-11deg); }
.photo { position: relative; width: 100%; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; }
.photo img, .photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fblock:hover .photo img { transform: scale(1.04); }
.photo--tall { aspect-ratio: 4 / 5; width: min(440px, 100%); }

/* ---------- Tiles grid (small features, offers, commitments) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { position: relative; padding: clamp(24px, 2.6vw, 34px); border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 12px; transition: transform 0.6s var(--ease), box-shadow 0.6s, border-color 0.4s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(14, 32, 24, 0.5); border-color: rgba(0, 121, 102, 0.35); }
.bone .tile { background: var(--paper); }
.section:not(.bone):not(.dark) .tile { background: var(--bone); }
.dark .tile { background: var(--forest-800); border-color: var(--line-dark); }
.dark .tile:hover { border-color: rgba(227, 184, 92, 0.45); }
.tile__no { font-family: var(--mono); font-weight: 600; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--forest-600); }
.dark .tile__no { color: var(--gold); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.04; letter-spacing: -0.01em; }
.tile p { color: var(--ink-soft); font-size: 15.5px; }
.dark .tile p { color: rgba(243, 238, 227, 0.72); }
.tile--gold { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink); }
.tile--gold .tile__no, .tile--gold p { color: rgba(20, 32, 27, 0.75) !important; }

/* ---------- Photo band with copy (dark) ---------- */
.band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(96px, 12vw, 170px) 0; }
.band > img, .band > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 31, 25, 0.94) 0%, rgba(13, 31, 25, 0.78) 45%, rgba(13, 31, 25, 0.35) 100%); }
.band .h2 { max-width: 16ch; }
.band .lede { max-width: 48ch; }

/* ---------- Brand plates (reused from the hero) ---------- */
.plates--static { margin-top: 0; padding-top: 0; }
.plates--static .plate { font-size: clamp(38px, 5vw, 84px); }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.plan { position: relative; border-radius: calc(var(--radius) + 6px); padding: clamp(28px, 3.4vw, 48px); background: var(--paper); border: 1px solid var(--line-light); display: flex; flex-direction: column; }
.plan--dark { background: var(--forest-800); color: var(--bone); border-color: var(--forest-800); }
.plan__name { font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(30px, 3vw, 44px); line-height: 0.9; }
.plan__price { display: flex; align-items: baseline; gap: 12px; margin-top: 22px; }
.plan__price b { font-family: var(--serif); font-weight: 400; font-size: clamp(76px, 8vw, 128px); line-height: 0.8; letter-spacing: -0.02em; }
.plan--dark .plan__price b { color: var(--gold); }
.plan__price span { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--ink-soft); line-height: 1.1; }
.plan--dark .plan__price span { color: rgba(243, 238, 227, 0.72); }
.plan__fine { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.plan--dark .plan__fine { color: rgba(243, 238, 227, 0.66); }
.plan .checks { margin: 26px 0 32px; padding-top: 24px; border-top: 1px solid var(--line-light); flex: 1; align-content: start; }
.plan--dark .checks { border-color: var(--line-dark); }
.plan .btn { align-self: flex-start; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line-light); background: var(--paper); }
.calc__in { padding: clamp(26px, 3.4vw, 48px); display: grid; gap: 34px; align-content: start; }
.calc__out { padding: clamp(26px, 3.4vw, 48px); background: var(--forest-900); color: var(--bone); display: flex; flex-direction: column; gap: 22px; }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.range__top label { font-weight: 700; font-size: 16px; }
.range__top output { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -0.01em; color: var(--forest-600); }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 18px 0 8px; border-radius: 99px; background: linear-gradient(90deg, var(--forest-600) 0, var(--forest-600) var(--p, 50%), var(--line-light) var(--p, 50%), var(--line-light) 100%); outline: none; cursor: pointer; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--forest-600), 0 6px 14px -4px rgba(0, 0, 0, 0.4); cursor: grab; }
.range input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--gold); border: 4px solid var(--paper); box-shadow: 0 0 0 1.5px var(--forest-600); cursor: grab; }
.range__ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-soft); }
.switch { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 20px 22px; border-radius: 18px; background: var(--bone); cursor: pointer; }
.switch b { display: block; font-size: 16px; }
.switch small { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch__ui { flex: none; width: 54px; height: 30px; border-radius: 99px; background: rgba(20, 32, 27, 0.2); position: relative; transition: background 0.3s; }
.switch__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform 0.4s var(--ease); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25); }
.switch input:checked + .switch__ui { background: var(--forest-600); }
.switch input:checked + .switch__ui::after { transform: translateX(24px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--spark); outline-offset: 3px; }
.calc__big { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.calc__big div { display: flex; flex-direction: column; gap: 8px; }
.calc__big span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); }
.calc__big b { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; letter-spacing: -0.01em; }
.calc__big b.gold { color: var(--gold); }
.calc__big small { color: rgba(243, 238, 227, 0.6); font-size: 13.5px; }
.calc__rows { border-top: 1px solid var(--line-dark); }
.calc__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; color: rgba(243, 238, 227, 0.8); }
.calc__rows div:last-child { color: var(--bone); font-weight: 700; }
.calc__month { margin-top: auto; padding: 22px; border-radius: 18px; background: var(--forest-700); }
.calc__month span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--moss); }
.calc__month b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 4.6vw, 72px); line-height: 1; margin-top: 8px; color: var(--gold); }
.calc__month small { display: block; margin-top: 8px; color: rgba(243, 238, 227, 0.7); font-size: 14px; }
.calc__note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }

/* compare row: what you would otherwise juggle */
.swap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-light); }
.swap div { padding: 22px 20px 22px 0; border-bottom: 1px solid var(--line-light); }
.swap s { display: block; font-weight: 700; font-size: 17px; color: var(--ink-soft); text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.swap span { display: block; margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--forest-600); line-height: 1.1; }

/* ---------- Steps (how it works) ---------- */
.steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1.5px solid var(--line-dark); position: relative; }
.steps4 li { list-style: none; counter-increment: s; padding: 28px 24px 0 0; position: relative; }
.steps4 li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--serif); font-size: clamp(56px, 5.4vw, 84px); line-height: 0.85; color: var(--gold); }
.steps4 li::after { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps4 h3 { margin-top: 18px; font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(20px, 1.8vw, 26px); line-height: 1; }
.steps4 p { margin-top: 12px; color: rgba(243, 238, 227, 0.72); font-size: 15.5px; max-width: 30ch; }
.steps4 { padding: 0; margin: 0; }
.section:not(.dark) .steps4 { border-color: var(--line-light); }
.section:not(.dark) .steps4 li::before { color: var(--forest-600); }
.section:not(.dark) .steps4 li::after { background: var(--forest-600); }
.section:not(.dark) .steps4 p { color: var(--ink-soft); }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { border-radius: calc(var(--radius) + 4px); padding: clamp(26px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line-light); display: flex; flex-direction: column; gap: 14px; }
.tier--top { background: var(--forest-800); color: var(--bone); border-color: var(--forest-800); }
.tier__name { font-family: var(--sans); font-weight: 900; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(34px, 3.4vw, 52px); line-height: 0.9; }
.tier--top .tier__name { color: var(--gold); }
.tier p { color: var(--ink-soft); }
.tier--top p { color: rgba(243, 238, 227, 0.75); }
.tier__badge { align-self: flex-start; font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--gold); color: var(--ink); }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__alt { margin-top: 30px; display: grid; gap: 12px; }
.contact__alt a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); font-weight: 600; font-size: 17px; }
.contact__alt a:first-child { border-top: 1px solid var(--line-dark); }
.contact__alt a:hover { color: var(--gold); }
.form { padding: clamp(24px, 3vw, 40px); border-radius: calc(var(--radius) + 4px); background: var(--bone); color: var(--ink); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field span { font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-light); border-radius: 14px; padding: 14px 16px; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(0, 121, 102, 0.14); }
.form .btn { margin-top: 20px; border: 0; cursor: pointer; }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.w-form-done, .w-form-fail { display: none; padding: 20px; border-radius: 16px; margin-top: 14px; }
.w-form-done { background: var(--forest-700); color: var(--bone); }
.w-form-done b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--gold); line-height: 1.1; }
.w-form-fail { background: #fbe9e5; color: #8c2a17; }

/* ---------- Legal prose ---------- */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.legal__toc { position: sticky; top: 100px; font-size: 14px; max-height: calc(100vh - 130px); overflow: auto; }
.legal__toc p { font-family: var(--mono); font-weight: 600; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.legal__toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-light); }
.legal__toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-soft); line-height: 1.35; margin-left: -1px; border-left: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.legal__toc a:hover, .legal__toc a.is-on { color: var(--ink); border-color: var(--forest-600); }
.prose { max-width: 74ch; font-size: 16.5px; line-height: 1.7; color: #26332d; }
.prose > :first-child { margin-top: 0; }
.prose h2, .prose h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin: 56px 0 14px; scroll-margin-top: 100px; }
.prose h4 { font-size: 18px; margin: 30px 0 8px; color: var(--ink); }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--forest-600); }
.prose a { color: var(--forest-600); font-weight: 600; border-bottom: 1.5px solid currentColor; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 20px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.legal__meta { font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243, 238, 227, 0.7); margin-top: 22px; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate; padding: 120px 0 80px; }
.lost > video, .lost > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lost::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 31, 25, 0.95), rgba(13, 31, 25, 0.6)); }
.lost p.lost__code { margin: 0; max-width: none; font-family: var(--serif); font-size: clamp(120px, 22vw, 340px); line-height: 0.8; color: var(--gold); }
.lost h1 { margin-top: 20px; display: flex; flex-direction: column; font-weight: 400; }
.lost h1 .grot { font-size: clamp(40px, 6vw, 92px); }
.lost h1 .ital { font-size: clamp(36px, 5vw, 80px); white-space: normal; }
.lost p { margin-top: 22px; max-width: 46ch; color: rgba(243, 238, 227, 0.78); font-size: 18px; }
.lost__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .phero__in { grid-template-columns: minmax(0, 1fr); }
  .phero__media { justify-self: start; width: min(360px, 100%); aspect-ratio: 4 / 4.4; }
  .shead { grid-template-columns: 1fr; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .nums--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fblock { grid-template-columns: 1fr; gap: 40px; }
  .fblock--flip .fblock__media { order: 0; }
  .tiles, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .calc, .contact, .tiers { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .swap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { display: none; }
}
@media (max-width: 640px) {
  .phero h1 .grot { font-size: 13vw; }
  .phero h1 .ital { font-size: 11.6vw; }
  .phero--short h1 .grot { font-size: 13vw; }
  .phero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .nums, .nums--3 { grid-template-columns: 1fr; row-gap: 32px; }
  .num__v { font-size: 16vw; }
  .tiles, .tiles--4, .tiles--2, .form__grid, .calc__big { grid-template-columns: 1fr; }
  .steps4 { grid-template-columns: 1fr; }
  .swap { grid-template-columns: 1fr; }
  .uicard--back { display: none; }
  .plates--static .plate { font-size: 12vw; }
}

/* pricing hero: a growth chart drawn as a plant (bars rise, a vine climbs over them and leafs out). Markup in pricing.html. */
.phero--grow .phero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.grow { justify-self: stretch; margin-right: calc(-1 * clamp(0px, (100vw - 1240px) / 2, 120px)); }
.grow svg { display: block; width: 100%; height: auto; overflow: visible; }
.grow__bar { fill: rgba(243, 238, 227, 0.055); stroke: rgba(243, 238, 227, 0.13); transform-box: fill-box; transform-origin: 50% 100%; }
.grow__bar--4 { fill: rgba(243, 238, 227, 0.075); }
.grow__bar--5 { fill: rgba(243, 238, 227, 0.095); }
.grow__bar--6 { fill: rgba(227, 184, 92, 0.16); stroke: rgba(227, 184, 92, 0.4); }
.grow__soil { fill: var(--forest-900); }
.grow__ground { stroke: rgba(243, 238, 227, 0.3); stroke-width: 1.5; stroke-linecap: round; }
.grow__roots path { fill: none; stroke: rgba(227, 184, 92, 0.35); stroke-width: 2; stroke-linecap: round; }
.grow__line { fill: none; stroke: var(--gold); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.grow__leaf > path:first-child { fill: var(--forest-600); stroke: var(--spark); stroke-width: 1; stroke-opacity: 0.55; }
.grow__leaf--top > path:first-child { fill: #1c9b7c; }
.grow__rib { fill: none; stroke: rgba(243, 238, 227, 0.4); stroke-width: 1.2; stroke-linecap: round; }
.grow__bud { fill: var(--gold); stroke: var(--forest-900); stroke-width: 3; transform-box: fill-box; transform-origin: 50% 50%; }
.grow__dot { fill: var(--forest-900); stroke: var(--gold); stroke-width: 3; transform-box: fill-box; transform-origin: 50% 50%; }
.grow__label { fill: var(--bone); font-family: var(--mono); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.grow__label--axis { fill: rgba(243, 238, 227, 0.6); }
.js.is-ready .grow__bar { animation: growBar 1s var(--ease) var(--d, 0s) both; }
.js.is-ready .grow__line { animation: growLine 2.4s cubic-bezier(0.45, 0, 0.3, 1) 0.5s both; }
.js.is-ready .grow__leaf { animation: growPop 0.9s var(--ease) var(--d, 0s) both, growSway 5.5s ease-in-out calc(var(--d, 0s) + 0.9s) infinite; }
.js.is-ready .grow__dot, .js.is-ready .grow__bud { animation: growPop 0.6s var(--ease) var(--d, 0s) both; }
.js.is-ready .grow__bud { animation: growPop 0.6s var(--ease) var(--d, 0s) both, growPulse 3s ease-in-out calc(var(--d, 0s) + 0.6s) infinite; }
.js.is-ready .grow__label, .js.is-ready .grow__roots { animation: growFade 0.8s ease var(--d, 0.3s) both; }
@keyframes growBar { from { transform: scaleY(0); } }
@keyframes growLine { from { stroke-dashoffset: 1; } }
@keyframes growPop { from { transform: scale(0); } }
@keyframes growSway { 50% { rotate: 6deg; } }
@keyframes growPulse { 50% { scale: 1.25; } }
@keyframes growFade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .grow * { animation: none !important; } }
@media (max-width: 900px) {
  .phero--grow .phero__in { grid-template-columns: minmax(0, 1fr); }
  .grow { justify-self: start; width: min(460px, 100%); margin-right: 0; }
  .grow__label { font-size: 15px; }
}

/* ---------- features hero: centred headline + a deck of the six tools (features.html, js/features.js) ---------- */
.fhero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(120px, 13vw, 170px) 0 clamp(56px, 7vw, 96px); }
.fhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 520px at 50% 0%, rgba(0, 121, 102, 0.28), transparent 70%); }
.fhero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.fhero h1 { display: flex; flex-direction: column; align-items: center; margin: 0; font-weight: 400; }
.fhero h1 .grot { font-size: clamp(40px, 6vw, 98px); }
.fhero h1 .ital { font-size: clamp(36px, 5.4vw, 88px); white-space: normal; padding-bottom: 0.08em; }
.fhero__sub { max-width: 58ch; margin-top: clamp(18px, 2vw, 28px); font-size: clamp(17px, 1.45vw, 21px); color: rgba(243, 238, 227, 0.8); }
.fhero .phero__cta { justify-content: center; }
.js .fhero [data-in] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready .fhero [data-in] { opacity: 1; transform: none; }

.fdeck { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); border-radius: calc(var(--radius) + 8px); background: var(--forest-800); border: 1px solid var(--line-dark); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, 0.9); overflow: hidden; }
.fdeck__tabs { display: flex; flex-direction: column; padding: 14px; gap: 2px; border-right: 1px solid var(--line-dark); background: rgba(8, 20, 15, 0.35); }
.fdeck__tab { position: relative; display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 14px 16px 16px; border: 0; border-radius: 16px; background: transparent; color: rgba(243, 238, 227, 0.62); font: inherit; cursor: pointer; transition: background 0.3s, color 0.3s; }
.fdeck__tab b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--bone); }
.fdeck__tab span { font-size: 13.5px; line-height: 1.35; }
.fdeck__tab:hover { background: rgba(243, 238, 227, 0.05); }
.fdeck__tab.is-on { background: rgba(243, 238, 227, 0.09); color: rgba(243, 238, 227, 0.85); }
.fdeck__tab.is-on b { color: var(--gold); }
.fdeck__tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fdeck__tab i { position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.fdeck__tab.is-on i { background: rgba(243, 238, 227, 0.14); }
.fdeck__tab.is-on i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.js.is-ready .fdeck__tab.is-on i { animation: fdeckTick 5.5s linear both; }
.js.is-ready .fdeck__tab.is-on i::after { animation: fdeckBar 5.5s linear both; }
.fdeck:hover .fdeck__tab i, .fdeck:hover .fdeck__tab i::after, .fdeck:focus-within .fdeck__tab i, .fdeck:focus-within .fdeck__tab i::after { animation-play-state: paused; }
@keyframes fdeckBar { to { transform: scaleX(1); } }
@keyframes fdeckTick { to { opacity: 1; } }

.fdeck__stage { position: relative; display: grid; min-height: 470px; }
.fdeck__panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 3vw, 48px); padding: clamp(26px, 3.4vw, 52px); opacity: 0; visibility: hidden; transition: opacity 0.5s ease, visibility 0s 0.5s; }
.fdeck__panel.is-on { opacity: 1; visibility: visible; transition: opacity 0.6s ease 0.1s; }
.fdeck__copy h2 { font-size: clamp(34px, 3.6vw, 54px); line-height: 0.98; }
.fdeck__copy h2 em { color: var(--gold); }
.fdeck__copy p { margin-top: 16px; color: rgba(243, 238, 227, 0.76); max-width: 38ch; }
.fdeck__copy .textlink { display: inline-flex; gap: 8px; margin-top: 20px; color: var(--bone); font-weight: 700; }
.fdeck__demo { display: grid; place-items: center; }
.fdeck__panel .fdeck__demo > * { transform: translateY(18px) scale(0.97); transition: transform 0.8s var(--ease); }
.fdeck__panel.is-on .fdeck__demo > * { transform: none; }

.demo-shot { margin: 0; width: min(300px, 100%); aspect-ratio: 640 / 836; border-radius: 22px; overflow: hidden; background: #f4f6f5; box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--line-dark); rotate: 2deg; }
.demo-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.demo { width: min(360px, 100%); padding: 22px; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.9); display: flex; flex-direction: column; gap: 12px; text-align: left; }
.demo__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo__top b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.demo__pill { font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--forest-800); color: var(--gold); }
.demo__meter { height: 8px; border-radius: 99px; background: var(--line-light); overflow: hidden; }
.demo__meter i { display: block; height: 100%; border-radius: 99px; background: var(--forest-600); transform-origin: 0 50%; }
.demo__cap { font-size: 13px; color: var(--ink-soft); margin: -4px 0 2px; }
.demo__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.demo__rows li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 13px; background: var(--bone); font-size: 14.5px; font-weight: 600; }
.demo__rows em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.demo__rows .ok { color: var(--forest-600); }
.demo__rows svg { width: 14px; height: 14px; }
.demo__rows li.demo__hi { background: var(--forest-800); color: var(--bone); }
.demo__rows li.demo__hi em { color: var(--gold); }
.demo__rows li.demo__hi .ok { color: var(--spark); }
.demo__rows li > span { white-space: nowrap; }
.vswap { position: relative; display: inline-grid !important; flex: 0 0 auto; justify-items: end; }
.vswap i { grid-area: 1 / 1; font-style: normal; display: inline-flex; align-items: center; gap: 5px; justify-content: flex-end; }
.vswap i:first-child { padding: 3px 10px; border-radius: 99px; background: var(--gold); color: var(--ink); justify-self: end; }
.demo--msg { background: transparent; box-shadow: none; padding: 0; gap: 10px; }
.bubble { align-self: flex-start; max-width: 88%; margin: 0; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.35; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.9); }
.bubble--note { background: var(--gold); }
.demo__chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; color: rgba(243, 238, 227, 0.7); }
.demo__chips span { font-family: var(--mono); font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; border: 1px solid var(--line-dark); color: var(--bone); }
.demo__chips em { font-style: normal; }
.scan { position: relative; align-self: center; width: 168px; aspect-ratio: 1; padding: 10px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line-light); overflow: hidden; }
.scan svg { display: block; width: 100%; height: 100%; fill: var(--forest-900); }
.scan i { position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(180deg, rgba(0, 224, 145, 0), rgba(0, 224, 145, 0.4)); border-bottom: 2px solid var(--spark); transform: translateY(-110%); }

/* the demos play each time their panel becomes active */
.js .fdeck__panel.is-on .demo__meter i { animation: demoFill 1.8s var(--ease) 0.2s both; }
.js .fdeck__panel.is-on .demo__rows li, .js .fdeck__panel.is-on .bubble, .js .fdeck__panel.is-on .demo__chips { animation: demoIn 0.6s var(--ease) var(--d, 0s) both; }
.js .fdeck__panel.is-on .vswap i:first-child { animation: demoOut 0.3s ease 2.4s both; }
.js .fdeck__panel.is-on .vswap i:last-child { animation: demoIn 0.5s var(--ease) 2.6s both; }
.js .fdeck__panel.is-on .scan i { animation: demoScan 1.6s ease-in-out 0.3s 2 both; }
@keyframes demoFill { from { transform: scaleX(0.1); } }
@keyframes demoIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes demoOut { to { opacity: 0; transform: scale(0.8); } }
@keyframes demoScan { from { transform: translateY(-110%); } to { transform: translateY(300%); } }
@media (prefers-reduced-motion: reduce) { .fdeck *, .fdeck *::after { animation: none !important; } }
@media (max-width: 1000px) {
  .fdeck { grid-template-columns: minmax(0, 1fr); }
  .fdeck__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line-dark); scrollbar-width: none; padding: 10px; }
  .fdeck__tabs::-webkit-scrollbar { display: none; }
  .fdeck__tab { flex: 0 0 auto; padding: 11px 14px 14px; }
  .fdeck__tab span { display: none; }
  .fdeck__tab i { left: 14px; right: 14px; }
}
@media (max-width: 700px) {
  .fdeck__panel { grid-template-columns: minmax(0, 1fr); padding: 26px 20px 30px; gap: 26px; }
  .fdeck__stage { min-height: 0; }
  .demo-shot { width: min(250px, 80%); }
  .fhero .phero__cta { width: 100%; }
}

/* ---------- features: animated admin screens (.ui) in place of photos on tools 03, 04 and 06 ----------
   Built in HTML/CSS rather than screenshots so the data is clean and on-message. Each screen loops on a 9s
   cycle once its block is revealed (.fblock.in); without JS or with reduced motion it shows the final state. */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 24; }
.ui { width: min(440px, 100%); border-radius: 18px; background: #fff; color: var(--ink); overflow: hidden; text-align: left; box-shadow: 0 0 0 1px var(--line-light), 0 50px 90px -40px rgba(14, 32, 24, 0.55); transform: rotate(var(--r, 1.5deg)); transition: transform 0.9s var(--ease); }
.fblock:hover .ui { transform: rotate(0deg) scale(1.02); }
.ui--msg { --r: -1.5deg; }
.ui__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f2f4f3; border-bottom: 1px solid var(--line-light); }
.ui__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5dad7; }
.ui__bar span { margin-left: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-soft); }
.ui__body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.ui__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ui__head b { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.ui__tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--forest-800); color: var(--gold); }
.ui__tag--live i { width: 7px; height: 7px; border-radius: 50%; background: var(--spark); animation: ping 2.2s ease-out infinite; }
.ui small { display: block; font-size: 11px; font-weight: 600; color: var(--ink-soft); }
.ui__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ui__stats > div, .ui__tally { padding: 12px; border-radius: 12px; background: var(--paper); }
.ui__stats b, .ui__tally b { display: block; margin: 2px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ui__meter { display: block; height: 6px; border-radius: 99px; background: var(--line-light); overflow: hidden; }
.ui__meter i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--forest-600); transform-origin: 0 50%; transform: scaleX(0.92); }
.ui__meter--b i { transform: scaleX(0.97); background: var(--gold); }
.ui__meter--c i { transform: scaleX(0.8); background: var(--spark); }
.ui__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ui__rows li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 12px; border: 1px solid var(--line-light); font-size: 14px; font-weight: 600; }
.ui__rows li small { display: inline; margin-left: 6px; font-weight: 500; }
.ui__rows em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.ui .ok { color: var(--forest-600); }
.ui svg { width: 13px; height: 13px; }
.ui__av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--forest-700); color: var(--bone); font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; }
.ui__rows li:nth-child(2) .ui__av { background: var(--forest-600); }
.ui__rows li:nth-child(3) .ui__av { background: #b8862f; }
.ui__rows li:nth-child(4) .ui__av { background: #4a5a51; }
.ui__flip { display: inline-grid !important; justify-items: end; }
.ui__flip i { grid-area: 1 / 1; font-style: normal; display: inline-flex; align-items: center; gap: 4px; }
.ui__flip i:first-child { padding: 3px 10px; border-radius: 99px; background: var(--gold); color: var(--ink); opacity: 0; }
.ui--check .ui__flip i:first-child { background: var(--bone); color: var(--ink-soft); }
.ui__opt { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--forest-800); color: var(--bone); font-size: 13.5px; font-weight: 700; }
.ui__opt small { color: rgba(243, 238, 227, 0.65); font-weight: 500; }
.ui__switch { position: relative; flex: 0 0 auto; display: inline-block; width: 34px; height: 20px; border-radius: 99px; background: var(--spark); }
.ui__switch i { position: absolute; top: 3px; left: 17px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ui__field { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-light); }
.ui__field p { margin: 4px 0 0; display: flex; align-items: center; min-height: 22px; font-size: 15px; font-weight: 700; }
.ui__type { display: inline-block; white-space: nowrap; }
.ui__caret { width: 2px; height: 17px; margin-left: 2px; background: var(--forest-600); opacity: 0; }
.ui__lines { flex-direction: column; align-items: stretch !important; gap: 7px; padding-top: 4px; }
.ui__lines span { display: block; height: 8px; border-radius: 99px; background: #dfe5e2; transform-origin: 0 50%; }
.ui__lines span:nth-child(2) { width: 86%; } .ui__lines span:nth-child(3) { width: 58%; }
.ui__send { display: flex; align-items: center; gap: 8px; }
.ui__chk { font-family: var(--mono); font-weight: 600; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line-light); }
.ui__btn { margin-left: auto; padding: 9px 16px; border-radius: 99px; background: var(--forest-600); color: #fff; font-size: 13px; font-weight: 700; }
.ui__toast { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--forest-800); color: var(--bone); font-size: 13.5px; font-weight: 700; }
.ui__toast svg { color: var(--spark); }
.ui__autos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ui__autos li { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.ui__autos .ui__switch { width: 30px; height: 18px; } .ui__autos .ui__switch i { width: 12px; height: 12px; left: 15px; }
.ui__scanrow { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: stretch; }
.ui__qr { position: relative; padding: 12px; border-radius: 12px; background: var(--paper); overflow: hidden; }
.ui__qr svg { display: block; width: 100%; height: 100%; fill: var(--forest-900); }
.ui__qr i { position: absolute; left: 0; right: 0; top: 0; height: 40%; background: linear-gradient(180deg, rgba(0, 224, 145, 0), rgba(0, 224, 145, 0.45)); border-bottom: 2px solid var(--spark); transform: translateY(-110%); }
.ui__count::after { counter-reset: n var(--n); content: counter(n); }

/* the loop: everything runs on the same 9s clock, offset by --d */
.js .fblock.in .ui .ui__in { animation: uiIn 9s var(--ease) var(--d, 0s) infinite both; }
.js .fblock.in .ui .ui__flip i:first-child { animation: uiOff 9s ease var(--d, 0s) infinite both; }
.js .fblock.in .ui .ui__flip i:last-child { animation: uiOn 9s var(--ease) var(--d, 0s) infinite both; }
.js .fblock.in .ui--pay .ui__meter i { animation: uiFillA 9s var(--ease) infinite both; }
.js .fblock.in .ui--pay .ui__meter--b i { animation-name: uiFillB; }
.js .fblock.in .ui--pay .ui__switch i { animation: uiKnob 9s var(--ease) infinite both; }
.js .fblock.in .ui--pay .ui__switch { animation: uiTrack 9s ease infinite both; }
.js .fblock.in .ui--msg .ui__type { animation: uiType 9s steps(25) infinite both; }
.js .fblock.in .ui--msg .ui__caret { animation: uiCaret 9s steps(1) infinite both; }
.js .fblock.in .ui--msg .ui__lines span { animation: uiLine 9s var(--ease) infinite both; }
.js .fblock.in .ui--msg .ui__lines span:nth-child(2) { animation-delay: 0.15s; }
.js .fblock.in .ui--msg .ui__lines span:nth-child(3) { animation-delay: 0.3s; }
.js .fblock.in .ui--msg .ui__btn { animation: uiPress 9s ease infinite both; }
.js .fblock.in .ui--msg .ui__toast { animation: uiToast 9s var(--ease) infinite both; }
.js .fblock.in .ui--check .ui__qr i { animation: uiScan 9s ease-in-out infinite both; }
.js .fblock.in .ui--check .ui__count { animation: uiCount 9s steps(1) infinite both; }
.js .fblock.in .ui--check .ui__meter--c i { animation: uiFillC 9s var(--ease) infinite both; }
.js .fblock.in .ui--check .ui__flip i:first-child { animation-name: uiOffC; }
.js .fblock.in .ui--check .ui__flip i:last-child { animation-name: uiOnC; }

@keyframes uiIn { 0% { opacity: 0; transform: translateY(10px); } 6%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes uiOff { 0%, 30% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes uiOn { 0%, 30% { opacity: 0; transform: scale(0.8); } 36%, 100% { opacity: 1; transform: none; } }
@keyframes uiOffC { 0%, 8% { opacity: 1; } 11%, 100% { opacity: 0; } }
@keyframes uiOnC { 0%, 8% { opacity: 0; transform: scale(0.8); } 13%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes uiFillA { 0% { transform: scaleX(0.55); } 40%, 92% { transform: scaleX(0.92); } 100% { transform: scaleX(0.55); } }
@keyframes uiFillB { 0% { transform: scaleX(0.7); } 40%, 92% { transform: scaleX(0.97); } 100% { transform: scaleX(0.7); } }
@keyframes uiKnob { 0%, 55% { left: 3px; } 60%, 100% { left: 17px; } }
@keyframes uiTrack { 0%, 55% { background: #8b9690; } 60%, 100% { background: var(--spark); } }
@keyframes uiType { 0% { clip-path: inset(0 100% 0 0); } 22%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes uiCaret { 0% { opacity: 1; } 24% { opacity: 0; } }
@keyframes uiLine { 0%, 22% { transform: scaleX(0); } 34%, 100% { transform: scaleX(1); } }
@keyframes uiPress { 0%, 44% { transform: none; box-shadow: none; } 46% { transform: scale(0.92); } 50% { transform: none; box-shadow: 0 0 0 6px rgba(0, 121, 102, 0.2); } 56%, 100% { box-shadow: none; } }
@keyframes uiToast { 0%, 50% { opacity: 0; transform: translateY(8px) scale(0.97); } 55%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes uiScan { 0% { transform: translateY(-110%); } 40% { transform: translateY(260%); } 41%, 100% { transform: translateY(-110%); } }
@keyframes uiCount { 0% { --n: 20; } 15% { --n: 21; } 24% { --n: 22; } 33% { --n: 23; } 42%, 100% { --n: 24; } }
@keyframes uiFillC { 0% { transform: scaleX(0.66); } 45%, 92% { transform: scaleX(0.8); } 100% { transform: scaleX(0.66); } }
@media (prefers-reduced-motion: reduce) { .ui *, .ui *::after { animation: none !important; } }
@media (max-width: 640px) { .ui { transform: none; } .ui__body { padding: 14px; } .ui__rows li { font-size: 13px; } }

/* partner program hero: a wall of organizer faces from the old Webflow page, three columns drifting slowly */
.phero--wall .phero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); }
.pwall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; height: clamp(460px, 64vh, 660px); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.pwall__col { min-width: 0; }
.pwall__track, .pwall__dup { display: flex; flex-direction: column; gap: 12px; }
.pwall__dup { padding-top: 12px; }
.pwall__tile { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--forest-800); aspect-ratio: 2 / 3; box-shadow: 0 0 0 1px var(--line-dark); }
.pwall__tile--lead { aspect-ratio: 4 / 5; }
.pwall__tile--wide { aspect-ratio: 2 / 1.1; }
.pwall__tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pwall__tile figcaption { position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px); padding: 5px 9px; border-radius: 10px; background: rgba(13, 31, 25, 0.82); color: var(--bone); font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.pwall__col--b { margin-top: -90px; }
.pwall__col--c { margin-top: 40px; }
.js .pwall__track { animation: pwallUp 60s linear infinite; }
.js .pwall__col--b .pwall__track { animation-name: pwallDown; animation-duration: 70s; }
.js .pwall__col--c .pwall__track { animation-duration: 52s; }
.pwall:hover .pwall__track { animation-play-state: paused; }
@keyframes pwallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes pwallDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .pwall__track { animation: none !important; } }
@media (max-width: 1000px) { .phero--wall .phero__in { grid-template-columns: minmax(0, 1fr); } .pwall { height: 420px; } }
@media (max-width: 640px) { .pwall { height: 360px; gap: 8px; } .pwall__track, .pwall__dup { gap: 8px; } .pwall__dup { padding-top: 8px; } .pwall__tile figcaption { font-size: 10px; padding: 4px 7px; } }

/* partner program: the communities strip under the hero */
.pnames .marquee__track span { font-size: clamp(22px, 2.4vw, 32px); }
.pnames .marquee__track { animation-duration: 60s; }
