/* Les émo public landing (lesemotions.co while the community site stays private).
   Same tokens as the real site: cream page, serif titles, Hackynote feelings, Instrument Sans body. */
@font-face { font-family: "Hackynote"; src: url("fonts/hackynote.woff") format("woff"); font-display: swap; }
:root {
  --paper: #fbf8f5; --page: #f1ebe2; --cream-2: #e8dfd3;
  --ink: #171515; --soft-ink: #625b58; --body-ink: #2f2b29;
  --mint: #d8eee3; --pink: #f6dbe2; --sky: #dae7f5; --butter: #f7eec8; --lavender: #e3daf4; --peach: #fad9bf;
  --line: rgba(23,21,21,.12);
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
  --hand: "Hackynote", "Segoe Print", cursive;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --gl: max(clamp(20px, 4vw, 56px), env(safe-area-inset-left, 0px));
  --gr: max(clamp(20px, 4vw, 56px), env(safe-area-inset-right, 0px));
  --sec: clamp(64px, 8vw, 112px);
  color-scheme: light only;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--page); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.in { max-width: 1180px; margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
.narrow { max-width: 760px; }

/* header: real logo, drawn in the text colour from the transparent file (same technique as the site) */
.top { border-bottom: 1px solid var(--line); background: var(--page); }
.top .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.logo { display: inline-block; line-height: 0; background-color: currentColor;
  -webkit-mask: url(img/logo.png) left center / contain no-repeat; mask: url(img/logo.png) left center / contain no-repeat; }
.logo img { height: 36px; width: auto; opacity: 0; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 32px); }
.top nav a { font: 400 21px/1 var(--hand); text-transform: lowercase; text-decoration: none; }
.top nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

.label { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--soft-ink); }
.hand { font-family: var(--hand); font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; }
h1 em, h2 em { font-style: italic; }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) var(--sec); }
.hero .in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 6.4vw, 92px); line-height: .98; margin-top: 18px; }
.hero p.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--body-ink); max-width: 30em; margin: 24px 0 0; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 176px; height: 60px; padding: 0 20px;
  border-radius: 14px; background: var(--ink); color: var(--paper); }
.store small { font: 600 10px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.store b { font: 500 18px/1 var(--sans); }
.hero .note { margin: 16px 0 0; font-size: 14px; color: var(--soft-ink); }

/* three real moments, fanned like photos on a desk */
.deck { position: relative; width: 100%; aspect-ratio: 1 / 1.04; max-height: 640px; }
.card { position: absolute; margin: 0; width: 56%; background: #fff; padding: 10px 10px 0; border-radius: 6px;
  box-shadow: 0 18px 40px rgba(23,21,21,.14), 0 2px 6px rgba(23,21,21,.08); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.card figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 4px 12px; }
.card .t { font: 600 11px/1 var(--sans); letter-spacing: .08em; color: var(--soft-ink); }
.card .hand { font-size: 21px; line-height: 1; }
.card:nth-child(1) { left: 0; top: 23%; transform: rotate(-5deg); }
.card:nth-child(2) { left: 22%; top: 11%; transform: rotate(2deg); z-index: 2; }
.card:nth-child(3) { right: 0; top: 0; transform: rotate(5deg); z-index: 3; }

/* what's inside: a notebook list, not a tile grid */
.inside { padding-block: var(--sec); background: var(--paper); border-block: 1px solid var(--line); }
.inside .head { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: end; }
.inside h2 { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
.inside .head p { color: var(--body-ink); margin: 0; max-width: 32em; }
.rows { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 64px 240px 1fr; gap: clamp(16px, 4vw, 56px); align-items: baseline;
  padding-block: 26px; border-bottom: 1px solid var(--line); }
.rows .n { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--soft-ink); }
.rows .hand { font-size: clamp(28px, 2.6vw, 36px); line-height: 1; }
.rows p { margin: 0; color: var(--body-ink); }

/* safety + company */
.split { padding-block: var(--sec); }
.split .in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.panel { border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.panel.safe { background: var(--mint); }
.panel.who { background: var(--ink); color: var(--paper); }
.panel h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.02; }
.panel p { margin: 16px 0 0; }
.panel.safe p { color: var(--body-ink); }
.panel ul { margin: 18px 0 0; padding: 0; list-style: none; }
.panel li { padding: 12px 0; border-top: 1px solid rgba(23,21,21,.14); }
.panel.who li { border-top-color: rgba(251,248,245,.18); }
.panel.who .label { color: rgba(251,248,245,.65); }
.panel .k { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; opacity: .65; margin-bottom: 6px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--soft-ink); }
.foot .in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { text-decoration: none; color: var(--ink); }
.foot a:hover, .top nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* text pages: privacy, terms, support */
.doc { padding-block: clamp(40px, 6vw, 72px) var(--sec); }
.doc h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1; margin-top: 16px; }
.doc .updated { color: var(--soft-ink); font-size: 14px; margin: 14px 0 0; }
.doc h2 { font: 400 clamp(32px, 3.4vw, 40px)/1.05 var(--hand); margin: 52px 0 10px; scroll-margin-top: 20px; }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc p, .doc li { color: var(--body-ink); }
.doc ul { padding-left: 20px; }
.doc li + li { margin-top: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; }
.toc a { font: 600 13px/1 var(--sans); padding: 11px 15px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--paper); }
.crisis { border-left: 4px solid var(--ink); padding: 6px 16px; background: var(--paper); border-radius: 0 12px 12px 0; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.contact div { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.contact .k { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--soft-ink); margin-bottom: 10px; }
.contact a, .contact b { font: 500 19px/1.3 var(--sans); }
.qa { border-top: 1px solid var(--line); margin-top: 8px; }
.qa details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.qa summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; }
.qa details[open] summary::after { content: "–"; }
.qa details p { margin: 12px 0 0; }

@media (max-width: 900px) {
  .hero .in, .inside .head, .split .in { grid-template-columns: 1fr; }
  .deck { width: 90%; max-width: 520px; margin: 0 auto; }
  .rows li { grid-template-columns: 44px 1fr; }
  .rows li p { grid-column: 2; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .in { height: 64px; }
  .logo img { height: 28px; }
  .top nav { gap: 14px; }
  .top nav a { font-size: 18px; }
  .store { min-width: 0; flex: 1 1 0; padding: 0 16px; }
  .card { width: 58%; padding: 7px 7px 0; }
  .card figcaption { padding: 8px 2px 9px; }
  .card .hand { font-size: 16px; white-space: nowrap; }
  .card .t { display: none; }

  .contact { grid-template-columns: 1fr; }
  .foot .in { flex-direction: column; align-items: flex-start; }
}
