/* The pages around the week (privacy, terms, the magazine): the same clay world, calmer — a wall colour, the words on a
   white plasticine card, the counter with a few dishes at the bottom. Published at /page.css by pages.py. */
:root{--ink:#0B2014;--g:#22C55E;--gd:#0F5C2E;--wall:#BDEFD5}
*{box-sizing:border-box}
body{margin:0;background:var(--wall);color:var(--ink);font:400 17px/1.75 Heebo,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.terms{--wall:#BFE2FF}body.mag{--wall:#FFE29E}body.post{--wall:#FFD2B8}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
html{touch-action:manipulation}
.clay,.page,.read,.post-card,.cta-box,.cover{border-radius:34px;box-shadow:inset 0 5px 0 rgba(255,255,255,.4),inset 0 -9px 0 rgba(0,0,0,.13),0 22px 36px -18px rgba(11,32,20,.45)}

/* nav, as on the main page */
.nav{position:fixed;top:14px;left:14px;right:14px;z-index:60;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 10px 0 14px;
  border-radius:24px;background:rgba(255,255,255,.55);backdrop-filter:saturate(1.6) blur(14px);-webkit-backdrop-filter:saturate(1.6) blur(14px);box-shadow:0 10px 30px -18px rgba(11,32,20,.4)}
.brand{display:flex;align-items:center;gap:10px;font:800 19px Heebo}.brand img{width:34px;height:34px;border-radius:10px}
.nav .links{display:flex;align-items:center;gap:8px}
.nav .links a:not(.get){font:700 15px Heebo;padding:10px 12px;border-radius:14px}.nav .links a:not(.get):hover{background:rgba(255,255,255,.6)}
.nav .get{background:var(--ink);color:#fff;font:700 15px/1.15 Heebo;padding:8px 18px 7px;border-radius:16px;text-align:center}
.nav .get small{display:block;font:600 11px/1.3 Heebo;color:#4ADE80}

/* privacy, terms: the text on a card */
.page{max-width:780px;margin:110px auto 0;background:#fff;padding:52px 56px 40px}
.page h1{font:900 clamp(36px,6vw,56px)/1.02 Rubik;letter-spacing:-.035em;margin:0}
.page .stamp{display:inline-block;margin:16px 0 30px;background:var(--wall);border-radius:999px;padding:4px 14px;font:700 14px Heebo}
.page .lead{font:500 19.5px/1.65 Heebo;margin:0 0 10px}
.page h2{font:800 23px/1.25 Rubik;letter-spacing:-.015em;margin:40px 0 10px}
.page p{margin:0 0 16px}.page ul{margin:0 0 16px;padding-inline-start:22px}.page li{margin-bottom:9px}.page li::marker{color:var(--g)}
.page strong{font-weight:700}
.page a{color:var(--gd);font-weight:700;text-decoration:underline;text-decoration-color:rgba(34,197,94,.5);text-underline-offset:3px}
.page .note{background:var(--wall);border-radius:22px;padding:16px 20px;margin:24px 0}
.page>footer{margin-top:40px;padding-top:20px;border-top:2px dashed rgba(11,32,20,.12);font-size:14px;opacity:.75}

/* the magazine */
.w{max-width:1160px;margin:0 auto;padding:0 24px}
.mhead{padding:130px 24px 10px;text-align:center}
.mhead h1{font:900 clamp(42px,7vw,84px)/.98 Rubik;letter-spacing:-.04em;margin:8px 0 0}
.mhead p{font:600 19px/1.55 Heebo;color:var(--gd);margin:16px auto 0;max-width:44ch}
.meta{font:800 14px Heebo;color:var(--gd)}.meta span{opacity:.6;font-weight:600;margin-right:10px}
.mhead .meta{display:inline-block;background:#fff;border-radius:999px;padding:6px 16px}
.posts{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.post-card{display:block;background:#fff;padding:12px 12px 22px;transition:transform .35s cubic-bezier(.3,1.6,.4,1)}
.post-card:hover{transform:translateY(-6px) rotate(-.6deg)}
.post-card .pic{aspect-ratio:4/3;border-radius:24px;overflow:hidden;display:grid;place-items:center;background:var(--wall)}
.post-card .pic img.art{width:52%}.post-card .pic img.full{width:100%;height:100%;object-fit:cover}
.post-card .k{font:800 13px Heebo;color:var(--gd);margin:16px 10px 0}.post-card h4{font:800 21px/1.3 Heebo;margin:6px 10px 0}
.post-card span{display:block;font-size:14px;opacity:.6;margin:8px 10px 0}
.cover{margin:96px auto 0;max-width:1100px;height:400px;overflow:hidden;display:grid;place-items:center}
.cover img.art{width:260px}.cover img.full{width:100%;height:100%;object-fit:cover}
.read{position:relative;max-width:760px;margin:-70px auto 0;background:#fff;padding:44px 52px 48px}
.read h1{font:900 clamp(32px,5vw,50px)/1.06 Rubik;letter-spacing:-.03em;margin:12px 0 0}
.lede{font:500 21px/1.6 Heebo;margin:20px 0 0;opacity:.8}
.body{margin-top:30px;font-size:18px;line-height:1.8}.body p{margin:0 0 20px}
.body h2{font:800 27px/1.25 Rubik;letter-spacing:-.02em;margin:40px 0 12px}
.body ul{margin:0 0 22px;padding:0;list-style:none}.body li{position:relative;padding-right:26px;margin-bottom:12px}
.body li::before{content:"";position:absolute;right:4px;top:12px;width:10px;height:10px;border-radius:50%;background:var(--g)}
.body blockquote{margin:34px 0;padding:22px 26px;border-radius:24px;background:var(--wall);font:800 24px/1.4 Rubik;letter-spacing:-.01em}
.cta-box{margin:46px 0 0;background:var(--ink);color:#fff;padding:30px 32px;display:flex;align-items:center;justify-content:space-between;gap:22px}
.cta-box b{display:block;font:800 23px Rubik}.cta-box span{opacity:.7;font-size:16px}
.more{margin-top:90px}.more h3{font:900 34px Rubik;letter-spacing:-.03em;text-align:center;margin:0}

/* the store badge, in Hebrew */
.badge{display:inline-flex;align-items:center;gap:9px;background:#fff;color:var(--ink);border-radius:16px;padding:10px 20px 10px 16px;flex:none}
.badge,.badge span{white-space:nowrap}
.badge svg{width:22px;height:26px}.badge span{display:flex;flex-direction:column;line-height:1.1}
.badge small{font:600 12px Heebo}.badge b{font:700 20px Heebo}

/* the counter at the bottom, a few dishes on it, then the footer */
.shelf{position:relative;margin-top:110px;height:120px}
.shelf::before{content:"";position:absolute;left:0;right:0;bottom:0;height:46px;border-radius:999px 999px 0 0;background:linear-gradient(#3FB5A3,#1F8A7A);box-shadow:inset 0 6px 0 rgba(255,255,255,.35)}
.shelf .row{position:absolute;left:0;right:0;bottom:34px;display:flex;justify-content:center;gap:3vw}
.shelf img{width:clamp(70px,9vw,120px);transform-origin:50% 100%;animation:breathe 4.5s ease-in-out infinite}.shelf img:nth-child(2n){animation-delay:-2s}
@keyframes breathe{0%,100%{transform:none}50%{transform:scaleX(1.03) scaleY(.97)}}
.shelf{margin-bottom:-6px}.shelf::before{display:none}.shelf .row{bottom:0}
footer.foot{position:relative;margin-top:30px;background:linear-gradient(#16685C,#0F4E45);color:#D6EEE6;padding:40px 24px 44px;text-align:center}
footer.foot::before{content:"";position:absolute;left:0;right:0;top:-30px;height:36px;border-radius:30px 30px 0 0;background:linear-gradient(#3FB5A3,#1F8A7A);box-shadow:inset 0 6px 0 rgba(255,255,255,.35)}
.foot .fb{display:flex;flex-direction:column;align-items:center;gap:6px}.foot .fb img{width:52px;height:52px;border-radius:15px}
.foot .fb b{font:800 22px Heebo;color:#fff}.foot .fb span{font:500 15px Heebo;opacity:.8}
.foot .fl{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:22px auto 0;max-width:560px}
.foot .fl a{background:rgba(255,255,255,.1);border-radius:16px;padding:12px 18px;font:700 15px Heebo;color:#fff;box-shadow:inset 0 2px 0 rgba(255,255,255,.12)}
.foot .fl a:hover{background:rgba(255,255,255,.18)}
.foot small{display:block;margin-top:22px;font-size:13px;opacity:.55}

@media (max-width:900px){
  .nav{top:10px;left:10px;right:10px;height:54px}.nav .links a:not(.get){display:none}
  .page{margin:84px 12px 0;padding:34px 22px 28px}
  .mhead{padding-top:100px}.posts{grid-template-columns:1fr}
  .cover{margin:78px 12px 0;height:240px}.cover img.art{width:160px}
  .read{margin:-50px 12px 0;padding:30px 22px 34px}.lede{font-size:19px}.body blockquote{font-size:20px}
  .cta-box{flex-direction:column;align-items:flex-start}
  .shelf{margin-top:80px;height:96px}.shelf img{width:20vw}
  footer.foot{padding-bottom:120px}.foot .fl{display:grid;grid-template-columns:1fr 1fr}
}
@media (prefers-reduced-motion:reduce){.shelf img{animation:none}}
