/* Darzi Waly website. One stylesheet, no framework. Colours and sizes match the app's theme. */
:root {
  --green: #0f5c4a;
  --green-dark: #0a4335;
  --green-deep: #0a4a3b;
  --tint: #e3ede8;
  --tint-line: #b9d1c8;
  --gold: #e0a526;
  --gold-soft: #f2ce7a;
  --bg: #faf8f3;
  --card: #ffffff;
  --ink: #1b1b1b;
  --text: #2e322f;
  --muted: #5a5f5b;
  --soft: #4a4f4b;
  --line: #e4e1d8;
  --neutral: #efede6;
  --shadow: 0 4px 16px rgba(27, 27, 27, 0.06);
  --shadow-raised: 0 8px 28px rgba(27, 27, 27, 0.08);
  --radius: 12px;
  --display: 'Outfit', system-ui, sans-serif;
  --body: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.section { padding: 72px 0; }
.section.white { background: var(--card); }
.section.green { background: var(--green); color: #fff; }
.stack { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; }
.row { display: flex; flex-wrap: wrap; }
.eyebrow { color: var(--green); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; text-transform: uppercase; }
.green .eyebrow { color: var(--gold-soft); }
.h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.5px; }
.h1.small { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.h3 { font-size: 20px; line-height: 1.3; }
.lead { font-size: 19px; color: var(--soft); max-width: 560px; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.center { text-align: center; align-items: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font-family: var(--display); font-size: 22px; font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; flex: 1 1 320px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 0; }
.nav a[aria-current='page'] { color: var(--green); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; transition: transform 0.1s ease-out; }
.btn:active { transform: scale(0.97); }
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); color: #fff; }
.btn.light { background: var(--card); color: var(--green); box-shadow: 0 2px 10px rgba(27, 27, 27, 0.06); }
.btn.dark { background: var(--ink); color: #fff; min-height: 56px; border-radius: 12px; }
.btn.dark:hover { color: #fff; }
.btn.dark .two { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.btn.dark .two small { font-size: 12px; font-weight: 400; }
.btn.dark .two b { font-family: var(--display); font-size: 19px; font-weight: 600; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 48px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 440px; display: flex; flex-direction: column; gap: 20px; }
.hero-art { flex: 1 1 340px; display: flex; justify-content: center; position: relative; padding: 24px 0; }
.hero-art::before { content: ''; position: absolute; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--tint); top: 90px; }
.pill { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--green); font-size: 14px; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--soft); font-size: 15px; }
.checks span { display: flex; align-items: center; gap: 8px; }

/* Phone mock-ups: the app's screens drawn in HTML, so they stay sharp at any size. */
.phone { position: relative; width: 300px; height: 610px; border-radius: 40px; background: var(--ink); padding: 10px; box-shadow: 0 24px 48px rgba(27, 27, 27, 0.18); flex: none; }
.phone.small { width: 220px; height: 450px; border-radius: 30px; padding: 8px; box-shadow: 0 16px 32px rgba(27, 27, 27, 0.14); }
.screen { width: 100%; height: 100%; border-radius: 31px; background: var(--bg); padding: 26px 16px 14px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; font-size: 12px; line-height: 1.4; }
.phone.small .screen { border-radius: 23px; padding: 20px 12px 12px; gap: 7px; font-size: 10px; line-height: 1.35; }
.screen .t { font-family: var(--display); font-weight: 500; font-size: 22px; line-height: 1.15; }
.phone.small .screen .t { font-size: 18px; }
.screen .m { color: var(--muted); }
.screen .box { padding: 10px; border-radius: 12px; background: var(--card); box-shadow: 0 2px 8px rgba(27, 27, 27, 0.05); }
.screen .tinted { padding: 12px; border-radius: 12px; background: var(--tint); border: 1px solid var(--tint-line); display: flex; flex-direction: column; gap: 4px; }
.phone.small .screen .tinted, .phone.small .screen .box { padding: 8px; border-radius: 9px; }
.screen .chips { display: flex; gap: 6px; }
.screen .chips span { padding: 6px 12px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.screen .chips span.on { background: var(--tint); color: var(--green); border-color: var(--green); font-weight: 600; }
.screen .line { display: flex; align-items: center; gap: 10px; }
.screen .thumb { width: 40px; height: 40px; border-radius: 8px; background: var(--neutral); flex: none; }
.screen .b { font-weight: 600; }
.screen .g { color: var(--green); font-weight: 600; }
.screen .between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.screen .pillbar { margin-top: auto; align-self: center; padding: 9px 16px; border-radius: 999px; background: var(--green); color: #fff; font-weight: 600; }
.screen .bar { height: 4px; border-radius: 4px; background: var(--neutral); }
.screen .bar i { display: block; height: 100%; border-radius: 4px; background: var(--green); }
.screen .step { display: flex; gap: 8px; }
.screen .dot { width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: var(--green); flex: none; }
.screen .dot.todo { background: none; border: 1.5px solid #9db8ae; }
.screen .dot.now { width: 9px; height: 9px; margin: 8px -1px 0; box-shadow: 0 0 0 4px #cfe0d9; animation: pulse 1.8s ease-out infinite; }
.screen .bars { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.screen .bars i { flex: 1; border-radius: 2px; background: var(--tint-line); }
.screen .bars i:last-child { background: var(--gold); }
.screen .two-btn { display: flex; gap: 6px; }
.screen .two-btn span { flex: 1; text-align: center; padding: 7px; border-radius: 8px; background: var(--card); color: var(--soft); font-weight: 600; }
.screen .two-btn span:first-child { background: var(--green); color: #fff; }
.screens { flex: 1 1 380px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.screens .phone:nth-child(2) { margin-top: 40px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15, 92, 74, 0.35); } 100% { box-shadow: 0 0 0 9px rgba(15, 92, 74, 0); } }

/* Cards and grids */
.grid { display: flex; flex-wrap: wrap; gap: 24px; }
.grid > * { flex: 1 1 280px; }
.grid.four > * { flex: 1 1 250px; }
.grid.tight { gap: 20px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.card.flat { background: var(--bg); box-shadow: none; }
.card.pad { padding: 28px; gap: 12px; }
.card p { color: var(--soft); }
.card .small { font-size: 15px; }
.num { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; font-weight: 600; flex: none; }
.icon { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon.gold { stroke: #b07a0e; }
.band { flex: 1 1 420px; padding: 36px; border-radius: var(--radius); background: var(--green-deep); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.band p { color: #dce9e4; }
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.split > .text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.stages { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.stages div { display: flex; align-items: center; gap: 12px; }
.stages i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; }
.stages .next { color: var(--muted); }
.stages .next i { background: none; border: 2px solid #9db8ae; }
.stages .now { padding: 10px 14px; margin-inline-start: -14px; border-radius: 10px; background: var(--tint); font-weight: 600; color: var(--green); }
.stages .now i { background: var(--gold); }
.step-row { padding: 20px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.step-row > div:last-child { flex: 1 1 280px; }
.step-row p { color: var(--soft); }
.cta { padding: 56px 32px; border-radius: var(--radius); background: var(--tint); display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.faq { padding: 22px 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); }
.faq h3 { font-size: 19px; margin-bottom: 6px; }
.faq p { color: var(--soft); }

/* Blog */
.post-card { border-radius: var(--radius); background: var(--card); overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform 0.1s ease-out; }
.white .post-card { background: var(--bg); box-shadow: none; }
.post-card:hover { color: var(--ink); }
.post-card:active { transform: scale(0.98); }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.post-card .meta, .meta { font-size: 13px; color: var(--muted); }
.cover { height: 180px; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover svg { width: 72px; height: 72px; stroke: var(--green); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.cover.tall { height: clamp(220px, 40vw, 380px); border-radius: var(--radius); overflow: hidden; }
.featured { display: flex; flex-wrap: wrap; border-radius: var(--radius); background: var(--card); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-raised); }
.featured:hover { color: var(--ink); }
.featured .cover { flex: 1 1 420px; height: auto; min-height: 280px; }
.featured .body { flex: 1 1 380px; padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.tag-gold { padding: 4px 10px; border-radius: 999px; background: #fbf1d8; color: #6b4a05; font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.filters input { flex: 1 1 260px; max-width: 360px; min-height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid #d9d5ca; background: var(--card); font: inherit; color: var(--ink); }
.chip { min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--card); color: var(--ink); border: 1px solid #d9d5ca; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-pressed='true'], .chip[aria-current='page'] { background: var(--tint); color: var(--green); border-color: var(--green); }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { padding: 8px 0; }
.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 56px; display: flex; flex-direction: column; gap: 20px; }
.prose { font-size: 18px; line-height: 1.7; color: var(--text); display: flex; flex-direction: column; gap: 16px; }
.prose .video { display: flex; justify-content: center; margin: 8px 0; }
.prose .video video { width: 100%; max-width: 340px; aspect-ratio: 9 / 16; border-radius: var(--radius); background: #14201c; box-shadow: 0 18px 40px rgba(15, 92, 74, .18); }
.prose h2 { font-size: 28px; line-height: 1.2; color: var(--ink); margin-top: 12px; }
.prose h3 { font-size: 21px; color: var(--ink); margin-top: 6px; }
.prose ul, .prose ol { margin: 0; padding-inline-start: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose blockquote { margin: 4px 0; padding: 24px 28px; border-radius: var(--radius); background: var(--tint); font-family: var(--display); font-size: 21px; line-height: 1.4; font-weight: 500; color: var(--green-dark); }
.prose .first { font-size: 20px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { padding: 6px 12px; border-radius: 8px; background: var(--card); border: 1px solid #d9d5ca; font-size: 14px; }
.article-foot { margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }

/* Legal pages */
.legal { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; padding-top: 24px; padding-bottom: 72px; }
.toc { flex: 1 1 240px; max-width: 300px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; position: sticky; top: 16px; }
.toc b { font-family: var(--display); font-weight: 600; margin-bottom: 8px; }
.toc a { padding: 8px 0; text-decoration: none; }
.legal .prose { flex: 999 1 560px; min-width: 0; max-width: 760px; gap: 28px; }
.legal .prose section { display: flex; flex-direction: column; gap: 10px; }
.legal .prose h2 { margin: 0; }
.note { padding: 24px 28px; border-radius: var(--radius); background: var(--tint); color: var(--green-dark); }
.note b { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.panel { padding: 24px 28px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

/* Contact form */
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.form input, .form textarea { min-height: 48px; padding: 12px 16px; border-radius: 10px; border: 1px solid #d9d5ca; background: var(--card); font: inherit; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #d9d6cc; padding: 56px 0 32px; }
.site-footer a { color: #d9d6cc; text-decoration: none; padding: 6px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.site-footer .cols > div { flex: 1 1 160px; display: flex; flex-direction: column; gap: 4px; }
.site-footer .cols > div:first-child { flex: 2 1 280px; gap: 12px; }
.site-footer .head { color: #fff; font-weight: 600; margin-bottom: 4px; }
.site-footer .name { font-family: var(--display); font-size: 22px; font-weight: 600; color: #fff; }
.site-footer .legal-line { border-top: 1px solid #3a3a38; margin-top: 32px; padding-top: 20px; font-size: 14px; color: #a8a59b; }

/* A bar on phones that keeps the download one tap away. */
.sticky-app { display: none; }
/* Home: product slider and verified tailors (filled by site.js) */
.showcase-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--green); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }
.slider-btn:hover { border-color: var(--green); }
.slider-btn:disabled { opacity: 0.4; cursor: default; }
.slider { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px 16px; margin: -4px -4px 0; scrollbar-width: none; overscroll-behavior-x: contain; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; }
.product .pic { aspect-ratio: 1; }
.product .body { padding: 12px 14px 14px; }
.product .name { font-size: 16px; }
.product .price { font-size: 17px; }
.product .meta { font-size: 13px; }
.product { text-decoration: none; color: var(--ink); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.product:hover { color: var(--ink); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.product .pic, .tailor .pic { position: relative; aspect-ratio: 4 / 5; background: var(--neutral); }
.product .pic img, .tailor .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product .body, .tailor .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.product .name, .tailor .name { font-family: var(--display); font-weight: 600; font-size: 17px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product .price { color: var(--green); font-weight: 600; font-size: 18px; }
.product .meta, .tailor .meta { color: var(--muted); font-size: 14px; }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--green); font-size: 13px; font-weight: 600; }
.tailor-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tailor { text-decoration: none; color: var(--ink); background: var(--bg); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 0.2s, transform 0.2s; }
.tailor:hover { color: var(--ink); box-shadow: var(--shadow-raised); transform: translateY(-2px); }
.tailor .pic { aspect-ratio: 4 / 3; }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-size: 13px; font-weight: 600; }
.stars { color: var(--gold); font-weight: 600; }
@media (max-width: 1000px) {
  .slider > * { flex-basis: calc((100% - 48px) / 4); }
  .tailor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .slider > * { flex-basis: calc((100% - 32px) / 3); }
  .tailor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 440px) {
  .slider > * { flex-basis: 46%; }
  .slider-nav { display: none; }
  .tailor .body { padding: 10px 12px 12px; }
  .tailor .name { font-size: 15px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .nav { order: 3; flex-basis: 100%; gap: 0 20px; }
  .site-header .btn { margin-inline-start: auto; }
  .toc { position: static; max-width: none; }
  .sticky-app { display: flex; position: fixed; inset: auto 0 0 0; padding: 10px 16px; background: var(--card); box-shadow: 0 -4px 16px rgba(27, 27, 27, 0.08); z-index: 5; }
  .sticky-app .btn { flex: 1; }
  body { padding-bottom: 72px; }
}

/* Entry: sections fade up once as they come into view. Off when the device asks for less motion. */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1), transform 0.5s cubic-bezier(0.33, 1, 0.68, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .screen .dot.now { animation: none; }
  .btn, .post-card { transition: none; }
}

/* Sitemap: English link with its Urdu name beside it */
.ur { font-family: 'Noto Naskh Arabic', 'Noto Nastaliq Urdu', serif; font-weight: 400; }
.sitemap { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 32px; padding-bottom: 72px; }
.sitemap > div { flex: 1 1 300px; min-width: 0; }
.sitemap h2 { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.sitemap h2 .ur { color: var(--muted); font-size: .9em; }
.sitemap ul { list-style: none; margin: 0; padding: 0; }
.sitemap li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sitemap li a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.sitemap li a:hover { text-decoration: underline; }
.sitemap li .ur { color: var(--muted); white-space: nowrap; }

/* Home page: "get the app" popup, shown once per visit. */
.app-popup { width: min(420px, calc(100vw - 32px)); padding: 32px 24px 20px; border: 0; border-radius: 16px; background: var(--card); color: var(--text); box-shadow: var(--shadow-raised); text-align: center; }
.app-popup[open] { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: app-popup-in 0.25s cubic-bezier(0.33, 1, 0.68, 1); }
.app-popup::backdrop { background: rgba(27, 27, 27, 0.55); }
.app-popup img { border-radius: 16px; }
.app-popup h2 { margin: 0; font-size: 24px; }
.app-popup p { margin: 0; }
.app-popup-ur { font-family: 'Noto Naskh Arabic', var(--body); color: var(--green); font-weight: 600; }
.app-popup .btn.dark { margin-top: 8px; }
.app-popup-close { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.app-popup-close:hover { background: var(--neutral); }
.app-popup-later { border: 0; background: none; padding: 10px; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; }
@keyframes app-popup-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .app-popup[open] { animation: none; } }
.tailor .from { font-size: 13px; color: var(--soft); }
.tailor .from b { color: var(--green); font-size: 16px; white-space: nowrap; }
/* Home: the trusted tailors grid fits as many steady-size cards per row as the width allows. */
.tailor-grid.fill { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tailor[hidden] { display: none; }
@media (max-width: 600px) { .tailor-grid.fill { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
