/* ==========================================================
   BeautyFound — styles.css
   Mobile first: base styles are for phones, then
   @media (min-width: ...) blocks scale up for tablet/desktop.
   ========================================================== */

/* ---------- 1. Brand settings (change colors/fonts here) ---------- */
:root {
  /* Light mode (default): "Lilac Wash", chosen by Shady 2026-10-03.
     The previous warm palette (bone, cognac) is kept as dark mode's base. */
  --bg: #F4F1F6;            /* Lilac mist: main background */
  --surface: #FBFAFC;       /* Lilac paper: alternate sections, panels, form fields */
  --line: #E4DCEB;          /* Soft lilac: hairline borders */
  --muted: #665F6E;         /* Mauve grey: secondary text, captions, labels */
  --text: #1F1B22;          /* Plum ink: headings and body text */
  --accent: #6A4A86;        /* Violet: links, hovers, small details. Use sparingly. */
  --accent-hover: #52386A;  /* Deep violet */
  --btn-bg: #1F1B22;        /* Primary button */
  --btn-text: #F4F1F6;
  --btn-hover: #52386A;
  --device: #1F1C1A;        /* Laptop and phone frames */
  --device-base: #3A3531;
  --device-notch: #57504A;
  --shadow: rgba(31, 28, 26, 0.45);
  --sketch: #DCD2E6;        /* Plain shapes in the "Instagram" sketch */
  --band-bg: #231D29;       /* Dark plum brand-statement band (dark in both modes) */
  --band-text: #F4F1F6;
  --band-muted: #B9AEC4;
  --band-accent: #C3A7DE;   /* Wisteria */
  --floral: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 320%22 fill=%22none%22 stroke=%22%237B5C9C%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M112 318C106 268 118 226 108 182C100 146 104 104 126 64%22/%3E%3Cpath d=%22M110 270C90 256 66 254 50 266C66 280 92 280 110 270Z%22/%3E%3Cpath d=%22M110 270C88 268 70 267 56 266%22/%3E%3Cpath d=%22M112 228C130 208 156 202 174 210C162 228 134 236 112 228Z%22/%3E%3Cpath d=%22M112 228C134 220 152 214 166 211%22/%3E%3Cpath d=%22M106 186C90 166 70 158 52 162C60 182 84 192 106 186Z%22/%3E%3Cpath d=%22M106 186C88 176 72 168 60 164%22/%3E%3Cpath d=%22M107 146C122 132 128 118 132 100%22/%3E%3Cpath d=%22M132 100C124 92 124 78 132 70C140 78 140 92 132 100Z%22/%3E%3Cpath d=%22M104 132C88 118 74 108 66 92%22/%3E%3Cg transform=%22translate(64 86)%22%3E%3Cg transform=%22rotate(20)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(92)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(164)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(236)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(308)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%221.9%22/%3E%3C/g%3E%3Cpath d=%22M111 196C132 186 150 176 160 162%22/%3E%3Cpath d=%22M160 162C156 152 160 142 168 138C172 148 168 158 160 162Z%22/%3E%3Cg transform=%22translate(128 52)%22%3E%3Cg transform=%22rotate(8)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(80)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(152)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(224)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(296)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%223.0%22/%3E%3C/g%3E%3C/svg%3E"); /* Botanical line drawing (see "Florals" section) */
  --floral-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 320%22 fill=%22none%22 stroke=%22%23C3A7DE%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M112 318C106 268 118 226 108 182C100 146 104 104 126 64%22/%3E%3Cpath d=%22M110 270C90 256 66 254 50 266C66 280 92 280 110 270Z%22/%3E%3Cpath d=%22M110 270C88 268 70 267 56 266%22/%3E%3Cpath d=%22M112 228C130 208 156 202 174 210C162 228 134 236 112 228Z%22/%3E%3Cpath d=%22M112 228C134 220 152 214 166 211%22/%3E%3Cpath d=%22M106 186C90 166 70 158 52 162C60 182 84 192 106 186Z%22/%3E%3Cpath d=%22M106 186C88 176 72 168 60 164%22/%3E%3Cpath d=%22M107 146C122 132 128 118 132 100%22/%3E%3Cpath d=%22M132 100C124 92 124 78 132 70C140 78 140 92 132 100Z%22/%3E%3Cpath d=%22M104 132C88 118 74 108 66 92%22/%3E%3Cg transform=%22translate(64 86)%22%3E%3Cg transform=%22rotate(20)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(92)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(164)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(236)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(308)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%221.9%22/%3E%3C/g%3E%3Cpath d=%22M111 196C132 186 150 176 160 162%22/%3E%3Cpath d=%22M160 162C156 152 160 142 168 138C172 148 168 158 160 162Z%22/%3E%3Cg transform=%22translate(128 52)%22%3E%3Cg transform=%22rotate(8)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(80)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(152)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(224)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(296)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%223.0%22/%3E%3C/g%3E%3C/svg%3E"); /* Same drawing for the dark statement band */
  --bloom: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-16 -16 32 32%22 fill=%22none%22 stroke=%22%237B5C9C%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22rotate(0)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(72)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(144)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(216)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(288)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Ccircle r=%221.8%22 fill=%22%237B5C9C%22/%3E%3C/svg%3E"); /* Small flower mark (wordmark, labels) */
  --bloom-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-16 -16 32 32%22 fill=%22none%22 stroke=%22%23B9AEC4%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22rotate(0)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(72)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(144)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(216)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(288)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Ccircle r=%221.8%22 fill=%22%23B9AEC4%22/%3E%3C/svg%3E");

  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 4px;
  --max-width: 1280px;
  --gutter: 20px;
  --header-height: 64px;
  --section-space: 96px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --floral-opacity: 0.3;     /* How strong the floral drawings are */

  color-scheme: light;
}

