/* /v2 home only. The main site's root layout (app/layout.tsx) still wraps this route, bringing Tailwind's
   preflight, app/globals.css (dark body, smooth scroll) and utility classes on <html>/<body>. This file undoes
   exactly those rules (back to browser defaults) so the prototype CSS (lenis.css, main.css, panels.css, loaded
   right after this file) cascades as it does in the static prototype. Everything is wrapped in :where() (zero
   specificity), so any prototype rule still wins. Deliberately not `all: revert`: that would also wipe SVG
   presentation attributes (d, fill, cx...) and <img width/height> hints. */

/* preflight: universal box reset */
:where(*), ::before, ::after, ::backdrop, ::file-selector-button {
  box-sizing: revert; margin: revert; padding: revert; border: revert;
}
/* preflight on html + Tailwind classes on <html class="h-full"> and <body class="min-h-full flex flex-col antialiased"> */
:where(html) {
  line-height: revert; -webkit-text-size-adjust: revert; tab-size: revert; font-family: revert;
  font-feature-settings: revert; font-variation-settings: revert; -webkit-tap-highlight-color: revert;
  height: revert; scroll-behavior: auto;
}
:where(body) { min-height: revert; display: revert; flex-direction: revert; -webkit-font-smoothing: revert; -moz-osx-font-smoothing: revert; }
/* preflight element rules */
:where(hr) { height: revert; color: revert; border-top-width: revert; }
:where(abbr[title]) { text-decoration: revert; }
:where(h1, h2, h3, h4, h5, h6) { font-size: revert; font-weight: revert; }
:where(a) { color: revert; text-decoration: revert; }
:where(b, strong) { font-weight: revert; }
:where(code, kbd, samp, pre) { font-family: revert; font-feature-settings: revert; font-variation-settings: revert; font-size: revert; }
:where(small) { font-size: revert; }
:where(sub, sup) { font-size: revert; line-height: revert; position: revert; vertical-align: revert; top: revert; bottom: revert; }
:where(table) { text-indent: revert; border-color: revert; border-collapse: revert; }
:where(progress) { vertical-align: revert; }
:where(summary) { display: revert; }
:where(ol, ul, menu) { list-style: revert; }
:where(img, svg, video, canvas, audio, iframe, embed, object) { display: revert; vertical-align: revert; }
:where(img, video) { max-width: revert; height: revert; }
/* preflight's height:auto overrode the <img width/height> presentational hints; restore them */
:where(img[width]) { width: attr(width px); }
:where(img[height]) { height: attr(height px); }
:where(button, input, select, optgroup, textarea), ::file-selector-button {
  font: revert; font-feature-settings: revert; font-variation-settings: revert; letter-spacing: revert;
  color: revert; border-radius: revert; background-color: revert; opacity: revert; appearance: revert;
}
::file-selector-button { margin-inline-end: revert; }
::placeholder { opacity: revert; color: revert; }
:where(textarea) { resize: revert; }

/* site-wide widgets rendered by the root layout are not part of this design */
a[aria-label="Chat via WhatsApp"], [role="dialog"][aria-label="Persetujuan Cookie"] { display: none !important; }

/* app/globals.css sets html{scroll-behavior:smooth} with more weight than the :where() revert above; Lenis drives scrolling here */
html{scroll-behavior:auto!important}
