/* Zidni — the one stylesheet. Its colours are build.py's INK, BLUE, GREY, MIST and LINE (the build checks their
   contrast); change them there and here together. The type is each visitor's own system font: SF on Apple, Segoe UI on
   Windows, Roboto on Android — nothing to download, and each platform reads it best. */
:root{--ink:#14161B;--blue:#3D5EFF;--grey:#5B606B;--mist:#F5F5F7;--line:#E4E6EA;--w:1080px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--ink);
  font:17px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:12px;z-index:9;background:#fff;padding:8px 12px}
.wrap{max-width:var(--w);margin:0 auto;padding:0 24px}

/* the bar at the top */
.top{border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;min-height:64px;flex-wrap:wrap}
.logo{display:block;line-height:0;padding:8px 0}
.logo svg{height:28px;width:auto}
.top ul{display:flex;gap:28px;margin:0;padding:0;list-style:none;font-size:15px}
.top ul a{display:inline-block;padding:10px 0;color:var(--ink)}  /* a 44 px target, as Apple's guidelines ask */
.top ul a[aria-current]{font-weight:600}

/* type */
h1,h2,h3{margin:0;font-weight:600;letter-spacing:-.02em}
h1{font-size:clamp(40px,6.4vw,68px);line-height:1.05}
h2{font-size:clamp(28px,4vw,42px);line-height:1.1}
h3{font-size:19px;line-height:1.3;letter-spacing:-.01em}
h1,h2{text-wrap:balance}
p{margin:0}
.lede{max-width:680px;margin-top:24px;font-size:clamp(19px,2.2vw,23px);line-height:1.45;color:var(--grey);text-wrap:pretty}
/* blue is only ever something to press — a link or a button (Apple's HIG on colour); labels are grey */
.eyebrow{margin-bottom:12px;font-size:15px;font-weight:600;color:var(--grey)}

/* sections */
section{padding:96px 0}
section.mist{background:var(--mist)}
section:not(.mist)+section:not(.mist){padding-top:0}  /* two white sections: one gap, not two */
.hero{padding:120px 0 104px}
.hero h1{max-width:840px}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:40px}
.btn{display:inline-flex;align-items:center;min-height:46px;padding:0 24px;border-radius:999px;background:var(--blue);
  color:#fff;font-size:16px;font-weight:600}
.btn:hover{text-decoration:none;filter:brightness(1.08)}
.more::after{content:"\00a0›"}

/* the product */
.product{display:grid;grid-template-columns:1fr auto;gap:48px;align-items:start}
.product img{width:120px;height:120px;border-radius:27px}
.kinds{display:flex;flex-wrap:wrap;gap:8px;margin:28px 0 0;padding:0;list-style:none}
.kinds li{padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:15px}
.note{margin-top:28px;font-size:15px;color:var(--grey)}

/* the product's screens: a row; on a phone, a row to swipe */
.screens{display:grid;grid-template-columns:repeat(3,minmax(0,272px));justify-content:space-between;gap:32px;
  margin:64px 0 0;padding:0;list-style:none}  /* the outer phones line up with the text and the icon */
.screens img{display:block;width:100%;height:auto;border-radius:12.8%/5.9%;
  box-shadow:0 0 0 1px var(--line),0 28px 48px -30px rgba(20,22,27,.4)}
.screens p{margin-top:18px;text-align:center;font-size:15px;color:var(--grey)}
.screens strong{display:block;color:var(--ink);font-weight:600}

/* a grid of short items */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px 32px;margin-top:48px}
.grid>div{border-top:1px solid var(--line);padding-top:20px}
.grid p{margin-top:8px;color:var(--grey)}
.steps{counter-reset:step;grid-template-columns:repeat(4,1fr)}
.steps>div::before{counter-increment:step;content:counter(step);display:block;margin-bottom:8px;font-weight:600;color:var(--grey)}

/* facts and legal text */
dl.facts{display:grid;grid-template-columns:220px 1fr;gap:14px 24px;margin:32px 0 0}
dl.facts dt{color:var(--grey)}
dl.facts dd{margin:0}
.prose{max-width:720px}
.prose h2{margin:40px 0 12px;font-size:24px}
.prose p+p{margin-top:14px}
.updated{margin-top:12px;color:var(--grey);font-size:15px}
.gap{padding:0 6px;border-radius:4px;outline:1px dashed #B98A00;background:#FFF4CC;color:#5C4600}

/* the foot of every page */
footer{border-top:1px solid var(--line);padding:40px 0 48px;font-size:13px;color:var(--grey)}
footer .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
footer ul{display:flex;gap:20px;margin:0;padding:0;list-style:none}
footer a{color:var(--grey)}
footer ul a{display:inline-block;padding:6px 0}

@media (max-width:960px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:760px){
  section{padding:64px 0}
  .hero{padding:64px 0 56px}
  .top ul{gap:20px}
  .product{grid-template-columns:1fr;gap:24px}
  .product img{order:-1;width:88px;height:88px;border-radius:20px}
  .grid,.steps{grid-template-columns:1fr;gap:28px}
  .screens{display:flex;gap:16px;margin:48px -24px 0;padding:0 24px 12px;overflow-x:auto;scroll-snap-type:x mandatory;
    scroll-padding-inline:24px}
  .screens li{flex:0 0 66%;scroll-snap-align:start}
  .screens::after{content:"";flex:0 0 8px}  /* the space after the last one: some Safaris drop a scroller's end padding */
  dl.facts{grid-template-columns:1fr;gap:2px}
  dl.facts dd{margin-bottom:14px}
}