/* Dark mode: warm espresso background, bone text, lighter cognac.
   (The same values appear twice: once for the toggle, once for the device setting.) */
:root[data-theme="dark"] {
  --bg: #171513;
  --surface: #201D1A;
  --line: #36312C;
  --muted: #A89F95;
  --text: #EFEAE3;
  --accent: #CF9373;
  --accent-hover: #E2AE90;
  --btn-bg: #EFEAE3;
  --btn-text: #171513;
  --btn-hover: #E2AE90;
  --device: #0C0B0A;
  --device-base: #2B2724;
  --device-notch: #45403A;
  --shadow: rgba(0, 0, 0, 0.6);
  --sketch: #3A3530;
  --band-bg: #0D0C0B;
  --band-text: #F4F0EA;
  --band-muted: #B8AFA5;
  --band-accent: #CF9373;
  --floral-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 320%22 fill=%22none%22 stroke=%22%23CF9373%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M112 318C106 268 118 226 108 182C100 146 104 104 126 64%22/%3E%3Cpath d=%22M110 270C90 256 66 254 50 266C66 280 92 280 110 270Z%22/%3E%3Cpath d=%22M110 270C88 268 70 267 56 266%22/%3E%3Cpath d=%22M112 228C130 208 156 202 174 210C162 228 134 236 112 228Z%22/%3E%3Cpath d=%22M112 228C134 220 152 214 166 211%22/%3E%3Cpath d=%22M106 186C90 166 70 158 52 162C60 182 84 192 106 186Z%22/%3E%3Cpath d=%22M106 186C88 176 72 168 60 164%22/%3E%3Cpath d=%22M107 146C122 132 128 118 132 100%22/%3E%3Cpath d=%22M132 100C124 92 124 78 132 70C140 78 140 92 132 100Z%22/%3E%3Cpath d=%22M104 132C88 118 74 108 66 92%22/%3E%3Cg transform=%22translate(64 86)%22%3E%3Cg transform=%22rotate(20)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(92)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(164)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(236)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(308)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%221.9%22/%3E%3C/g%3E%3Cpath d=%22M111 196C132 186 150 176 160 162%22/%3E%3Cpath d=%22M160 162C156 152 160 142 168 138C172 148 168 158 160 162Z%22/%3E%3Cg transform=%22translate(128 52)%22%3E%3Cg transform=%22rotate(8)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(80)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(152)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(224)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(296)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%223.0%22/%3E%3C/g%3E%3C/svg%3E");
  --bloom-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-16 -16 32 32%22 fill=%22none%22 stroke=%22%23B8AFA5%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22rotate(0)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(72)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(144)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(216)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(288)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Ccircle r=%221.8%22 fill=%22%23B8AFA5%22/%3E%3C/svg%3E");
  --floral-opacity: 0.2;
  --floral: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 320%22 fill=%22none%22 stroke=%22%23CF9373%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M112 318C106 268 118 226 108 182C100 146 104 104 126 64%22/%3E%3Cpath d=%22M110 270C90 256 66 254 50 266C66 280 92 280 110 270Z%22/%3E%3Cpath d=%22M110 270C88 268 70 267 56 266%22/%3E%3Cpath d=%22M112 228C130 208 156 202 174 210C162 228 134 236 112 228Z%22/%3E%3Cpath d=%22M112 228C134 220 152 214 166 211%22/%3E%3Cpath d=%22M106 186C90 166 70 158 52 162C60 182 84 192 106 186Z%22/%3E%3Cpath d=%22M106 186C88 176 72 168 60 164%22/%3E%3Cpath d=%22M107 146C122 132 128 118 132 100%22/%3E%3Cpath d=%22M132 100C124 92 124 78 132 70C140 78 140 92 132 100Z%22/%3E%3Cpath d=%22M104 132C88 118 74 108 66 92%22/%3E%3Cg transform=%22translate(64 86)%22%3E%3Cg transform=%22rotate(20)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(92)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(164)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(236)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(308)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%221.9%22/%3E%3C/g%3E%3Cpath d=%22M111 196C132 186 150 176 160 162%22/%3E%3Cpath d=%22M160 162C156 152 160 142 168 138C172 148 168 158 160 162Z%22/%3E%3Cg transform=%22translate(128 52)%22%3E%3Cg transform=%22rotate(8)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(80)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(152)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(224)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(296)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%223.0%22/%3E%3C/g%3E%3C/svg%3E");
  --bloom: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-16 -16 32 32%22 fill=%22none%22 stroke=%22%23CF9373%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22rotate(0)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(72)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(144)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(216)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(288)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Ccircle r=%221.8%22 fill=%22%23CF9373%22/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* Follow the phone/computer setting unless the visitor picked a theme with the toggle */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171513;
    --surface: #201D1A;
    --line: #36312C;
    --muted: #A89F95;
    --text: #EFEAE3;
    --accent: #CF9373;
    --accent-hover: #E2AE90;
    --btn-bg: #EFEAE3;
    --btn-text: #171513;
    --btn-hover: #E2AE90;
    --device: #0C0B0A;
    --device-base: #2B2724;
    --device-notch: #45403A;
    --shadow: rgba(0, 0, 0, 0.6);
    --sketch: #3A3530;
    --band-bg: #0D0C0B;
    --band-text: #F4F0EA;
    --band-muted: #B8AFA5;
    --band-accent: #CF9373;
    --floral-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 320%22 fill=%22none%22 stroke=%22%23CF9373%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M112 318C106 268 118 226 108 182C100 146 104 104 126 64%22/%3E%3Cpath d=%22M110 270C90 256 66 254 50 266C66 280 92 280 110 270Z%22/%3E%3Cpath d=%22M110 270C88 268 70 267 56 266%22/%3E%3Cpath d=%22M112 228C130 208 156 202 174 210C162 228 134 236 112 228Z%22/%3E%3Cpath d=%22M112 228C134 220 152 214 166 211%22/%3E%3Cpath d=%22M106 186C90 166 70 158 52 162C60 182 84 192 106 186Z%22/%3E%3Cpath d=%22M106 186C88 176 72 168 60 164%22/%3E%3Cpath d=%22M107 146C122 132 128 118 132 100%22/%3E%3Cpath d=%22M132 100C124 92 124 78 132 70C140 78 140 92 132 100Z%22/%3E%3Cpath d=%22M104 132C88 118 74 108 66 92%22/%3E%3Cg transform=%22translate(64 86)%22%3E%3Cg transform=%22rotate(20)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(92)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(164)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(236)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(308)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%221.9%22/%3E%3C/g%3E%3Cpath d=%22M111 196C132 186 150 176 160 162%22/%3E%3Cpath d=%22M160 162C156 152 160 142 168 138C172 148 168 158 160 162Z%22/%3E%3Cg transform=%22translate(128 52)%22%3E%3Cg transform=%22rotate(8)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(80)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(152)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(224)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(296)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%223.0%22/%3E%3C/g%3E%3C/svg%3E");
    --bloom-band: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-16 -16 32 32%22 fill=%22none%22 stroke=%22%23B8AFA5%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22rotate(0)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(72)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(144)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(216)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(288)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Ccircle r=%221.8%22 fill=%22%23B8AFA5%22/%3E%3C/svg%3E");
    --floral-opacity: 0.2;
    --floral: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 240 320%22 fill=%22none%22 stroke=%22%23CF9373%22 stroke-width=%221.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M112 318C106 268 118 226 108 182C100 146 104 104 126 64%22/%3E%3Cpath d=%22M110 270C90 256 66 254 50 266C66 280 92 280 110 270Z%22/%3E%3Cpath d=%22M110 270C88 268 70 267 56 266%22/%3E%3Cpath d=%22M112 228C130 208 156 202 174 210C162 228 134 236 112 228Z%22/%3E%3Cpath d=%22M112 228C134 220 152 214 166 211%22/%3E%3Cpath d=%22M106 186C90 166 70 158 52 162C60 182 84 192 106 186Z%22/%3E%3Cpath d=%22M106 186C88 176 72 168 60 164%22/%3E%3Cpath d=%22M107 146C122 132 128 118 132 100%22/%3E%3Cpath d=%22M132 100C124 92 124 78 132 70C140 78 140 92 132 100Z%22/%3E%3Cpath d=%22M104 132C88 118 74 108 66 92%22/%3E%3Cg transform=%22translate(64 86)%22%3E%3Cg transform=%22rotate(20)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(92)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(164)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(236)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(308)%22%3E%3Cpath d=%22M0 -3C-5.6 -5.6 -5.6 -15.5 0 -18.6C5.6 -15.5 5.6 -5.6 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%221.9%22/%3E%3C/g%3E%3Cpath d=%22M111 196C132 186 150 176 160 162%22/%3E%3Cpath d=%22M160 162C156 152 160 142 168 138C172 148 168 158 160 162Z%22/%3E%3Cg transform=%22translate(128 52)%22%3E%3Cg transform=%22rotate(8)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(80)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(152)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(224)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(296)%22%3E%3Cpath d=%22M0 -3C-9.0 -9.0 -9.0 -25.0 0 -30.0C9.0 -25.0 9.0 -9.0 0 -3Z%22/%3E%3C/g%3E%3Ccircle r=%223.0%22/%3E%3C/g%3E%3C/svg%3E");
    --bloom: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%22-16 -16 32 32%22 fill=%22none%22 stroke=%22%23CF9373%22 stroke-width=%221.8%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22rotate(0)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(72)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(144)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(216)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Cg transform=%22rotate(288)%22%3E%3Cpath d=%22M0 -2.5C-5 -6 -5 -12.5 0 -15C5 -12.5 5 -6 0 -2.5Z%22/%3E%3C/g%3E%3Ccircle r=%221.8%22 fill=%22%23CF9373%22/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-height: 76px; --section-space: 128px; }
}
@media (min-width: 1200px) {
  :root { --gutter: 48px; --section-space: 160px; }
}

