/* Hafiz Faizan Grocery L.L.C — shared styles */
:root {
  --alt: #f6f7fb;
  --tint: #fff3ea;
  --fg: #0d1330;
  --muted: #4a5068;
  --line: #e4e6ef;
  --navy: #06217a;
  --navy-dark: #04185a;
  --orange: #ff6a00;
  --orange-soft: #ffe2cc;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 33, 122, .08);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: #fff; color-scheme: only light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: #fff; color: var(--fg); font: 400 16px/1.7 var(--font); overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; text-wrap: balance; color: var(--fg); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-block: 8px; }
.topbar a { text-decoration: none; opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--orange-soft); }
.topbar .links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

header.site { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
header.site.scrolled { box-shadow: 0 6px 20px rgba(13,19,48,.07); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; position: relative; padding-block: 6px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--orange); transition: right .2s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav .btn { padding: 10px 20px; }
.nav .btn::after { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--fg); position: relative; transition: transform .2s, background .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .brand img { height: 38px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none; box-shadow: 0 16px 30px rgba(13,19,48,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin-top: 14px; text-align: center; border-bottom: 0; }
}
@media (max-width: 560px) { .topbar .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font: 500 15px/1.2 var(--font); text-decoration: none; background: var(--navy); color: #fff; border: 2px solid var(--navy); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.btn:hover { background: var(--orange); border-color: var(--orange); color: #111; transform: translateY(-1px); }
.btn.orange { background: var(--orange); border-color: var(--orange); color: #111; }
.btn.orange:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost:hover { background: var(--fg); border-color: var(--fg); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--navy); }
.btn.light:hover { background: var(--orange); border-color: var(--orange); color: #111; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Image frames (with graceful fallback) ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--orange-soft), #dfe5ff); border-radius: var(--radius); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ph.noimg::after { content: attr(data-label); position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; color: var(--navy); font-size: 1.05rem; text-align: center; padding: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 80px 96px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: 16px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: var(--navy); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .2em; background: var(--orange-soft); z-index: -1; }
.hero .lead { margin-top: 22px; font-size: 1.1rem; color: var(--muted); max-width: 34em; }
.hero-media { position: relative; }
.hero-media .ph.main { aspect-ratio: 4 / 4.4; border-radius: 22px; box-shadow: var(--shadow); }
.hero-media .ph.small { position: absolute; width: 44%; aspect-ratio: 1; left: -10%; bottom: -8%; border: 6px solid #fff; border-radius: 18px; box-shadow: var(--shadow); }
.badge-float { position: absolute; top: 8%; right: -4%; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 14px; max-width: 220px; }
.badge-float .dot { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff; }
.badge-float .dot svg { width: 20px; height: 20px; }
.badge-float b { display: block; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; }
.chips span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-block: 56px 72px; }
  .hero-media { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-media .ph.main { aspect-ratio: 4 / 3.4; }
  .hero-media .ph.small { left: -2%; }
  .badge-float { right: 2%; }
}
@media (max-width: 480px) { .hero-media .ph.small { display: none; } .badge-float { top: auto; bottom: 14px; right: 14px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy) 0%, #0b2fa3 100%); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(255,106,0,.35), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 72px 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; }
.page-hero p { margin-top: 12px; color: rgba(255,255,255,.85); max-width: 40em; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: #fff; }
.crumbs a:hover { color: var(--orange-soft); }

/* ---------- Sections ---------- */
section { padding-block: 92px; }
section.alt { background: var(--alt); }
section.tint { background: var(--tint); }
.head { max-width: 680px; margin-bottom: 48px; }
.head.center { margin-inline: auto; text-align: center; }
.head.center .kicker { justify-content: center; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 14px; letter-spacing: -.005em; }
.head p { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px) { section { padding-block: 64px; } .head { margin-bottom: 36px; } }

/* Feature strip */
.strip { background: var(--navy); color: #fff; padding-block: 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .item { display: flex; gap: 14px; align-items: center; padding: 28px 22px; border-right: 1px solid rgba(255,255,255,.12); }
.strip .item:last-child { border-right: 0; }
.strip .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,106,0,.18); color: var(--orange); display: grid; place-items: center; }
.strip .ico svg { width: 24px; height: 24px; }
.strip b { display: block; font-weight: 600; font-size: 15px; }
.strip span { font-size: 13px; color: rgba(255,255,255,.75); }
@media (max-width: 900px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip .item:nth-child(2) { border-right: 0; } .strip .item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); } }
@media (max-width: 520px) { .strip .wrap { grid-template-columns: 1fr; padding-inline: 0; } .strip .item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding-inline: 20px; } }

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .copy p { color: var(--muted); }
.split .copy p + p { margin-top: 14px; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-media .ph:first-child { grid-row: span 2; aspect-ratio: 3 / 4.2; }
.about-media .ph { aspect-ratio: 1; }
.ticks { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; margin-top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks b { font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev .media-col { order: -1; } }

/* Category cards */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat:hover .ph img { transform: scale(1.06); }
.cat .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.cat .txt { padding: 20px 20px 22px; }
.cat h3 { font-size: 1.08rem; margin-bottom: 6px; }
.cat p { font-size: 14px; color: var(--muted); }
@media (max-width: 1024px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(2, 1fr); gap: 14px; } .cat .txt { padding: 14px 14px 16px; } }
@media (max-width: 400px) { .cats { grid-template-columns: 1fr; } }

/* Essentials lists */
.lists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.list-card {    background: #06217a12;
    border-radius: var(--radius);
    padding: 26px;}
.list-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.list-card ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 15px; color: var(--muted); }
.list-card li { display: flex; gap: 10px; align-items: center; }
.list-card li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); flex: none; }
@media (max-width: 1024px) { .lists { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lists { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 2.4rem; font-weight: 700; color: var(--orange); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Why cards */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 30px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.why-card:hover { border-color: var(--orange); transform: translateY(-3px); }
.why-card .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.why-card .ico svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* Bulk band */
.bulk { background: var(--navy); color: #fff; border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.bulk .copy { padding: 56px 52px; }
.bulk h2 { color: #fff; }
.bulk p { color: rgba(255,255,255,.82); }
.bulk .ticks li { color: rgba(255,255,255,.9); }
.bulk .ph { border-radius: 0; min-height: 320px; }
@media (max-width: 900px) { .bulk { grid-template-columns: 1fr; } .bulk .copy { padding: 40px 26px; } .bulk .ph { min-height: 240px; order: -1; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.gallery .ph:first-child { grid-row: span 2; }
.gallery .ph { height: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px 160px; } .gallery .ph:first-child { grid-column: span 2; grid-row: auto; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); }

/* CTA */
.cta { background: #f2f2f2; border-radius: 22px; padding: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin-bottom: 8px; color: #111; }
.cta p { color: #2a1a0e; max-width: 34em; }
.cta .btns { margin: 0; }
@media (max-width: 600px) { .cta { padding: 36px 24px; } }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 40px; align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info .ico { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--tint); color: var(--orange); display: grid; place-items: center; }
.info .ico svg { width: 24px; height: 24px; }
.info h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info a, .info p { font-size: 1.05rem; font-weight: 500; overflow-wrap: anywhere; text-decoration: none; }
.info a:hover { color: var(--orange); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.6rem; }
.form-card > p { color: var(--muted); margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea { width: 100%; font: 400 15px/1.5 var(--font); color: var(--fg); padding: 13px 14px; border: 1px solid #cfd3e0; border-radius: 10px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(6,33,122,.12); }
.field .err { font-size: 13px; color: #c62828; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #c62828; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.consent a { color: var(--navy); }
.form-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #e8f5e9; color: #1b5e20; font-size: 14px; display: none; }
.form-status.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 26px 20px; } }

/* ---------- Legal pages ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--alt); }
.toc h2 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { padding-left: 18px; display: grid; gap: 8px; font-size: 14px; }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--orange); }
.legal { max-width: 760px; }
.legal .meta { display: inline-block; font-size: 14px; color: var(--muted); background: var(--alt); border-radius: 8px; padding: 8px 14px; margin-bottom: 28px; }
.legal h2 { font-size: 1.4rem; margin: 44px 0 12px; scroll-margin-top: 100px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 22px 0 8px; }
.legal p, .legal li { color: #2c3149; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.legal a { color: var(--navy); }
.legal .callout { margin-top: 40px; padding: 22px 24px; border-left: 4px solid var(--orange); background: var(--tint); border-radius: 0 12px 12px 0; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 32px; } .toc { position: static; } }

/* ---------- Footer ---------- */
footer.site { background: #fff; color: var(--muted); border-top: 1px solid var(--line); padding-top: 72px; }
.fgrid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.flogo { display: inline-block; background: #fff; padding: 0; margin-bottom: 18px; }
.flogo img { height: 38px; width: auto; }
.fgrid p { font-size: 14px; max-width: 26em; }
.fgrid h4 { color: var(--fg); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.fgrid ul { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.fgrid a { text-decoration: none; overflow-wrap: anywhere; }
.fgrid a:hover { color: var(--orange); }
.legalbar { border-top: 1px solid var(--line); padding-block: 22px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.legalbar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legalbar a { text-decoration: none; }
.legalbar a:hover { color: var(--orange); }
@media (max-width: 960px) { .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; gap: 30px; } }

/* Back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--orange); color: #111; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Always white page, even when the phone is in dark mode */
html, body { background: #fff !important; color-scheme: only light; }
@media (prefers-color-scheme: dark) { html, body { background: #fff !important; color: var(--fg); } }
