/*
 * signaturemetrics.com — lander, product, connector and legal pages.
 *
 * Structure follows supermetrics.com: white hero with a product panel, platform
 * strip, dark showcase band, grey "stack" band, scenario carousel, audience
 * tabs, connector grid, closing band, dark footer. Colours come from the brand
 * kit tokens in theme.css. Behaviour (menus, tabs, carousel) lives in app.js.
 */

.layout--site { background: var(--color-surface); }
.layout--site .site-main { flex: 1; }

/* Header -------------------------------------------------------------------- */

.site-header--www { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; }
.site-header--www.is-scrolled { border-bottom-color: var(--color-border); }
.www-nav { max-width: var(--width-page); margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; }
.www-nav .brand { display: inline-flex; flex: none; }
.www-nav .brand__logo { height: 22px; width: auto; }
.www-nav__menu { display: none; }
.www-nav__end { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.www-nav__end .btn { padding: .55rem 1.1rem; }
.www-nav__signin { display: none; }

.burger { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1px solid var(--color-border); border-radius: 50%; background: var(--color-surface); cursor: pointer; padding: 0; }
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 16px; height: 2px; background: var(--color-ink); border-radius: 2px; content: ""; position: relative; transition: transform .2s ease; }
.burger__lines::before { position: absolute; top: -5px; }
.burger__lines::after { position: absolute; top: 5px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu { border-top: 1px solid var(--color-border); background: var(--color-surface); padding: .5rem 1.5rem 1.5rem; max-height: calc(100vh - 4.5rem); overflow: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__group { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.mobile-menu__title { font-size: .85rem; font-weight: 600; color: var(--color-muted); margin: 0 0 .5rem; }
.mobile-menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.mobile-menu__list a { display: block; padding: .5rem 0; color: var(--color-ink); font-weight: 500; font-size: 1.05rem; }
.mobile-menu__actions { display: grid; gap: .6rem; padding-top: 1.25rem; }
.mobile-menu__actions .btn { width: 100%; justify-content: center; }

.menu { position: relative; display: flex; align-items: center; }
.menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: var(--radius-pill); color: var(--color-ink); font-size: 1.02rem; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary::after { content: ""; width: .45rem; height: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .15s ease; }
.menu[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.menu > summary:hover, .menu[open] > summary { background: var(--color-panel); }
.menu__panel { position: absolute; top: calc(100% + .6rem); left: -1rem; min-width: 24rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 18px; padding: .6rem; box-shadow: 0 18px 40px -24px rgba(27, 26, 31, .35); display: grid; gap: .15rem; }
.menu__panel--wide { min-width: 34rem; grid-template-columns: 1fr 1fr; }
.menu__link { display: grid; gap: .1rem; padding: .75rem .9rem; border-radius: 12px; color: var(--color-ink); }
.menu__link:hover { background: var(--color-panel); text-decoration: none; }
.menu__link strong { font-weight: 600; }
.menu__link span { font-size: .88rem; color: var(--color-muted); line-height: 1.4; }
.menu__foot { grid-column: 1 / -1; border-top: 1px solid var(--color-border); margin-top: .35rem; padding: .7rem .9rem .3rem; font-weight: 600; }
.www-nav__link { padding: .45rem .7rem; border-radius: var(--radius-pill); color: var(--color-ink); font-size: 1.02rem; }
.www-nav__link:hover { background: var(--color-panel); text-decoration: none; }

/* Shared type ----------------------------------------------------------------- */

.display { font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; color: var(--color-ink); margin: 0 0 1.25rem; }
.display em { font-style: normal; color: var(--color-primary); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.5; color: #3c3b38; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 3rem; }
.section-head__kicker { font-size: .95rem; font-weight: 600; color: var(--color-primary); margin-bottom: .75rem; }
.section-head__title { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; color: var(--color-ink); margin: 0 0 .9rem; }
.section-head__lead { font-size: 1.12rem; color: var(--color-muted); margin: 0; }
.band--navy .section-head__title { color: #fff; }
.band--navy .section-head__lead { color: #c9cfcb; }
.band--navy .section-head__kicker { color: var(--color-green); }

.band { padding: 5rem 0; background: var(--color-surface); }
.band--grey { background: var(--color-panel); }
.band--navy { background: var(--color-ink); color: var(--color-navy-text); }
.band--tight { padding-top: 0; }

/* Hero ------------------------------------------------------------------------ */

.hero { padding: 2.5rem 0 3rem; }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__grid > * { min-width: 0; }
.hero__note { margin: 1rem 0 0; font-size: .92rem; color: var(--color-muted); }

.stage { background: var(--color-panel); border-radius: 26px; padding: 1.25rem; position: relative; overflow: hidden; }
.stage__assistants { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; margin: .25rem 0 1rem; }
.stage__assistant { font-size: .82rem; font-weight: 600; color: var(--color-ink); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-pill); padding: .3rem .75rem; }
.stage__assistant--on { border-color: var(--color-ink); }

.convo { background: var(--color-surface); border-radius: 18px; border: 1px solid var(--color-border); padding: 1.1rem; display: grid; gap: .9rem; }
.convo__q { justify-self: end; max-width: 90%; background: var(--color-panel); border-radius: 16px 16px 4px 16px; padding: .7rem .95rem; color: var(--color-ink); font-size: .96rem; margin: 0; }
.convo__used { display: block; font-size: .8rem; color: var(--color-muted); margin: 0; }
.convo__used b { font-weight: 600; color: var(--color-ink); }
.convo__used .dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-green); margin-right: .3rem; vertical-align: 1px; }
.convo__a { margin: 0; color: var(--color-ink); font-size: .96rem; line-height: 1.55; }
.convo__input { display: flex; align-items: center; justify-content: space-between; gap: .75rem; border: 1px solid var(--color-border); border-radius: 14px; padding: .65rem .65rem .65rem .95rem; color: var(--color-muted); font-size: .92rem; }
.convo__send { width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-ink); flex: none; display: grid; place-items: center; }
.convo__send::before { content: ""; width: .5rem; height: .5rem; border-left: 2px solid #fff; border-top: 2px solid #fff; transform: translateY(2px) rotate(45deg); }

/* Horizontal paired bars: spend vs result per campaign, no figures. */
.pairs { display: grid; gap: .7rem; margin: 0; padding: .9rem; background: var(--color-panel); border-radius: 14px; }
.pairs__legend { display: flex; gap: 1rem; font-size: .78rem; color: var(--color-muted); margin: 0 0 .2rem; }
.pairs__legend span::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; margin-right: .35rem; vertical-align: -1px; background: var(--color-ink); }
.pairs__legend span + span::before { background: var(--color-green); }
.pairs__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: .2rem .75rem; align-items: center; font-size: .82rem; color: var(--color-ink); }
.pairs__row > span { grid-row: span 2; line-height: 1.25; }
.pairs__row i { display: block; height: .5rem; border-radius: 4px; background: var(--color-ink); }
.pairs__row i + i { background: var(--color-green); }
.pairs__row--flag > span { color: var(--color-danger); font-weight: 600; }

.w-5 { width: 5%; } .w-8 { width: 8%; } .w-12 { width: 12%; } .w-18 { width: 18%; } .w-25 { width: 25%; } .w-32 { width: 32%; }
.w-40 { width: 40%; } .w-48 { width: 48%; } .w-55 { width: 55%; } .w-62 { width: 62%; } .w-70 { width: 70%; } .w-78 { width: 78%; } .w-85 { width: 85%; } .w-92 { width: 92%; }

/* Platform strip under the hero ---------------------------------------------- */

.strip { border-top: 1px solid var(--color-border); padding: 1.6rem 0; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 2.25rem; }
.strip__label { font-size: .98rem; color: var(--color-ink); margin: 0; flex-basis: 100%; }
.strip__label b { font-weight: 600; }
.strip__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.strip__list a { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; color: #4b4a50; }
.strip__list a:hover { color: var(--color-ink); text-decoration: none; }

/* Showcase (tabs over a product frame) ---------------------------------------- */

.tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; padding: .3rem; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); width: max-content; max-width: 100%; margin: 0 auto 2.5rem; }
.tablist__tab { border: 0; background: transparent; color: #c9cfcb; font: inherit; font-weight: 600; font-size: .95rem; padding: .55rem 1.1rem; border-radius: var(--radius-pill); cursor: pointer; }
.tablist__tab:hover { color: #fff; }
.tablist__tab[aria-selected="true"] { background: #fff; color: var(--color-ink); }
.band--grey .tablist, .band:not(.band--navy) .tablist { background: var(--color-panel); }
.band:not(.band--navy) .tablist__tab { color: var(--color-muted); }
.band:not(.band--navy) .tablist__tab[aria-selected="true"] { background: var(--color-ink); color: #fff; }

.showcase__panel { display: grid; gap: 2rem; align-items: center; }
.showcase__panel[hidden] { display: none; }
.showcase__text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.025em; color: #fff; margin: 0 0 .75rem; line-height: 1.15; }
.showcase__text p { color: #c9cfcb; font-size: 1.05rem; margin: 0 0 1rem; }
.showcase__text ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .6rem; color: #e7ece8; }
.showcase__text li { padding-left: 1.5rem; position: relative; }
.showcase__text li::before { content: ""; position: absolute; left: 0; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--color-green); }

.frame { background: var(--color-surface); border-radius: 18px; overflow: hidden; color: var(--color-ink); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .7); }
.frame__bar { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border-bottom: 1px solid var(--color-border); background: #fbfdfb; }
.frame__url { flex: 1; text-align: center; font-size: .78rem; color: var(--color-muted); background: var(--color-panel); border-radius: var(--radius-pill); padding: .25rem .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame__body { padding: 1.25rem; display: grid; gap: .9rem; }
.frame__title { font-size: 1.05rem; font-weight: 600; margin: 0; }
.frame__sub { font-size: .85rem; color: var(--color-muted); margin: -.6rem 0 0; }

.rows { display: grid; border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; }
.rows__row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .75rem; padding: .7rem .9rem; border-bottom: 1px solid var(--color-border); font-size: .9rem; }
.rows__row:last-child { border-bottom: 0; }
.rows__row small { display: block; color: var(--color-muted); font-size: .78rem; }
.pill { font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: var(--radius-pill); background: var(--color-surface-alt); color: var(--color-muted); white-space: nowrap; }
.pill--on { background: var(--color-success-bg); color: var(--color-success); }
.pill--ink { background: var(--color-ink); color: #fff; }

.compare { display: grid; gap: .55rem; }
.compare__row { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; gap: .75rem; font-size: .86rem; }
.compare__track { height: .7rem; background: var(--color-panel); border-radius: 4px; overflow: hidden; }
.compare__track i { display: block; height: 100%; background: var(--color-ink); border-radius: 4px; }
.compare__row--best .compare__track i { background: var(--color-green); }
.compare__note { font-size: .86rem; background: var(--color-panel); border-radius: 12px; padding: .75rem .9rem; margin: 0; }

.rule { border: 1px solid var(--color-border); border-radius: 12px; padding: .8rem .95rem; display: grid; gap: .3rem; }
.rule__scope { font-size: .76rem; font-weight: 600; color: var(--color-primary); }
.rule__text { font-size: .9rem; margin: 0; }

.flow { display: grid; gap: .6rem; }
.flow__col { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; }
.flow__node { font-size: .82rem; font-weight: 600; padding: .4rem .75rem; border-radius: 10px; border: 1px solid var(--color-border); background: var(--color-surface); }
.flow__hub { justify-self: center; display: inline-flex; align-items: center; gap: .5rem; background: var(--color-ink); color: #fff; padding: .6rem 1rem; border-radius: 12px; font-size: .88rem; font-weight: 600; }
.flow__hub::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--color-green); }
.flow__line { justify-self: center; width: 2px; height: 1.1rem; background: var(--color-border); }

/* Stack cards ----------------------------------------------------------------- */

.stack { display: grid; background: var(--color-surface); border-radius: 22px; overflow: hidden; }
.stack__item { padding: 2rem 1.75rem 2.25rem; display: grid; grid-template-rows: auto auto 1fr auto; gap: .6rem; border-bottom: 1px solid var(--color-border); text-align: center; }
.stack__item:last-child { border-bottom: 0; }
.stack__art { height: 9.5rem; border-radius: 16px; background: var(--color-panel); margin-bottom: 1rem; display: grid; place-items: center; padding: 1rem; overflow: hidden; }
.stack__item h3 { font-size: 1.35rem; letter-spacing: -.02em; color: var(--color-ink); margin: 0; }
.stack__item p { margin: 0; color: var(--color-muted); }
.stack__foot { margin-top: 1.25rem !important; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem; }

.art-bubbles { width: 100%; max-width: 15rem; display: grid; gap: .4rem; }
.art-bubbles span { display: block; height: 1.6rem; border-radius: 12px; background: var(--color-surface); border: 1px solid var(--color-border); }
.art-bubbles span:nth-child(1) { width: 70%; justify-self: end; background: var(--color-ink); border-color: var(--color-ink); }
.art-bubbles span:nth-child(2) { width: 90%; }
.art-bubbles span:nth-child(3) { width: 55%; }
.art-bubbles span:nth-child(3)::after { content: ""; display: block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--color-green); margin: .52rem .6rem; }

.art-pipes { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; width: 100%; max-width: 16rem; }
.art-pipes__stack { display: grid; gap: .35rem; }
.art-pipes__stack span { height: 1.3rem; border-radius: 6px; background: var(--color-surface); border: 1px solid var(--color-border); }
.art-pipes__hub { width: 2.6rem; height: 2.6rem; border-radius: 12px; background: var(--color-ink); display: grid; place-items: center; }
.art-pipes__hub::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--color-green); }

.art-sheet { width: 100%; max-width: 15rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; background: var(--color-border); border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; }
.art-sheet span { height: 1.25rem; background: var(--color-surface); }
.art-sheet span:nth-child(-n+4) { background: #e4ede6; }
.art-sheet span:nth-child(4n+4):not(:nth-child(-n+4)) { background: var(--color-surface); position: relative; }
.art-sheet span:nth-child(4n+4):not(:nth-child(-n+4))::after { content: ""; position: absolute; left: 20%; right: 20%; top: 40%; height: 20%; background: var(--color-green); border-radius: 2px; }

/* Scenario carousel ------------------------------------------------------------ */

.scenes__stage { background: var(--color-panel); border-radius: 26px; padding: 1.25rem; margin-bottom: 2.5rem; }
.scenes__stage .convo { max-width: 720px; margin: 0 auto; }
.scene[hidden] { display: none; }
.scenes__nav { display: grid; gap: 1.5rem; }
.scenes__item { border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 0; display: grid; gap: .4rem; }
.scenes__progress { display: block; height: 2px; background: var(--color-border); position: relative; margin-bottom: .9rem; overflow: hidden; }
.scenes__progress::after { content: ""; position: absolute; inset: 0; width: 0; background: var(--color-primary); }
.scenes__item[aria-selected="true"] .scenes__progress::after { width: 100%; }
.scenes.is-playing .scenes__item[aria-selected="true"] .scenes__progress::after { animation: scene-progress var(--scene-duration, 7s) linear forwards; }
@keyframes scene-progress { from { width: 0; } to { width: 100%; } }
.scenes__item strong { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.025em; color: var(--color-ink); line-height: 1.15; }
.scenes__item span:last-child { color: var(--color-muted); }
.scenes__item[aria-selected="false"] strong { color: #6f7471; }

.trend { width: 100%; height: auto; display: block; background: var(--color-panel); border-radius: 14px; }
.summary-list { margin: 0; padding: 0 0 0 1.1rem; display: grid; gap: .35rem; font-size: .94rem; }

/* Audience cards --------------------------------------------------------------- */

.audience__panel[hidden] { display: none; }
.audience__cards { display: grid; background: var(--color-surface); border-radius: 22px; overflow: hidden; }
.audience__card { padding: 2rem 1.75rem; border-bottom: 1px solid var(--color-border); color: var(--color-ink); display: grid; gap: .5rem; align-content: start; }
.audience__card:last-child { border-bottom: 0; }
.audience__card h3 { font-size: 1.3rem; letter-spacing: -.02em; margin: 0; }
.audience__card p { color: var(--color-muted); margin: 0; }

/* Connector grid --------------------------------------------------------------- */

.connector-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .75rem; }
.connector-card { display: grid; gap: .35rem; height: 100%; padding: 1.25rem 1.35rem; border: 1px solid var(--color-border); border-radius: 18px; background: var(--color-surface); color: var(--color-ink); }
.connector-card:hover { border-color: var(--color-ink); text-decoration: none; }
.connector-card__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.connector-card__mark { width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--color-panel); display: grid; place-items: center; font-weight: 700; font-size: .85rem; color: var(--color-ink); }
.connector-card__name { font-weight: 600; font-size: 1.1rem; margin-top: .5rem; }
.connector-card__cat { font-size: .85rem; color: var(--color-muted); }
.connector-card__text { font-size: .92rem; color: var(--color-muted); margin: .2rem 0 0; }
.connector-card--planned { background: transparent; border-style: dashed; }
.connector-card--planned:hover { border-color: var(--color-border); }
.band__more { text-align: center; margin: 2rem 0 0; }

/* Split + guidelines ---------------------------------------------------------- */

.split { display: grid; gap: 2.5rem; align-items: start; }
.split--center { align-items: center; }
.split > * { min-width: 0; }
.split__title { font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; color: var(--color-ink); margin: 0 0 1rem; }
.split__text { font-size: 1.1rem; color: var(--color-muted); }
.rules-stack { display: grid; gap: .75rem; }
.rules-stack .rule { background: var(--color-surface); }
.rules-stack .rule:nth-child(2) { margin-left: 1.25rem; }
.rules-stack .rule:nth-child(3) { margin-left: 2.5rem; }

/* Closing ---------------------------------------------------------------------- */

.closing { text-align: center; padding: 5.5rem 0; }
.closing .section-head { margin-bottom: 2rem; }
.closing .cta-row { justify-content: center; margin: 0; }
.band--navy .btn--primary { background: var(--color-green); border-color: var(--color-green); color: var(--color-ink); }
.band--navy .btn--primary:hover { background: #fff; border-color: #fff; color: var(--color-ink); }
.band--navy .btn--outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.band--navy .btn--outline:hover { background: #fff; color: var(--color-ink); }
.band--navy a:not(.btn) { color: #fff; }

/* Inner page head --------------------------------------------------------------- */

.page-hero { padding: 3rem 0 3.5rem; }
.page-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero__grid > * { min-width: 0; }
.page-hero__crumb { font-size: .95rem; margin: 0 0 1rem; }
.page-hero__crumb a { color: var(--color-muted); }
.page-hero__title { font-size: clamp(2.3rem, 5.4vw, 3.8rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 700; color: var(--color-ink); margin: 0 0 1.1rem; max-width: 18ch; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__title, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .cta-row { justify-content: center; }

.product-cards { display: grid; gap: 1rem; }
.product-card { display: grid; gap: .5rem; align-content: start; padding: 2rem; border-radius: 22px; background: var(--color-panel); color: var(--color-ink); }
.product-card:hover { text-decoration: none; background: #e9f2eb; }
.product-card h2 { font-size: 1.55rem; letter-spacing: -.025em; margin: 0; }
.product-card p { color: var(--color-muted); margin: 0; }
.product-card .text-link { margin-top: .75rem; color: var(--color-primary); }
.product-card .stack__art { background: var(--color-surface); margin: 0 0 1rem; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1rem; }
.steps__item { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 4.5rem; border-radius: 18px; background: var(--color-panel); position: relative; }
.steps__item::before { content: counter(step); position: absolute; left: 1.4rem; top: 1.35rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--color-ink); }
.steps__item h3 { font-size: 1.15rem; color: var(--color-ink); margin: 0 0 .35rem; }
.steps__item p { color: var(--color-muted); margin: 0 0 .5rem; }
.steps__item p:last-child { margin-bottom: 0; }
.copy-field { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.copy-field code { font-size: .95rem; padding: .55rem .85rem; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 10px; word-break: break-all; }

.questions { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.questions li { padding: 1rem 1.2rem; border-radius: 16px 16px 4px 16px; background: var(--color-surface); color: var(--color-ink); border: 1px solid var(--color-border); }

.points { margin: 0; display: grid; gap: 1.75rem; }
.points__item { border-top: 2px solid var(--color-border); padding-top: 1.1rem; }
.points dt { font-weight: 600; font-size: 1.2rem; color: var(--color-ink); margin-bottom: .35rem; letter-spacing: -.01em; }
.points dd { margin: 0; color: var(--color-muted); }
.band--navy .points__item { border-top-color: rgba(255, 255, 255, .15); }
.band--navy .points dt { color: #fff; }
.band--navy .points dd { color: #c9cfcb; }

.features { display: grid; gap: 1rem; }
.feature { padding: 1.75rem; border-radius: 20px; background: var(--color-panel); }
.band--grey .feature { background: var(--color-surface); }
.feature h2, .feature h3 { font-size: 1.25rem; letter-spacing: -.02em; color: var(--color-ink); margin: 0 0 .4rem; }
.feature p { margin: 0; color: var(--color-muted); }

.field-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.field-columns h3 { font-size: 1rem; color: var(--color-ink); margin-bottom: .6rem; }
.plain-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.plain-list li { background: var(--color-surface); font-size: .9rem; padding: .3rem .7rem; border-radius: var(--radius-pill); color: var(--color-ink); }
.status { display: inline-block; font-size: .8rem; font-weight: 600; padding: .2rem .65rem; border-radius: var(--radius-pill); background: var(--color-surface-alt); color: var(--color-muted); }
.status--live { background: var(--color-success-bg); color: var(--color-success); }

/* Legal ------------------------------------------------------------------------ */

.legal-layout { display: grid; gap: 2.5rem; padding: 1rem 0 5rem; }
.legal-nav { align-self: start; }
.legal-nav__title { font-size: .85rem; font-weight: 600; color: var(--color-muted); margin: 0 0 .6rem; }
.legal-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.legal-nav__list a { display: block; padding: .4rem .8rem; border-radius: var(--radius-pill); color: var(--color-ink); font-size: .95rem; }
.legal-nav__list a:hover { background: var(--color-panel); text-decoration: none; }
.legal-nav__list a[aria-current="page"] { background: var(--color-ink); color: #fff; }
.legal { max-width: 760px; }
.legal__updated { color: var(--color-muted); font-size: 1rem; margin: 0; }
.legal h2 { font-size: 1.35rem; letter-spacing: -.02em; color: var(--color-ink); margin: 2.5rem 0 .7rem; }
.legal h3 { font-size: 1.05rem; color: var(--color-ink); margin: 1.5rem 0 .5rem; }
.legal p, .legal li, .legal td { color: #3c3b38; line-height: 1.7; }
.legal ul, .legal ol { padding-left: 1.2rem; display: grid; gap: .45rem; margin: 0 0 1rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.legal th { text-align: left; font-weight: 600; color: var(--color-ink); border-bottom: 2px solid var(--color-border); padding: .6rem .75rem .6rem 0; }
.legal td { border-bottom: 1px solid var(--color-border); padding: .7rem .75rem .7rem 0; vertical-align: top; }
.legal-table-wrap { overflow-x: auto; }

/* Footer ------------------------------------------------------------------------ */

.www-footer { background: var(--color-ink); color: #c9cfcb; padding: 4rem 0 2rem; }
.www-footer__top { display: grid; gap: 2.5rem; }
.www-footer__brand img { height: 24px; width: auto; filter: brightness(0) invert(1); }
.www-footer__brand p { margin: 1rem 0 0; max-width: 30ch; font-size: .95rem; }
.www-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
.www-footer__col h2 { font-size: .95rem; font-weight: 600; color: #fff; margin: 0 0 .9rem; }
.www-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.www-footer__col a { color: #c9cfcb; font-size: .95rem; }
.www-footer__col a:hover { color: #fff; }
.www-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }
.www-footer__bottom a { color: #c9cfcb; }

@media (max-width: 479px) {
  .www-nav { padding: .75rem 1.1rem; gap: .75rem; }
  .www-nav .brand__logo { height: 18px; }
  .www-nav__end { gap: .4rem; }
  .www-nav__end .btn { padding: .5rem .9rem; font-size: .9rem; }
  .burger { width: 2.4rem; height: 2.4rem; }
  .wrap { padding: 0 1.1rem; }
}

/* Wider screens ---------------------------------------------------------------- */

@media (min-width: 720px) {
  .stage { padding: 2rem 2rem 2.25rem; }
  .frame__body { padding: 1.5rem; }
  .pairs__row { grid-template-columns: 10rem 1fr; }
  .strip__label { flex-basis: auto; }
  .scenes__nav { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .stack { grid-template-columns: repeat(3, 1fr); }
  .stack__item { border-bottom: 0; border-right: 1px solid var(--color-border); }
  .stack__item:last-child { border-right: 0; }
  .audience__cards { grid-template-columns: repeat(3, 1fr); }
  .audience__card { border-bottom: 0; border-right: 1px solid var(--color-border); padding: 2.5rem 2rem; }
  .audience__card:last-child { border-right: 0; }
  .product-cards, .features { grid-template-columns: 1fr 1fr; }
  .points--two { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; }
  .www-footer__cols { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1000px) {
  .www-nav { gap: 2rem; }
  .www-nav__menu { display: flex; align-items: center; gap: .25rem; }
  .www-nav__signin { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
  .hero { padding: 4rem 0 4.5rem; }
  .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 4.5rem; }
  .band { padding: 6.5rem 0; }
  .band--tight { padding-top: 0; }
  .showcase__panel { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .page-hero { padding: 4.5rem 0 5rem; }
  .page-hero__grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .legal-layout { grid-template-columns: 15rem 1fr; gap: 4rem; padding-top: 1rem; }
  .legal-nav { position: sticky; top: 6rem; }
  .legal-nav__list { display: grid; }
  .legal-nav__list a { margin-left: -.8rem; }
  .www-footer__top { grid-template-columns: 1fr 2.4fr; gap: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scenes.is-playing .scenes__item[aria-selected="true"] .scenes__progress::after { animation: none; width: 100%; }
  .burger__lines, .burger__lines::before, .burger__lines::after, .menu > summary::after { transition: none; }
}

/* ==========================================================================
   Brand and media kit (/brand)
   ========================================================================== */
.brand-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.75rem; }
.brand-jump a { padding: .4rem .95rem; border-radius: 999px; background: var(--color-panel); color: var(--color-ink); font-weight: 500; font-size: .95rem; text-decoration: none; }
.brand-jump a:hover, .brand-jump a:focus-visible { background: var(--color-ink); color: #fff; }

.brand-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem; }
.brand-about h2 { font-size: 1.2rem; margin: 0 0 .7rem; color: var(--color-ink); }
.brand-about p, .brand-about li { color: var(--color-muted); }
.brand-about a { color: var(--color-primary); font-weight: 500; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.brand-grid--icons { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.brand-grid--social { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.brand-card { border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; background: var(--color-surface); display: flex; flex-direction: column; }
.brand-card__stage { display: flex; align-items: center; justify-content: center; min-height: 170px; padding: 2rem; background: #fff; }
.brand-card__stage--light { background: #fff; border-bottom: 1px solid var(--color-border); }
.brand-card__stage--ink { background: var(--color-ink); }
.brand-card__stage--none { padding: 0; background: var(--color-panel); border-bottom: 1px solid var(--color-border); }
.brand-card__stage--none img { width: 100%; }
.brand-card__stage--split { padding: 0; align-items: stretch; }
.brand-card__stage--split span { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; }
.brand-card__stage--split span:first-child { background: #fff; }
.brand-card__stage--split span:last-child { background: var(--color-ink); }
.brand-card__stage img { max-width: 100%; max-height: 130px; height: auto; display: block; }
.brand-card__stage--none img { max-height: none; }
.brand-card__stage .brand-card__icon { width: 96px; height: 96px; border-radius: 22px; }
.brand-card__stage--split .brand-card__icon { width: 72px; height: 72px; border-radius: 0; }
.brand-card__foot { padding: 1rem 1.15rem 1.15rem; }
.brand-card__foot h3, .banner-item__foot h3 { font-size: 1rem; margin: 0 0 .45rem; color: var(--color-ink); }
.brand-card__foot h3 small, .banner-item__foot h3 small { font-weight: 400; color: var(--color-muted); font-size: .9rem; margin-left: .35rem; }
.brand-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.brand-links a { padding: .28rem .7rem; border-radius: 999px; border: 1px solid var(--color-border); color: var(--color-ink); font-size: .86rem; font-weight: 500; text-decoration: none; background: var(--color-surface); }
.brand-links a:hover, .brand-links a:focus-visible { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }

.brand-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-top: 2.5rem; }
.brand-rules article { background: var(--color-panel); border-radius: 16px; padding: 1.4rem 1.5rem; }
.brand-rules h3 { font-size: 1.05rem; margin: 0 0 .5rem; color: var(--color-ink); }
.brand-rules p, .brand-rules li { color: var(--color-muted); margin: 0; }
.brand-rules li + li { margin-top: .3rem; }
.brand-note { max-width: 780px; margin: 2rem auto 0; text-align: center; color: var(--color-muted); }
.brand-note strong { color: var(--color-ink); }

.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.swatch { border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; background: var(--color-surface); }
.swatch__chip { height: 120px; border-bottom: 1px solid var(--color-border); }
.swatch__chip--green { background: #00a854; }
.swatch__chip--ink { background: #1b1a1f; }
.swatch__chip--mist { background: #f3f8f4; }
.swatch__chip--white { background: #fff; }
.swatch__body { padding: 1rem 1.15rem 1.2rem; }
.swatch__body h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--color-ink); }
.swatch__body p { margin: 0; color: var(--color-muted); font-size: .93rem; }
.swatch__hex { display: flex; align-items: center; gap: .6rem; }
.swatch__hex code { font-size: 1rem; font-weight: 600; color: var(--color-ink); background: none; padding: 0; }
.swatch__copy { border: 1px solid var(--color-border); background: var(--color-surface); color: var(--color-ink); border-radius: 999px; padding: .15rem .65rem; font: inherit; font-size: .82rem; font-weight: 500; cursor: pointer; }
.swatch__copy:hover, .swatch__copy:focus-visible { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.swatch__rgb { margin: .15rem 0 .5rem !important; }

.type-sample { font-size: clamp(2rem, 6vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; text-align: center; color: var(--color-ink); margin: 0 0 2.5rem; }
.type-weights { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; }
.type-weights article { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 1.4rem 1.5rem; }
.type-weights__aa { display: block; font-size: 3rem; line-height: 1; color: var(--color-ink); margin-bottom: .8rem; }
.type-weights__aa--400 { font-weight: 400; }
.type-weights__aa--500 { font-weight: 500; }
.type-weights__aa--600 { font-weight: 600; }
.type-weights__aa--700 { font-weight: 700; }
.type-weights p { margin: 0; color: var(--color-muted); font-size: .93rem; }

.banner-list { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: flex-start; }
.banner-item { border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; background: var(--color-surface); max-width: 100%; }
.banner-item__stage { background: var(--color-panel); padding: 1rem; display: flex; justify-content: center; border-bottom: 1px solid var(--color-border); }
.banner-item__stage img { display: block; max-width: 100%; height: auto; }
.banner-item__foot { padding: .9rem 1.1rem 1.05rem; }
.brand-list { margin: 0; padding-left: 1.1rem; }
.brand-list li + li { margin-top: .3rem; }
.brand-about-band { padding: 3.5rem 0; }
.brand-grid--icons { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