/* ---------- 2. Basic reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--btn-bg);
  color: var(--btn-text);
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Shared pieces ---------- */

/* Small uppercase label above headings */
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Section headings */
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.section-title em { color: var(--accent); }

/* Primary button: solid, softened rectangle (not a pill) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.btn:hover { background: var(--btn-hover); }

.btn-small {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.9375rem;
}
.btn-block { width: 100%; }
.btn .external-arrow { margin-left: 8px; font-weight: 400; }

/* Secondary action: underlined text link with an arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 0.25s var(--ease), text-decoration-thickness 0.25s var(--ease);
}
.text-link .arrow { display: inline-block; transition: transform 0.25s var(--ease); }
.text-link:hover {
  color: var(--accent-hover);
  text-decoration-thickness: 2px;
}
.text-link:hover .arrow { transform: translateX(4px); }

/* Device frames (used in the hero and the "why" section) */
.phone {
  padding: 2.4%;
  background: var(--device);
  border-radius: 22px;
  box-shadow: 0 30px 50px -24px var(--shadow);
}
.phone img { width: 100%; border-radius: 15px; }

@media (min-width: 768px) {
  .phone { border-radius: 30px; }
  .phone img { border-radius: 22px; }
}

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled,
body.menu-open .site-header { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--header-height);
}

