@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;600;700;800&family=Monoton&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#17213a;background:#f7f8fc;font-size:16px;--brand:#d43e13;--mark:#e8471d;--accent:#fdaa12;--brand-deep:#a82d0a;--line:#e3e6ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #f0a726;outline-offset:4px}button{border:1px solid var(--line);border-radius:12px;background:white;padding:12px 18px;color:inherit;font-weight:600}button:hover{border-color:var(--brand);color:var(--brand)}a{color:inherit;text-decoration:none}.primary{background:var(--brand);color:white;border-color:var(--brand)}.primary:hover{background:#a82d0a;color:white}.muted{color:#69738a}.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand)}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-.04em}h1{font-size:clamp(30px,4vw,48px);line-height:1.15;margin:12px 0}h2{font-size:27px}h3{font-size:21px;margin:8px 0}p{line-height:1.6}.topbar{background:white;border-bottom:1px solid var(--line);padding:20px 4vw;display:flex;align-items:center;gap:36px}.logo{font-family:Manrope;font-size:27px;font-weight:800;letter-spacing:-1.5px}.mark{display:inline-block;width:38px;height:38px;margin-right:8px;vertical-align:-9px;background:url('/icon.svg') center/contain no-repeat;text-indent:-9999px;overflow:hidden}.topbar nav{display:flex;gap:26px;align-items:center;flex:1}.topbar nav a.active{color:var(--brand)}.demo{font-size:12px;border-radius:6px;background:#fdefe9;color:#8a4633;padding:5px 8px}.layout{max-width:1450px;margin:auto;padding:36px 4vw 70px}.intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:28px}.intro p{margin:0}.location{white-space:nowrap;background:white;border-radius:30px;padding:12px 18px;border:1px solid var(--line)}.searchrow{display:flex;gap:12px;margin:28px 0 22px}.searchbox{flex:1;display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:14px;padding:0 18px;gap:12px}.searchbox input{border:0;background:none;padding:17px 0;width:100%;outline:0}.chips{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}.chips button{border-radius:30px;font-size:14px}.chips .selected{background:#17213a;color:white;border-color:#17213a}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.sectionhead h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white;border-radius:20px;border:1px solid var(--line);overflow:hidden}.card-media{height:230px;position:relative;background:#f5eeea;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s}.card:hover img{transform:scale(1.04)}.card-media .tag{position:absolute;left:16px;bottom:16px;background:white;padding:7px 11px;border-radius:7px;font-size:13px;font-weight:600}.abstract{height:100%;display:grid;place-content:center;text-align:center;background:#ffe4d8;color:#7c2f14;font-family:Manrope;font-weight:800;font-size:38px;letter-spacing:-2px}.abstract.orange{background:#ffe2c5;color:#78351a}.cardbody{padding:22px}.cardbody .meta{display:flex;justify-content:space-between;font-size:14px}.cardbody p{font-size:14px;margin:8px 0 20px;color:#69738a}
.cardbody .card-story{margin-bottom:4px;white-space:pre-line}.cardbody .card-story.clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.story-more{background:none;border:0;padding:4px 0;margin:0 0 16px;color:var(--brand);font-size:14px;font-weight:700;cursor:pointer}.cardfoot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:16px;font-size:14px}.cardfoot a{font-weight:700;color:var(--brand)}.note{font-size:13px;color:#69738a;margin-top:24px}.spotlight{margin-top:34px;background:#2a1710;color:white;border-radius:20px;padding:28px 34px;display:flex;justify-content:space-between;align-items:center;gap:24px}.spotlight h2{margin:0 0 8px}.spotlight p{margin:0;color:#f3d9cd}.shophead{background:#fff8f3;border-bottom:1px solid #eadbd1;padding:24px 4vw;display:flex;justify-content:space-between;align-items:center;gap:20px}.shopbrand{font-family:Georgia,serif;font-size:27px;color:#773c32}.shophero{display:grid;grid-template-columns:1.1fr 1fr;min-height:340px;border-radius:24px;overflow:hidden;background:#f0dfd3}.shophero img{width:100%;height:340px;object-fit:cover}.shophero>div{padding:38px}.shophero h1{font-family:Georgia,serif;color:#66372d}.shophero p{color:#714f45}.shopcontent{display:grid;grid-template-columns:1fr 290px;gap:32px;margin-top:30px}.products{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.product{background:white;border:1px solid var(--line);border-radius:17px;padding:24px}.product .number{font-family:Georgia;font-size:38px;color:#b37d68}.product p{font-size:14px;color:#69738a}.product footer{display:flex;justify-content:space-between;align-items:center}.aside{background:white;border:1px solid var(--line);border-radius:18px;padding:24px;align-self:start}.aside h3{font-size:18px}.aside p{font-size:14px}.formwrap{max-width:760px;margin:32px auto;background:white;border-radius:24px;border:1px solid var(--line);padding:36px}.formwrap h1{font-size:32px}.field{display:flex;flex-direction:column;gap:8px;margin:18px 0}.field label{font-weight:600;font-size:14px}input,textarea,select{padding:12px;border:1px solid #c9cfdd;border-radius:9px;background:white;max-width:100%;color:#17213a}textarea{min-height:90px}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:18px}.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.steps{display:flex;gap:8px;margin-bottom:24px}.steps span{height:5px;flex:1;background:#e3e6ef;border-radius:10px}.steps .done{background:var(--brand)}dialog{max-width:560px;width:calc(100% - 32px);border:0;border-radius:22px;padding:30px;box-shadow:0 20px 100px #17213a44}dialog::backdrop{background:#111c3e77;backdrop-filter:blur(3px)}dialog h2{margin-top:0}.cartline{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding:14px 0}.cartline button{padding:5px 10px}.cartline small{display:block;color:#69738a}.empty{text-align:center;padding:50px 20px;grid-column:1/-1}.map{height:420px;background:#e7edf2;position:relative;border-radius:20px;overflow:hidden;border:1px solid #ced7e0;background-image:linear-gradient(90deg,transparent 47%,white 47%,white 53%,transparent 53%),linear-gradient(0deg,transparent 47%,white 47%,white 53%,transparent 53%);background-size:100px 100px}.pin{position:absolute;background:var(--brand);color:white;box-shadow:0 4px 10px #17213a33}.maplabel{position:absolute;bottom:15px;left:15px;background:white;padding:10px;border-radius:8px;font-size:14px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#17213a;color:white;padding:14px 22px;border-radius:12px;z-index:10;display:none}.saved{color:#bf5844}.review{padding:20px;background:white;border-radius:16px;border:1px solid var(--line);margin-top:20px}.review p{font-size:14px}@media(max-width:850px){.grid{grid-template-columns:1fr 1fr}.topbar{gap:16px;flex-wrap:wrap}.topbar nav{gap:18px}.topbar .demo{display:none}.shopcontent{grid-template-columns:1fr}.shophero>div{padding:25px}.shophero img{height:100%;min-height:330px}.intro{align-items:start}.location{font-size:14px}}@media(max-width:580px){.grid,.products,.shophero,.twocol{grid-template-columns:1fr}.topbar{padding:16px 5%}.topbar nav{order:3;flex-basis:100%;font-size:14px}.topbar>.primary{margin-left:auto;padding:10px;font-size:14px}.layout{padding:25px 5%}.intro{display:block}.location{display:inline-block;margin-top:16px}.searchrow{flex-wrap:wrap}.searchbox{min-width:100%}.spotlight{display:block;padding:25px}.spotlight button{margin-top:20px}.shophero img{height:220px;min-height:0}.shophead{flex-wrap:wrap}.shophead button{font-size:14px;padding:10px}.formwrap{padding:24px;margin:20px 5%}.sectionhead h2{font-size:23px}.card-media{height:220px}}

/* ---- Inside the app only ---------------------------------------------------------------------------
   A web header at the top of a phone screen reads as a web page, because that is what it is. The app gets a
   bar along the bottom instead, where a phone's navigation belongs, and loses the small tells — pinch-zoom,
   text selection on furniture, the overscroll glow — that give a WebView away. */
.in-app .topbar{display:none}
.in-app,.in-app body{overscroll-behavior:none}
.in-app{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
/* Anything a person actually reads or edits stays selectable. */
.in-app input,.in-app textarea,.in-app .preserve-lines,.in-app .order-summary,.in-app p,.in-app h1,.in-app h2,.in-app h3{-webkit-user-select:text;user-select:text}
.in-app .layout{padding-top:20px}
/* Room for the bar, plus whatever the phone reserves for its own gesture area. */
.in-app body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
.app-tabs{position:fixed;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);
  background:rgba(255,255,255,.94);backdrop-filter:saturate(180%) blur(14px);
  border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom)}
