/* Shared stylesheet of the 99apps marketing sites (scripts/site/README.md).
   Layout and rhythm copied from fishidentifier.app; colors come from the
   :root tokens each page sets from its site.json "theme". */
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.7;font-size:1.0625rem;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1060px;margin:0 auto;padding:0 1.25rem}
h1,h2,h3,h4{line-height:1.15;letter-spacing:-.02em;font-weight:700}
h1{font-size:clamp(2.1rem,5.2vw,3.3rem)}
h2{font-size:clamp(1.55rem,3.4vw,2.15rem);margin-bottom:.75rem}
h3{font-size:1.17rem;margin-bottom:.4rem}
p{margin-bottom:1rem}
section{padding:4.25rem 0}
section.tint{background:var(--tint)}
.kicker{display:block;font-size:.85rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:.6rem}
.lede{font-size:1.2rem;color:var(--muted);max-width:46em}
.center{text-align:center}
.center .lede{margin-inline:auto}
[hidden]{display:none!important}
[id]{scroll-margin-top:84px}
.skip{position:absolute;left:-9999px;top:0}
.skip:focus{left:1rem;top:1rem;z-index:100;background:#fff;padding:.5rem 1rem;border-radius:8px}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px}

/* header */
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.86);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--border)}
.nav{display:flex;align-items:center;gap:1.4rem;height:64px}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:700;color:var(--ink);font-size:1.05rem}
.brand:hover{text-decoration:none}
.brand img{width:32px;height:32px;border-radius:8px}
.nav-links{display:flex;gap:1.3rem;margin-left:auto;font-size:.95rem;font-weight:500}
.nav-links a{color:var(--muted)}
.nav-links a:hover{color:var(--ink);text-decoration:none}
.nav .btn{margin-left:.2rem}
@media(max-width:760px){.nav-links{display:none}.nav .btn{margin-left:auto}}

/* language switcher (same behaviour as zeepit.me) */
.lang{position:relative}
.lang-btn{display:inline-flex;align-items:center;gap:.35rem;height:40px;padding:0 .75rem;border:1px solid var(--border);border-radius:999px;background:#fff;color:var(--muted);font:inherit;font-size:.85rem;font-weight:600;line-height:1;cursor:pointer;transition:border-color .15s,color .15s}
.lang-btn:hover,.lang-btn[aria-expanded="true"]{border-color:var(--border-hover);color:var(--ink)}
.lang-btn svg{flex-shrink:0}
.lang-btn .chev{transition:transform .2s ease}
.lang-btn[aria-expanded="true"] .chev{transform:rotate(180deg)}
.lang-menu{position:absolute;top:calc(100% + 8px);right:0;min-width:200px;padding:.35rem;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 14px 34px rgba(var(--ink-rgb),.14);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:60}
.lang-menu.open{opacity:1;visibility:visible;transform:none}
.lang-menu a{display:flex;align-items:center;gap:.65rem;padding:.6rem .75rem;border-radius:10px;color:var(--ink);font-size:.95rem;font-weight:500;line-height:1.3}
.lang-menu a:hover{background:var(--tint);text-decoration:none}
.lang-menu a[aria-current]{background:var(--tint-deep);color:var(--accent-ink);font-weight:600}
.lang-menu .flag{font-size:1.15rem;line-height:1}
.nav .lang + .btn{margin-left:0}
.brand{white-space:nowrap}
/* On a phone the menu spans from the right edge of the header, not from the button. */
@media(max-width:760px){.nav{position:relative}.nav .lang{margin-left:auto;position:static}.lang-menu{right:1.25rem;top:calc(100% - 4px)}}
@media(max-width:480px){.nav:has(.lang){gap:.6rem}.lang-btn{padding:0 .55rem}.lang-btn > svg:first-child{display:none}.nav .lang ~ .btn{padding:.6rem 1rem;white-space:nowrap}.nav .lang ~ .btn > svg{display:none}}
@media(max-width:350px){.nav:has(.lang) .brand{font-size:0;gap:0}}

/* buttons */
.btn{display:inline-flex;align-items:center;gap:.55rem;font-weight:600;border-radius:999px;padding:.72rem 1.35rem;font-size:1rem;transition:background .15s,transform .15s;white-space:nowrap;border:0;cursor:pointer;font-family:inherit;line-height:1.7}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--ink);color:#fff}
.btn-primary:hover{background:var(--ink-hover)}
.btn-soft{background:var(--tint-deep);color:var(--accent-ink)}
.btn-soft:hover{background:var(--border)}
.btn svg{flex:none}
.small-note{font-size:.85rem;color:var(--faint)}