.wordmark {
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}
.wordmark em { color: var(--accent); }

/* Light/dark toggle: a small icon button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.theme-toggle:hover { color: var(--accent-hover); }
.theme-toggle svg { width: 20px; height: 20px; }
/* Moon in light mode (switch to dark), sun in dark mode (switch to light) */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
/* The toggle needs JavaScript, so hide it without */
html:not(.js) .theme-toggle { display: none; }

/* Phones: wordmark + toggle + Menu only */
.main-nav { display: none; }
.header-cta { display: none; }

/* Without JavaScript the Menu button can't work, so show the CTA instead */
html:not(.js) .header-cta { display: inline-flex; }
html:not(.js) .menu-toggle { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  min-width: 48px;
  justify-content: flex-end;
  padding: 0;
  margin-right: -4px;
  background: none;
  border: 0;
  color: var(--text);
  font: 600 0.9375rem/1 var(--font-body);
  cursor: pointer;
}
.menu-toggle-label {
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
}

/* Full-screen phone menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: var(--bg);
  padding: 16px 0 40px;
}
.mobile-menu.is-open { display: block; }

.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1.1;
  text-decoration: none;
}
.mobile-menu li a:hover { color: var(--accent-hover); }
.mobile-menu .btn { margin-top: 32px; }
.mobile-menu-note {
  margin-top: 20px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 900px) {
  .header-inner { gap: 24px; }
  .menu-toggle,
  .mobile-menu,
  .mobile-menu.is-open { display: none; }

  .main-nav { display: block; }
  .main-nav ul { display: flex; gap: 36px; }
  .main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(currentColor, currentColor) left calc(100% - 10px) / 0 1px no-repeat;
    transition: background-size 0.3s var(--ease), color 0.3s var(--ease);
  }
  .main-nav a:hover {
    color: var(--accent-hover);
    background-size: 100% 1px;
  }
  .main-nav a[aria-current="page"] { background-size: 100% 1px; }

  .header-cta { display: inline-flex; }
  .wordmark { font-size: 2rem; }
  .theme-toggle { margin: 0 -8px; }
}

/* ---------- 5. Hero ---------- */
.hero {
  padding: 40px 0 var(--section-space);
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 56px;
}

.hero-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.4rem + 5.2vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.hero-title-line { display: block; }
.hero-title em { color: var(--accent); }

.hero-text {
  margin-top: 24px;
  max-width: 34rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 36px;
}

.hero-note {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Device mockup: laptop with a phone overlapping its lower-left corner */
.hero-media { position: relative; }

/* Panel behind the devices, bleeding to the right edge of the screen */
.hero-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -24px;
  bottom: 40px;
  left: 14%;
  right: calc(var(--gutter) * -1);
  background: var(--surface);
  border: 1px solid var(--line);
  border-right: 0;
}

.devices {
  position: relative;
  z-index: 1;
  padding: 0 0 12% 10%;
}

.laptop {
  box-shadow: 0 40px 60px -40px var(--shadow);
}
.laptop-screen {
  padding: 2.2% 2.2% 3%;
  background: var(--device);
  border-radius: 10px 10px 0 0;
}
.laptop-screen img {
  width: 100%;
  border-radius: 2px;
}
.laptop-base {
  position: relative;
  height: 12px;
  margin: 0 -5%;
  background: var(--device-base);
  border-radius: 0 0 12px 12px;
}
.laptop-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14%;
  height: 4px;
  transform: translateX(-50%);
  background: var(--device-notch);
  border-radius: 0 0 4px 4px;
}

.devices .phone {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
}

.hero-caption {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-left: 14%;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero { padding-top: 64px; }
}

/* Desktop: copy left (5 of 12 columns), devices right (7 of 12) */
@media (min-width: 1024px) {
  .hero { padding-top: 72px; }
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: center;
  }
  .hero-copy { grid-column: 1 / span 5; }
  .hero-media { grid-column: 6 / span 7; }
  .hero-media::before { top: -48px; bottom: 44px; left: 20%; }
  .hero-text { font-size: 1.1875rem; }
  .hero-caption { padding-left: 20%; }
}

/* ---------- 6. Social media → brand ("Why BeautyFound") ---------- */
.why {
  padding: var(--section-space) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-intro .section-title { margin-top: 20px; }
.why-body { margin-top: 24px; max-width: 34rem; }
.why-body p { font-size: 1.125rem; color: var(--muted); }
.why-body p + p { margin-top: 16px; }
.why-body .why-lead { color: var(--text); }

/* Today → With BeautyFound */
.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 64px;
}

.compare-col h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.75rem;
  line-height: 1.15;
}
.compare-today > p:last-child {
  margin-top: 20px;
  max-width: 22rem;
  color: var(--muted);
}

/* A plain, unbranded sketch of a social profile */
.sketch {
  margin-top: 28px;
  max-width: 280px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.sketch-profile { display: flex; align-items: center; gap: 14px; }
.sketch-avatar {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sketch);
}
.sketch-lines { flex: 1; display: grid; gap: 7px; }
.sketch-lines span { height: 7px; border-radius: 4px; background: var(--sketch); }
.sketch-lines span:nth-child(2) { width: 70%; }
.sketch-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.sketch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 16px;
}
.sketch-grid span { aspect-ratio: 1; background: var(--sketch); }
.sketch-grid span:nth-child(even) { opacity: 0.6; }

