/* Barelyy website. Tokens match the app: white ground, ink #101010,
   secondary grey #777, rules #EDEDED, #111 buttons with a 12px radius. */
:root {
  --ink: #101010;
  --grey: #777;
  --rule: #ededed;
  --button: #111;
  --ground: #fff;
  --well: #f7f7f7;
  --gutter: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--grey); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; }

/* Header and footer share the widest measure so they line up with the landing page. */
.site-header, .site-footer, .page {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* The wordmark sits in the screen's top-left corner, not on the content
   column's edge. */
.site-header { max-width: none; padding: 22px var(--gutter); }

.wordmark {
  font-size: 31px;
  line-height: 31px;
  font-weight: 780;
  letter-spacing: -1.7px;
  text-decoration: none;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }

.page { flex: 1; padding-top: 40px; padding-bottom: 96px; }
/* Legal pages keep a reading measure but line up with the wordmark on the left. */
.page:not(.page-wide) > * { max-width: 720px; }
.page-wide { max-width: 1080px; padding-top: 24px; }

/* The landing page is full width so the headline's y's can reach the right
   edge of the screen; it clips them there (clip, so nothing scrolls sideways,
   with hidden as the fallback for older browsers). Its sections keep the
   1080px measure. */
main.page-wide {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
  overflow-x: clip;
}
main.page-wide > section {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.page > h1 {
  font-size: clamp(40px, 8vw, 56px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  margin-bottom: 40px;
}

.intro { font-size: 19px; color: var(--grey); max-width: 34em; }
.page > .intro { margin-top: -16px; margin-bottom: 40px; }

/* Landing ---------------------------------------------------------------- */

/* Text on the left, the phone on the right; stacked on phones. */
.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding: 40px 0 24px;
}

.hero-copy { min-width: 0; position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(44px, 11vw, 80px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.lede {
  margin-top: 24px;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--grey);
  max-width: 28em;
}

.stores {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* App Store button: Apple logo plus two lines of text, badge proportions. */
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  padding: 0 22px 0 18px;
  border-radius: 12px;
  background: var(--button);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.4px;
  user-select: none;
}

.store span { display: flex; flex-direction: column; }

.store small {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1px;
  opacity: 0.8;
}

.store-logo { width: 24px; height: 24px; fill: currentColor; flex: none; margin-top: -3px; }

.hero-phone { display: flex; justify-content: center; position: relative; z-index: 2; }

/* Line one never wraps: the y's keep going, behind the phone, to the edge of
   the screen. Line two drops to its own line. */
.hero h1 .line-1 { display: block; white-space: nowrap; }
.y-run i { font-style: normal; display: inline-block; }
/* On phones "barelyy" starts its own line so the y's have the width to blur out. */
@media (min-width: 760px) { .phone-break { display: none; } }

/* A plain phone frame around the screenshot slot. The slot keeps the
   iPhone screenshot ratio (1179 x 2556) so real captures drop straight in. */
.phone {
  width: min(300px, 78vw);
  padding: 10px;
  border-radius: 48px;
  background: var(--button);
}

.screen {
  aspect-ratio: 1179 / 2556;
  border-radius: 38px;
  background: var(--well);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 15px;
  overflow: hidden;
}

.points {
  display: grid;
  gap: 0;
  margin-top: 64px;
}

.point {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.point h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.4px; }
.point p { margin-top: 6px; color: var(--grey); max-width: 26em; }

/* Legal pages ------------------------------------------------------------ */

.clause, .source {
  padding: 24px 0;
  border-top: 1px solid var(--rule);
}

.clause h2, .source h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}

.source h2 a { text-decoration: none; }
.source h2 a:hover { text-decoration: underline; color: var(--ink); }

.notice {
  margin: 4px 0 16px;
  padding: 16px 18px;
  background: var(--well);
  border-radius: 12px;
}

.source dl { margin: 0; display: grid; gap: 4px; }
.source dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; }
.source dt { color: var(--grey); }
.source dd { margin: 0; }

.placeholder {
  background: #fff4c2;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 15px;
  color: var(--grey);
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--grey); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Wider screens ---------------------------------------------------------- */

@media (min-width: 760px) {
  :root { --gutter: 32px; }
  .site-header { padding: 28px 32px; }
  .hero { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; padding: 56px 0 40px; }
  .hero-phone { justify-content: flex-end; }
  .phone { width: 290px; }
  .points { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 88px; }
  .page { padding-top: 64px; }
  .page-wide { padding-top: 24px; }
}

/* y-blur:start (generated by build.py, do not edit by hand) */
@media (max-width: 759px) {
  .y-run i:nth-child(1) { filter: blur(0.0041em); opacity: 0.987; }
  .y-run i:nth-child(2) { filter: blur(0.0133em); opacity: 0.957; }
  .y-run i:nth-child(3) { filter: blur(0.0264em); opacity: 0.915; }
  .y-run i:nth-child(4) { filter: blur(0.0431em); opacity: 0.861; }
  .y-run i:nth-child(5) { filter: blur(0.0630em); opacity: 0.798; }
  .y-run i:nth-child(6) { filter: blur(0.0858em); opacity: 0.724; }
  .y-run i:nth-child(7) { filter: blur(0.1116em); opacity: 0.641; }
  .y-run i:nth-child(8) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(9) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(10) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(11) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(12) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(13) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(14) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(15) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(16) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(17) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(18) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(19) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(20) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(21) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(22) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(23) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(24) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(25) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(26) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(27) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(28) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(29) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(30) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(31) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(32) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(33) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(34) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(35) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(36) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(37) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(38) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(39) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(40) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(41) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(42) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(43) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(44) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(45) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(46) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(47) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(48) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(49) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(50) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(51) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(52) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(53) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(54) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(55) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(56) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(57) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(58) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(59) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(60) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(61) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(62) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(63) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(64) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(65) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(66) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(67) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(68) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(69) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(70) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(71) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(72) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(73) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(74) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(75) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(76) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(77) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(78) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(79) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(80) { filter: blur(0.1400em); opacity: 0.550; }
}
@media (min-width: 760px) {
  .y-run i:nth-child(1) { filter: blur(0.0007em); opacity: 0.998; }
  .y-run i:nth-child(2) { filter: blur(0.0024em); opacity: 0.992; }
  .y-run i:nth-child(3) { filter: blur(0.0047em); opacity: 0.985; }
  .y-run i:nth-child(4) { filter: blur(0.0077em); opacity: 0.975; }
  .y-run i:nth-child(5) { filter: blur(0.0113em); opacity: 0.964; }
  .y-run i:nth-child(6) { filter: blur(0.0154em); opacity: 0.951; }
  .y-run i:nth-child(7) { filter: blur(0.0200em); opacity: 0.936; }
  .y-run i:nth-child(8) { filter: blur(0.0251em); opacity: 0.919; }
  .y-run i:nth-child(9) { filter: blur(0.0306em); opacity: 0.902; }
  .y-run i:nth-child(10) { filter: blur(0.0366em); opacity: 0.882; }
  .y-run i:nth-child(11) { filter: blur(0.0431em); opacity: 0.861; }
  .y-run i:nth-child(12) { filter: blur(0.0500em); opacity: 0.839; }
  .y-run i:nth-child(13) { filter: blur(0.0572em); opacity: 0.816; }
  .y-run i:nth-child(14) { filter: blur(0.0649em); opacity: 0.791; }
  .y-run i:nth-child(15) { filter: blur(0.0730em); opacity: 0.765; }
  .y-run i:nth-child(16) { filter: blur(0.0815em); opacity: 0.738; }
  .y-run i:nth-child(17) { filter: blur(0.0903em); opacity: 0.710; }
  .y-run i:nth-child(18) { filter: blur(0.0995em); opacity: 0.680; }
  .y-run i:nth-child(19) { filter: blur(0.1091em); opacity: 0.649; }
  .y-run i:nth-child(20) { filter: blur(0.1191em); opacity: 0.617; }
  .y-run i:nth-child(21) { filter: blur(0.1294em); opacity: 0.584; }
  .y-run i:nth-child(22) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(23) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(24) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(25) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(26) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(27) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(28) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(29) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(30) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(31) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(32) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(33) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(34) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(35) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(36) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(37) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(38) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(39) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(40) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(41) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(42) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(43) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(44) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(45) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(46) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(47) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(48) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(49) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(50) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(51) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(52) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(53) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(54) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(55) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(56) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(57) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(58) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(59) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(60) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(61) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(62) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(63) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(64) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(65) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(66) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(67) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(68) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(69) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(70) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(71) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(72) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(73) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(74) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(75) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(76) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(77) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(78) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(79) { filter: blur(0.1400em); opacity: 0.550; }
  .y-run i:nth-child(80) { filter: blur(0.1400em); opacity: 0.550; }
}
/* y-blur:end */