/* hero */
.hero{padding:4.5rem 0 4rem;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:2.6rem;align-items:center}
.hero-copy .lede{margin:1.1rem 0 1.6rem}
.hero-ctas{display:flex;align-items:center;gap:.8rem 1rem;flex-wrap:wrap;margin-bottom:.9rem}
.hero-shots{display:grid;grid-template-columns:1fr 1fr;gap:1.15rem;align-items:start}
.hero-shots .shot:last-child{margin-top:2.4rem}
.shot{margin:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.shot-btn{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;border-radius:26px;transition:transform .18s ease}
.shot-btn:hover{transform:translateY(-3px)}
.shot img{width:100%;height:auto;filter:drop-shadow(0 20px 30px rgba(var(--ink-rgb),.24))}
@media(max-width:860px){
  .hero{padding:3rem 0}
  .hero-grid{grid-template-columns:1fr;gap:2.5rem}
  .hero-shots{max-width:460px;margin-inline:auto}
}

/* cards */
.grid{display:grid;gap:1.1rem;margin-top:2rem}
.grid.cols-3{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.grid.cols-2{grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:1.5rem}
.card h3{margin-top:.85rem}
.card p{margin-bottom:0;color:var(--muted);font-size:.98rem}
.icon{width:44px;height:44px;border-radius:12px;background:var(--tint-deep);color:var(--accent-ink);display:flex;align-items:center;justify-content:center;flex:none}
section.tint .card{box-shadow:0 1px 2px rgba(var(--ink-rgb),.04)}
a.card{color:inherit;display:block;transition:border-color .15s,box-shadow .15s}
a.card:hover{text-decoration:none;border-color:var(--border-hover);box-shadow:0 10px 30px -18px rgba(var(--ink-rgb),.25)}
a.card .more{color:var(--accent);font-weight:600;font-size:.95rem;margin-top:.7rem;display:inline-block}

/* steps */
.steps{counter-reset:step;display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));margin-top:2rem}
.step{background:#fff;border:1px solid var(--border);border-radius:20px;padding:1.5rem;counter-increment:step}
.step::before{content:counter(step);display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--ink);color:#fff;font-weight:700;font-size:1rem;margin-bottom:.9rem}
.step h3{margin:0 0 .35rem}
.step p{margin:0;color:var(--muted);font-size:.98rem}

/* screenshots strip */
.shots-row{display:flex;justify-content:center;align-items:flex-start;gap:1.1rem;margin-top:2.2rem}
.prose .shots-row{margin:2rem 0 2.4rem}
.shots-row .shot{flex:1 1 0;min-width:0;max-width:250px}
@media(max-width:900px){.shots-row .shot:nth-child(n+4){display:none}}
@media(max-width:560px){.shots-row .shot:nth-child(n+3){display:none}}

/* screenshot zoom lightbox */
.shot-zoom{border:0;padding:0;margin:auto;background:transparent;max-width:min(460px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);overflow:visible}
.shot-zoom::backdrop{background:rgba(9,14,22,.78);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.shot-zoom-inner{position:relative;display:flex;flex-direction:column;align-items:center;gap:.85rem}
.shot-zoom img{max-height:calc(100vh - 7rem);width:auto;max-width:100%;height:auto;cursor:zoom-out;filter:drop-shadow(0 28px 54px rgba(0,0,0,.55))}
.shot-zoom-caption{margin:0;color:rgba(255,255,255,.9);font-size:.9rem;line-height:1.45;text-align:center;max-width:42ch}
.shot-zoom-close{position:fixed;top:1.1rem;right:1.1rem;width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.16);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.shot-zoom-close:hover{background:rgba(255,255,255,.28)}

/* tables */
.table-scroll{overflow-x:auto;margin:1.6rem 0;border:1px solid var(--border);border-radius:16px;background:#fff}
table{border-collapse:collapse;width:100%;font-size:.95rem;min-width:640px}
caption{text-align:left;font-weight:700;padding:1rem 1.1rem .35rem;font-size:1.02rem}
th,td{text-align:left;padding:.7rem 1.1rem;border-top:1px solid var(--border);vertical-align:top}
thead th{border-top:0;background:var(--tint);font-size:.85rem;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
td strong{color:var(--ink)}

/* prose */
.prose{max-width:46em}
.prose h2{margin-top:2.6rem}
.prose h2:first-child{margin-top:0}
.prose h3{margin-top:1.8rem}
.prose ul,.prose ol{margin:0 0 1rem 1.3rem}
.prose li{margin-bottom:.45rem}
.prose li::marker{color:var(--accent)}
.prose dt{font-weight:600;color:var(--ink);margin-top:.9rem}
.prose dd{margin:0 0 .4rem}
.prose code{font-size:.88em;overflow-wrap:anywhere}

/* key facts */
.facts{background:var(--tint);border:1px solid var(--border);border-radius:20px;padding:1.4rem 1.6rem;margin:1.8rem 0}
section.tint .facts{background:#fff}
.facts h2,.facts h3{font-size:1.05rem;margin-bottom:.6rem}
.facts ul{list-style:none;margin:0}
.facts li{padding:.32rem 0 .32rem 1.5rem;position:relative;font-size:.99rem}
.facts li::before{content:"";position:absolute;left:0;top:.72em;width:.95em;height:.5em;border-left:2.5px solid var(--accent);border-bottom:2.5px solid var(--accent);transform:rotate(-45deg)}

/* item cards: one per option, method or setting */
.item-grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(min(310px,100%),1fr));margin-top:2rem}
.item-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:1.5rem;display:flex;flex-direction:column;min-width:0}
.item-card .ic-head{display:flex;align-items:flex-start;gap:.9rem;margin-bottom:.8rem}
.item-card .ic-head .icon{width:40px;height:40px;border-radius:50%}
.item-card h3{margin:0;font-size:1.08rem;line-height:1.25}
.item-card .sub{display:block;font-size:.85rem;color:var(--faint);margin-top:.15rem}
.item-card p{color:var(--muted);font-size:.97rem;margin-bottom:1.1rem}
.tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:auto}
.tag{font-size:.82rem;font-weight:600;background:var(--tint-deep);color:var(--accent-ink);border-radius:999px;padding:.32rem .72rem}
.tag.neutral{background:var(--tint);color:var(--muted)}
section.tint .item-card,section.tint .row-item{box-shadow:0 1px 2px rgba(var(--ink-rgb),.04)}

/* compact rows */
.rows{display:grid;gap:.7rem;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));margin-top:2rem}
.row-item{display:flex;gap:.85rem;background:#fff;border:1px solid var(--border);border-radius:14px;padding:.95rem 1.15rem;min-width:0}
.row-item .dot{flex:none;width:13px;height:13px;border-radius:50%;margin-top:.42rem;background:var(--accent);opacity:.75}
.row-item .rt{min-width:0}
.row-item strong{display:block;font-size:.98rem;line-height:1.35}
.row-item em{font-style:normal;color:var(--faint);font-weight:400}
.row-item span{display:block;font-size:.92rem;color:var(--muted);line-height:1.5}

/* callout */
.callout{display:flex;gap:1.05rem;background:var(--tint-deep);border:1px solid var(--callout-border);border-radius:20px;padding:1.4rem 1.55rem;margin:1.9rem 0}
.callout .ico{flex:none;color:var(--accent-ink);margin-top:.1rem}
.callout h3{font-size:1.03rem;margin:0 0 .4rem}
.callout p{color:var(--muted);font-size:.97rem;margin-bottom:.6rem}
.callout p:last-child{margin-bottom:0}
@media(max-width:520px){.callout{flex-direction:column;gap:.7rem;padding:1.25rem}}

/* versus: two options side by side, stacked under 640px */
.versus{background:#fff;border:1px solid var(--border);border-radius:20px;overflow:hidden;margin:1.5rem 0}
.versus>h3{margin:0;padding:1.05rem 1.5rem;border-bottom:1px solid var(--border);background:var(--tint);font-size:1.05rem}
.versus-cols{display:grid;grid-template-columns:1fr 1fr}
.versus-col{padding:1.4rem 1.5rem;min-width:0}
.versus-col+.versus-col{border-left:1px solid var(--border)}
.versus-col h4{font-size:1.02rem;letter-spacing:-.01em;line-height:1.25}
.versus-col .sub{display:block;font-size:.85rem;color:var(--faint);margin:.1rem 0 .85rem}
.versus-col ul{list-style:none;margin:0}
.versus-col li{position:relative;padding:.3rem 0 .3rem 1.15rem;font-size:.96rem;color:var(--muted)}
.versus-col li::before{content:"";position:absolute;left:0;top:.88em;width:6px;height:6px;border-radius:50%;background:var(--accent);opacity:.5}
.versus-col li strong{color:var(--ink)}
.versus-tell{margin:0;padding:1rem 1.5rem;border-top:1px solid var(--border);background:var(--tint);font-size:.94rem;color:var(--muted)}
.versus-tell strong{color:var(--ink)}
@media(max-width:640px){
  .versus-cols{grid-template-columns:1fr}
  .versus-col+.versus-col{border-left:0;border-top:1px solid var(--border)}
  .versus>h3,.versus-col,.versus-tell{padding-left:1.15rem;padding-right:1.15rem}
}

/* faq */
.faq{max-width:46em;margin:1.6rem auto 0}
.faq details{border-bottom:1px solid var(--border)}
.faq summary{cursor:pointer;font-weight:600;padding:1.05rem 2rem 1.05rem 0;list-style:none;position:relative;font-size:1.03rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:.2rem;top:50%;transform:translateY(-50%);font-size:1.4rem;font-weight:400;color:var(--accent)}
.faq details[open] summary::after{content:"\2212"}
.faq .a{padding:0 0 1.2rem;color:var(--muted);max-width:44em}
.faq .a p{margin-bottom:.6rem}

/* app promo */
.promo{background:linear-gradient(160deg,var(--promo-1) 0%,var(--promo-2) 55%,var(--promo-3) 130%);color:#fff;border-radius:28px;padding:3rem;display:grid;grid-template-columns:1fr auto;gap:2rem;align-items:center}
.promo h2{color:#fff}
.promo p{color:var(--promo-text);max-width:38em}
.promo .btn-primary{background:#fff;color:var(--ink)}
.promo .btn-primary:hover{background:var(--tint)}
.promo .hero-ctas{margin:1.4rem 0 0}
.promo img{width:96px;height:96px;border-radius:22px;box-shadow:0 18px 40px -18px rgba(0,0,0,.5)}
.promo .small-note{color:var(--promo-note);margin:.8rem 0 0}
@media(max-width:700px){.promo{grid-template-columns:1fr;padding:2.2rem}}
@media(max-width:420px){.promo{padding:1.8rem 1.25rem}.btn{white-space:normal}}

/* breadcrumbs */
.crumbs{font-size:.88rem;color:var(--faint);padding:1.2rem 1.25rem 0}
.crumbs a{color:var(--faint)}
.crumbs a:hover{color:var(--accent)}
.crumbs span{margin:0 .45rem}
.crumbs [aria-current]{margin:0;color:var(--muted)}

/* page hero */
.page-hero{padding:2.2rem 0 3rem}
.page-hero .lede{margin-top:1rem}
.page-hero.legal{padding-bottom:1rem}

/* footer */
footer{background:var(--tint);border-top:1px solid var(--border);padding:3.5rem 0 2.5rem;font-size:.95rem}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2.5rem}
.foot-grid h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.07em;color:var(--faint);margin-bottom:.8rem}
.foot-grid ul{list-style:none}
.foot-grid li{margin-bottom:.5rem}
.foot-grid a{color:var(--muted)}
.foot-grid a:hover{color:var(--ink)}
.foot-grid button.linkish{background:none;border:0;padding:0;font:inherit;color:var(--muted);cursor:pointer;text-align:left}
.foot-grid button.linkish:hover{color:var(--ink);text-decoration:underline}
.foot-brand{display:flex;align-items:center;gap:.6rem;font-weight:700;margin-bottom:.8rem;color:var(--ink)}
.foot-brand img{width:34px;height:34px;border-radius:9px}
.foot-note{color:var(--faint);font-size:.85rem;max-width:34em}
.foot-legal{border-top:1px solid var(--border);margin-top:2.5rem;padding-top:1.5rem;color:var(--faint);font-size:.84rem;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.foot-legal a{color:var(--faint);text-decoration:underline;text-underline-offset:2px}
.foot-legal a:hover{color:var(--ink)}
@media(max-width:760px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}

/* "notify me" window, shown while the app is not on the stores */
.notify{border:0;padding:0;margin:auto;width:min(440px,calc(100% - 2rem));border-radius:26px;background:#fff;color:var(--ink);box-shadow:0 30px 80px -20px rgba(var(--ink-rgb),.45)}
.notify::backdrop{background:rgba(var(--ink-rgb),.55);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.notify-inner{padding:2rem 1.75rem 1.6rem;position:relative}
.notify-close{position:absolute;top:.9rem;right:.9rem;width:36px;height:36px;border-radius:50%;border:0;background:var(--tint);color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center}
.notify-close:hover{background:var(--tint-deep);color:var(--ink)}
.notify-head{display:flex;align-items:center;gap:.9rem;margin-bottom:1rem}
.notify-head img{width:56px;height:56px;border-radius:14px;box-shadow:0 10px 24px -14px rgba(var(--ink-rgb),.5)}
.notify-badge{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-ink);background:var(--tint-deep);border-radius:999px;padding:.2rem .65rem}
.notify h2{font-size:1.45rem;margin:.35rem 0 0}
.notify p{color:var(--muted);font-size:.98rem;margin-bottom:1.1rem}
.notify form{display:grid;gap:.85rem}
.notify label.field{display:grid;gap:.35rem;font-size:.9rem;font-weight:600}
.notify input[type=email]{width:100%;font:inherit;font-size:1rem;padding:.75rem 1rem;border:1.5px solid var(--border-hover);border-radius:14px;color:var(--ink);background:#fff}
.notify input[type=email]:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--tint-deep)}
.notify fieldset{border:0;display:grid;gap:.35rem}
.notify legend{font-size:.9rem;font-weight:600;margin-bottom:.35rem}
.notify .choices{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}
.notify .choice{position:relative}
.notify .choice input{position:absolute;opacity:0;inset:0;cursor:pointer}
.notify .choice span{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.65rem .8rem;border:1.5px solid var(--border-hover);border-radius:14px;font-weight:600;font-size:.95rem;color:var(--muted)}
.notify .choice input:checked+span{border-color:var(--accent);color:var(--accent-ink);background:var(--tint-deep)}
.notify .choice input:focus-visible+span{outline:3px solid var(--accent);outline-offset:2px}
.notify .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.notify button[type=submit]{justify-content:center;width:100%;margin-top:.2rem}
.notify button[type=submit][disabled]{opacity:.6;cursor:progress;transform:none}
.notify .fine{font-size:.8rem;color:var(--faint);margin:0}
.notify .error{font-size:.88rem;color:#b42318;margin:0}
.notify .done{text-align:center;padding:.6rem 0 .2rem}
.notify .done .icon{margin:0 auto .9rem;width:56px;height:56px;border-radius:50%}
.notify .done h2{margin-bottom:.5rem}