.compare-arrow {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  color: var(--accent);
}
.compare-arrow svg { width: 24px; height: 56px; }
.compare-arrow .arrow-across { display: none; }

/* Website side: phone screenshot next to the list */
.compare-site-inner {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}
.compare-site .phone { border-radius: 20px; }
.compare-site .phone img { border-radius: 14px; }

.site-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.35;
}
.site-list li:first-child { padding-top: 0; }
.site-list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1px;
  background: var(--accent);
  transform: translateY(-4px);
}

/* Closing line */
.why-outro {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.why-outro-line {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);
  line-height: 1.1;
  text-wrap: balance;
}
.why-outro-line em { color: var(--accent); }
.why-outro-note {
  margin-top: 16px;
  color: var(--muted);
}

@media (min-width: 640px) {
  .compare-site-inner { grid-template-columns: 200px 1fr; gap: 40px; }
}

/* Desktop: intro in two columns, then Today → arrow → Website in one row */
@media (min-width: 1024px) {
  .why-intro {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: end;
  }
  .why-intro-heading { grid-column: 1 / span 7; }
  .why-body { grid-column: 8 / span 5; margin-top: 0; }

  .compare {
    grid-template-columns: 4fr 1fr 7fr;
    gap: 32px;
    align-items: center;
    margin-top: 96px;
  }
  .compare-arrow .arrow-down { display: none; }
  .compare-arrow .arrow-across { display: block; width: 72px; height: 24px; }
  .compare-site {
    padding-left: 48px;
    border-left: 1px solid var(--line);
  }
  .compare-site-inner { grid-template-columns: 220px 1fr; gap: 48px; align-items: center; }

  .why-outro { margin-top: 120px; padding-top: 72px; }
}

/* ---------- 7. Featured work (portfolio) ---------- */
.work { padding: var(--section-space) 0; }

.work-intro { max-width: 40rem; }
.work-intro .section-title { margin-top: 20px; }
.work-lead {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--muted);
}

.project-list { margin-top: 56px; }
.project-fallback { color: var(--muted); }
.project-fallback a { color: var(--text); text-underline-offset: 4px; }

/* Labels that say whether a project is a demo or real client work */
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 2px;
}
.badge-demo {
  color: var(--muted);
  border: 1px solid currentColor;
}
.badge-client {
  color: var(--btn-text);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
}

.project-media {
  padding: 32px 28px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.project-media .devices { padding: 0 0 12% 12%; }
.project-media .devices.devices-laptop-only { padding: 0 4%; }
.project:hover .laptop-screen img,
.project:hover .phone img {
  transform: scale(1.02);
}
.project .laptop-screen,
.project .phone { overflow: hidden; }
.project .laptop-screen img,
.project .phone img { transition: transform 0.6s var(--ease); }

.project-info { margin-top: 28px; }
.project-info h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem);
  line-height: 1;
}
.project-category {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.project-summary {
  margin-top: 20px;
  font-size: 1.125rem;
  max-width: 30rem;
}
.project-services {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--muted);
}
.project-services .label { margin-right: 8px; color: var(--text); }
.project-note {
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--muted);
}
.project-quote {
  margin: 20px 0 0;
  padding-left: 16px;
  border-left: 1px solid var(--accent);
}
.project-quote p { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.3; }
.project-quote cite { display: block; margin-top: 8px; font-size: 0.875rem; font-style: normal; color: var(--muted); }

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: 28px;
}

