/* Broomate website. One stylesheet, no framework.
   The pattern (the owner, 22 Nov 2026, from an app landing page they sent: "a lot simpler and cleaner. I hate
   the yellow gradient"): a white page; the words sit on a flat light grey block that runs to the edge of the
   screen with rounded corners; the phones stand whole on white beside it. Every section is that hero again,
   the grey block changing sides. No gradients, no coloured panels. */

/* The app's own typeface, served from this site (no third party sees a visitor) */
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("/assets/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #1e222a;
  --muted: #555b66;
  --blue: #176f93;
  --grey: #f3f5f9;
  --grey-2: #e7ecf4;
  --yellow: #ffd60a;
  --white: #ffffff;
  --line: rgba(30, 34, 42, 0.12);
  --radius: 48px;
  --wrap: 1200px;
  --nav: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 12px; }
.skip:focus { left: 16px; }

/* Buttons: a white card with the store's mark in a dark tile, as in the reference */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 22px 0 10px;
  border-radius: 12px; background: var(--white); color: var(--ink); font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(30, 34, 42, 0.08), 0 14px 30px -14px rgba(30, 34, 42, 0.3); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(30, 34, 42, 0.1), 0 18px 34px -14px rgba(30, 34, 42, 0.36); }
.btn svg { width: 36px; height: 36px; padding: 9px; border-radius: 9px; background: var(--ink); color: var(--white); flex: none; }
.btn--text { padding: 0 22px; }

/* The nav: on the page, not stuck to the screen, so the grey block runs up behind it */
.nav { position: relative; z-index: 20; }
.nav__bar { display: flex; align-items: center; gap: 24px; height: var(--nav); }
.logo { display: inline-flex; align-items: center; gap: 8px; font: 800 22px/1 var(--font); letter-spacing: -0.03em; text-decoration: none; text-transform: lowercase; }
.logo img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: 32px; font-weight: 600; font-size: 15px; }
.nav__links a { text-decoration: none; padding: 8px 0; }
.nav__links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { margin-left: auto; min-height: 44px; padding: 0 18px; gap: 8px; border-radius: 10px; background: var(--grey-2); box-shadow: none; font-size: 15px; }
.nav .btn:hover { background: #dce3ee; transform: none; }
.nav .btn svg { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; color: inherit; }

/* The block: the words on grey that runs off one side of the screen, the phones on white */
.block { position: relative; z-index: 0; overflow-x: clip; }
.block + .block { margin-top: 28px; }
.panel__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.panel__text { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 88px 56px 88px 0; }
.panel__text::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; left: -100vw; background: var(--grey); border-radius: 0 var(--radius) var(--radius) 0; }
.block--flip .panel__text { order: 2; padding: 88px 0 88px 56px; }
.block--flip .panel__text::before { left: 0; right: -100vw; border-radius: var(--radius) 0 0 var(--radius); }
.panel__phones { --pw: 232px; position: relative; display: flex; align-items: flex-start; justify-content: center; padding: 56px 0; }
.panel__phones .phone { --w: var(--pw); }
.panel__phones .phone + .phone { margin-left: 20px; }
.panel__phones.phones--one { --pw: 300px; }

