*{box-sizing:border-box;margin:0;padding:0}
:root{
  --ink:#071b12;--muted:#6d756f;--paper:#f7f8f5;--white:#fff;--green:#00c853;
  --green-dark:#003c22;--line:#e5e9e4;--soft:#eef5ef;--red:#d94a4a;
  --max:1220px
}
html{scroll-behavior:smooth}
body{font-family:"DM Sans",Arial,sans-serif;color:var(--ink);background:var(--paper);line-height:1.55}
a{text-decoration:none;color:inherit}
.container{width:min(var(--max),calc(100% - 48px));margin:auto}
.narrow{width:min(920px,calc(100% - 48px));margin:auto}
.section{padding:112px 0}
.section-kicker{font-family:"Space Grotesk",sans-serif;font-size:12px;font-weight:700;letter-spacing:.18em;color:#00a94b;margin-bottom:22px}
.section-kicker.light{color:#77f3a7}
h1,h2,h3{font-family:"Space Grotesk",sans-serif;letter-spacing:-.045em}
h2{font-size:clamp(42px,5vw,72px);line-height:1.02}
h3{font-size:24px;line-height:1.1}
p{font-size:17px;color:var(--muted)}
.lead{font-size:21px;line-height:1.5;margin:22px 0}
.accent,.accent-text{color:#00b94f}
.button{display:inline-flex;align-items:center;gap:16px;border-radius:999px;padding:16px 24px;font-weight:700;font-size:15px;transition:.2s transform,.2s background}
.button:hover{transform:translateY(-2px)}
.button-dark{background:var(--ink);color:#fff}
.button-dark:hover{background:#103126}
.button-light{background:#fff;border:1px solid #dce3dd}
.button-white{background:#fff;color:var(--ink)}
.button.small{padding:11px 18px;font-size:13px}
.site-header{position:sticky;top:0;z-index:20;height:76px;background:rgba(247,248,245,.9);backdrop-filter:blur(16px);border-bottom:1px solid rgba(0,0,0,.06);display:flex;align-items:center;justify-content:space-between;padding:0 30px}
.brand{display:flex;align-items:center;gap:10px;font-family:"Space Grotesk";font-weight:700;font-size:22px;letter-spacing:-.04em}
.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:15px}
.brand-dot{color:#00bf50}
.desktop-nav{display:flex;gap:26px;font-size:13px;font-weight:600;color:#49534e}
.desktop-nav a:hover{color:#00a94b}
.header-actions{display:flex;align-items:center;gap:18px}
.login{font-size:13px;font-weight:600}.menu-toggle{display:none;border:0;background:none;font-size:23px}
.hero{min-height:770px;position:relative;overflow:hidden;background:#f4f7f3;padding:110px 0 80px}
.hero-inner{width:min(1180px,calc(100% - 48px));margin:auto;position:relative;z-index:2}
.eyebrow{display:inline-flex;align-items:center;gap:9px;border:1px solid #b9e7c9;border-radius:999px;padding:8px 13px;font:700 11px "Space Grotesk";letter-spacing:.16em;color:#007e3a;background:#eefaf1}
.pulse{width:7px;height:7px;border-radius:50%;background:#00c853;box-shadow:0 0 0 5px #d8f7e3}
.hero h1{font-size:clamp(58px,8vw,110px);line-height:.91;max-width:850px;margin:34px 0 28px}
.hero-copy{max-width:700px;font-size:20px;line-height:1.5}
.hero-cta{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
.hero-proof{display:flex;gap:0;margin-top:58px;border-top:1px solid #dbe3dc;max-width:930px}
.hero-proof div{padding:20px 28px 0 0;margin-right:28px;border-right:1px solid #dbe3dc;display:flex;flex-direction:column}
.hero-proof div:last-child{border:0}.hero-proof strong{font:700 15px "Space Grotesk"}.hero-proof span{font-size:12px;color:#78817b;margin-top:2px}
.hero-glow{position:absolute;border-radius:50%;filter:blur(5px);opacity:.75}.glow-a{width:550px;height:550px;background:#d9f9e5;right:-120px;top:80px}.glow-b{width:250px;height:250px;background:#e8efff;right:410px;bottom:-100px}
.hero-network{position:absolute;right:5%;top:160px;width:430px;height:440px;z-index:1;transform:rotate(3deg)}
.network-card{background:rgba(255,255,255,.84);border:1px solid rgba(0,50,25,.1);box-shadow:0 30px 80px rgba(0,50,25,.12);border-radius:24px;backdrop-filter:blur(12px)}
.card-main{width:360px;padding:25px;position:absolute;right:15px;top:70px}
.network-top{display:flex;justify-content:space-between;font-size:12px;color:#00a94b}.tiny-pill{background:#e9faef;padding:7px 10px;border-radius:99px;font-weight:700}
.metric-big{font:700 52px "Space Grotesk";letter-spacing:-.06em;margin-top:35px}.metric-label{font-size:13px;color:#79837d}
.bars{height:100px;display:flex;align-items:end;gap:8px;margin-top:28px}.bars i{display:block;flex:1;background:#b9efcb;border-radius:8px 8px 2px 2px}
.float-card{position:absolute;display:flex;gap:12px;align-items:center;padding:15px 17px;width:190px}.float-card b{font:700 13px "Space Grotesk";display:block}.float-card small{font-size:11px;color:#7c857f}.icon{width:34px;height:34px;border-radius:11px;background:#eaf8ef;display:grid;place-items:center;color:#00a94b}.c1{top:10px;left:20px}.c2{right:-10px;top:250px}.c3{left:-20px;bottom:25px}.c4{right:30px;bottom:-15px}
.problem{background:#fff}.problem-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:80px;align-items:center}.problem h2{max-width:700px}.problem .lead{max-width:680px}.red{color:var(--red)}
.math-card{background:#f5f7f4;border:1px solid #e4e9e4;border-radius:26px;padding:28px}.math-row{display:flex;justify-content:space-between;padding:15px 0;font-size:15px}.math-row strong{font:700 20px "Space Grotesk"}.math-row .bad{color:var(--red)}.divider{height:1px;background:#dfe5df;margin:8px 0}.math-note{font-size:13px;color:#6f7772;padding-top:15px}
.big-message{background:var(--ink);color:#fff;padding:125px 0}.big-message h2{max-width:900px}.big-message p{color:#c7d0ca;font-size:22px;max-width:850px;margin:28px 0}.big-message strong{color:#7df1a6}.quote-card{border:1px solid rgba(255,255,255,.15);border-radius:28px;padding:32px 38px;margin-top:42px;background:rgba(255,255,255,.04)}.quote-card p{font-size:24px;color:#fff;margin:0 0 18px}.quote-mark{font:700 60px "Space Grotesk";color:#00c853;line-height:.6}.quote-card span{font-size:13px;color:#9eaaa2}
.cards-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.feature-card{background:#fff;border:1px solid var(--line);border-radius:26px;padding:32px;min-height:310px}.feature-icon{font:700 12px "Space Grotesk";color:#00a94b;background:#eaf8ef;border-radius:999px;padding:8px 10px;display:inline-block;margin-bottom:60px}.feature-card p{margin-top:14px}
.economics{background:#eef5ef}.economics-grid{display:grid;grid-template-columns:1fr .7fr;gap:80px;align-items:center}.calc-card{background:#fff;border-radius:26px;padding:30px;border:1px solid #dce5de;box-shadow:0 20px 60px rgba(0,60,30,.07)}.calc-line{display:flex;justify-content:space-between;padding:17px 0;border-bottom:1px solid #edf0ed}.calc-line span{color:#66706a}.calc-line b{font:700 21px "Space Grotesk"}.calc-line.highlight{margin:0 -30px;padding:22px 30px;background:#eafaf0;border-bottom:0}.calc-line.highlight b{color:#008f40;font-size:30px}.calc-foot{font-size:11px;color:#78817b;padding-top:17px}
.profile-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:40px}.profile-card{border-radius:30px;padding:34px;min-height:520px;display:flex;flex-direction:column;border:1px solid var(--line);transition:.2s transform,.2s box-shadow}.profile-card:hover{transform:translateY(-5px);box-shadow:0 25px 70px rgba(0,30,15,.09)}.profile-card.advertiser{background:#edf4ff}.profile-card.creator{background:#eaf9ef}.profile-card.partner{background:#fff2df}.role{font:700 11px "Space Grotesk";letter-spacing:.16em;display:inline-block;align-self:flex-start;padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.75)}.profile-icon{font-size:38px;margin:30px 0 22px}.profile-card h3{font-size:30px}.profile-card p{margin:15px 0}.profile-card ul{list-style:none;margin-top:8px}.profile-card li{font-size:14px;padding:8px 0;padding-left:22px;position:relative}.profile-card li:before{content:"✓";position:absolute;left:0;color:#00a94b;font-weight:800}.profile-cta{margin-top:auto;padding-top:30px;font-weight:700;font-size:14px;display:flex;justify-content:space-between}
.how{background:#fff}.how-header{display:grid;grid-template-columns:1fr .7fr;gap:80px;align-items:end}.how-header p{max-width:480px}.steps{display:grid;grid-template-columns:repeat(5,1fr);margin-top:70px;border-top:1px solid #dfe5df}.step{padding:24px 20px 0 0;border-right:1px solid #dfe5df;min-height:220px}.step:last-child{border:0}.step span{font:700 11px "Space Grotesk";color:#00a94b}.step h3{font-size:20px;margin:28px 0 12px}.step p{font-size:14px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}.visual-panel{background:#071b12;border-radius:32px;padding:36px;color:#fff;min-height:500px;box-shadow:0 30px 80px rgba(0,30,15,.15)}.panel-label{font:700 11px "Space Grotesk";letter-spacing:.18em;color:#6de999}.creator-profile{display:flex;align-items:center;gap:14px;margin-top:55px}.avatar{width:54px;height:54px;border-radius:50%;background:#1c5a3c;display:grid;place-items:center;font:700 20px "Space Grotesk"}.creator-profile span{display:block;color:#9aaca2;font-size:12px}.audience{display:flex;justify-content:space-between;margin-top:42px;font-size:13px}.audience b{color:#6df09a}.audience-bars{display:flex;gap:6px;height:38px;align-items:end;margin-top:14px}.audience-bars i{background:#6df09a;border-radius:4px 4px 0 0;height:100%;position:relative}.audience-bars i:nth-child(2){background:#9de9b7}.audience-bars i:nth-child(3){background:#d1f1dc}.audience-bars small{position:absolute;top:-18px;font-size:9px;color:#a9b7af}.inventory-list{margin-top:40px;border-top:1px solid rgba(255,255,255,.13)}.inventory-list div{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid rgba(255,255,255,.13);font-size:12px}.inventory-list b{color:#6df09a}.copy-panel h2{max-width:600px}.bullet{display:grid;grid-template-columns:160px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid #e2e7e3}.bullet b{font-family:"Space Grotesk";font-size:14px}.bullet span{font-size:14px;color:#727b75}.copy-panel .button{margin-top:28px}
.advertisers{background:#f1f6f2}.advertiser-grid{display:grid;grid-template-columns:1fr .75fr;gap:100px;align-items:center}.metric-stack{display:grid;gap:10px}.metric{background:#fff;border:1px solid #e0e7e1;border-radius:20px;padding:20px 22px}.metric span{display:block;font:700 10px "Space Grotesk";letter-spacing:.15em;color:#00a94b;margin-bottom:7px}.metric b{font:600 15px "Space Grotesk"}
.tracking{background:#fff}.tracking-grid{display:grid;grid-template-columns:1fr .75fr;gap:100px;align-items:center}.track-flow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:38px}.track-flow span{font:700 9px "Space Grotesk";letter-spacing:.1em;background:#eef5ef;border-radius:999px;padding:10px 12px}.track-flow i{font-style:normal;color:#00a94b}.analytics-card{background:#071b12;border-radius:28px;padding:28px;color:#fff}.analytics-top{display:flex;justify-content:space-between;font-size:13px}.analytics-top span{color:#6df09a}.analytics-main{margin-top:34px}.analytics-main strong{font:700 52px "Space Grotesk";letter-spacing:-.05em;display:block}.analytics-main small{color:#9aa9a0}.analytics-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.analytics-grid div{background:#102b20;border-radius:14px;padding:14px}.analytics-grid span{display:block;color:#9aaba0;font-size:10px}.analytics-grid b{font:700 15px "Space Grotesk"}.mini-chart{height:90px;display:flex;align-items:end;gap:6px;margin-top:26px}.mini-chart i{flex:1;background:#38d975;border-radius:5px 5px 1px 1px}
.partners{background:#fff4e7}.partner-layout{display:grid;grid-template-columns:1fr 1fr;gap:100px}.partner-features{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#decfbf;border:1px solid #decfbf}.partner-features div{background:#fff4e7;padding:24px}.partner-features b{display:block;font:700 15px "Space Grotesk"}.partner-features span{display:block;font-size:13px;color:#7c736a;margin-top:7px}
.platforms{text-align:center;background:#071b12;color:#fff}.platforms h2{max-width:800px;margin:0 auto}.platform-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:45px}.platform-row span{border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:12px 17px;font:700 10px "Space Grotesk";letter-spacing:.12em;color:#c9d4ce}.platform-note{max-width:680px;margin:30px auto 0;color:#9aa8a0;font-size:14px}
.faq{background:#fff}.faq-wrap{display:grid;grid-template-columns:.7fr 1fr;gap:100px}.faq-list details{border-top:1px solid #dfe5df;padding:22px 0}.faq-list details:last-child{border-bottom:1px solid #dfe5df}.faq-list summary{cursor:pointer;list-style:none;font:600 18px "Space Grotesk";display:flex;justify-content:space-between}.faq-list summary:after{content:"+";color:#00a94b}.faq-list details[open] summary:after{content:"−"}.faq-list p{padding:14px 30px 0 0;font-size:14px}
.final-cta{background:#00c853;padding:88px 0}.final-inner{display:flex;justify-content:space-between;align-items:end;gap:40px}.final-cta h2{max-width:800px}.final-cta p{color:#075b31;font-size:19px;margin-top:15px}.final-actions{display:flex;align-items:center;gap:20px;white-space:nowrap}.text-link{font-weight:700;font-size:13px}
.footer{background:#071b12;color:#fff;padding:60px 0 25px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}.footer .brand{color:#fff}.footer p{color:#91a099;font-size:13px;margin-top:18px}.footer-grid>div:not(:first-child){display:flex;flex-direction:column;gap:10px}.footer-grid b{font:700 11px "Space Grotesk";letter-spacing:.15em;color:#6df09a;margin-bottom:7px}.footer-grid a:not(.brand){font-size:13px;color:#aebbb4}.copyright{border-top:1px solid rgba(255,255,255,.1);margin-top:45px;padding-top:20px;color:#6e7d74;font-size:11px}

@media(max-width:1000px){
  .desktop-nav{display:none}.menu-toggle{display:block}.hero-network{opacity:.38;right:-90px}.hero h1{max-width:700px}.hero-proof{max-width:760px}
  .problem-grid,.economics-grid,.advertiser-grid,.tracking-grid,.partner-layout,.faq-wrap{grid-template-columns:1fr;gap:45px}
  .cards-3,.profile-grid{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr 1fr}.step{border-bottom:1px solid #dfe5df}.split{gap:50px}
}
@media(max-width:680px){
  .container,.narrow,.hero-inner{width:calc(100% - 32px)}.site-header{height:66px;padding:0 16px}.brand{font-size:19px}.header-actions .login{display:none}.header-actions{gap:8px}
  .hero{padding:78px 0 55px;min-height:720px}.hero h1{font-size:55px;line-height:.94;margin-top:26px}.hero-copy{font-size:17px}.hero-network{position:absolute;top:380px;right:-130px;transform:scale(.75) rotate(3deg);opacity:.35}.hero-proof{display:grid;grid-template-columns:1fr 1fr}.hero-proof div{border:0;margin:0;padding:18px 10px 0 0}
  .section{padding:76px 0}h2{font-size:43px}.lead{font-size:18px}
  .problem-grid{gap:25px}.big-message{padding:80px 0}.big-message p{font-size:18px}.quote-card p{font-size:18px}
  .cards-3,.profile-grid{grid-template-columns:1fr}.feature-card{min-height:auto}.feature-icon{margin-bottom:40px}.profile-card{min-height:480px}
  .how-header,.split{grid-template-columns:1fr;gap:30px}.steps{grid-template-columns:1fr}.step{border-right:0;min-height:auto;padding-bottom:22px}
  .visual-panel{min-height:440px;padding:26px}.copy-panel h2{font-size:42px}.bullet{grid-template-columns:1fr;gap:5px}
  .partner-features{grid-template-columns:1fr}.platform-row span{padding:10px 12px}.final-inner{display:block}.final-actions{margin-top:28px;flex-wrap:wrap}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}
}

/* ---- Phase 0 additions: shared pages, status labels, keyboard focus ---- */
.skip-link{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:10px 14px;border-radius:10px;z-index:50;font-weight:700;font-size:14px}
.skip-link:focus{left:12px}
:focus-visible{outline:3px solid #00a94b;outline-offset:3px;border-radius:6px}
.page-hero{padding:92px 0 52px;background:#f4f7f3;border-bottom:1px solid var(--line)}
.page-hero h1{font-size:clamp(40px,6vw,76px);line-height:.98;max-width:920px;margin:16px 0 20px}
.page-hero p{max-width:740px;font-size:20px;line-height:1.5}
.page-section{padding:64px 0}
.page-section h2{font-size:clamp(30px,3.6vw,46px);line-height:1.05;margin-bottom:14px}
.prose{max-width:780px}
.prose h2{font-size:28px;line-height:1.15;margin:44px 0 10px;letter-spacing:-.03em}
.prose p,.prose li{font-size:17px;color:#3f4944;margin:10px 0}
.prose ul{padding-left:22px}
.prose a,.inline-link{color:#007e3a;text-decoration:underline;text-underline-offset:3px}
.notice{border:1px solid #f0d9a8;background:#fff8e6;border-radius:18px;padding:16px 20px;font-size:15px;color:#6a5316;margin:24px 0;max-width:780px}
.notice b{color:#4d3a0c}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:18px;background:#fff;margin-top:24px}
.status-table{width:100%;min-width:720px;border-collapse:collapse}
.status-table th,.status-table td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);font-size:14px;vertical-align:top}
.status-table tr:last-child td{border-bottom:0}
.status-table th{font:700 11px "Space Grotesk";letter-spacing:.12em;color:#00763a;background:#f4f7f3;text-transform:uppercase}
.status-table td:first-child{font-weight:600;color:var(--ink);min-width:200px}
.badge{display:inline-block;border-radius:999px;padding:4px 10px;font:700 11px "Space Grotesk";letter-spacing:.03em;background:#eef2ee;color:#2f3a34;white-space:nowrap}
.badge.planned{background:#e4eeff;color:#1f4488}
.badge.manual{background:#fff0d6;color:#7a4d0c}
.badge.approval{background:#efe6ff;color:#53348d}
.badge.example{background:#fde8e8;color:#9a2c2c}
.legend{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.journey{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px;list-style:none}
.journey li{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}
.journey .n{font:700 12px "Space Grotesk";color:#00763a}
.journey h3{font-size:19px;margin:12px 0 8px}
.journey p{font-size:14px;margin-top:8px}
.journey p b{color:var(--ink)}
.role-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.example-tag{font:700 10px "Space Grotesk";letter-spacing:.14em;background:#fde8e8;color:#9a2c2c;padding:5px 9px;border-radius:999px}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;max-width:780px;margin-top:22px}
@media(max-width:1000px){.journey{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.page-hero{padding:64px 0 36px}.page-hero p{font-size:17px}.journey{grid-template-columns:1fr}.page-section{padding:44px 0}}

.fineprint{font-size:13px;color:#59635d;max-width:640px;margin-top:22px}
.fineprint a{color:#007e3a;text-decoration:underline}
@media(max-width:680px){
  .table-wrap{border:0;background:none;overflow:visible}
  .status-table{min-width:0;display:block}
  .status-table thead{display:none}
  .status-table tbody,.status-table tr,.status-table td{display:block}
  .status-table tr{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px 16px;margin-bottom:12px}
  .status-table td{border:0;padding:6px 0;min-width:0}
  .status-table td:first-child{font-size:16px;padding-top:0}
  .status-table td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font:700 10px "Space Grotesk";letter-spacing:.12em;text-transform:uppercase;color:#00763a;margin-bottom:3px}
}
.menu-toggle{min-width:44px;min-height:44px;cursor:pointer;color:var(--ink)}
.footer-grid a:not(.brand){display:inline-block;padding:7px 0;min-height:32px}

/* ---- App (PWA): installable, full cache, notch-safe ------------------------------------------------------------------------ */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;-webkit-tap-highlight-color:transparent}
/* a phone with a notch or a gesture bar: the content stays inside the safe area, the header colour goes under the status bar */
.site-header{padding-left:max(30px,env(safe-area-inset-left));padding-right:max(30px,env(safe-area-inset-right));padding-top:env(safe-area-inset-top);height:calc(76px + env(safe-area-inset-top))}
.footer{padding-bottom:calc(0px + env(safe-area-inset-bottom))}
.copyright{padding-bottom:max(18px,env(safe-area-inset-bottom))}
@media (max-width:720px){
  .site-header{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right));height:calc(66px + env(safe-area-inset-top))}
}

/* the invitation to install: a bar under the header, in view while scrolling; its one action is the green-ink pill */
.inst{position:sticky;top:var(--hd-h,76px);z-index:19;display:flex;align-items:center;gap:10px;padding:8px max(8px,env(safe-area-inset-right)) 8px max(12px,env(safe-area-inset-left));background:#fff;color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 6px 12px -10px rgba(0,0,0,.35)}
.inst[hidden]{display:none}
.inst-ic{width:36px;height:36px;border-radius:9px;flex:none}
.inst-tx{flex:1;min-width:0;margin:0;line-height:1.25}
.inst-tx b{display:block;font-size:14px;font-weight:700;color:var(--ink)}
.inst-tx span{display:block;font-size:12.5px;color:var(--muted)}
.inst-go{flex:none;min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--ink);color:#fff;font:700 14px "DM Sans",Arial,sans-serif;white-space:nowrap;cursor:pointer}
.inst-x{flex:none;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:var(--muted);cursor:pointer}
.inst-x i{display:block;width:18px;height:18px;background:currentColor;-webkit-mask:url(icons/ph/x.svg) center/contain no-repeat;mask:url(icons/ph/x.svg) center/contain no-repeat}
.inst button:focus-visible,.inst-sheet button:focus-visible,.pwa-toast button:focus-visible{outline:3px solid var(--green);outline-offset:2px}
@media (max-width:360px){.inst-tx span{display:none}.inst-go{padding:0 14px}}

/* the steps, when the browser cannot install by itself (iPhone, Firefox, inside WhatsApp / Facebook...): a sheet from the bottom on a
   phone, a centred card on a tablet or a computer */
body.inst-sheet-open{overflow:hidden}
.inst-sheet{position:fixed;inset:0;z-index:300;display:flex;align-items:flex-end;justify-content:center}
.inst-sheet[hidden]{display:none}
.inst-sheet-bg{position:absolute;inset:0;background:rgba(0,0,0,.45)}
.inst-sheet-card{position:relative;width:100%;max-width:480px;max-height:90vh;max-height:90dvh;overflow:auto;box-sizing:border-box;background:#fff;color:var(--ink);border-radius:18px 18px 0 0;padding:20px max(18px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))}
.inst-sheet-card h2{margin:0 0 4px;font-size:20px;display:flex;align-items:center;gap:10px}
.inst-sheet-card h2 img{width:32px;height:32px;border-radius:8px}
.inst-sheet-card ol{list-style:none;margin:12px 0 16px;padding:0;counter-reset:st}
.inst-sheet-card li{counter-increment:st;display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.4}
.inst-sheet-card li:first-child{border-top:0}
.inst-sheet-card li:before{content:counter(st);flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:#00803a;font-weight:700;font-size:13px;order:-2}
.inst-sheet-card li i{flex:none;width:24px;height:24px;background:var(--ink);-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat;order:-1}
.inst-sheet-link{display:block;width:100%;box-sizing:border-box;margin:0 0 12px;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:var(--paper);color:inherit;font:600 14px/1.3 "DM Sans",Arial,sans-serif;word-break:break-all}
.inst-sheet-act{display:flex;gap:10px}
.inst-sheet-link[hidden],.inst-sheet-act button[hidden]{display:none}
.inst-sheet-act button{flex:1;min-height:48px;border:0;border-radius:999px;font:700 15px "DM Sans",Arial,sans-serif;cursor:pointer}
.inst-sheet-ok{background:var(--ink);color:#fff}
.inst-sheet-cp{background:#e6ebe6;color:var(--ink)}
@media (min-width:600px){.inst-sheet{align-items:center}.inst-sheet-card{border-radius:18px;padding-bottom:18px}}

/* "a new version is ready" / "available offline": a small message at the bottom, above the gesture bar */
.pwa-toast{position:fixed;left:50%;bottom:calc(16px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:310;display:flex;align-items:center;gap:10px;max-width:min(520px,calc(100% - 24px));padding:10px 8px 10px 16px;border-radius:14px;background:var(--ink);color:#fff;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.pwa-toast[hidden]{display:none}
.pwa-toast span{flex:1;min-width:0}
.pwa-toast-go{flex:none;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--green);color:var(--ink);font:700 14px "DM Sans",Arial,sans-serif;cursor:pointer}
.pwa-toast-x{flex:none;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:none;color:#fff;cursor:pointer}
.pwa-toast-x i{display:block;width:16px;height:16px;background:currentColor;-webkit-mask:url(icons/ph/x.svg) center/contain no-repeat;mask:url(icons/ph/x.svg) center/contain no-repeat}
/* opened as an installed app: no invitation, no link to install */
@media (display-mode: standalone){.inst,[data-inst-open]{display:none!important}body{overscroll-behavior-y:none}}

/* very narrow phones (320–360px): header never collides */
@media (max-width:360px){.site-header{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}.brand{font-size:17px;gap:7px}.brand-mark{width:28px;height:28px;border-radius:9px;font-size:13px}.button.small{padding:0 12px;min-height:44px;font-size:12px}.header-actions{gap:2px}}