/* Shown instead of the live demo button until a URL is added */
.link-pending {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* More projects: two columns of smaller cards under the featured one */
.project-grid {
  display: grid;
  gap: 72px 32px;
  margin-top: 96px;
}
.project-card .project-info h3 { font-size: 2.25rem; }

@media (min-width: 768px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-media { padding: 48px 48px 52px; }
}

/* Desktop: the featured project becomes a wide spread (image 7 cols, details 5) */
@media (min-width: 1024px) {
  .work-intro { max-width: none; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; }
  .work-intro .label,
  .work-intro .section-title { grid-column: 1 / span 7; }
  .work-lead { grid-column: 8 / span 5; grid-row: 2; margin-top: 0; }

  .project-list { margin-top: 80px; }
  .project-featured {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: center;
  }
  .project-featured .project-media { grid-column: 1 / span 7; padding: 64px 56px 64px; }
  .project-featured .project-info { grid-column: 9 / span 4; margin-top: 0; }
}

/* ---------- 8. Case study pages ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--accent-hover); }

.case-hero { padding: 32px 0 64px; }
.case-hero .badge { margin-top: 32px; }
.case-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 1.6rem + 6vw, 6rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.case-meta {
  margin-top: 12px;
  color: var(--muted);
}
.case-summary {
  margin-top: 28px;
  max-width: 36rem;
  font-size: 1.1875rem;
}
.case-hero .project-actions { margin-top: 32px; }

.case-media {
  padding: 32px 24px 40px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.case-media .devices { max-width: 1040px; margin: 0 auto; }

.case-body { padding: var(--section-space) 0; }
.case-row {
  display: grid;
  gap: 16px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.case-row:first-child { border-top: 0; padding-top: 0; }
.case-row h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
}
.case-row p { max-width: 38rem; color: var(--muted); }
.case-row p + p { margin-top: 16px; }

.case-list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.case-list li:first-child { padding-top: 0; }
.case-list strong { font-weight: 600; }
.case-list span { color: var(--muted); }

.case-honest {
  margin-top: 8px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.9375rem;
  color: var(--muted);
}

.case-cta {
  padding: var(--section-space) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  text-align: center;
}
.case-cta .section-title { max-width: 18ch; margin: 0 auto; }
.case-cta p { margin-top: 16px; color: var(--muted); }
.case-cta .btn { margin-top: 32px; }

@media (min-width: 768px) {
  .case-media { padding: 64px 48px 72px; }
}
@media (min-width: 1024px) {
  .case-hero { padding: 48px 0 96px; }
  .case-hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 32px; align-items: end; }
  .case-hero-main { grid-column: 1 / span 7; }
  .case-hero-side { grid-column: 9 / span 4; }
  .case-row { grid-template-columns: repeat(12, 1fr); column-gap: 32px; padding: 56px 0; }
  .case-row h2 { grid-column: 1 / span 4; }
  .case-row-content { grid-column: 6 / span 7; }
}

/* Text for screen readers only */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 9. Who it's for ---------- */
.who {
  padding: var(--section-space) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.who .section-title { margin-top: 20px; }

/* Big serif list of who BeautyFound is for, separated by slashes */
.who-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 56px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 4vw, 4.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.who-list li { white-space: nowrap; }
.who-list li:not(:last-child)::after {
  content: "/";
  margin: 0 0.3em;
  color: var(--accent);
  font-style: italic;
  opacity: 0.7;
}

.who-close {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
.who-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  line-height: 1.1;
}
.who-tagline em { color: var(--accent); }
.who-text {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .who-list { margin-top: 72px; padding: 48px 0; }
  .who-close {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: baseline;
    margin-top: 64px;
  }
  .who-tagline { grid-column: 1 / span 5; }
  .who-text { grid-column: 7 / span 6; }
}

/* ---------- 10. What you get ---------- */
.get { padding: var(--section-space) 0; }
.get-intro .section-title { margin-top: 20px; }
.get-lead {
  margin-top: 20px;
  max-width: 30rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.get-list {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.get-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.get-num {
  padding-top: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.get-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
}
.get-item p { margin-top: 6px; color: var(--muted); }
.get-item .get-tag {
  margin-top: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Phones: number and label share one small line above the title, so the
   text gets the full width and the list is shorter */
@media (max-width: 767px) {
  .get-list { margin-top: 36px; }
  .get-item {
    grid-template-columns: auto 1fr;
    grid-template-areas: "num tag" "title title" "text text";
    align-items: baseline;
    column-gap: 10px;
    row-gap: 0;
    padding: 18px 0;
  }
  .get-item > div { display: contents; }
  .get-num { grid-area: num; padding-top: 0; font-size: 0.75rem; }
  .get-item .get-tag { grid-area: tag; margin-top: 0; }
  .get-item h3 { grid-area: title; margin-top: 6px; font-size: 1.4375rem; }
  .get-item p:not(.get-tag) { grid-area: text; margin-top: 4px; }
}

/* Desktop: intro stays in view on the left while the list scrolls on the right */
@media (min-width: 1024px) {
  .get-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .get-intro {
    grid-column: 1 / span 5;
    position: sticky;
    top: calc(var(--header-height) + 48px);
  }
  .get-list { grid-column: 7 / span 6; margin-top: 0; }
  .get-item { grid-template-columns: 56px 1fr; padding: 28px 0; }
  .get-item:first-child { padding-top: 0; }
  .get-list { border-top: 0; }
}

/* ---------- 11. Process ---------- */
.process {
  padding: var(--section-space) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.process-intro .section-title { margin-top: 20px; }
.process-lead {
  margin-top: 20px;
  max-width: 32rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.steps {
  display: grid;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step-num {
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 0.9;
  color: var(--accent);
}
.step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.625rem;
  line-height: 1.15;
}
.step p { color: var(--muted); }

.process-note {
  margin-top: 40px;
  font-size: 0.9375rem;
  color: var(--muted);
}
.process-note a { color: var(--text); font-weight: 600; text-underline-offset: 4px; }
.process-note a:hover { color: var(--accent-hover); }

/* Desktop: four steps side by side */
@media (min-width: 1024px) {
  .process-intro {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: end;
  }
  .process-intro-heading { grid-column: 1 / span 7; }
  .process-lead { grid-column: 8 / span 5; margin-top: 0; }

  .steps {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 32px;
    margin-top: 80px;
  }
  .step {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 12px;
    padding: 32px 0 0;
  }
  .step-num { grid-row: auto; font-size: 4rem; margin-bottom: 20px; }
}

/* ---------- 12. Brand statement (dark band) ---------- */
.statement {
  padding: calc(var(--section-space) * 1.1) 0;
  background: var(--band-bg);
  color: var(--band-text);
  text-align: center;
}
.statement .label { color: var(--band-muted); }
.statement-title {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 1.6rem + 6.4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.statement-title span { display: block; }
.statement-title em { color: var(--band-accent); }
.statement-text {
  max-width: 34rem;
  margin: 32px auto 0;
  font-size: 1.1875rem;
  color: var(--band-muted);
}
.statement-rule {
  width: 48px;
  height: 1px;
  margin: 40px auto 0;
  border: 0;
  background: var(--band-accent);
}

/* ---------- 13. FAQ ---------- */
.faq { padding: var(--section-space) 0; }
.faq-intro .section-title { margin-top: 20px; }
.faq-lead {
  margin-top: 20px;
  font-size: 1.125rem;
  color: var(--muted);
}
.faq-lead a,
.faq-answer a {
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 4px;
}
.faq-lead a:hover,
.faq-answer a:hover { color: var(--accent-hover); }

.faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }

/* The question row (a native, keyboard-friendly toggle) */
.faq-item summary {
  position: relative;
  display: block;
  padding: 24px 48px 24px 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  transition: color 0.25s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }

/* Plus sign that turns into a minus when open */
.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0deg); }

.faq-answer {
  padding: 0 0 28px;
  max-width: 40rem;
  color: var(--muted);
}

/* Smooth open/close in browsers that support it (others just open instantly) */
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }
  .faq-item[open]::details-content { height: auto; }
}

/* Package list for the pricing answer. Not on the page yet; see README "Adding prices later" */
.faq-packages { margin-top: 8px; }
.faq-packages li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.faq-package-name { font-weight: 600; color: var(--text); }
.faq-package-price { font-family: var(--font-display); font-size: 1.375rem; color: var(--text); }
.faq-package-desc { grid-column: 1 / -1; }

/* The FAQ on its own page sits right under the header, so it needs less space on top */
.faq-page { padding-top: 48px; }

/* Homepage: small "Still have questions?" link to the FAQ page */
.faq-teaser { padding: 56px 0; }
.faq-teaser-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
}
.faq-teaser-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.1;
}
.faq-teaser-text { margin-top: 8px; color: var(--muted); }

@media (min-width: 768px) {
  .faq-page { padding-top: 72px; }
  .faq-teaser { padding: 72px 0; }
  .faq-teaser-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .faq-intro {
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--header-height) + 48px);
  }
  .faq-list { grid-column: 6 / span 7; margin-top: 0; }
  .faq-item summary { font-size: 1.75rem; padding: 28px 56px 28px 0; }
  .faq-answer { padding-right: 56px; }
}

