/* KigoLocal's shared visual finish: warm surfaces, forest accents, clear hierarchy. */
:root {
  --bg:#f8f7f2; --ink:#172b2a; --muted:#62716c; --line:#dde3da;
  --btn-bg:#173e35; --btn-ink:#fff; --focus:#246b55;
  --surface-shadow:0 3px 6px #173e3503,0 14px 34px #173e3506;
}
body { background:var(--bg); color:var(--ink); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; -webkit-font-smoothing:antialiased; }
.logo,h1,h2,h3,.department-card b,.ctitle { font-family:"Bricolage Grotesque",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
button,input,select,textarea { font:inherit; }
:is(button,a,input,select,textarea):focus-visible { outline:3px solid var(--focus); outline-offset:4px; }
:is(h1,h2,h3) { text-wrap:balance; }
.demo-banner { background:#173e35; }
header { border-bottom:1px solid var(--line); padding-block:22px; }
header .logo { color:#173e35; }
header .actions .ghost { color:#42574d; border-radius:12px; }
header .actions .ghost:hover { background:#e9eee5; }
.desktop-nav { color:#42574d; }
.desktop-nav a:after { background:#173e35; border-radius:3px; }
.btn { border-radius:12px; min-height:46px; letter-spacing:-.01em; }
.btn.primary { background:#173e35; border-color:#173e35; color:white; }
.btn.primary:hover { background:#265345; }
.btn.yellow { background:#ffcc49; border-color:#ffcc49; color:#172b2a; box-shadow:0 3px 0 #b68b1d20; }
.btn.ghost { background:#fff; border-color:var(--line); }
.hero { background:#eaf0e7; border:1px solid #dce4d8; border-radius:28px; box-shadow:var(--surface-shadow); }
.hero-copy { padding:clamp(28px,4vw,64px); align-self:center; }
.hero .intro { color:#173e35; letter-spacing:-.055em; }
.hero .sub { color:#52675b; font-size:clamp(14px,1.1vw,17px); line-height:1.75; }
.hero .eyebrow { color:#4c6656; line-height:1.6; }
.hero-image { min-height:480px; }
.hero-link { color:#173e35; min-height:44px; }
.photo-sticker { border-radius:10px; box-shadow:0 8px 30px #102c3420; }
.benefits { padding-block:26px; color:#52675b; line-height:1.5; }
.founding-banner,.sell-banner,.kigo-concierge { border-radius:24px; }
.trust-strip { gap:24px; line-height:1.6; }
.department-card { border:1px solid var(--line); border-radius:22px; padding:24px; box-shadow:var(--surface-shadow); transition:background .18s,border-color .18s,transform .18s; }
.department-card[aria-pressed=true] { background:#eaf0e5; border-color:#73907a; box-shadow:inset 0 0 0 1px #73907a; }
.department-card:hover { border-color:#73907a; }
.department-icon { border-radius:15px; background:#eef2eb; color:#345d47; }
.department-card[aria-pressed=true] .department-icon { background:#ffcc49; color:#173e35; }
.department-card b { letter-spacing:-.025em; }
.department-card small { color:#62716c; line-height:1.5; }
.search { border-radius:16px; box-shadow:var(--surface-shadow); margin-bottom:14px; }
.search:focus-within { border-color:#246b55; }
.search input { min-height:56px; font-size:16px; }
.local-discovery { background:white; border-color:var(--line); border-radius:22px; padding:24px; box-shadow:var(--surface-shadow); }
.local-discovery :is(input,select) { border-radius:12px; background:#f8faf6; min-height:46px; }
.local-discovery .note { color:#62716c; font-size:12px; }
.section-heading h2 { color:#173e35; letter-spacing:-.035em; }
.chip { min-height:44px; border-radius:30px; background:#fff; font-size:13px; }
.chip[aria-pressed=true] { background:#173e35; border-color:#173e35; color:white; }
.card { border-color:var(--line); border-radius:20px; box-shadow:var(--surface-shadow); }
.cbody { padding:18px; }
.ctitle { font-size:16px; letter-spacing:-.015em; }
.cmeta { font-size:12px; color:#62716c; }
.empty { margin-block:20px; padding:40px 24px; background:#edf1e8; border:1px solid var(--line); border-radius:24px; }
.empty h3 { color:#173e35; letter-spacing:-.03em; }
.empty p { max-width:50ch; margin:14px auto 24px; line-height:1.7; color:#62716c; }
dialog.menu-panel { border-color:#d5dfd4; box-shadow:0 32px 100px #102c3440; }
.menu-panel .panel-heading { background:radial-gradient(ellipse at top right,#3a675440,transparent 70%),linear-gradient(130deg,#173e35,#102c34); border-bottom:1px solid #ffffff16; }
.menu-panel :is(.ocard,.saved-search-card,.help-bottom,.support-form,.preference-box) { box-shadow:var(--surface-shadow); }
.menu-panel :is(input,select,textarea) { line-height:1.5; }
.menu-panel .panel-heading h2 { letter-spacing:-.04em; }
.fab { background:#173e35; box-shadow:0 8px 28px #173e3528; border:1px solid #ffffff24; }
.mobile-nav { background:#fffffff5; box-shadow:0 -4px 28px #173e3508; border-top:1px solid var(--line); }
footer { color:#52675b; }
@media(min-width:1101px) {
  body:not(.native-app) .wrap { padding-inline:clamp(28px,3vw,64px); }
  .hero { grid-template-columns:1fr 1fr; }
  .hero .intro { font-size:clamp(54px,4.6vw,84px); }
}
@media(max-width:760px) {
  .department-card { padding:16px 10px; border-radius:18px; }
  .department-card small { font-size:12px; }
  .local-discovery { padding:18px; }
  .hero-image { min-height:360px; }
}
@media(max-width:600px) {
  header { padding-block:15px; }
  .hero { border-radius:24px; }
  .hero-copy { padding:28px 24px; }
  .hero .intro { font-size:46px; }
  .hero-image { min-height:230px; max-height:230px; }
  .benefits { font-size:11px; }
  .cbody { padding:13px; }
  .ctitle { font-size:14px; }
  .cmeta { font-size:11px; }
  .section-heading h2 { font-size:27px; }
  .menu-panel .panel-heading :is(p.sub,p.note,p.panel-subtitle,p:last-child:not(.eyebrow)) { font-size:14px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .department-card,.card,.btn { transition:none; }
  .card:hover { transform:none; }
}

/* A quieter header keeps the core tasks visible; secondary tools share one menu. */
.site-header { background:#fffefa; padding-block:18px; }
.site-header .bar { display:flex; flex-wrap:nowrap; gap:24px; }
.site-header .logo { font-size:30px; }
.site-header .desktop-nav { display:flex; flex:1; min-width:0; gap:24px; order:initial; flex-basis:auto; margin:0; border:0; padding:0; }
.site-header .desktop-nav a:after { display:none; }
.browse-link { white-space:nowrap; padding-block:12px; }
.header-search { display:flex; align-items:center; gap:10px; background:#f2f4ee; color:#68766c; border:1px solid #e4e8df; border-radius:50px; padding:12px 16px; min-width:0; max-width:360px; flex:1; font-size:13px; font-weight:400; }
.header-search svg { width:18px; height:18px; flex:none; }
.header-search>span:first-of-type { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.header-search .search-key { margin-left:auto; color:#49604f; }
.site-header .actions { flex:none; flex-wrap:nowrap; gap:10px; margin:0; }
.header-inbox { position:relative; }
.header-inbox svg { height:20px; width:20px; }
.site-menu { position:relative; flex:none; }
.site-menu>summary { display:flex; align-items:center; gap:8px; min-height:46px; padding:10px 14px; border:1px solid #dce3d9; border-radius:13px; color:#173e35; font-size:14px; font-weight:600; cursor:pointer; list-style:none; }
.site-menu>summary::-webkit-details-marker,.search-refinements>summary::-webkit-details-marker { display:none; }
.site-menu>summary svg { height:20px; width:20px; }
.site-menu[open]>summary { background:#e9efe4; border-color:#b9cbb8; }
.site-menu:not([open]) .site-menu-panel { display:none; }
.site-menu-panel { position:absolute; z-index:30; top:calc(100% + 12px); right:0; width:min(370px,calc(100vw - 32px)); max-height:calc(100dvh - 180px); overflow:auto; background:#fffefa; border:1px solid #dfe5da; border-radius:22px; padding:14px; box-shadow:0 20px 60px #193e3524; }
.menu-caption { color:#586c5b; font-size:10px; font-weight:700; letter-spacing:.15em; margin:8px 12px 14px; }
.site-header .site-menu .menu-action { position:relative; display:flex!important; align-items:center; gap:13px; width:100%; min-height:70px; background:none; border:0; border-radius:13px; padding:12px; text-align:left; color:#173e35; cursor:pointer; }
.site-menu .menu-action:hover { background:#f0f4eb; }
.menu-action-icon { display:grid; place-items:center; width:38px; height:38px; border-radius:12px; background:#edf2e8; flex:none; }
.menu-action-icon svg { width:21px; height:21px; }
.menu-action-copy { display:flex; flex-direction:column; flex:1; min-width:0; gap:4px; }
.menu-action-copy b { font-size:14px; font-weight:600; }
.menu-action-copy small { color:#5f705e; font-size:12px; line-height:1.45; }
.menu-action>svg { width:12px; height:12px; flex:none; color:#8c9a8c; }
.site-menu .badge { top:8px; right:27px; }
.menu-bottom { display:flex; flex-wrap:wrap; gap:12px; border-top:1px solid #e3e8df; padding:12px 10px 2px; margin-top:8px; }
.menu-bottom button { font-size:12px; font-weight:600; min-height:40px; border:0; background:none; color:#4e6555; cursor:pointer; padding:6px 0; }

/* Put the marketplace first, with an editorial introduction and calmer controls. */
.hero { margin-top:28px; background:#eef2e8; border-radius:30px; grid-template-columns:1.04fr 1fr; }
.hero-copy { padding:clamp(28px,3.4vw,60px); }
.hero .intro { font-size:clamp(46px,4.5vw,78px); line-height:1.04; letter-spacing:-.055em; }
.hero .intro>span { display:inline-block; }
.hero .intro>span:after { height:7px; bottom:5px; opacity:.8; }
.hero .eyebrow { margin-bottom:24px; font-size:10px; letter-spacing:.15em; }
.hero .sub { max-width:38ch; margin-block:24px 28px; font-size:16px; line-height:1.7; }
.hero .hero-actions { gap:22px; }
.hero-actions .btn { font-size:14px; min-height:50px; padding-inline:22px; }
.hero-link { display:inline-flex; align-items:center; gap:12px; font-size:13px; border-bottom:0; }
.hero-image { min-height:430px; }
.hero-foot { gap:9px; color:#667963; font-size:11px; margin-top:30px; flex-wrap:wrap; }
.hero-foot .location-dot { width:6px; height:6px; border-radius:50%; background:#6a8963; flex:none; }
.hero-foot .hero-foot-divider { font-size:12px; margin-inline:4px; color:#b2bfaa; }
.benefits { justify-content:space-around; gap:24px; font-size:12px; padding-block:23px; }
.benefits i { color:#47704e; }
.local-welcome { padding-block:24px 0; }
.local-shortcuts button { border-radius:50px; min-height:40px; padding-inline:15px; background:#fffefa; color:#425c49; font-size:12px; }
#marketplace { padding-top:28px; }
.departments { gap:16px; margin-bottom:30px; }
.department-card { min-height:110px; padding:24px; }
.department-card b { font-size:21px; }
.department-card small { font-size:12px; margin-top:6px; }
.department-arrow { margin-left:auto; color:#657f64; }
.section-heading { margin-bottom:24px; justify-content:space-between; }
.section-heading h2 { font-size:34px; }
.section-heading .note { margin:9px 0 0; font-size:14px; line-height:1.6; }
.market-mode { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:10px; }
.market-mode .btn { border-radius:50px; font-size:12px; min-height:38px; padding:9px 15px; }
#market-note { color:#63745f; font-size:12px; line-height:1.6; margin-block:10px 18px; }
.search { margin-bottom:12px; border-radius:17px; }
.search input { min-height:60px; }
.search-refinements { margin:0 0 22px; background:#fffefa; border:1px solid #dfe5db; border-radius:17px; }
.search-refinements>summary { display:flex; gap:10px; align-items:center; min-height:58px; padding:16px 20px; cursor:pointer; list-style:none; font-size:13px; color:#38533d; }
.search-refinements>summary>svg { width:20px; height:20px; flex:none; }
.search-refinements>summary>span:not(.refine-chevron) { color:#657660; font-size:12px; }
.refine-chevron { margin-left:auto; font-size:19px; }
.search-refinements[open] .refine-chevron { transform:rotate(180deg); }
.search-refinements .local-discovery { margin:0; padding:20px; border:0; border-top:1px solid #e7ece2; border-radius:0 0 17px 17px; box-shadow:none; background:transparent; }
.search-refinements:has(.error:not(:empty))>summary { color:#9c3e2c; }
.chips { flex-wrap:wrap; padding-bottom:18px; }
.chip { min-height:40px; font-size:12px; }
.ctrl { border-color:#e2e7dd; }
.ctrl select { padding:9px 12px; background:#eef2e8; min-height:40px; }
.results-line { margin-block:22px; }
.count,.free-toggle { font-size:12px; }
.empty { background:#edf2e6; border:0; padding:42px 28px; }
.empty-icon { font-size:38px; }
.empty h3 { font-size:27px; }
.empty-examples { margin:28px 0 0; border:0; border-top:1px solid #d6e0d0; border-radius:0; background:none; padding:24px 0 0; }
.empty .empty-examples h3 { font:600 10px/1.5 -apple-system,sans-serif; letter-spacing:.14em; color:#5d7357; margin:0 0 16px; }
.example-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.example-grid>div { display:flex; align-items:center; gap:14px; background:#ffffff8c; border:1px solid #ffffff; border-radius:16px; padding:18px; text-align:left; }
.example-grid>div>span { font-size:30px; margin:0; }
.example-grid b { font-size:13px; line-height:1.5; }
.install-strip { margin:24px 0 40px; box-shadow:none; background:#fffefa; border-radius:20px; }
.trust-strip { margin:36px 0; padding:28px 0; border-block:1px solid #dfe5da; }
.trust-strip>div { padding-left:20px; border-left:2px solid #b4c8a7; }
.trust-strip b { font-size:14px; color:#244a35; }
.trust-strip span { font-size:13px; line-height:1.65; }
.kigo-concierge { background:#ede9dd; border-color:#e2dfd0; margin-bottom:32px; padding:32px; }
.kigo-concierge h2 { color:#173e35; font-size:30px; letter-spacing:-.035em; }
.concierge-prompt { background:#fffdf6; border-color:#dbdece; border-radius:14px; padding:16px 18px; }
.founding-banner { margin-block:32px; padding:40px; box-shadow:0 14px 40px #153f3510; }
.founding-banner h2 { font-size:clamp(30px,3vw,44px); letter-spacing:-.04em; }
.sell-banner { background:#eeeadd; margin-block:32px; }
.local-sellers { padding-block:24px 38px; }
.site-footer { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; align-items:start; padding:42px 0 100px; }
.site-footer>div { display:flex; flex-direction:column; gap:13px; min-width:0; }
.site-footer .logo { font-size:29px; align-self:flex-start; }
.site-footer .footer-brand p { font-size:18px; line-height:1.5; letter-spacing:-.02em; color:#4d6752; margin:8px 0 0; }
.footer-brand>span { font-size:11px; color:#63745f; line-height:1.5; }
.footer-column>b { font-size:12px; color:#31513b; margin-bottom:6px; }
.site-footer .footer-column a,.site-footer .footer-column button { display:block; text-align:left; font-size:12px; color:#5e705c; min-height:26px; line-height:1.6; padding:0; background:none; border:0; }
.site-footer a:hover,.site-footer button:hover { color:#173e35; text-decoration:underline; text-underline-offset:4px; }
.site-footer .footer-base { grid-column:1/-1; flex-direction:row; flex-wrap:wrap; justify-content:space-between; padding-top:24px; border-top:1px solid #e1e6db; font-size:11px; color:#63745f; }
@media(max-width:1180px) { .site-header .browse-link { display:none; } .site-header .bar { gap:18px; } .site-header .header-search { max-width:300px; } }
@media(max-width:900px) { .site-header .desktop-nav { display:none; } .site-header .actions { margin-left:auto; } .hero .intro { font-size:48px; } .hero .sub { font-size:14px; } .site-footer { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
  .departments { gap:10px; }
  .department-card { padding:16px 10px; min-height:0; }
  .department-card b { font-size:17px; }
  .department-card small { font-size:11px; }
  .department-arrow { display:none; }
  .example-grid>div { flex-direction:column; align-items:flex-start; gap:10px; padding:14px; }
  .search-refinements>summary>span:not(.refine-chevron) { display:none; }
}
@media(max-width:700px) {
  .site-header .logo { font-size:27px!important; }
  .site-header .bar { gap:10px; }
  .site-menu>summary { min-height:44px; padding:10px 12px; font-size:13px; }
  .site-header .actions .header-inbox { display:none; }
  .site-menu-panel { max-height:calc(100dvh - 210px); }
  .site-header .site-menu :is(#btn-account,#btn-saved,#btn-activity) { display:flex!important; }
  .section-heading h2 { font-size:28px; }
  .founding-banner,.kigo-concierge { padding:26px; }
  .site-footer { gap:28px 20px; padding-bottom:120px; }
  .footer-brand { grid-column:1/-1; }
}
@media(max-width:600px) {
  .hero { grid-template-columns:1fr; margin-top:20px; border-radius:24px; }
  .hero-copy { padding:28px 24px; }
  .hero .intro { font-size:clamp(38px,9.5vw,52px); }
  .hero .eyebrow { font-size:9px; margin-bottom:18px; }
  .hero .sub { margin-block:18px 22px; }
  .hero .hero-actions { gap:18px; }
  .hero-actions .btn { font-size:12px; padding-inline:16px; min-height:46px; }
  .hero-link { font-size:12px; }
  .hero-image { min-height:215px; max-height:215px; }
  .hero-foot { display:none; }
  .benefits { font-size:10px; gap:10px; padding-block:18px; }
  .local-welcome { padding-top:18px; }
  .local-shortcuts { gap:7px; }
  .local-shortcuts button { font-size:11px; padding-inline:12px; }
  .local-pill { font-size:9px; }
  #marketplace { padding-top:22px; }
  .departments { margin-bottom:25px; }
  .chips { margin-right:0; padding-right:0; gap:7px; }
  .chip { font-size:11px; padding:9px 12px; }
  .search-refinements>summary { padding:14px 16px; }
  .search-refinements .local-discovery { padding:16px; }
  .empty { padding:30px 20px; }
  .empty h3 { font-size:24px; }
  .empty .btn { margin:4px; }
  .example-grid { grid-template-columns:1fr; }
  .example-grid>div { flex-direction:row; align-items:center; padding:12px 15px; }
  .example-grid>div>span { font-size:25px; }
  .trust-strip { gap:20px; }
  .kigo-concierge h2 { font-size:27px; }
  .site-footer .footer-base { gap:14px; }
}
@media(display-mode:standalone) { .hero { grid-template-columns:1fr; } .hero .intro { font-size:36px; } }

.site-menu>summary:focus-visible,.search-refinements>summary:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