.app-tabs button{display:flex;flex-direction:column;align-items:center;gap:3px;border:0;background:none;
  padding:9px 0 7px;color:#7a8296;font-size:11px;font-weight:600;letter-spacing:.01em;border-radius:0}
.app-tabs button:hover{color:#7a8296}
.app-tabs svg{width:24px;height:24px}
.app-tabs [aria-current="true"]{color:var(--brand)}
.app-tabs button:active{background:#00000008}

/* Somebody scanned a shop's code on a phone without the app. The shop is what they came for, so the offer sits
   under it and can be waved away; the choice sheet is only used when the app is meant to come first. */
.app-invite{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:30;
  display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:16px;
  background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(14px);
  border:1px solid var(--line);box-shadow:0 12px 30px rgba(16,24,40,.18)}
.app-invite span{display:flex;flex-direction:column;min-width:0;flex:1}
.app-invite strong{font-size:14px}
.app-invite small{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.app-invite-go{flex:none;min-height:36px;display:flex;align-items:center;padding:0 14px;border-radius:999px;
  background:var(--brand);color:#fff;font-size:14px;font-weight:600;text-decoration:none}
.app-invite-close{flex:none;width:32px;height:32px;border:0;background:none;color:var(--muted);font-size:20px;line-height:1;border-radius:999px}
.app-choice{position:fixed;inset:0;z-index:40;display:flex;align-items:flex-end;justify-content:center;
  background:rgba(16,24,40,.45);padding:12px}
.app-choice-card{width:100%;max-width:420px;background:#fff;border-radius:22px;padding:22px 20px calc(20px + env(safe-area-inset-bottom));text-align:center}
.app-choice-card h2{margin:12px 0 6px;font-size:20px}
.app-choice-card h2 span{white-space:nowrap}
.app-choice-card p{color:var(--muted);font-size:14px;margin:0 0 18px}
.app-choice-app{display:block;text-decoration:none;text-align:center}
.app-choice-web{width:100%;margin-top:10px;min-height:44px;background:none;border:0;color:var(--muted);font-weight:600}
@media (min-width:560px){.app-choice{align-items:center}.app-choice-card{border-radius:22px}}

/* From app version 2 the bar is the phone's own, drawn under the page rather than over it, so the page no longer
   leaves room for one (dist/native.js, nativeTabBar). */
.native-bar body{padding-bottom:0}
.native-bar .app-tabs{display:none}

/* ---- The three links at the top --------------------------------------------------------------------
   Discover, You and Seller studio were plain text in a row: on a phone they ran together, gave no sign of
   being separate things to tap, and none of them showed where you were. They are buttons, so they look like
   buttons — far enough apart to aim at, and tall enough to hit (44px is about a fingertip). */
.topbar nav{gap:10px;flex-wrap:wrap}
.topbar nav a{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:999px;
  border:1px solid var(--line);background:white;font-weight:600;font-size:15px;line-height:1;
  transition:border-color .15s,color .15s,background .15s}
.topbar nav a:hover{border-color:var(--brand);color:var(--brand)}
/* The one you're on is filled in, not merely a different colour, so it reads at a glance and in sunlight. */
.topbar nav a[aria-current="page"]{background:var(--brand);border-color:var(--brand);color:white}
.topbar nav a[aria-current="page"]:hover{background:var(--brand-deep);border-color:var(--brand-deep);color:white}
@media(max-width:580px){
  /* Its own row under the logo, which is where there is room for three real buttons. */
  .topbar{padding:14px 5% 12px;row-gap:12px}
  .topbar nav{gap:8px;font-size:15px}
  .topbar nav a{padding:9px 14px;font-size:14.5px}
  /* Two rows, not three: the logo and the one call to action share the top, the three buttons get their own
     line underneath. */
  .topbar>.button-link{margin-left:auto;padding:10px 14px;font-size:14.5px}
}
/* Discover and You are where anybody browsing goes, so they sit together on the left. The shop door sits on
   its own at the right — Seller studio for somebody who runs one, Create your shop for somebody who doesn't
   (dist/topbar.js). */
.topbar nav{flex:1}
.topbar-end{margin-left:auto;display:inline-flex;align-items:center}
/* Whichever door it holds — Seller studio or Create your shop — it stands the same height as Discover and
   You, so the three sit on one baseline rather than nearly one. */
.topbar-end .button-link{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:999px;
  font-weight:600;font-size:15px;line-height:1}
.topbar-studio{display:inline-flex;align-items:center;min-height:44px;padding:9px 16px;border-radius:999px;
  border:1px solid var(--line);background:white;font-weight:600;font-size:15px;line-height:1}
.topbar-studio:hover{border-color:var(--brand);color:var(--brand)}
.topbar-studio[aria-current="page"]{background:var(--brand);border-color:var(--brand);color:white}
.topbar-studio[aria-current="page"]:hover{background:var(--brand-deep);border-color:var(--brand-deep);color:white}
@media(max-width:580px){
  /* On a phone the logo has the top line to itself, and the three buttons share the line under it: Discover
     and You from the left, the shop door hard right, all on one baseline. */
  .topbar .logo{flex:0 0 100%}
  .topbar nav{order:2;flex:0 1 auto}
  .topbar-end{order:3;margin-left:auto}
  .topbar-studio,.topbar-end .button-link{padding:9px 14px;font-size:14.5px}
}

/* Agreeing to the Terms: the tick on the sign-up form, and the one-time box for everybody else (terms-agree.js). */
.terms-tick{display:flex;gap:10px;align-items:flex-start;margin:14px 0;line-height:1.5;font-size:15px}
.terms-tick input{width:20px;height:20px;flex:none;margin:2px 0 0;accent-color:var(--brand)}
.terms-tick a,.terms-agree a{text-decoration:underline}
.terms-agree{border:0;border-radius:16px;padding:26px;max-width:480px;width:calc(100% - 32px);box-shadow:0 24px 60px rgba(14,20,38,.28);color:#17213a}
.terms-agree::backdrop{background:rgba(14,20,38,.55)}
.terms-agree h2{margin:0 0 8px;font-size:23px}
.terms-agree p{margin:8px 0;font-size:15px}
.terms-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:12px}
.terms-actions button:disabled{opacity:.5;cursor:not-allowed}
.terms-error{background:#fff1ed;color:#9f2d1f;border:1px solid #f1bcb3;border-radius:10px;padding:12px}
.terms-error[hidden]{display:none}