.faq-answer p + p { margin-top: 12px; }

/* ---------- 14. Final call to action ---------- */
.final-cta {
  padding: calc(var(--section-space) * 1.1) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}
.final-cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.6rem + 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.final-cta-title em { color: var(--accent); }
.final-cta-text {
  max-width: 32rem;
  margin: 24px auto 36px;
  font-size: 1.1875rem;
  color: var(--muted);
}
.final-cta-note {
  margin-top: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- 15. Contact / project inquiry form ---------- */
.contact {
  padding: var(--section-space) 0;
  background: var(--surface);
}
.contact-intro .section-title { margin-top: 20px; }
.contact-lead {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.25;
}
.contact-text {
  margin-top: 16px;
  max-width: 28rem;
  color: var(--muted);
}
.contact-form-wrap { margin-top: 48px; }

.inquiry-form { display: grid; gap: 24px; }
.field-row { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; min-width: 0; }

.field label,
.field legend {
  font-size: 0.9375rem;
  font-weight: 600;
}
.optional { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem; /* 16px stops phones from zooming in */
  line-height: 1.4;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.field [aria-invalid="true"] { border-color: var(--accent); }

/* Dropdown with a simple chevron that follows the text color */
.field select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: right 22px center, right 16px center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.field select:invalid { color: var(--muted); }
.field select option { color: var(--text); background: var(--bg); }

/* Yes / No / Not sure and the "looking for" choices */
.choices {
  margin: 0;
  padding: 0;
  border: 0;
}
.choices legend { padding: 0; margin-bottom: 12px; }
.choice-list { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px 10px 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.choice:hover { border-color: var(--muted); }
.choice input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.choice:has(input:checked) { border-color: var(--accent); }
.choice:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Website address question: a small ? button beside the question that opens a short explanation */
.choices-question {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.choices-question .info-toggle { margin-left: 6px; }
.info-toggle { margin-bottom: 12px; }
.choices legend ~ .field-hint,
.choices legend ~ .field-info,
.choices legend ~ .choice-list { clear: both; }
.info-toggle {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  margin-top: -1px;
  vertical-align: middle;
  background: transparent;
  color: var(--accent);
  font: 600 0.8125rem/1 var(--font-body);
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.info-toggle::after { content: ""; position: absolute; inset: -10px; } /* bigger tap area on phones */
.info-toggle:hover,
.info-toggle[aria-expanded="true"] { background: var(--accent); color: var(--bg); }
.info-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.field-hint { margin: 0;  font-size: 0.875rem; color: var(--muted); }
.field-info {
  margin: 4px 0;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.field-info p { margin: 0; }
.field-info .field-info-title { margin-bottom: 4px; font-weight: 600; }

/* Spam trap, kept off-screen */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: var(--bg);
  font-weight: 500;
}
.form-error a { font-weight: 600; text-underline-offset: 4px; }
.form-actions { display: grid; gap: 14px; }
.form-actions .btn { width: 100%; }
.form-privacy { font-size: 0.875rem; color: var(--muted); }

.form-success {
  padding: 40px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-success:focus { outline: none; }
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
}
.form-success p { margin-top: 12px; color: var(--muted); }
.form-success a { color: var(--text); font-weight: 600; text-underline-offset: 4px; }

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-actions {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
  }
  .form-actions .btn { width: auto; }
}

@media (min-width: 1024px) {
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
    align-items: start;
  }
  .contact-intro {
    grid-column: 1 / span 4;
    position: sticky;
    top: calc(var(--header-height) + 48px);
  }
  .contact-form-wrap { grid-column: 6 / span 7; margin-top: 0; }
}

/* ---------- 16. Footer ---------- */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-inner { display: grid; gap: 40px; }
.footer-brand p { margin-top: 12px; color: var(--muted); }
.footer-brand .wordmark { display: inline-block; margin-right: 0; }

.footer-nav ul,
.footer-contact { display: grid; gap: 4px; }
.footer-nav a,
.footer-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-nav a:focus-visible,
.footer-contact a:focus-visible { outline-offset: 0; }

.footer-base {
  margin-top: 48px;
  font-size: 0.875rem;
  color: var(--muted);
}
.footer-base p {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr auto auto;
    column-gap: 64px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .footer-inner { column-gap: 120px; }
}

/* ---------- 17. Florals ---------- */
/* A faint botanical line drawing in a few places only: hero, "Made for
   independent beauty", the brand statement, the final CTA and the FAQ page.
   The drawing itself is --floral at the top of this file. To remove the
   florals, delete this section. */
.hero,
.who,
.statement,
.final-cta,
.faq-page {
  position: relative;
  z-index: 0;
  overflow: clip; /* keeps each drawing inside its own section */
}
.hero { overflow: clip; }
.hero::after,
.who::after,
.statement::before,
.statement::after,
.final-cta::after,
.faq-page::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 180px;
  aspect-ratio: 3 / 4;
  background: var(--floral) center / contain no-repeat;
  opacity: var(--floral-opacity);
  pointer-events: none;
}

/* Hero: top right on phones and tablets; on desktop, in the open space under the phone mockup */
.hero::after { top: -8px; right: -56px; width: 150px; transform: rotate(-14deg); }

/* Made for independent beauty: top right, beside the heading (tablet and up) */
.who::after { display: none; top: 48px; right: 2%; transform: scaleX(-1) rotate(-8deg); }

/* Brand statement: a pair framing the headline */
.statement::before,
.statement::after { background-image: var(--floral-band); opacity: 0.28; bottom: -28px; }
.statement::before { left: -56px; transform: rotate(8deg); }
.statement::after { right: -56px; transform: scaleX(-1) rotate(8deg); }

/* Final CTA: one small sprig at the lower left */
.final-cta::after { bottom: -16px; left: -36px; width: 140px; transform: rotate(6deg); }

/* FAQ page: top right, beside the questions */
.faq-page::after { top: 8px; right: -48px; width: 150px; transform: scaleX(-1) rotate(10deg); }

@media (min-width: 768px) {
  .hero::after { width: 220px; right: -40px; }
  .who::after { display: block; width: 200px; }
  .statement::before,
  .statement::after { width: 260px; bottom: -36px; }
  .statement::before { left: 2%; }
  .statement::after { right: 2%; }
  .final-cta::after { width: 200px; left: 3%; }
  .faq-page::after { width: 200px; right: 1%; }
}

@media (min-width: 1200px) {
  .hero::after { top: auto; right: auto; bottom: -56px; left: 33%; width: 210px; transform: rotate(-6deg); }
  .who::after { width: 250px; right: 5%; }
  .statement::before,
  .statement::after { width: 300px; }
  .statement::before { left: 6%; }
  .statement::after { right: 6%; }
  .final-cta::after { width: 230px; left: 7%; }
}

/* Small flower mark wherever the BeautyFound name appears */
.wordmark { position: relative; }
.wordmark::after {
  content: "";
  position: absolute;
  top: -0.18em;
  right: -0.5em;
  width: 0.42em;
  height: 0.42em;
  background: var(--bloom) center / contain no-repeat;
  pointer-events: none;
}
.label-bloom { display: inline-flex; align-items: center; gap: 10px; }
.label-bloom::before,
.label-bloom::after {
  content: "";
  width: 11px;
  height: 11px;
  background: var(--bloom) center / contain no-repeat;
}
.statement .label-bloom::before,
.statement .label-bloom::after { background-image: var(--bloom-band); }
.label-bloom.bloom-start::after { content: none; }

/* "Why BeautyFound": a sprig behind the phone in the "With BeautyFound" column */
.compare-site { position: relative; z-index: 0; }
.compare-site::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -24px;
  right: 0;
  width: 120px;
  aspect-ratio: 3 / 4;
  background: var(--floral) center / contain no-repeat;
  opacity: var(--floral-opacity);
  transform: scaleX(-1) rotate(-10deg);
  pointer-events: none;
}

/* Final CTA ("Get BeautyFound"): a second sprig, mirrored, on the right */
.final-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -36px;
  width: 140px;
  aspect-ratio: 3 / 4;
  background: var(--floral) center / contain no-repeat;
  opacity: var(--floral-opacity);
  transform: scaleX(-1) rotate(-170deg);
  pointer-events: none;
}

