/* Shared by Privacy, Terms, Child Safety, Delete account and Our Story: the one typeface, the word logo,
   and a soft cross-fade between pages. Each page keeps its own inline styles for everything else. */

@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: italic; font-weight: 200 800; font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2");
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Headings: the display sizes of one sans typeface want tighter tracking than the serif they replace. */
h1 { letter-spacing: -.03em !important; word-spacing: .05em; font-weight: 400 !important; }
h2 { letter-spacing: -.018em !important; word-spacing: .04em; font-weight: 500 !important; }
.pull, .city { letter-spacing: -.02em; }

/* The word logo: "blur." over "meet" (the app's Welcome lockup; "meet" at 72 %, pulled up 4.89 %). */
.lockup { --w: 76px; width: var(--w); display: inline-flex; flex-direction: column; align-items: center; flex: none; text-decoration: none; }
.lockup picture { display: contents; }
.lockup img { display: block; height: auto; max-width: none; }
.lockup__blur { width: 100%; aspect-ratio: 1774 / 887; }
.lockup__meet { width: 72%; aspect-ratio: 2172 / 724; margin-top: calc(var(--w) * -0.0489); }
/* The home link: the homepage header's word logo, alone (owner, 2026-11-23: no "b" mark, and larger, so it reads on
   every device — BLUR_ROLLBACK_HEADER_WORD: this block and the pages' .back markup from git history, main d2af7d9).
   Same size and place as the homepage's: 8 px from the top, the drawn "blur." on the text column's edge (the picture
   carries transparent margins: drawn 3.6 % from the left, 3.2–64.9 % of the width down); the page's title follows it. */
