/* CLARA report shop. Two voices on one page: the noir chrome of clara.city
   (top bar, footer: Space Grotesk, near-black, a cyan signal) and the paper
   of the report between them (Bricolage Grotesque titles, Manrope text,
   the green accent), which is also the widget's own palette. */

@font-face{font-family:'Bricolage Grotesque';src:url('/s/fonts/bricolage-grotesque-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:'Manrope';src:url('/s/fonts/manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('/s/fonts/SpaceGrotesk-latin.woff2') format('woff2');font-weight:300 700;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Space Grotesk';src:url('/s/fonts/SpaceGrotesk-latin-ext.woff2') format('woff2');font-weight:300 700;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  color-scheme:only light;
  --paper:#f4f7f5; --card:#fff; --ink:#15211b; --ink-2:#4c5a52; --muted:#64716a;
  --line:#e2e8e2; --accent:#0e7c5b; --accent-ink:#0a5b43; --accent-soft:#e3f1e9;
  --noir:#04060b; --noir-2:#0b1220; --noir-ink:#e6edf6; --slate:#94a3b8; --cyan:#22d3ee;
  --noir-line:rgba(230,237,246,.10);
  --radius:18px;
  --shadow:0 1px 2px rgba(10,30,20,.05),0 12px 40px rgba(10,30,20,.07);
  --wrap:1080px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.6 'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}
h1,h2,h3{font-family:'Bricolage Grotesque','Manrope',sans-serif;margin:0;font-weight:700;letter-spacing:-.01em;text-wrap:balance}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
img,svg{display:block}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 24px}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-ink);margin:0 0 10px}
.lead{font-size:18px;line-height:1.6;color:var(--ink-2);max-width:60ch}
section h2{font-size:32px;line-height:1.15;margin-bottom:14px}

/* buttons --------------------------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:50px;padding:0 26px;border-radius:26px;
  background:var(--accent);color:#fff;font-size:16px;font-weight:700;white-space:nowrap;transition:background .15s ease,transform .15s ease}
.btn:hover{background:#0b6a4e;transform:translateY(-1px);text-decoration:none}
.btn.ghost{background:#fff;color:var(--accent-ink);border:1.5px solid var(--accent)}
.btn.ghost:hover{background:var(--accent);color:#fff}
.linkbtn{font-size:14px;font-weight:700;color:var(--accent);padding:0}
.linkbtn:hover{text-decoration:underline}

/* top bar --------------------------------------------------------------- */
.top{background:var(--noir);color:var(--noir-ink);font-family:'Space Grotesk',sans-serif;border-bottom:1px solid var(--noir-line)}
.top-row{display:flex;align-items:center;gap:28px;height:64px}
.brand img{height:22px;width:auto}
.menu{display:flex;gap:26px;margin-left:auto;font-size:14px;font-weight:600;letter-spacing:.02em}
.menu a{color:var(--noir-ink);opacity:.85}
.menu a:hover{opacity:1;text-decoration:none;color:var(--cyan)}
.langs{display:flex;gap:4px;font-size:12.5px;font-weight:700;letter-spacing:.08em}
.langs a,.langs span{padding:5px 8px;border-radius:7px;color:var(--slate)}
.langs a:hover{color:var(--noir-ink);text-decoration:none;background:var(--noir-2)}
.langs .is-current{color:var(--noir);background:var(--cyan)}