/* Inquiry form ("Send to BeautyFound") and footer */
.contact,
.site-footer { position: relative; z-index: 0; overflow: clip; }
.contact::after,
.site-footer::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 160px;
  aspect-ratio: 3 / 4;
  background: var(--floral) center / contain no-repeat;
  opacity: calc(var(--floral-opacity) * 0.9);
  pointer-events: none;
}
.contact::after { top: 16px; left: -48px; transform: rotate(-12deg); }
.site-footer::after { bottom: -72px; right: -32px; transform: scaleX(-1) rotate(6deg); }

@media (min-width: 768px) {
  .compare-site::after { width: 180px; right: -8px; }
  .final-cta::before { width: 200px; right: 3%; }
  .contact::after { width: 200px; left: -24px; }
  .site-footer::after { width: 200px; right: 2%; }
}
@media (min-width: 1024px) {
  .contact::after { top: auto; bottom: -48px; left: 2%; width: 160px; }
}
@media (min-width: 1200px) {
  .final-cta::before { width: 230px; right: 7%; }
  .site-footer::after { width: 230px; right: 6%; }
}

/* ---------- 18. Gentle entrance animations ---------- */
/* Only hide things when JavaScript is running and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-reveal,
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .js .hero-reveal.is-visible,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js .hero-media.hero-reveal { transition-duration: 0.9s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
