/* Shared parts for the Who it's for, Company, Resources and Brands pages. */
.food { width: 56px; height: 56px; flex: none; }
.food.sm { width: 40px; height: 40px; }

/* Three or four cards with a food illustration */
.cards { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards > div { padding: 32px 1.5rem 24px; display: flex; flex-direction: column; gap: 10px; position: relative; border-left: 1px solid var(--border); border-top: 1px solid var(--border); margin: -1px 0 0 -1px; }
.cards h3 { margin: 0.5rem 0 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.cards p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; line-height: 1.55; }
.cards .ti { font-size: 1.6rem; color: var(--brand-strong); }
.cards .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); display: grid; place-items: center; }
.cards .ico .ti { font-size: 1.4rem; }
@media (max-width: 960px) { .cards, .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards, .cards.four, .cards.two { grid-template-columns: 1fr; } }

/* A day, hour by hour */
.day { margin-top: 2.5rem; display: grid; gap: 0; position: relative; max-width: 860px; }
.day::before { content: ""; position: absolute; left: 33px; top: 12px; bottom: 12px; border-left: 2px dotted #bcdcd6; }
.day-item { display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: 1.25rem; padding: 16px 0; align-items: center; position: relative; }
.day-item .t { display: grid; place-items: center; }
.day-item .t .food { background: #fff; border-radius: 50%; padding: 6px; width: 62px; height: 62px; box-shadow: 0 0 0 2px var(--brand-tint); }
.day-item h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.day-item h3 small { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-strong); margin-left: 0.5rem; font-weight: 600; }
.day-item p { margin: 0.25rem 0 0; color: var(--fg-muted); font-size: 0.97rem; line-height: 1.55; max-width: 60ch; }

/* A soft band with a row of foods, used as a section break */
.band { border-radius: 18px; padding: clamp(32px, 4vw, 3rem); background: radial-gradient(120% 120% at 0% 0%, #e6f6f3 0%, #f6f9f8 60%, #fff 100%); border: 1px solid #dbeae7; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.band h2 { margin: 10px 0 12px; font-size: clamp(1.7rem, 3.2vw, 2.3rem); letter-spacing: -0.025em; line-height: 1.1; }
.band p { margin: 0; color: var(--fg-muted); font-size: 1.05rem; line-height: 1.6; }
.band .foods { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.band .foods .food { width: 76px; height: 76px; background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 10px 22px -12px rgba(0, 60, 52, .35); }
.band .foods .food:nth-child(2n) { transform: translateY(14px); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* Steps in a row */
.steps4 { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.steps4 > div { border: 1px solid var(--border); border-radius: 14px; padding: 24px 1.25rem; background: #fff; counter-increment: s; }
.steps4 > div::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); font: 600 0.9rem var(--display); margin-bottom: 12px; }
.steps4 h3 { margin: 0 0 6px; font-size: 1.05rem; }
.steps4 p { margin: 0; color: var(--fg-muted); font-size: 0.93rem; line-height: 1.5; }
@media (max-width: 960px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps4 { grid-template-columns: 1fr; } }

/* Demo form */
.demo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.demo-form { border: 1px solid var(--border); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); background: #fff; box-shadow: 0 24px 48px -28px rgba(0, 60, 52, .35); }
.demo-form h2 { margin: 0 0 0.25rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.demo-form > p { margin: 0 0 1.25rem; color: var(--fg-muted); font-size: 0.95rem; }
.demo-form .form { margin-top: 0; max-width: none; }
.demo-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.demo-form select { font: inherit; font-size: 0.95rem; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-base); color: var(--fg-base); }
.demo-form select:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.demo-form .form input:focus, .demo-form .form textarea:focus { outline-color: var(--brand); }
.demo-form .btn { width: 100%; justify-content: center; }
.demo-note { font-size: 0.82rem; color: var(--fg-subtle); margin: 0.25rem 0 0; }
.demo-hp { position: absolute; left: -9999px; }
.demo-side { display: flex; flex-direction: column; gap: 1.5rem; }
.demo-side .next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.demo-side .next li { display: flex; gap: 16px; align-items: flex-start; }
.demo-side .next .food { width: 44px; height: 44px; }
.demo-side .next b { display: block; font-weight: 600; }
.demo-side .next span { color: var(--fg-muted); font-size: 0.95rem; line-height: 1.5; }
.demo-side .contact { border-top: 1px solid var(--border); padding-top: 1.25rem; color: var(--fg-muted); font-size: 0.95rem; line-height: 1.6; }
.demo-side .contact a { color: var(--brand-strong); font-weight: 500; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } .demo-form .two { grid-template-columns: 1fr; } }
.form-ok { display: none; text-align: center; padding: 2rem 1rem; }
.form-ok.on { display: block; }
.form-ok .food { width: 84px; height: 84px; margin: 0 auto 1rem; }
.form-ok h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.form-ok p { color: var(--fg-muted); margin: 0; }

/* Legal and long text */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal-toc { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 6px; font-size: 0.9rem; border-left: 2px solid var(--brand-tint); padding-left: 1rem; }
.legal-toc a { color: var(--fg-muted); padding: 0.15rem 0; }
.legal-toc a:hover { color: var(--brand-strong); }
.legal .prose { max-width: 72ch; font-size: 1rem; line-height: 1.7; }
.legal .prose h2 { scroll-margin-top: 90px; }
.review-flag { border: 1px dashed #e0b34d; background: #fdf6dc; color: #6b4e00; border-radius: 10px; padding: 16px 16px; font-size: 0.9rem; line-height: 1.5; margin: 0 0 2rem; max-width: 72ch; }
.review-flag b { font-weight: 600; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.25rem 1rem; border-left: 0; padding-left: 0; } }

/* Posts and guides */
.cardlist { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card { border: 1px solid var(--border); border-radius: 14px; background: #fff; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--brand); box-shadow: 0 14px 28px -18px rgba(0, 60, 52, .4); }
.card .food { width: 48px; height: 48px; }
.card h3 { margin: 6px 0 0; font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }
.card p { margin: 0; color: var(--fg-muted); font-size: 0.93rem; line-height: 1.55; }
.card .tag { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-strong); font-weight: 600; }
.card .more { margin-top: auto; padding-top: 0.5rem; color: var(--brand-strong); font-weight: 500; font-size: 0.92rem; }
.card.soon { background: var(--bg-subtle); border-style: dashed; }
@media (max-width: 960px) { .cardlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cardlist { grid-template-columns: 1fr; } }

/* What's new */
.release { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); padding: 40px 0; border-top: 1px solid var(--border); }
.release:first-of-type { border-top: 0; }
.release .when { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-strong); font-weight: 600; position: sticky; top: 90px; align-self: start; }
.release h3 { margin: 0 0 0.5rem; font-size: 1.35rem; letter-spacing: -0.015em; }
.release ul { margin: 0.75rem 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.release li { display: flex; gap: 10px; color: var(--fg-muted); line-height: 1.55; }
.release li .ti { color: var(--brand-strong); margin-top: 3px; flex: none; }
.release li b { color: var(--fg-base); font-weight: 600; }
@media (max-width: 720px) { .release { grid-template-columns: 1fr; gap: 0.5rem; } .release .when { position: static; } }

/* Code block for the API page */
.code { background: #14201e; color: #e6f3f0; border-radius: 14px; padding: 1.25rem 24px; font-family: var(--code, ui-monospace, monospace); font-size: 0.85rem; line-height: 1.65; overflow-x: auto; margin: 0; }
.code .c { color: #7fb1a8; } .code .k { color: #5fe0cb; } .code .s { color: #f3d58a; }

/* Calculator */
.calc { border: 1px solid var(--border); border-radius: 18px; background: #fff; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 24px 48px -28px rgba(0, 60, 52, .35); }
.calc-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.calc-top label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; font-weight: 500; }
.calc input, .calc select { font: inherit; padding: 10px 0.75rem; border: 1px solid var(--border-strong); border-radius: 8px; background: #fff; }
.calc table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.calc th { text-align: left; font-size: 0.75rem; color: var(--fg-subtle); font-weight: 500; padding: 0.5rem 10px; border-bottom: 1px solid var(--border); }
.calc td { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.calc td.r, .calc th.r { text-align: right; font-variant-numeric: tabular-nums; }
.calc td.out { font-weight: 600; color: var(--brand-strong); }
.calc .fixed { color: var(--fg-subtle); font-size: 0.8rem; }
.calc-note { margin: 1rem 0 0; color: var(--fg-muted); font-size: 0.88rem; }
@media (max-width: 700px) { .calc-top { grid-template-columns: 1fr; } }

.link-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 0.25rem 12px; font-size: 0.8rem; font-weight: 500; background: var(--brand-tint); color: var(--brand-strong); }
.pill.warm { background: #fdf6dc; color: #6b4e00; }

/* HubSpot form dialog */
#gaia-modal { position: fixed; inset: 0; z-index: 100; background: rgba(20, 32, 30, .55); display: grid; place-items: center; padding: 1.25rem; }
#gaia-modal[hidden] { display: none; }
#gaia-modal .dialog { background: #fff; border-radius: 18px; width: min(560px, 100%); max-height: 92vh; overflow: auto; padding: 32px; position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
#gaia-modal .close { position: absolute; top: 0.9rem; right: 0.9rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: #fff; cursor: pointer; display: grid; place-items: center; font-size: 1.1rem; }
#gaia-modal h2 { margin: 0 2rem 6px 0; font-size: 1.4rem; letter-spacing: -0.02em; }
#gaia-modal .dialog > p { margin: 0 0 1rem; color: var(--fg-muted); font-size: 0.95rem; }
.hs-form-frame { min-height: 320px; }

/* Blog posts */
.post-body figure { margin: 2rem 0; }
.post-body figure img { display: block; max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); }
.post-body h2 { margin-top: 2em; }
.post-body h4 { margin: 1.6em 0 0.5em; font-size: 1.1rem; }

/* Scaling calculator frame */
.calc-frame { margin-top: 2rem; border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(0, 60, 52, .35); }
.calc-frame iframe { display: block; width: 100%; height: 760px; border: 0; }

/* Log in chooser */
.login-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2.5rem; max-width: 820px; }
@media (max-width: 700px) { .login-grid { grid-template-columns: 1fr; } }

/* ---------- Bento: a grid of mixed-size cells, each with a small live piece of the Gaia UI ---------- */
.bento { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.cell { grid-column: span 4; border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(25, 28, 27, .03); transition: border-color .2s, box-shadow .2s; }
.cell:hover { border-color: #b9ddd6; box-shadow: 0 24px 40px -28px rgba(0, 60, 52, .35); }
.cell.c5 { grid-column: span 5; } .cell.c6 { grid-column: span 6; } .cell.c7 { grid-column: span 7; } .cell.c8 { grid-column: span 8; } .cell.c12 { grid-column: span 12; }
.cell .stage-mini { padding: 1.25rem; min-height: 230px; display: grid; align-content: center; gap: 10px; background: radial-gradient(120% 100% at 0% 0%, #eef8f6 0%, #f7faf9 55%, #fff 100%); border-bottom: 1px solid var(--border); position: relative; }
.cell .copy { padding: 20px 20px 24px; }
.cell .copy .n { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--brand-strong); font-weight: 600; }
.cell h3 { margin: 6px 0 6px; font-size: 1.15rem; letter-spacing: -0.015em; }
.cell p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; line-height: 1.55; }
.cell.wide { flex-direction: row; }
.cell.wide .stage-mini { border-bottom: 0; border-left: 1px solid var(--border); flex: 1.3; order: 2; }
.cell.wide .copy { flex: 1; align-self: center; padding: 32px; }
@media (max-width: 960px) { .cell, .cell.c5, .cell.c6, .cell.c7, .cell.c8 { grid-column: span 12; } .cell.wide { flex-direction: column; } .cell.wide .stage-mini { border-left: 0; border-bottom: 1px solid var(--border); order: 0; } }
@media (min-width: 961px) and (max-width: 1180px) { .cell { grid-column: span 6; } .cell.c7, .cell.c8 { grid-column: span 12; } }

/* Under the hood: a second layer, tabs with a larger piece of the UI and what it does */
.deep { margin-top: 2.5rem; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.deep-tabs { display: flex; flex-direction: column; gap: 6px; }
.deep-tabs button { text-align: left; font: inherit; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 12px 1rem; cursor: pointer; color: var(--fg-muted); display: flex; gap: 12px; align-items: flex-start; }
.deep-tabs button .ti { font-size: 1.3rem; color: var(--fg-subtle); margin-top: 1px; }
.deep-tabs button b { display: block; color: var(--fg-base); font-weight: 600; font-size: 0.98rem; }
.deep-tabs button span { display: block; font-size: 0.86rem; line-height: 1.45; margin-top: 2px; }
.deep-tabs button:hover { background: var(--bg-subtle); }
.deep-tabs button[aria-selected="true"] { background: #fff; border-color: var(--border); box-shadow: 0 14px 28px -20px rgba(0, 60, 52, .4); }
.deep-tabs button[aria-selected="true"] .ti { color: var(--brand-strong); }
.deep-panels { display: grid; }
.deep-panel { display: none; }
.deep-panel.on { display: block; }
.deep-panel .ui-fit { border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 30px 60px -28px rgba(0, 60, 52, .3); }
.deep-panel ul { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.deep-panel li { font-size: 0.92rem; line-height: 1.5; color: var(--fg-muted); border-top: 2px solid var(--brand-tint); padding-top: 12px; }
.deep-panel li b { display: block; color: var(--fg-base); font-weight: 600; margin-bottom: 2px; }
@media (max-width: 960px) { .deep { grid-template-columns: 1fr; } .deep-tabs { flex-direction: row; overflow-x: auto; } .deep-tabs button { min-width: 220px; } .deep-panel ul { grid-template-columns: 1fr; } }
.deep-panel .media.has-ui { margin-top: 0; }
.deep-panel .media.has-ui .ui-fit { border-radius: 14px; }

/* Brands: packages as columns with a shared feature list */
.tiers { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: #fff; }
.tier { grid-row: 1; padding: 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 10px; border-left: 1px solid var(--border); }
.tier:nth-child(1) { grid-column: 2; } .tier:nth-child(2) { grid-column: 3; } .tier:nth-child(3) { grid-column: 4; }
.tier.on { background: var(--brand-tint); }
.tier h3 { margin: 0.25rem 0 0; font-size: 1.15rem; }
.tier p { margin: 0 0 0.5rem; color: var(--fg-muted); font-size: 0.9rem; line-height: 1.5; }
.tier .btn { margin-top: auto; justify-content: center; }
.tier .pill { align-self: flex-start; }
.tier-rows { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.tier-rows li { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); font-size: 0.93rem; }
.tier-rows li span { padding: 12px 1.25rem; color: var(--fg-base); }
.tier-rows li i { display: grid; place-items: center; border-left: 1px solid var(--border); font-size: 1.1rem; color: var(--brand-strong); }
.tier-rows li i.ti-minus { color: var(--fg-subtle); }
.tier-rows li i:nth-child(3) { background: var(--brand-tint); }
.steps4.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tier:nth-child(1) { grid-column: 1; } .tier:nth-child(2) { grid-column: 2; } .tier:nth-child(3) { grid-column: 3; } .tier { border-left: 0; border-right: 1px solid var(--border); } .tier-rows li { grid-template-columns: minmax(0, 1fr) repeat(3, 44px); } .steps4.three { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tiers { grid-template-columns: 1fr; } .tier { grid-column: 1 !important; grid-row: auto; border-right: 0; border-bottom: 1px solid var(--border); } .tier-rows li { grid-template-columns: minmax(0, 1fr) repeat(3, 34px); } .tier-rows li span { padding: 12px 16px; } }

/* Districts and FSMC: tab explorers reuse .deep */
.deep-more { margin: 1rem 0 0; }
.cl .deep-panel { min-height: 0; }
.cl-board { border: 1px solid var(--border); border-radius: 18px; background: radial-gradient(120% 100% at 100% 0%, #eef8f6 0%, #fff 60%); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.5rem; }
.cl-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.cl-head .food { width: 56px; height: 56px; }
.cl-head h3 { margin: 0; font-size: 1.5rem; letter-spacing: -0.02em; }
.cl-eye { margin: 0; font-size: 0.8rem; color: var(--fg-subtle); }
.cl-head .pill { margin-left: auto; }
.cl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.cl-grid > div { padding: 1rem 1rem 0 0; }
.cl-grid > div + div { border-left: 1px solid var(--border); padding-left: 1rem; }
.cl-grid p { margin: 0 0 6px; font-size: 0.85rem; color: var(--fg-muted); }
.cl-grid b { font: 600 1.15rem/1.3 var(--display); letter-spacing: -0.01em; }
.cl-grid .cl-g { color: #1e7a45; } .cl-grid .cl-o { color: #b04f00; }
.cl-note { margin: 0; color: var(--fg-muted); font-size: 0.92rem; }
@media (max-width: 700px) { .cl-grid { grid-template-columns: 1fr; } .cl-grid > div + div { border-left: 0; padding-left: 0; } }

/* Directors: the week, mostly done */
.wk { position: relative; margin-top: 2.5rem; border-radius: 22px; background: linear-gradient(160deg, #e9f6f3, #f6f8f7 60%); padding: clamp(1.5rem, 5vw, 4rem); display: grid; place-items: center; overflow: hidden; }
.wk-card { position: relative; z-index: 1; width: min(640px, 100%); background: #fff; border-radius: 18px; box-shadow: 0 40px 80px -40px rgba(0, 60, 52, .45), 0 0 0 1px var(--border); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 16px; }
.wk-eye { margin: 0; font: 600 0.72rem var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--brand-strong); }
.wk-card h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 1.8rem); line-height: 1.15; letter-spacing: -0.02em; }
.wk-sub { margin: 0; color: var(--fg-muted); }
.wk-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wk-counts > div { border: 1px solid var(--border); border-radius: 12px; padding: 16px; display: grid; gap: 4px; align-content: start; }
.wk-counts b { font: 600 1.5rem/1 var(--display); }
.wk-counts span { font-size: 0.85rem; color: var(--fg-muted); line-height: 1.35; }
.wk-counts em { font-style: normal; font-size: 0.75rem; color: var(--brand-strong); display: flex; gap: 4px; align-items: center; margin-top: 0.2rem; }
.wk-prog { border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.wk-prog p { margin: 0 0 12px; font-size: 0.88rem; color: var(--fg-muted); }
.wk-prog b { color: var(--fg-base); font-weight: 600; }
.wk-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wk-steps span { font-size: 0.72rem; color: var(--fg-subtle); padding-top: 0.5rem; border-top: 3px solid var(--border); }
.wk-steps span.on { border-color: var(--brand); color: var(--fg-base); }
.wk-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.wk-foot > span { font-size: 0.9rem; color: var(--fg-muted); }
.wk-foods .food { position: absolute; width: 84px; height: 84px; opacity: .9; }
.wk-foods .food:nth-child(1) { left: 5%; top: 12%; transform: rotate(-12deg); } .wk-foods .food:nth-child(2) { right: 6%; top: 16%; transform: rotate(10deg); }
.wk-foods .food:nth-child(3) { left: 8%; bottom: 10%; } .wk-foods .food:nth-child(4) { right: 9%; bottom: 12%; transform: rotate(-8deg); }
@media (max-width: 760px) { .wk-counts { grid-template-columns: 1fr; } .wk-foods { display: none; } }

/* School managers: the day as a clock strip */
.clock { position: relative; margin-top: 2.5rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.clock-track { position: absolute; left: 0; right: 0; top: 2.35rem; height: 3px; background: var(--border); border-radius: 3px; overflow: hidden; }
.clock-track span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), #7fd8c9); transform-origin: left; animation: clock-fill 6s ease-in-out infinite; }
@keyframes clock-fill { 0% { transform: scaleX(0); } 80%, 100% { transform: scaleX(1); } }
.clock-stop { position: relative; display: grid; gap: 8px; align-content: start; }
.clock-t { font: 600 1.4rem var(--display); letter-spacing: -0.02em; }
.clock-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); position: relative; z-index: 1; margin: 0.15rem 0 10px; }
.clock-stop .food { width: 54px; height: 54px; }
.clock-stop h3 { margin: 0; font-size: 1.05rem; }
.clock-stop p { margin: 0; color: var(--fg-muted); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 860px) { .clock { grid-template-columns: 1fr 1fr; } .clock-track { display: none; } }
@media (max-width: 520px) { .clock { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .clock-track span { animation: none; } }

/* Central kitchen managers: steps with the wait between them */
.wt { margin-top: 2.5rem; max-width: 860px; display: grid; }
.wt-step { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; border: 1px solid var(--border); border-radius: 16px; background: #fff; padding: 16px 1.25rem; box-shadow: 0 14px 30px -26px rgba(0, 60, 52, .45); }
.wt-ic { width: 64px; height: 64px; border-radius: 16px; background: var(--brand-tint); display: grid; place-items: center; }
.wt-ic .food { width: 44px; height: 44px; }
.wt-n { margin: 0; font-size: 0.75rem; color: var(--brand-strong); font-weight: 600; }
.wt-body h3 { margin: 0.15rem 0 0.25rem; font-size: 1.1rem; }
.wt-body p:last-child { margin: 0; color: var(--fg-muted); font-size: 0.93rem; }
.wt-stats { display: flex; gap: 1.25rem; }
.wt-stats span { display: grid; font: 600 1.1rem var(--display); text-align: right; }
.wt-stats em { font: 400 0.75rem var(--body); font-style: normal; color: var(--fg-subtle); }
.wt-wait { display: flex; justify-content: center; position: relative; padding: 12px 0; }
.wt-wait::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--border-strong); }
.wt-wait span { position: relative; display: inline-flex; gap: 6px; align-items: center; background: var(--bg-base); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; color: var(--fg-muted); }
@media (max-width: 700px) { .wt-step { grid-template-columns: 52px minmax(0, 1fr); } .wt-ic { width: 52px; height: 52px; } .wt-stats { grid-column: 1 / -1; justify-content: flex-start; } .wt-stats span { text-align: left; } }

/* Product pages end with the module before and after, instead of a row of pills */
.flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); gap: 1rem; align-items: stretch; }
.fl-card { position: relative; display: grid; gap: 6px; align-content: start; border: 1px solid var(--border); border-radius: 18px; padding: 24px; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.fl-card:hover, .fl-card:focus-visible { border-color: var(--brand); box-shadow: 0 18px 34px -24px rgba(0, 60, 52, .45); transform: translateY(-2px); outline: none; }
.fl-card .food { width: 48px; height: 48px; margin: 6px 0 0.2rem; }
.fl-card b { font: 600 1.2rem var(--display); letter-spacing: -0.015em; color: var(--fg-base); }
.fl-card > span:not(.fl-dir) { color: var(--fg-muted); font-size: 0.92rem; }
.fl-dir { font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-subtle); font-weight: 600; }
.fl-card .ti { position: absolute; top: 1.3rem; right: 1.3rem; font-size: 1.3rem; color: var(--brand-strong); }
.fl-card.prev .ti { right: auto; left: auto; right: 1.3rem; }
.fl-mid { border-radius: 18px; background: var(--brand-tint); display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 24px; }
.fl-mid .eyebrow { margin: 0; }
.fl-here { margin: 0; display: grid; justify-items: center; gap: 6px; }
.fl-here .food { width: 64px; height: 64px; }
.fl-here b { font: 600 1.35rem var(--display); letter-spacing: -0.02em; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; } .fl-mid { grid-column: 1 / -1; grid-row: 1; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

/* Compliance: the rules as a ledger of label and text */
.rules { margin-top: 2.5rem; border-top: 2px solid var(--fg-base); }
.rule { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 1.5rem; padding: 20px 0; border-bottom: 1px solid var(--border); }
.rule-k { font: 600 1.05rem var(--display); letter-spacing: -0.01em; }
.rule p { margin: 0; color: var(--fg-muted); max-width: 70ch; line-height: 1.6; }
@media (max-width: 700px) { .rule { grid-template-columns: 1fr; gap: 4px; } }

/* Hero variations: text beside the screen, or the screen inside a device */
.hero.hero-split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 64px); align-items: center; }
.hero-split .hero-text { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-split .hero-text h1 { font-size: clamp(2.2rem, 4.2vw, 3.3rem); }
.hero-split .media.has-ui { margin-top: 0; }
.hero-split .media.has-ui .ui-fit { border-radius: 14px; }
.hero-split.hero-flip .hero-text { order: 2; }
.hero.hero-device .hero-text { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; }
.hero-device .hero-text .subhead { max-width: 60ch; }
.hero-device .media.has-ui { width: min(1100px, 100%); margin: 2.5rem auto 0; padding: 0 !important; background: none; border-radius: 0; box-shadow: none; }
.hero-device .media.has-ui .ui-fit { border: 0; border-radius: 0; box-shadow: none; }
@media (max-width: 900px) { .hero.hero-split { grid-template-columns: 1fr; } .hero-split.hero-flip .hero-text { order: 0; } }

/* Collective: sessions as tickets */
.tickets { margin-top: 2.5rem; display: grid; gap: 1rem; }
.ticket { display: grid; grid-template-columns: 110px minmax(0, 1fr) 120px; border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; text-decoration: none; color: inherit; position: relative; }
.ticket.past { background: var(--bg-subtle); }
a.ticket:hover { border-color: var(--brand); }
.tk-date { display: grid; place-items: center; align-content: center; gap: 0.1rem; background: var(--brand-tint); border-right: 2px dashed #bfe3dc; padding: 1rem; }
.tk-date span { font: 600 0.8rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--brand-strong); }
.tk-date b { font: 600 2rem/1 var(--display); color: var(--brand-strong); }
.ticket.past .tk-date { background: #eef0ee; border-right-color: var(--border-strong); }
.ticket.past .tk-date span, .ticket.past .tk-date b { color: var(--fg-muted); }
.tk-body { padding: 1.25rem 1.5rem; display: grid; gap: 6px; align-content: start; }
.tk-body .tag { font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); font-weight: 600; }
.tk-body h3 { margin: 0; font-size: 1.25rem; letter-spacing: -0.015em; }
.tk-body p { margin: 0; color: var(--fg-muted); line-height: 1.55; max-width: 70ch; }
.tk-food { display: grid; place-items: center; border-left: 1px solid var(--border); }
.tk-food .food { width: 64px; height: 64px; }
@media (max-width: 700px) { .ticket { grid-template-columns: 84px minmax(0, 1fr); } .tk-food { display: none; } }

/* Blog and Guides: one featured item above the grid */
.feature-post { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; margin-bottom: 1.25rem; transition: border-color .15s, box-shadow .15s; }
.feature-post:hover { border-color: var(--brand); box-shadow: 0 24px 44px -30px rgba(0, 60, 52, .45); }
.fp-art { background: radial-gradient(120% 100% at 0% 0%, #dff3ee 0%, #eef8f5 55%, #fbf6e3 100%); display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 260px; }
.fp-art .food { width: 96px; height: 96px; filter: drop-shadow(0 14px 14px rgba(0, 60, 52, .18)); }
.fp-art .food:nth-child(2) { transform: translateY(-18px) rotate(8deg); }
.fp-art .food:nth-child(3) { transform: rotate(-8deg); }
.feature-post.guide .fp-art { background: radial-gradient(120% 100% at 100% 0%, #fdf3c4 0%, #fbf9ee 55%, #eaf4f3 100%); }
.fp-text { padding: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 12px; align-content: center; }
.fp-text .tag { font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong); font-weight: 600; }
.fp-text h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.12; letter-spacing: -0.025em; }
.fp-text p { margin: 0; color: var(--fg-muted); line-height: 1.6; max-width: 60ch; }
.cardlist.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
@media (max-width: 860px) { .feature-post { grid-template-columns: 1fr; } .fp-art { min-height: 180px; } .cardlist.three { grid-template-columns: 1fr; } }

/* Blog index: each post's pen and wash header image instead of the food icons. */
.fp-art.fp-photo { padding: 0; min-height: 0; background: none; overflow: hidden; }
.fp-art.fp-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform .4s ease; }
.feature-post:hover .fp-art.fp-photo img { transform: scale(1.1); }
.card .card-art { display: block; margin: -24px -24px .5rem; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background: #f2f4f3; }
.card .card-art img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform .4s ease; }
a.card:hover .card-art img { transform: scale(1.1); }

/* Blog post: centered column, centered head like Propaganda, back link beside the collection name. */
.post-head { margin-inline: auto; align-items: center; text-align: center; max-width: 760px; gap: 16px; }
.post-head h1 { text-wrap: balance; }
.post-kicker { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-subtle); }
.post-kicker .back { display: inline-flex; align-items: center; gap: 6px; }
.post-kicker .back .ti { font-size: .9rem; }
.post-kicker .dot { color: var(--border-strong); }
.post-body { margin-inline: auto; }
.post-body .post-art { margin-top: 0; }
.sec:has(.post-head) > .pad { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.sec:has(> .pad > .post-body) > .pad { padding-top: 0; }
.post-body .post-art { overflow: hidden; border-radius: 16px; }
.post-body .post-art img { border: 0; border-radius: 0; transform: scale(1.1); }

/* Back of house and Front of house pages: one section per product, text beside its screen. */
.hof-row { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hof-row.hof-flip .hof-text { order: 2; }
.hof-text h2 { margin: 0 0 10px; }
.hof-text .hof-lead { margin: 0 0 .75rem; font: 500 1.2rem/1.35 var(--display); color: var(--fg-base); }
.hof-text p { margin: 0 0 16px; color: var(--fg-muted); line-height: 1.6; max-width: 48ch; }
.hof-text .text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-strong); font-weight: 500; }
.hof-media { display: block; min-width: 0; border-radius: 22px; background: var(--air-tint, #f4f7f6); padding: clamp(12px, 2vw, 24px); transition: transform .3s ease; }
.hof-media:hover { transform: translateY(-3px); }
.hof-media .media, .hof-media .media.has-ui { margin: 0; padding: 0 !important; background: none; }
.hof-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 1.5rem; }
.hof-jump a { padding: 6px 12px; border-radius: 99px; border: 1px solid var(--border); font-size: .85rem; color: var(--fg-muted); }
.hof-jump a:hover { color: var(--fg-base); border-color: var(--border-strong); }
@media (max-width: 900px) { .hof-row { grid-template-columns: 1fr; } .hof-row.hof-flip .hof-text { order: 0; } }

/* Split heroes: a short story in three floating cards instead of a full app screen, centered beside the text. */
.hero-split:has(> .hero-cards) { align-items: center; padding-bottom: clamp(64px, 7.5vw, 96px); }
.hero-cards { position: relative; display: grid; gap: 16px; width: 100%; max-width: 500px; margin-inline: auto; padding: 8px 0; }
.hero-cards .hc { padding: 16px 20px; display: grid; gap: 12px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .28), 0 1px 2px rgba(0, 0, 0, .04); }
.hero-cards .hc:nth-child(1) { margin-right: 14%; }
.hero-cards .hc:nth-child(2) { margin-left: 14%; }
.hero-cards .hc:nth-child(3) { margin-right: 6%; margin-left: 4%; }
.hc-h { display: flex; gap: 12px; align-items: center; }
.hc-h > div { display: grid; gap: 1px; min-width: 0; }
.hc-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--teal-t); color: var(--teal-dd); display: grid; place-items: center; flex: none; }
.hc-ic .ti { font-size: 17px; }
.hc-f { gap: 8px; flex-wrap: wrap; }
.hc-rows { display: grid; }
.hc-rows .ui-row { padding: 8px 0; border-top: 1px solid var(--n95); font-size: 12.5px; gap: 8px; }
.hc-rows b, .hc-m b, .hc-stats b { font-weight: 600; }
.hc-pos { color: #1e7a45; }
.hc-m { display: grid; grid-template-columns: 80px minmax(0, 1fr) 52px; align-items: center; gap: 10px; font-size: 12.5px; }
.hc-m b { text-align: right; }
.hc-stats { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.hc-stats > div { display: grid; gap: 2px; }
.hc-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 1px solid var(--n80); border-radius: 8px; color: var(--n25); font-size: 13px; }
@media (max-width: 900px) { .hero-cards .hc:nth-child(n) { margin-inline: 0; } }

/* Device hero: no grey ground, just the tablet, cropped at the bottom only. */
.hero-device .media.has-ui, .hero-device .media.has-ui .ui { background: transparent; }

/* Deep tabs: tabs in a row on top; below, the screen on the left and the info on the right, both aligned to the top, the link under the info. Panels stack so every one shares the tallest height. */
.deep { grid-template-columns: 1fr; gap: 32px; align-items: start; }
.deep-tabs { flex-direction: row; gap: 8px; border-bottom: 1px solid var(--border); padding-bottom: 0; }
@media (max-width: 960px) { .deep-tabs { overflow-x: auto; } }
.deep-tabs button { flex: 1 1 0; min-width: 200px; border-radius: 12px 12px 0 0; border-bottom: 0; padding: 16px 20px; align-items: flex-start; }
.deep-tabs button[aria-selected="true"] { box-shadow: none; border-color: var(--border); background: var(--bg-base); position: relative; margin-bottom: -1px; border-bottom: 1px solid var(--bg-base); }
.deep-panels { display: grid; align-items: start; }
.deep-panel, .deep-panel.on { grid-area: 1 / 1; visibility: hidden; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: 48px; row-gap: 24px; align-content: start; align-items: start; }
.deep-panel.on { visibility: visible; }
.deep-panel > :is(.media, .ui-fit, .illo, .stage) { grid-column: 1; grid-row: 1 / span 2; }
.deep-panel > ul { grid-column: 2; grid-row: 1; margin: 0; grid-template-columns: 1fr; gap: 24px; align-self: start; }
.deep-panel > .deep-more { grid-column: 2; grid-row: 2; margin: 0; align-self: start; }
@media (max-width: 960px) { .deep-panel, .deep-panel.on { grid-template-columns: 1fr; } .deep-panel > :is(.media, .ui-fit, .illo, .stage), .deep-panel > ul, .deep-panel > .deep-more { grid-column: 1; grid-row: auto; } }

/* Partners */
.pn-canvas { position: absolute; inset: 0; background: var(--n98); }
.pn-lines { position: absolute; inset: 0; }
.pn-lines path { stroke: #bfe3dc; stroke-width: 2; stroke-dasharray: 3 7; stroke-linecap: round; }
.pn-node { position: absolute; width: 200px; height: 120px; background: #fff; border: 1px solid var(--n90); border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 1px 2px rgba(25,28,27,.04), 0 14px 24px -16px rgba(0,60,52,.25); }
.pn-node img { max-height: var(--lh, 40px); max-width: 150px; width: auto; object-fit: contain; display: block; }
.pn-node .ui-chip { height: 20px; font-size: 11.5px; }
.pn-win { position: absolute; left: 300px; top: 160px; width: 300px; height: 360px; background: #fff; border: 1px solid var(--n90); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 50px -24px rgba(0,60,52,.35), 0 8px 16px -8px rgba(0,0,0,.08); }
.pn-bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; background: var(--n10); color: #fff; }
.pn-bar b { font-weight: 600; font-size: 14px; }
.pn-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(255,255,255,.75); }
.pn-live i { width: 7px; height: 7px; border-radius: 50%; background: #5fe0cb; animation: pn-blink 2s ease-in-out infinite; }
.pn-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; }
.pn-body h4 { font-size: 17px; line-height: 22px; font-weight: 600; }
.pn-body .ui-faint { margin: -4px 0 4px; }
.pn-mod { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--n90); border-radius: 10px; font-size: 13px; font-weight: 500; animation: pn-glow 6s ease-in-out infinite; animation-delay: calc(var(--k) * 1.2s); }
.pn-mod .ti { color: var(--teal-dd); font-size: 17px; }
.pn-mod em { margin-left: auto; font-style: normal; font-size: 11.5px; color: var(--n50); font-weight: 400; }
.pn-dot { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0,171,147,.18); offset-rotate: 0deg; offset-distance: 0%; opacity: 0; animation: pn-run 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.pn-dot.out { background: var(--blue); box-shadow: 0 0 0 4px rgba(25,118,210,.15); }
@keyframes pn-run { 0% { offset-distance: 0%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
@keyframes pn-glow { 0%, 22%, 100% { border-color: var(--n90); background: #fff; } 8%, 14% { border-color: #8fd3c7; background: var(--teal-t); } }
@keyframes pn-blink { 50% { opacity: .3; } }
@keyframes pn-drop { 0% { transform: translateY(-6px); opacity: 0; } 30%, 70% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* How we partner: minis */
.pn-stage { min-height: 340px; }
.pn-m { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 340px; margin: 0 auto; }
.pn-m .ui-card { border-radius: 12px; }
.pn-m .ui-ch { padding: 10px 14px; }
.pn-m .ui-cb { padding: 10px 14px; }
.pn-mlogo { height: 18px; width: auto; max-width: 110px; display: block; }
.pn-m .food { width: 22px; height: 22px; }
.pn-rows { display: flex; flex-direction: column; gap: 6px; }
.pn-ok { color: var(--teal-dd); }
.pn-link { align-self: center; height: 22px; width: 2px; background: repeating-linear-gradient(to bottom, #bfe3dc 0 4px, transparent 4px 8px); position: relative; }
.pn-link i { position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); opacity: 0; }
.js .mini.shown .pn-link i { animation: pn-drop 1.6s ease-in-out infinite; }
.js .mini.shown .pn-link i:nth-child(2) { animation-delay: .5s; }
.js .mini.shown .pn-link i:nth-child(3) { animation-delay: 1s; }
.pn-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pn-me { width: 34px; height: 34px; border-radius: 50%; background: var(--teal-t); color: var(--teal-dd); border: 1px solid #bfe3dc; display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.pn-menu { display: flex; flex-direction: column; }
.pn-menu .ui-row { padding: 9px 14px; border-bottom: 1px solid var(--n95); position: relative; }
.pn-day { width: 34px; color: var(--n50); font-size: 12px; }
.pn-swap { position: relative; display: inline-block; min-width: 150px; height: 18px; }
.pn-swap > span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.pn-swap .m-numb { right: auto; }
.pn-edit { background: var(--teal-t); }
.pn-edit .ui-grow { flex: 1; }

/* Partner cards */
.pc-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; align-items: stretch; }
.pc-item { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 10px; min-width: 0; margin-bottom: 1.5rem; }
.pc-card { flex: 1; border: 1px solid var(--border); border-radius: 18px; background: #fff; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(25, 28, 27, .03); transition: border-color .2s, box-shadow .2s, transform .2s; }
.pc-card:hover { border-color: #b9ddd6; box-shadow: 0 24px 40px -28px rgba(0, 60, 52, .35); transform: translateY(-2px); }
.pc-logo { height: 128px; display: grid; place-items: center; padding: 20px; background: #fff; border-bottom: 1px solid var(--border); }
.pc-logo img { max-height: var(--lh, 40px); max-width: 72%; width: auto; height: auto; object-fit: contain; display: block; }
.pc-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pc-head h3 { margin: 0; font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.25; }
.pc-tag { flex: none; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-strong); font-size: 0.74rem; font-weight: 600; white-space: nowrap; }
.pc-sub { margin: -4px 0 0 !important; font-size: 0.85rem !important; }
.pc-body p { margin: 0; color: var(--fg-muted); font-size: 0.95rem; line-height: 1.55; }
.pc-person { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-subtle); }
.pc-av { width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; }
.pc-av .ti { font-size: 1.1rem; }
.pc-person b { display: block; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.pc-person div span { display: block; font-size: 0.82rem; color: var(--fg-muted); }
.pc-item .review-flag { margin: 0; max-width: none; }
@media (max-width: 760px) { .pc-grid { grid-template-columns: 1fr; } .pc-item { display: flex; flex-direction: column; grid-row: auto; } .pc-head { flex-direction: column; gap: 8px; } }

/* Manufacturers quote with the Rich Products mark */
.pn-quote { max-width: 62ch; margin-top: 2.5rem; }
.pn-quote figcaption { display: flex; align-items: center; gap: 14px; }
.pn-quote figcaption img { height: 44px; width: auto; flex: none; }
@media (prefers-reduced-motion: reduce) { .pn-dot { animation: none; opacity: 0; } .pn-mod, .pn-live i, .pn-link i { animation: none !important; } }
.js .mini.shown .pn-swap .m-numb { right: auto; left: 0; }

/* Partners hero: the whole composition shows, uncropped, with room around it */
.hero.hero-split.pn-hero { align-items: center; padding-bottom: clamp(2.5rem, 5vw, 80px); }
.hero.hero-split.pn-hero > .hero-text { padding-bottom: 0; }
.hero.hero-split.pn-hero > .media.has-ui { max-height: none; overflow: visible; padding-bottom: clamp(16px, 2.5vw, 32px) !important; border-radius: 28px; }
.hero.hero-split.pn-hero > .media.has-ui .ui-fit { border-radius: 16px; border: 1px solid var(--border); }
.pn-stage { align-content: center; grid-auto-rows: min-content; }
.pn-m { gap: 8px; }
.pn-stage { grid-template-columns: minmax(0, 1fr); } .pn-m > * { min-width: 0; }
.pn-day { flex: none; }

/* Partners hero: just the partner map, centered, with no grey panel and no box around it. */
.hero.hero-split.pn-hero > .media.has-ui { background: none; padding: 0 !important; border-radius: 0; box-shadow: none; align-self: center; justify-self: center; width: 100%; max-width: 560px; }
.hero.hero-split.pn-hero > .media.has-ui .ui-fit { border: 0; border-radius: 0; box-shadow: none; background: none; }
.pn-hero .pn-canvas { background: transparent; }
.pn-hero .ui, .pn-hero .ui-fit { background: transparent; }