.back { --lw: clamp(104px, calc(98px + .8vw), 116px); display: flex !important; width: fit-content; align-items: flex-start !important; height: calc(var(--lw) * .617); min-height: 44px; padding: 0 !important; margin-left: calc(var(--lw) * -.036); border-radius: 10px; }
@media (orientation: landscape) and (max-height: 480px) { .back { --lw: 92px; } }
.brandunit { position: relative; display: flex; margin: calc(var(--lw) * -.032) 0 0; transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.brandunit .lockup { --w: var(--lw); }
.back:hover .brandunit { transform: translateX(-2px); }
@media (max-width: 1099px) { .page { padding-top: 8px !important; } }
.brand-lockup--top { --w: 150px; display: flex; margin: 0 0 clamp(20px, 3vh, 32px) -6px; }
/* owner, 2026-11-23: with the header's word logo this large, Our Story's own word logo under it read as a repeat on a phone
   (BLUR_ROLLBACK_STORY_TOP_LOGO: delete this rule) */
@media (max-width: 1099px) { .page > .brand-lockup--top { display: none; } }
.brand-lockup--foot { --w: 96px; display: flex; margin: 28px 0 0 -4px; border-radius: 8px; transition: opacity .2s, transform .25s cubic-bezier(.2, .7, .2, 1); }
.brand-lockup--foot:hover { opacity: 1; transform: translateY(-1px); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #C8E600; outline-offset: 3px; border-radius: 6px; }

/* Reading sizes on phones: body copy at 16 px, labels no smaller than 12 px, links and fields easy to tap. */
@media (max-width: 900px) {
  p, li, label, input, button { font-size: max(1rem, 16px) !important; }
  .meta, .founder__role { font-size: .8125rem !important; }
  .foot-note { font-size: .9375rem !important; line-height: 2.1; }
  .founder__mail { display: inline-flex; align-items: center; min-height: 44px; font-size: .9375rem !important; overflow-wrap: anywhere; }
  input, button { min-height: 48px; }
}
.page { padding-left: max(clamp(24px, 6vw, 52px), env(safe-area-inset-left)); padding-right: max(clamp(24px, 6vw, 52px), env(safe-area-inset-right)); padding-bottom: calc(clamp(80px, 12vh, 140px) + env(safe-area-inset-bottom)); }

/* ── Wide screens: the homepage's container instead of a narrow centred column ──
   Same gutters, same 1760 px content grid, same place for the home link. The page becomes two columns: section
   headings on the left, their text on the right at a comfortable measure; the title block spans the top, rules
   run the full width, and lists and the founders are laid out across the room. Narrower windows are unchanged. */
@media (min-width: 1100px) {
  .page {
    --edge: max(clamp(20px, 5vw, 112px), calc((100vw - 1760px) / 2));
    max-width: none !important; margin: 0 !important;
    padding-left: max(var(--edge), env(safe-area-inset-left)) !important; padding-right: max(var(--edge), env(safe-area-inset-right)) !important;
    padding-top: clamp(120px, 16vh, 176px) !important;
    display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 5vw, 96px); align-items: start;
  }
  .page > * { grid-column: 2; }
  .back { grid-column: auto !important; position: absolute !important; top: 8px; left: calc(clamp(20px, 5vw, 112px) - var(--lw) * .036); margin: 0 !important; padding: 0 !important; z-index: 2; }
  .back::after { display: none; }
  .page > h1 { grid-column: 1 / -1; font-size: clamp(3.2rem, 5vw, 5.4rem) !important; margin-bottom: clamp(20px, 3vh, 36px) !important; }
  .page > .meta { grid-column: 1 / -1; }
  .page > .brand-lockup--top { grid-column: 1 / -1; --w: 190px; }
  /* with an intro box: the title and its date on the left, the box beside them */
  .page:has(> .summary) > h1 { grid-column: 1; grid-row: 1; font-size: clamp(2.6rem, 3.7vw, 4.4rem) !important; }
  .page:has(> .summary) > .meta { grid-column: 1; grid-row: 2; align-self: start; margin-bottom: clamp(48px, 7vh, 80px) !important; }
  .page > .summary { grid-column: 2; grid-row: 1 / span 2; align-self: start; margin-top: .6rem; margin-bottom: clamp(48px, 7vh, 80px) !important; padding: clamp(26px, 3.4vh, 40px) clamp(28px, 3vw, 48px) !important; }
  .page > .summary p { max-width: 40em !important; font-size: 1.15rem !important; line-height: 1.6 !important; }
  .page > h2 { grid-column: 1; margin: 0 !important; font-size: clamp(1.5rem, 1.7vw, 2rem) !important; line-height: 1.15; max-width: 16em; }
  .page > h2::before { top: .5em !important; }
  .page > hr { grid-column: 1 / -1; width: 100%; margin: clamp(44px, 6vh, 72px) 0 !important; }
  .page > h2 ~ h2 { margin-top: 0 !important; }
  .page > p, .page > ul > li, .page > .closing p { font-size: 1.0625rem !important; line-height: 1.75 !important; }
  .page > p, .page > .closing p { max-width: 35em !important; }   /* about 75 characters a line */
  /* air above every heading after the first, and above its text (a rule between sections already gives it) */
  .page > h2:not(:first-of-type), .page > h2:not(:first-of-type) + * { margin-top: clamp(40px, 6vh, 64px) !important; }
  .page > hr + h2, .page > hr + h2 + * { margin-top: 0 !important; }
  .page > ul { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px clamp(28px, 3vw, 56px) !important; max-width: none; }
  .page > ul > li { max-width: 26em !important; }
  .page > .pull { font-size: clamp(2rem, 2.9vw, 3.4rem) !important; max-width: 20em; }
  .page > .founders { flex-direction: row !important; gap: 16px; }
  .page > .founders .founder { flex: 1 1 0; border: 1px solid rgba(138, 130, 120, .16) !important; border-radius: 14px !important; }
  .page > .card { max-width: 640px; }
  .page > .closing { max-width: none; }
  .page > .foot-note { margin-top: clamp(8px, 2vh, 20px); }
  .page::before { display: none !important; }
}

/* ── Polish (owner, 2026-11-12: "subtle effects, animations and transitions … the finest experience") ──────────────
   The homepage's motion, carried to the other pages. Only ADDS to a complete page: behind "reduce motion" off and
   (for the scroll part) site.js; transform / opacity only; nothing changes layout, so every screen size keeps its
   geometry. Our story (#storyPage) keeps its own motion and is left out. BLUR_ROLLBACK_POLISH: delete this block and
   site.js (and its <script> tags). */
@keyframes sp-arrive { from { opacity: 0; transform: translate3d(0, 16px, 0); } to { opacity: 1; transform: none; } }
@keyframes sp-unfold { from { opacity: 0; transform: translate3d(0, -4px, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* 1 · As the page opens: the title, its date and its intro box arrive in order. */
  .page:not(#storyPage) > :is(h1, .meta, .summary) { animation: sp-arrive .9s cubic-bezier(.2, .7, .2, 1) both; }
  .page:not(#storyPage) > .meta { animation-delay: .08s; }
  .page:not(#storyPage) > .summary { animation-delay: .16s; }
  /* 3 · Support's questions: the answer unfolds instead of jumping open (height where the browser can animate it). */
  details[open] > :not(summary) { animation: sp-unfold .45s ease both; }
  @supports (interpolate-size: allow-keywords) {
    details { interpolate-size: allow-keywords; }
    details::details-content { block-size: 0; overflow-y: clip; transition: block-size .4s cubic-bezier(.2, .7, .2, 1), content-visibility .4s allow-discrete; }
    details[open]::details-content { block-size: auto; }
  }
  /* 5 · Between pages: the same calm cross-fade as the homepage, the logo staying put. */
  ::view-transition-old(root) { animation-duration: .32s; animation-timing-function: ease; }
  ::view-transition-new(root) { animation-duration: .42s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
  ::view-transition-group(brand) { animation-duration: .45s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); }
}
.back .brandunit { view-transition-name: brand; }
/* 2 · The rest settles in as it enters the window (site.js adds .sp-rise, .is-in and a small stagger, --d). */
.motion .sp-rise:not(.is-in) { opacity: 0; transform: translate3d(0, 12px, 0); }
.motion .sp-rise { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s), transform .85s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
/* 4 · Links in the text: an underline draws in under the pointer (instead of the link only dimming). */
.page :is(p, li, .a) a:not([class]) {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s cubic-bezier(.2, .7, .2, 1), opacity .2s;
}
.page :is(p, li, .a) a:not([class]):hover { background-size: 100% 1px; opacity: 1; }
/* 6 · Touch: the home link and the questions answer a press. */
.back:active .brandunit { transform: scale(.98); }
summary:active { opacity: .8; }
/* 7 · Selected text in the brand's light. */
::selection { background: rgba(200, 230, 0, .34); color: inherit; }