/* hero ------------------------------------------------------------------ */
.hero{position:relative;overflow:hidden;overflow:clip visible;background:linear-gradient(160deg,#f0f7f2,#ddede4 70%,#d6e8dd);border-bottom:1px solid var(--line);padding:64px 0 56px}
.hero.plain{padding:96px 0}
.hero.plain h1{font-size:34px;margin-bottom:12px}
.hero.plain .lead{margin-bottom:26px}
.streams{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.streams path{fill:none;stroke:var(--accent);stroke-opacity:.11;stroke-width:1.1}
.hero .wrap{position:relative}
.hero-grid{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:48px;align-items:center}
.hero-grid[hidden]{display:none}
.hero h1{font-size:46px;line-height:1.08;margin:0 0 18px}
.hero .lead{margin-bottom:30px}
.hero-shot{margin:0;justify-self:end;width:100%;max-width:360px;position:relative;text-align:center}
.hero-shot>a{display:block}
.hero-shot figcaption{margin-top:18px;font-size:15px;font-weight:700}
.hero-shot figcaption a{color:var(--accent)}
.hero-shot img{width:100%;height:auto;border-radius:10px;background:#fff;border:1px solid var(--line);
  box-shadow:0 2px 4px rgba(10,30,20,.06),0 30px 60px -20px rgba(10,30,20,.35);transform:rotate(1.5deg)}

/* search ---------------------------------------------------------------- */
.search label{display:block;font-size:13px;font-weight:700;margin-bottom:8px;color:var(--ink)}
.search-box{position:relative}
.search-ic{position:absolute;left:18px;top:50%;transform:translateY(-50%);width:20px;height:20px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.search-input{width:100%;min-height:58px;padding:0 18px 0 50px;border:1.5px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);
  font:500 17px/1.3 'Manrope',system-ui,sans-serif;box-shadow:var(--shadow);outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.search-input::placeholder{color:#8a968f;font-weight:400}
.search-input:focus{border-color:var(--accent);box-shadow:0 0 0 4px rgba(14,124,91,.14),var(--shadow)}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:20;background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow);overflow:hidden;padding:6px}
.suggest[hidden]{display:none}
.suggest li{padding:10px 14px;border-radius:9px;cursor:pointer;display:flex;flex-direction:column;gap:1px;line-height:1.3}
.suggest li b{font-weight:700;font-size:15px}
.suggest li span{font-size:13px;color:var(--muted)}
.suggest li:hover,.suggest li[aria-selected="true"]{background:var(--accent-soft)}
.suggest li.note{cursor:default;color:var(--ink-2);font-size:14px;padding:12px 14px}
.suggest li.note:hover{background:none}
.suggest li.invite{color:var(--accent-ink);font-weight:700;font-size:15px}
.hint{margin-top:10px;font-size:13px;color:var(--muted)}
.trust{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:26px;font-size:13.5px;font-weight:600;color:var(--ink-2)}
.trust li{display:flex;align-items:center;gap:7px}
.trust li::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent);flex:none}

/* result ---------------------------------------------------------------- */
/* the chosen address, across the price card (owner 2026-10-25): a low
   header line, then a big map on the left and the widget on the right */
.price-search{margin-top:6px;max-width:560px}
.price-search[hidden]{display:none}
.price-result{scroll-margin-top:12px;grid-column:1 / -1;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.price-result[hidden]{display:none}
.result-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;padding:14px 22px 12px;border-bottom:1px solid var(--line)}
.result-head .eyebrow{margin:0}
.result-head h3{font-size:19px;line-height:1.25}
/* the map 400px wide, the widget (which needs 280px) the rest; the row is
   as high as the taller of the two */
.result-body{display:grid;grid-template-columns:minmax(0,400px) minmax(280px,1fr);gap:18px;align-items:start;padding:18px 18px 4px;background:var(--paper)}
/* the map is at least as high as the widget's usual 283px and grows with it
   (owner 2026-10-25), at checkout for instance; MapLibre follows its box */
.result-map{position:relative;width:100%;min-height:283px;align-self:stretch;border-radius:14px;border:1px solid var(--line);background:#eef3f0;overflow:hidden}
.result-map[hidden]{display:none}
.result-body:has(>.result-map[hidden]){grid-template-columns:1fr}
.result-map .maplibregl-ctrl-attrib{font-size:11px}
/* the pin: the CLARA web app's pulsing dot, in the shop's green */
.map-pin{position:relative;width:34px;height:34px}
.map-dot{position:absolute;inset:4px;border-radius:50%;background:var(--accent);border:4px solid #fff;box-shadow:0 4px 12px rgba(10,15,26,.45)}
.map-ring{position:absolute;inset:-10px;border-radius:50%;border:3px solid var(--accent);opacity:0;animation:mapPulse 2s ease-out infinite}
.map-ring2{animation-delay:1s}
@keyframes mapPulse{from{transform:scale(.4);opacity:.7}to{transform:scale(2.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.map-ring{animation:none}}
.result-widget{position:relative;min-width:0}
#widget-slot{min-height:0}
/* until the widget reports its own height (shop.js) its place keeps the
   usual one: before the frame exists, and instead of the embed script's
   first 640px once it does */
#widget-slot.is-loading{min-height:283px}
#widget-slot.is-loading iframe{height:283px !important}
#widget-slot>div{display:block}
/* over the frame while it loads, so it never adds to the block's height */
.widget-wait{position:absolute;top:0;left:0;right:0;font-size:14px;color:var(--muted);padding:10px 0}
.widget-wait[hidden],.widget-off[hidden]{display:none}
.widget-off{font-size:15px;color:var(--ink-2);padding:14px 18px;border:1px solid var(--line);border-radius:12px;background:#fff}
/* as high as the widget's buy button on one line, 40px (owner 2026-10-25) */
.result-change{display:flex;min-height:40px;margin:14px auto 20px;width:max-content}

/* sections -------------------------------------------------------------- */
.what,.method,.price,.faq{padding:80px 0}
/* "What you get" and "Methodology" share one background: one gap between
   them, not two section paddings (owner 2026-10-25) */
.what{padding-bottom:64px}
.what+.method{padding-top:0}
/* beside the big price circle the title leaves the price to it; without
   the circle the price goes back in the title (owner 2026-10-25) */
.title-narrow{display:none}
.what{background:var(--paper)}
.pillars{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:34px}
.pillar{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 26px 24px;box-shadow:0 1px 2px rgba(10,30,20,.04)}
.pillar-ic{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;margin-bottom:16px}
.pillar-ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pillar-ic svg path[fill]:not([fill="none"]),.pillar-ic svg circle{fill:currentColor;stroke:none}
.pillar-ic svg.ic-fill{fill:currentColor;stroke:none}
/* the widget's colours (CLARAapiPay .cx-ic-*, owner 2026-10-26): noise
   light purple, temperature warm orange, air blue, wind green */
.pillar-noise .pillar-ic{background:#efe9fb;color:#7a55c4}
.pillar-thermal .pillar-ic{background:#fde8dd;color:#d56713}
.pillar-air .pillar-ic{background:#dfeaf7;color:#2f6fae}
.pillar-wind .pillar-ic{background:#e0f0e6;color:#2b8842}
.pillar h3{font-size:20px;margin-bottom:8px}
.pillar p{color:var(--ink-2);font-size:15px;line-height:1.6}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px 28px;margin-top:34px}
.facts li{display:flex;gap:10px;font-size:15px;line-height:1.5;color:var(--ink-2)}
.facts svg{width:18px;height:18px;flex:none;margin-top:3px;stroke:var(--accent);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}


.method{background:var(--paper)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:34px}
.step-num{display:block;font-family:'Bricolage Grotesque',sans-serif;font-size:13px;font-weight:700;letter-spacing:.12em;color:var(--accent-ink);margin-bottom:8px}
.step h3{font-size:19px;margin-bottom:8px}
.step p{color:var(--ink-2);font-size:15px;line-height:1.6}

.price{background:#fff;border-top:1px solid var(--line)}
.price-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:center;background:var(--paper);border:1px solid var(--line);border-radius:24px;padding:40px 44px}
.price-card .facts{grid-template-columns:1fr;margin:22px 0 30px}
.price-tag{display:grid;place-items:center;width:220px;height:220px;border-radius:50%;background:linear-gradient(160deg,#f0f7f2,#ddede4);border:1px solid var(--line)}
.price-amount{font-family:'Bricolage Grotesque',sans-serif;font-size:56px;font-weight:800;letter-spacing:-.03em;color:var(--accent-ink);white-space:nowrap}

.faq{background:var(--paper)}
.faq-list{margin-top:28px;max-width:760px}
.faq-item{border-top:1px solid var(--line)}
.faq-item:last-child{border-bottom:1px solid var(--line)}
.faq-item summary{cursor:pointer;padding:18px 36px 18px 0;font-weight:700;font-size:17px;list-style:none;position:relative}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";position:absolute;right:4px;top:14px;font-size:24px;font-weight:300;color:var(--accent);transition:transform .2s ease}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{padding:0 0 20px;color:var(--ink-2);font-size:15.5px;line-height:1.65;max-width:68ch}

/* footer ---------------------------------------------------------------- */
.foot{background:var(--noir);color:var(--slate);font-family:'Space Grotesk',sans-serif;padding:48px 0 34px;border-top:1px solid var(--noir-line);font-size:14px}
.foot-row{display:flex;justify-content:space-between;align-items:flex-start;gap:32px;flex-wrap:wrap}
.foot-brand img{height:20px;width:auto;margin-bottom:8px}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 22px}
.foot a{color:var(--slate);text-decoration:underline;text-underline-offset:4px}
.foot a:hover{color:#fff}
.foot-seller{margin-top:28px;font-size:12.5px}
.foot-bottom{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:22px;padding-top:22px;border-top:1px solid var(--noir-line);font-size:13px}
.foot-langs a{text-decoration:none}
.foot-langs b{color:#fff}
.foot-langs .dot{margin:0 8px;color:#475569}

/* phones and narrow tablets --------------------------------------------- */
@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr;gap:34px}
  .hero-shot{justify-self:center;max-width:280px}
  .hero h1{font-size:34px}
  .pillars{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:22px}
  .price-card{grid-template-columns:1fr;padding:28px 24px;gap:24px}
  .price-tag{display:none}
  .title-wide{display:none}
  .title-narrow{display:inline}
  .result-head{padding:12px 16px 10px}
  .result-head .eyebrow{font-size:11px;letter-spacing:.1em;text-wrap:balance}
  .result-body{grid-template-columns:1fr;padding:14px 12px 2px;gap:14px}
  .result-map{aspect-ratio:4/3;min-height:0;align-self:auto}
  #widget-slot.is-loading{min-height:299px}
  #widget-slot.is-loading iframe{height:299px !important}
  .price-result{margin:0 -8px}
  .price-search{max-width:none}
  section h2{font-size:27px}
  .what,.method,.price,.faq{padding:56px 0}
}
@media (max-width:640px){
  .menu{display:none}
  .top-row{gap:16px}
  .langs{margin-left:auto}
  .hero{padding:44px 0 40px}
  .hero h1{font-size:30px}
  .lead{font-size:16.5px}
  .search-input{font-size:16px;min-height:54px}
  .trust{gap:6px 16px;font-size:13px}
  /* the widget needs about 270px: narrower, its button is cut at 360px */
  .price-result{margin:0 -16px}
  .result-body{padding:12px 8px 2px}
  }