/* The hero: the grey block starts at the top of the page, behind the nav, and rounds one corner */
.block--hero { margin-top: calc(var(--nav) * -1); }
.block--hero .panel__text { padding-top: calc(var(--nav) + 72px); padding-bottom: 96px; }
.block--hero .panel__text::before { border-radius: 0 0 var(--radius) 0; }
.block--hero .panel__phones { padding-top: calc(var(--nav) + 28px); }
/* The hero's grey block is the wider half, so the whole menu sits on it */
.block--hero .panel__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* The words */
.eyebrow { font-weight: 700; font-size: 15px; color: var(--blue); }
.hero__name { margin-top: 14px; font-size: clamp(38px, 4.6vw, 60px); text-wrap: balance; }
.hero__line { margin-top: 18px; font-size: clamp(19px, 1.8vw, 23px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
.hero__actions { margin-top: 32px; }
.panel h2 { margin-top: 12px; font-size: clamp(30px, 3.6vw, 46px); }
.lead { margin-top: 18px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--muted); max-width: 34ch; }
.lead + .lead { margin-top: 10px; }
.points { margin-top: 18px; display: grid; gap: 10px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.5; color: var(--muted); max-width: 34ch; }
.points li { position: relative; padding-left: 22px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }

/* The three small marks around the hero phone, as in the reference: dots, a triangle, an arc */
.deco { position: absolute; pointer-events: none; }
.deco--dots { z-index: -1; top: calc(var(--nav) + 4px); left: calc(50% - var(--pw) / 2 - 58px); width: 122px; height: 122px;
  background-image: radial-gradient(circle, #c3ccd9 1.6px, transparent 1.9px); background-size: 15px 15px; }
.deco--tri { left: calc(50% - var(--pw) / 2 - 70px); top: 58%; width: 30px; height: 30px; color: #45bf7a; }
.deco--arc { right: calc(50% - var(--pw) / 2 - 62px); bottom: 64px; width: 46px; height: 46px; color: var(--yellow); }

/* A real iPhone: ink bezel, the island, a status bar, then the app's own screen */
.phone { --w: 300px; position: relative; flex: none; width: var(--w); padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.17);
  background: #0f1115; box-shadow: 0 2px 0 1px #3a3d44 inset, 0 30px 60px -28px rgba(30, 34, 42, 0.45); }
.phone__screen { position: relative; overflow: hidden; border-radius: calc(var(--w) * 0.14); background: var(--top, #fff); }
.phone__screen::before { content: ""; position: absolute; z-index: 2; top: calc(var(--w) * 0.03); left: 50%; width: 31%; height: calc(var(--w) * 0.085);
  transform: translateX(-50%); border-radius: 999px; background: #0f1115; }
.phone__status { display: flex; justify-content: space-between; align-items: center; height: calc(var(--w) * 0.14);
  padding: 0 calc(var(--w) * 0.09) 0 calc(var(--w) * 0.1); font: 700 calc(var(--w) * 0.048) / 1 var(--font); color: var(--status, var(--ink)); }
.phone__status svg { width: calc(var(--w) * 0.17); height: auto; }
.phone__shot { position: relative; }
.phone__clip { position: absolute; height: auto; }
@media (prefers-reduced-motion: reduce) { .phone__clip { display: none; } }
.phone--lower { margin-top: 56px; }

/* The space for the owner's own video in Learn, until the video comes */
.ph-screen { aspect-ratio: 750 / 1624; padding: 8% 7%; background: #fff; text-align: center; }
.ph-screen h3 { font-size: calc(var(--w) * 0.08); letter-spacing: -0.02em; }
.ph-screen p { margin-top: 4%; font-size: calc(var(--w) * 0.046); color: var(--muted); line-height: 1.4; }
.ph-video { display: grid; place-items: center; margin-top: 8%; aspect-ratio: 3 / 4; border-radius: calc(var(--w) * 0.06);
  background: #e7edf4; color: #4a5260; font-weight: 600; font-size: calc(var(--w) * 0.05); }

/* The close: one line and the button, on white */
.close { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 88px 24px 96px; text-align: center; }
.close__line { font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; }
.footer__panel { padding: 64px 0 32px; border-radius: var(--radius) var(--radius) 0 0; background: var(--grey); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.logo--big { font-size: 40px; }
.logo--big img { height: 48px; }
.footer__lede { margin-top: 12px; font-weight: 600; font-size: 18px; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__cols h3 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.footer__cols ul { margin-top: 6px; display: grid; }
.footer__cols a, .footer__base a { display: inline-block; padding: 10px 0; text-decoration: none; font-weight: 600; }
.footer__cols a:hover, .footer__base a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 15px; color: var(--muted); }
.footer__base a { text-decoration: none; }

/* Support: questions and data on white, under the hero panel */
.plain { padding: 96px 0; }
.plain__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.plain h2 { font-size: clamp(36px, 4vw, 52px); }
.plain .lead { max-width: 34ch; }
.faq { display: grid; gap: 12px; }
.faq__item { padding: 22px 26px; border-radius: 16px; background: var(--grey); }
.faq__item h3 { font-size: 19px; letter-spacing: -0.015em; line-height: 1.3; }
.faq__item p { margin-top: 8px; color: #3a3f48; }
.rows { display: grid; gap: 12px; }
.rows > div { padding: 22px 26px; border-radius: 16px; background: var(--grey); }
.rows h3 { font-size: 19px; letter-spacing: -0.015em; }
.rows p { margin-top: 8px; color: #3a3f48; }
.textlink { text-decoration: underline; text-underline-offset: 3px; }
.plain .note { margin-top: 20px; }

/* Narrower computers */
@media (max-width: 1099px) {
  .panel__phones { --pw: 200px; }
  .panel__phones.phones--one { --pw: 270px; }
  .panel__text { padding-right: 40px; }
  .block--flip .panel__text { padding-left: 40px; }
}
/* The menu shows only where all of it fits on the hero's grey block */
@media (max-width: 1199px) { .nav__links { display: none; } }
/* One column: the words on a grey band the width of the screen, then the phones on white */
@media (max-width: 959px) {
  :root { --radius: 32px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .nav__links { display: none; }
  .block + .block { margin-top: 0; }
  .panel__grid, .block--hero .panel__grid { grid-template-columns: 1fr; padding: 0 20px; }
  .panel__text, .block--flip .panel__text { order: 0; padding: 44px 0 40px; }
  .panel__text::before, .block--flip .panel__text::before { left: -100vw; right: -100vw; border-radius: 0; }
  .block--hero .panel__text { padding-top: calc(var(--nav) + 20px); padding-bottom: 40px; }
  .block--hero .panel__text::before { border-radius: 0 0 var(--radius) var(--radius); }
  .panel__phones { --pw: 240px; padding: 36px 0 48px; }
  .panel__phones.phones--one { --pw: 280px; }
  .block--hero .panel__phones { padding-top: 36px; }
  .deco--dots { top: 8px; }
  .plain { padding: 64px 0; }
  .plain__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__panel { padding-top: 48px; }
  .close { padding: 56px 20px 64px; }
}
/* A phone: two phones share the width, one phone stays big */
@media (max-width: 599px) {
  .nav .btn { display: none; }
  .panel__phones { --pw: calc((100vw - 50px) / 2); padding: 32px 0 44px; }
  .panel__phones .phone + .phone { margin-left: 10px; }
  .panel__phones.phones--one { --pw: min(250px, 68vw); }
  .phone--lower { margin-top: 36px; }
  .deco--tri, .deco--arc { display: none; }
  .deco--dots { left: calc(50% - var(--pw) / 2 - 34px); }
  .panel h2 { font-size: min(40px, 8.4vw); }
}
