/*
  VOICE   warm and playful, short. MeMo's own words: keep, waiting, MeMo asks, you just say yes.
  IDEA    the app's own route: photos, Show me, your line, Bring them in, MeMo asks, your month.
  PICTURE drawn small moments (date night, lunch with grandma, museum night) as polaroids on a line.
  COLOUR  warm canvas, white cards, one lime action, olive for "on".
  TYPE    Instrument Serif for names and titles, DM Sans for everything you read or tap.
  LAYOUT  numbered steps down a dotted line, each with a small screen in the app's look.
*/

@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  color-scheme: light;
  --canvas: #F0F0EC;
  --white: #FFFFFF;
  --paper: #FCFBF7;
  --ink: #111111;
  --soft: #6B6B66;
  --muted: #8A8A84;
  --lime: #EEFF86;
  --lime-pale: #F4FBC4;
  --lime-dash: #CDDE3B;
  --olive: #76854C;
  --olive-text: #5F6E38;
  --olive-deep: #5C6A3A;
  --hair: #DDDDD8;
  --recessed: #E8E8E4;
  --shadow-card: 0 3px 8px rgba(0, 0, 0, .06);
  --shadow-lift: 0 6px 12px rgba(0, 0, 0, .14);
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: max(5vw, 16px);
}

* { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; border-radius: 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* Words */
.tag {
  display: inline-block;
  font: italic 400 19px/21px var(--serif);
  background: var(--lime);
  color: var(--ink);
  padding: 3px 9px 2px;
  border-radius: 4px;
}
.lw {
  font-style: italic;
  font-family: var(--serif);
  background: linear-gradient(transparent 14%, var(--lime) 14%, var(--lime) 90%, transparent 90%);
  padding: 0 .1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hand { font: italic 400 19px/21px var(--serif); }
.soft { color: var(--soft); }
.fine { font-size: 14px; color: var(--soft); margin: 14px 0 0; }
.link {
  font-weight: 600;
  color: var(--olive-text);
  text-decoration: none;
  white-space: nowrap;
}
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Buttons: always a full pill */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  background: var(--lime);
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn.quiet {
  background: transparent;
  color: var(--soft);
  box-shadow: inset 0 0 0 1.5px var(--hair);
  cursor: default;
}
.btn.quiet:hover { transform: none; box-shadow: inset 0 0 0 1.5px var(--hair); }
.on-olive .btn.quiet { color: rgba(255,255,255,.88); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn svg { width: 18px; height: 18px; }

/* Logo: Me above, Mo lower and to the right (MeMoStrips, as the app icon and the splash) */
.logo { display: inline-flex; align-items: center; text-decoration: none; padding: 6px 0; }
.mark { position: relative; display: inline-block; width: var(--mw, 54px); aspect-ratio: 188 / 167; flex: none; }
.mark img { position: absolute; height: auto; }
.mark .me { left: 0; top: 0; width: 75.53%; transform: rotate(-5deg); }
.mark .mo { left: 23.4%; top: 50.3%; width: 76.6%; transform: rotate(3deg); }
.mark img { box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(240, 240, 236, .88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.top.scrolled { border-bottom-color: var(--hair); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--olive-text); }
.nav a[aria-current="page"] { color: var(--olive-text); }

/* Bands */
.band { padding: clamp(56px, 7vw, 96px) 0; }
.panel {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  margin: 0 var(--gutter);
  padding: clamp(40px, 5.5vw, 80px) 0;
}
.panel .wrap { padding: 0 clamp(20px, 4vw, 64px); }
.head { max-width: 720px; margin-bottom: clamp(30px, 4vw, 52px); }
.head .tag { margin-bottom: 16px; }
h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; }
.head p { font-size: 18px; color: var(--soft); margin: 16px 0 0; max-width: 58ch; }
h3 { font-size: 30px; line-height: 34px; }

/* Hero */
.hero { padding: clamp(32px, 5vw, 72px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(48px, 7vw, 100px); line-height: .98; letter-spacing: -.012em; margin: 18px 0 0; }
.hero .lead { font-size: clamp(18px, 1.5vw, 20px); max-width: 44ch; margin: 0; color: #2b2b28; }
.hero-side { padding-bottom: 10px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }

/* Polaroid: same frame everywhere, chin always the same height */
.pol {
  position: relative;
  margin: 0;
  width: 100%;
  background: var(--paper);
  border-radius: 4px;
  padding: 8px 8px 0;
  box-shadow: var(--shadow-lift);
}
.pol img, .pol .ph { display: block; aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 2px; background-color: var(--recessed); }
.pol figcaption { height: 52px; display: flex; flex-direction: column; justify-content: center; gap: 1px; padding: 0 3px; overflow: hidden; }
.pol .t { font: italic 400 18px/21px var(--serif); white-space: nowrap; }
.pol .m { font-size: 12px; line-height: 15px; color: var(--soft); white-space: nowrap; }
.pol.sm { padding: 5px 5px 0; box-shadow: 0 2px 6px rgba(0,0,0,.16); }
.pol.sm figcaption { height: 30px; padding: 0 2px; }
.pol.sm .t { font-size: 14px; line-height: 16px; }

/* The line of polaroids in the hero: always in the middle between the text and the white block */
.hero { --g: clamp(40px, 5vw, 64px); }
.line { position: relative; margin-top: calc(var(--g) - 22px); }
.line-track {
  --n: 6;
  position: relative;
  display: flex;
  justify-content: space-evenly;
  gap: 32px;
  padding: 30px var(--gutter) calc(var(--g) + 34px);
  max-width: 1500px;
  margin: 0 auto;
}
.line-track::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 16px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40' preserveAspectRatio='none'%3E%3Cpath d='M0 4 Q50 52 100 4' fill='none' stroke='%238A8A84' stroke-width='1.2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}
.line-track .pol {
  flex: none;
  width: 180px;
  transform-origin: 50% -14px;
  transform: translateY(var(--y, 0px)) rotate(var(--r, 0deg));
  animation: swing 7s ease-in-out var(--d, 0s) infinite alternate;
}
.line-track .pol .t { font-size: 17px; }
@media (max-width: 1419px) { .line-track .pol:nth-child(n+6) { display: none; } }
@media (max-width: 1169px) { .line-track .pol:nth-child(n+5) { display: none; } }
@media (max-width: 939px) { .line-track .pol:nth-child(n+4) { display: none; } }
.peg {
  position: absolute; left: 50%; top: -14px; width: 10px; height: 24px; margin-left: -5px;
  border-radius: 2px; background: var(--olive); z-index: 1; box-shadow: var(--shadow-lift);
}
.peg::after { content: ""; position: absolute; left: 4.5px; top: 3px; bottom: 3px; width: 1px; background: rgba(255,255,255,.4); }
/* HangingPolaroid: paper #FCFBF7, the title alone, in italic serif, soft */
.pol.hang { background: #FCFBF7; border-radius: 1.5px; padding: 9px 9px 0; }
.pol.hang img { border-radius: 0; }
.pol.hang figcaption { height: 48px; align-items: center; padding: 0 4px; }
.pol.hang .t { font: italic 400 19px/22px var(--serif); color: var(--soft); text-align: center; }
@keyframes swing {
  from { transform: translateY(var(--y, 0px)) rotate(calc(var(--r, 0deg) - .8deg)); }
  to   { transform: translateY(var(--y, 0px)) rotate(calc(var(--r, 0deg) + .8deg)); }
}
.line-hint { display: none; text-align: center; font: italic 400 15px/18px var(--serif); color: var(--soft); margin: -8px 0 0; }

/* The journey, step by step */
.journey { list-style: none; margin: 0; padding: 0; position: relative; }
.journey::before {
  content: ""; position: absolute; left: 19px; top: 24px; bottom: 24px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--olive) 0 6px, transparent 6px 12px);
  opacity: .55;
}
.jstep {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) minmax(0, 400px);
  gap: 0 clamp(20px, 4vw, 64px);
  align-items: start;
  padding: clamp(22px, 3vw, 40px) 0;
}
.jtext { padding-top: 6px; }
.jstep:last-child { padding-bottom: 0; }
@media (min-width: 981px) { .jtext { position: sticky; top: 110px; } }
.num {
  align-self: start; margin-top: 4px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--olive); color: var(--white);
  display: grid; place-items: center;
  font: 700 15px/1 var(--sans);
  box-shadow: 0 0 0 6px var(--white);
  position: relative; z-index: 1;
}
.jtext .tag { margin-bottom: 14px; }
.jtext h3 { margin-bottom: 12px; }
.jtext p { color: var(--soft); font-size: 17px; max-width: 46ch; margin: 0; }
.jtext .say { margin-top: 14px; color: var(--ink); font: italic 400 22px/26px var(--serif); }

/* Mini screens: the app's own parts, drawn 1 on 1 (sizes, fonts and colours from MeMoClaude's kit) */
.screen-fit { justify-self: end; width: 100%; max-width: 390px; }
.screen {
  width: 390px;
  zoom: var(--fit, 1);
  background: var(--canvas);
  border-radius: 30px;
  padding: 18px 16px 20px;
  box-shadow: inset 0 0 0 1px #E4E4DE;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
}
.screen.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ph { display: block; background-size: var(--z, cover); background-position: var(--p, center); background-repeat: no-repeat; background-color: #E8E8E4; }
.ion { display: inline-block; flex: none; vertical-align: middle; }

/* iOS Photos (not MeMo) */
.screen.ios { background: #FFFFFF; padding: 16px 0 0; }
.ios-top { display: flex; justify-content: space-between; align-items: center; padding: 0 16px 12px; }
.ios-top b { font: 700 24px/28px var(--sans); letter-spacing: -.01em; }
.ios-top span { font: 600 13px/1 var(--sans); background: #EFEFF0; border-radius: 999px; padding: 7px 12px; }
.roll { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.roll .ph { aspect-ratio: 1; }

/* LimeTitle, body, ChoiceStack */
.a-title { font: 400 31px/36px var(--serif); margin: 0; text-wrap: balance; }
.a-strip { display: inline-block; background: var(--lime); padding: 4.25px 7px 0; font-style: italic; transform: rotate(-2deg); line-height: 34px; }
.a-body { margin: 12px auto 0; font-size: 15px; line-height: 22px; color: var(--soft); max-width: 340px; }
.a-choices { align-self: stretch; display: flex; flex-direction: column; align-items: stretch; gap: 12px; margin-top: 28px; }
.a-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 52px; padding: 0 18px; border-radius: 999px; font: 600 15px/1 var(--sans); white-space: nowrap; }
.a-pill.lime { background: var(--lime); color: var(--ink); }
.a-pill.outline { box-shadow: inset 0 0 0 1.5px var(--olive); color: var(--olive-text); }
.a-pill.paper { background: var(--white); color: var(--olive-text); font-weight: 700; font-size: 14px; }
.a-pill.mid { height: 48px; font: 700 14px/1 var(--sans); flex: none; }
.a-dismiss { align-self: center; font: 600 15px/20px var(--sans); color: var(--soft); }

/* PolaroidFront (Home's carousel, You took photos) */
.a-pf { position: relative; width: var(--w); height: calc(var(--w) * 1.23); background: #FFFFFF; border-radius: 8px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; transform: rotate(var(--r, 0deg)); flex: none; }
.a-pf-photo { flex: 1; margin: calc(var(--w) * .04) calc(var(--w) * .04) 0; border-radius: 4px; overflow: hidden; }
.a-pf-photo .ph { width: 100%; height: 100%; }
.a-pf-strip { padding: 6px calc(var(--w) * .06) 10px; text-align: left; }
.a-pf-strip .t { display: block; font: 400 19px/21px var(--serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-pf-strip .d { display: block; font: 400 11px/14px var(--sans); color: var(--soft); margin-top: 1px; }
.a-tape { position: absolute; top: -10px; left: 50%; width: calc(var(--w) * .22); height: 20px; margin-left: calc(var(--w) * -.11); background: rgba(238,255,134,.9); transform: rotate(-2deg); }
.a-pf.mini .a-pf-strip { padding: 3px 5px 5px; }
.a-pf.mini .a-pf-strip .t { font-size: 11px; line-height: 13px; }
.a-pf.mini .a-pf-strip .d { font-size: 7px; line-height: 9px; }
.a-pf.mini .a-tape { height: 9px; top: -5px; }

/* GarlandStrings + HangingPolaroid */
.a-garland { position: relative; margin: 0 auto; max-width: 100%; }
.a-string { position: absolute; left: 0; top: 0; }
.a-hang { position: absolute; background: #FCFBF7; border-radius: 1.5px; box-shadow: var(--shadow-lift); transform: rotate(var(--r)); transform-origin: 50% 0; display: flex; flex-direction: column; }
.a-hang .ph { aspect-ratio: 1; width: 100%; }
.a-hang .l { display: flex; align-items: center; justify-content: center; font: italic 400 14px/1.05 var(--serif); color: var(--soft); text-align: center; padding: 0 3px; overflow: hidden; }
.a-peg { position: absolute; left: 50%; top: -7px; width: 7px; height: 16px; margin-left: -3.5px; border-radius: 1.5px; background: var(--olive); box-shadow: var(--shadow-lift); z-index: 1; }
.a-peg::after { content: ""; position: absolute; left: 3px; top: 2px; bottom: 2px; width: 1px; background: rgba(255,255,255,.4); }
.a-topline { align-self: stretch; height: 30px; margin: -4px 0 18px; }
.a-topline.small { margin: 0 0 14px; }
.a-found { margin: 6px 0 32px; }
.a-yourline { margin: 4px 0 0; align-self: stretch; }

/* Show me / Bring them in: header, MomentCard, Skip / Keep */
.a-head { position: relative; height: 52px; display: flex; align-items: center; justify-content: space-between; margin-top: -6px; }
.a-circle { width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; box-shadow: var(--shadow-card); }
.a-head-title { position: absolute; left: 0; right: 0; text-align: center; font: 400 26px/30px var(--serif); pointer-events: none; }
.a-head-right { position: relative; }
.a-add { display: inline-flex; align-items: center; height: 32px; padding: 0 15px; border-radius: 999px; background: var(--olive); color: #FFFFFF; font: 700 14px/1 var(--sans); }
.a-card { position: relative; background: #FFFFFF; border-radius: 20px; padding: 22px 16px 16px; box-shadow: var(--shadow-lift); text-align: center; }
.a-hint { position: absolute; top: -14px; left: -6px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; background: var(--lime); padding: 4px 8px; border-radius: 2px; transform: rotate(-4deg); box-shadow: var(--shadow-card); font: 600 11px/1 var(--sans); }
.a-strip-row { margin-top: 2px; display: flex; justify-content: center; align-items: flex-start; gap: 8px; padding: 0 4px; }
.a-strip-row .ion { margin-top: 11px; }
.a-strip.big { font: italic 400 26px/30px var(--serif); padding: 3px 12px 0; }
.a-dots { margin-top: 4px; }
.a-dots .ion { margin-top: 2px; }
.a-chips { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font: 600 13px/18px var(--sans); }
.a-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 0; }
.a-count { margin: 4px 0 0; font-size: 13px; color: var(--soft); }
.a-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.a-tile { position: relative; aspect-ratio: 1; border-radius: 4px; overflow: hidden; }
.a-tile .ph { width: 100%; height: 100%; }
.a-mark { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2px #FFFFFF; background: rgba(20,20,19,.15); }
.a-mark.on { background: var(--olive); box-shadow: none; }
.a-cover { position: absolute; left: 5px; bottom: 5px; background: var(--lime); padding: 1px 5px 0; transform: rotate(-2deg); font: italic 400 13px/16px var(--serif); }
.a-tile.more .ph { opacity: .3; }
.a-tile.more b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 18px/1 var(--sans); }
.a-another { margin: 14px 0 0; font: 600 13px/1 var(--sans); color: var(--olive-text); }
.a-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.a-pair .a-pill { height: 58px; }
.a-filters { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 26px; }
.a-filter { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--hair); font: 600 14px/1 var(--sans); }
.a-switch { display: inline-flex; height: 36px; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1.5px var(--hair); padding: 3px; gap: 2px; }
.a-switch span { width: 36px; border-radius: 15px; display: grid; place-items: center; }
.a-switch span.on { background: var(--olive); }

/* Your line: the white card with Bring in more, two tiles */
.a-hero-card { align-self: stretch; margin-top: 18px; padding: 16px; display: flex; align-items: center; gap: 12px; background: #FFFFFF; border-radius: 20px; box-shadow: var(--shadow-card); text-align: left; font: 600 15px/22px var(--sans); }
.a-hero-card > span:first-child { flex: 1; }
.a-tiles { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.a-tile2 { min-height: 56px; display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #FFFFFF; border-radius: 20px; box-shadow: var(--shadow-card); text-align: left; font: 600 15px/19px var(--sans); }
.a-badge { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--canvas); display: grid; place-items: center; }

/* MeMo asks: AsksSteps */
.a-asks { display: grid; grid-template-columns: 98px 16px 108px 16px 86px; column-gap: 6px; align-items: start; justify-content: center; margin: 8px 0 30px; }
.a-step { display: flex; flex-direction: column; align-items: center; }
.a-step > span { margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--soft); text-align: center; }
.a-arrow { align-self: center; margin-top: -18px; display: grid; place-items: center; }
.a-plan { width: 98px; padding: 8px; border-radius: 12px; background: #FFFFFF; box-shadow: var(--shadow-card); text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
.a-plan .tm { font: italic 400 22px/26px var(--serif); margin-top: 2px; padding: 0 2px; }
.a-plan b:last-child { font: 600 12px/15px var(--sans); }
.a-q { width: 108px; padding: 8px; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-lift); text-align: left; }
.a-q b { display: block; font: 700 12px/15px var(--sans); }
.a-q span { display: block; margin-top: 2px; font-size: 11px; line-height: 14px; }
.a-q i { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--lime); font: 600 11px/14px var(--sans); font-style: normal; }
.a-mini { width: 86px; padding: 6px 6px 0; background: #FFFFFF; border-radius: 4px; box-shadow: var(--shadow-lift); transform: rotate(3deg); }
.a-mini .ph { width: 74px; height: 74px; border-radius: 1px; }
.a-mini span { height: 34px; display: grid; place-items: center; font: italic 400 14px/16px var(--serif); text-align: center; }

/* Your month: SectionHeader, the card, places · memories · Mostly */
.a-section { display: flex; align-items: center; gap: 10px; margin: 2px 0 10px; }
.a-limetag { background: var(--lime); border-radius: 4px; padding: 4.25px 8px .25px; font: italic 400 19px/21px var(--serif); }
.a-nav { display: inline-flex; gap: 14px; }
.a-see { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font: 600 14px/1 var(--sans); color: var(--olive-text); }
.a-month { background: #FFFFFF; border-radius: 20px; padding: 12px 16px; box-shadow: var(--shadow-card); }
.a-month .a-hang .l { font-size: 11px; }
.a-high { margin-top: 12px; display: flex; align-items: center; }
.a-side { flex: 1 1 0; min-width: 0; display: flex; padding-right: 8px; }
.a-side.r { justify-content: flex-end; padding: 0 0 0 8px; }
.a-places { display: inline-flex; align-items: center; gap: 4px; background: var(--canvas); border-radius: 999px; padding: 9px 10px; font: 700 14px/1 var(--sans); white-space: nowrap; }
.a-ticket { flex: none; height: 36px; display: inline-flex; align-items: center; background: var(--lime); border-radius: 8px; transform: rotate(3deg); font-family: var(--sans); }
.a-ticket > b { min-width: 28px; padding: 0 6px; text-align: center; font-size: 15px; }
.a-ticket > b.w { min-width: 0; padding: 0 9px 0 7px; font-size: 13px; }
.a-ticket .perf { position: relative; align-self: stretch; width: 1.5px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.a-ticket .perf i { width: 1.5px; height: 3px; background: var(--soft); }
.a-ticket .perf::before, .a-ticket .perf::after { content: ""; position: absolute; left: -4.25px; width: 10px; height: 10px; border-radius: 50%; background: #FFFFFF; }
.a-ticket .perf::before { top: -5px; } .a-ticket .perf::after { bottom: -5px; }
.a-mood { display: inline-flex; align-items: center; gap: 4px; background: #FFFFFF; border-radius: 14px; padding: 7px 9px; transform: rotate(-4deg); box-shadow: var(--shadow-lift); font: 700 13px/1 var(--sans); white-space: nowrap; }
.a-mood em { font-style: normal; font-size: 16px; }

/* Print: the shop (PrintOrderFlow) and the drawings (PrintDrawings) */
.a-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.a-shop-card { background: #FFFFFF; border-radius: 20px; padding: 12px 12px 14px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.a-shop-card .p-draw { zoom: var(--k, 1); }
.a-shop-card > b { margin-top: 8px; font: italic 400 20px/24px var(--serif); white-space: nowrap; }
.a-shop-card > span:last-child { font-size: 13px; line-height: 18px; color: var(--soft); }
.a-shop-card > span:last-child b { font-weight: 600; color: var(--ink); }
.p-draw { position: relative; display: block; flex: none; }
.p-draw.center { display: grid; place-items: center; }
.p-pol, .p-strip { position: absolute; display: block; background: #FFFFFF; border-radius: 4px; box-shadow: var(--shadow-lift); }
.p-photo { position: absolute; overflow: hidden; }
.p-photo .ph { width: 100%; height: 100%; }
.p-title { position: absolute; font-family: var(--serif); color: #141414; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-date { position: absolute; font-family: var(--sans); color: #6E6E64; white-space: nowrap; }
.p-logo { position: absolute; }
.p-cards { display: flex; flex-wrap: wrap; }
.p-card { display: block; background: #FFFFFF; border-radius: 4px; box-shadow: var(--shadow-card); }
.p-card .ph { width: 100%; height: 100%; }
.p-puzzle { position: relative; display: block; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-lift); }
.p-puzzle .ph { position: absolute; inset: 0; }
.p-lines { position: absolute; inset: 0; opacity: .55; }
.p-lines i { position: absolute; background: #FFFFFF; }

/* AlbumCoverCard, the iPhone album tile */
.a-album { background: #FFFFFF; border-radius: 22px; padding: 8px 8px 4px; box-shadow: var(--shadow-card); transform: rotate(-1.5deg); text-align: left; }
.a-album-cover { position: relative; border-radius: 12px; overflow: hidden; }
.a-album-cover .ph { position: absolute; inset: 0; background-position: top; }
.a-albtag { position: absolute; left: 10px; top: 12px; display: inline-flex; align-items: center; gap: 2px; padding: 4px 8px 4px 4px; border-radius: 16px; background: #FFFFFF; box-shadow: var(--shadow-lift); font: italic 400 17px/19px var(--serif); }
.a-albtag .a-av { width: 26px; height: 26px; margin-right: 4px; }
.a-album-chin { padding: 14px 12px 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.a-album-strip { display: inline-block; margin-left: -7px; padding: 1px 7px; background: var(--lime); font: 400 22px/26px var(--serif); }
.a-album-meta { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12px; color: var(--soft); }
.a-partners { display: flex; }
.a-av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #FFFFFF; font: 700 10px/1 var(--sans); font-style: normal; }
.a-av.ring { box-shadow: 0 0 0 3px #FFFFFF; }
.a-av.ring + .a-av.ring { margin-left: -10px; }
.a-itile { width: 132px; background: #FFFFFF; border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; flex: none; text-align: left; }
.a-itile-cover .ph { height: 96px; }
.a-itile-text { padding: 12px; display: flex; align-items: flex-start; gap: 8px; }
.a-itile-text b { flex: 1; font: 400 19px/21px var(--serif); }
.a-itile-text span { margin-top: 4px; font-size: 12px; color: var(--soft); }
.mini-pols { display: flex; gap: 4px; }

/* Just you, or together */
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.way { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-card); padding: 12px 12px 26px; display: flex; flex-direction: column; }
.way .stage { background: var(--canvas); border-radius: 14px; height: 230px; display: grid; place-items: center; margin-bottom: 22px; position: relative; overflow: hidden; padding: 16px; }
.way .txt { padding: 0 12px; }
.way h3 { font-size: 28px; line-height: 32px; margin-bottom: 8px; }
.way p { color: var(--soft); font-size: 16px; margin: 0; max-width: 46ch; }
.avatars { display: flex; }
.avatars i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: normal 700 10px/1 var(--sans); color: var(--white); box-shadow: 0 0 0 2px var(--white); }
.avatars i + i { margin-left: -4px; }
.follow { display: inline-flex; align-items: center; gap: 4px; background: var(--olive); color: var(--white); border-radius: 999px; padding: 4px 9px; font-size: 11px; font-weight: 700; }
.follow svg { width: 10px; height: 10px; }
.flowrow { display: flex; align-items: center; gap: 12px; }
.flowrow .arrow2 { color: var(--olive); }
.flowrow .arrow2 svg { width: 22px; height: 22px; }
.mini-pols { display: grid; grid-template-columns: repeat(3, 62px); gap: 6px; }
.mini-pols .pol:nth-child(1) { transform: rotate(-4deg); }
.mini-pols .pol:nth-child(3) { transform: rotate(4deg) translateY(4px); }
.mini-pols .pol figcaption { height: 18px; }
.mini-pols .pol .t { font-size: 10px; line-height: 12px; }

/* Print */
.products { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.products li { background: var(--canvas); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; }
.soon { display: inline-block; background: var(--olive); color: var(--white); font: 700 12px/1 var(--sans); padding: 5px 9px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }

/* Privacy */
.privacy-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.privacy-grid .head { margin-bottom: 0; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.facts li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--white); box-shadow: var(--shadow-card); border-radius: 14px; padding: 14px 18px; }
.facts li > svg { width: 34px; height: 34px; flex: none; }
.facts b { display: block; font-size: 16px; line-height: 21px; }
.facts span { font-size: 14.5px; line-height: 20px; color: var(--soft); }

/* Questions */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq .head { position: sticky; top: 100px; margin-bottom: 0; }
.qa { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-card); padding: 6px 0; }
.qa details { border-top: 1px solid #EEEFE9; }
.qa details:first-child { border-top: 0; }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 26px; font: 400 22px/26px var(--serif); min-height: 44px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--canvas) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%2376854C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 16px;
  transition: transform .2s ease;
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa .a { padding: 0 26px 22px; color: var(--soft); font-size: 16px; max-width: 62ch; }
.qa .a p:last-child { margin: 0; }

/* Closing */
.closing {
  background: var(--olive); color: var(--white); border-radius: 28px;
  margin: 0 var(--gutter); padding: clamp(48px, 6vw, 88px) 0; overflow: hidden; position: relative;
}
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; padding: 0 clamp(20px, 4vw, 64px); }
.closing h2 { font-size: clamp(42px, 5.6vw, 72px); line-height: 1; }
.closing h2 .lw { color: var(--ink); }
.closing p { font-size: 18px; color: rgba(255,255,255,.9); margin: 18px 0 0; max-width: 44ch; }
.closing .fine { color: rgba(255,255,255,.78); }
.big-logo { display: flex; justify-content: center; }
.mark.big { --mw: min(300px, 70vw); }
.mark.big img { box-shadow: 0 10px 24px rgba(0,0,0,.18); }

/* Footer */
.foot-site { padding: clamp(48px, 6vw, 80px) 0 40px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h4 { font: 700 12px/16px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); margin: 6px 0 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--olive-text); text-decoration: underline; text-underline-offset: 3px; }
.foot-grid .about p { color: var(--soft); max-width: 34ch; margin: 18px 0 0; }
.legal-line { border-top: 1px solid var(--hair); margin-top: 40px; padding-top: 22px; color: var(--soft); font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }

/* Sub pages: support, legal, 404 */
.page { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.sheet {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(30px, 6vw, 72px) clamp(20px, 6vw, 80px);
}
.sheet h1 { font-size: clamp(40px, 5.4vw, 60px); line-height: 1.02; margin: 16px 0 18px; }
.sheet .intro { font-size: 18px; color: var(--soft); max-width: 56ch; }
.sheet h2 { font-size: 30px; line-height: 34px; margin: 48px 0 14px; }
.sheet h3 { font: 700 17px/24px var(--sans); margin: 28px 0 8px; }
.sheet ol, .sheet ul { padding-left: 22px; margin: 0 0 1em; }
.sheet li { margin-bottom: 8px; }
.sheet a { color: var(--olive-text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.sheet a.btn { color: var(--ink); text-decoration: none; }
.contact-card {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center;
  background: var(--lime-pale); border: 1.5px dashed var(--lime-dash); border-radius: 20px; padding: 22px 26px; margin: 28px 0 8px;
}
.contact-card b { display: block; font: 400 24px/28px var(--serif); }
.contact-card span { color: var(--soft); font-size: 15px; }
.path { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; font-weight: 600; }
.path i { font-style: normal; color: var(--muted); }
.company { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--soft); font-size: 15px; font-style: normal; }

/* Legal text, kept word for word */
.legal { font-size: 16px; line-height: 1.65; }
.legal h1 { font-size: clamp(40px, 5.4vw, 56px); margin: 16px 0 18px; }
.legal h2 { font-size: 28px; line-height: 32px; margin: 8px 0 14px; }
.legal h3 { font: 700 17px/24px var(--sans); margin: 26px 0 8px; }
.legal h4 { font: 700 16px/22px var(--sans); margin: 20px 0 6px; }
.legal hr { border: 0; border-top: 1px solid var(--hair); margin: 36px 0; }
.legal p, .legal ul { margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal .table { overflow-x: auto; margin: 0 0 16px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
.legal address { font-style: normal; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--soft); font-size: 15px; }
.legal address strong { color: var(--ink); }
.toc-note { font-size: 14px; color: var(--soft); margin: 0 0 8px; }

.lost { text-align: center; }
.lost .pol { margin: 10px auto 34px; max-width: 220px; animation: none; transform: rotate(-3deg); }
.lost .empty-photo { aspect-ratio: 1; background: var(--lime-pale); border: 1.5px dashed var(--lime-dash); border-radius: 2px; display: grid; place-items: center; font: italic 400 22px/1 var(--serif); color: var(--olive-text); }

/* Print page */
.products li span { color: var(--soft); font-weight: 400; margin-left: 4px; }
.phero { padding: clamp(32px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.phero h1 { font-size: clamp(46px, 6.4vw, 88px); line-height: .98; letter-spacing: -.012em; margin: 18px 0 0; }
.phero .lead { font-size: clamp(18px, 1.5vw, 20px); max-width: 44ch; margin: 0; color: #2b2b28; }
.shop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.item { background: var(--canvas); border-radius: 20px; padding: 12px 12px 26px; display: flex; flex-direction: column; scroll-margin-top: 90px; }
.item .stage { background: #E7DCCB; border-radius: 14px; height: 250px; display: grid; place-items: center; margin-bottom: 22px; position: relative; overflow: hidden; }
.item .txt { padding: 0 12px; }
.item h3 { font-size: 30px; line-height: 34px; margin-bottom: 12px; }
.item p { color: var(--soft); font-size: 16px; margin: 0; max-width: 50ch; }
.item .spec { color: var(--ink); font-size: 14px; font-weight: 500; margin: 0 0 8px; }
.price-rows { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.price-rows li { display: inline-flex; gap: 10px; align-items: baseline; background: var(--white); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.price-rows b { font-weight: 700; }
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.order-steps li { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-card); padding: 26px 26px 28px; }
.order-steps .num { box-shadow: none; margin: 0 0 18px; }
.order-steps h3 { font-size: 28px; line-height: 32px; margin-bottom: 8px; }
.order-steps p { color: var(--soft); font-size: 16px; margin: 0; }
.seller { border-top: 1px solid var(--hair); padding-top: 28px; color: var(--soft); font-size: 15px; max-width: 900px; }
.seller h2 { font: 700 12px/16px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); margin: 0 0 12px; }
.seller b { color: var(--ink); }
.seller a { color: var(--olive-text); text-underline-offset: 3px; overflow-wrap: anywhere; }
.lost .pol .ph { aspect-ratio: 1; }

/* Narrow screens */
@media (max-width: 719px) {
  .line-track {
    justify-content: flex-start; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 30px 24px calc(var(--g) + 30px); scrollbar-width: none; width: 100%;
  }
  .line-track::-webkit-scrollbar { display: none; }
  .line-track::before { width: calc(6 * 208px + 48px); right: auto; }
  .line-track .pol { width: 180px; scroll-snap-align: center; }
  .line-track .pol:nth-child(n) { display: block; }
  .line-hint { display: block; margin-top: calc(-1 * var(--g) + 4px); margin-bottom: calc(var(--g) - 22px); }
}
@media (max-width: 980px) {
  .hero-grid, .privacy-grid, .faq, .closing .wrap { grid-template-columns: minmax(0, 1fr); }
  .faq .head { position: static; }
  .jstep { grid-template-columns: 40px minmax(0, 1fr); }
  .jstep .screen-fit { grid-column: 2; justify-self: start; margin-top: 24px; }
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-grid .about { grid-column: 1 / -1; }
  .big-logo { justify-content: flex-start; }
  .mark.big { --mw: 170px; }
}
@media (max-width: 760px) {
  .nav a:not(.btn) { display: none; }
  .ways, .shop, .order-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .panel, .closing { margin: 0 10px; border-radius: 22px; }
  .journey::before { left: 15px; }
  .jstep { grid-template-columns: 32px minmax(0, 1fr); gap: 0 16px; }
  .num { width: 32px; height: 32px; font-size: 13px; }
  .screen { padding: 18px 12px; border-radius: 24px; }
  h3 { font-size: 26px; line-height: 30px; }
  .qa summary { padding: 18px; font-size: 20px; line-height: 24px; }
  .qa .a { padding: 0 18px 20px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .sheet { border-radius: 22px; }
  .way .stage { height: 210px; }
  .ialbum { width: 100px; }
  .mini-pols { grid-template-columns: repeat(2, 58px); }
  .mini-pols .pol:nth-child(3) { display: none; }
  .stack2 .album { width: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line-track .pol { animation: none; }
  .btn { transition: none; }
}

/* Print on Home: hero line, step 7, print block */
.print-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 16px 7px 7px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow-card); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: transform .2s; }
.print-chip:hover { transform: translateY(-1px); }
.print-chip b { background: var(--lime); border-radius: 999px; padding: 3px 10px; font-size: 12px; letter-spacing: .4px; text-transform: uppercase; }
.print-chip span { color: var(--soft); font-weight: 500; }
.print-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.print-head .head { margin-bottom: 0; }
.print-points { list-style: none; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.print-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--soft); }
.print-points .ic { width: 30px; height: 30px; }
.print-points .ic svg { width: 16px; height: 16px; }
@media (max-width: 1100px) {
}
@media (max-width: 760px) {
  .nav a.nav-keep { display: inline; font-size: 15px; }
  .nav { gap: 18px; }
  .print-points { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .print-chip { font-size: 14px; }
  .print-chip span { display: none; }
}
.products.on-canvas { margin-top: 22px; }
.products.on-canvas li { background: var(--white); padding: 0; }
.products.on-canvas a { display: block; padding: 8px 14px; color: var(--ink); text-decoration: none; }
.products.on-canvas a:hover { color: var(--olive-text); }
.ship-line { color: var(--soft); font-size: 14px; margin: 14px 0 0; }

.way .a-album-cover { height: 104px; }
.shop-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.shop-row .a-shop-card { text-decoration: none; color: var(--ink); padding: 16px 16px 18px; transition: transform .2s, box-shadow .2s; }
.shop-row .a-shop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.shop-row .a-shop-card > b { font-size: 24px; line-height: 28px; margin-top: 12px; }
.shop-row .a-shop-card > span:last-child { font-size: 15px; line-height: 20px; }
.shop-row .p-draw { zoom: var(--k, 1); }
@media (max-width: 1100px) { .shop-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .shop-row { gap: 10px; }
  .shop-row .a-shop-card { padding: 10px 10px 14px; }
  .shop-row .p-draw { --k: .72; }
  .shop-row .a-shop-card > b { font-size: 20px; line-height: 24px; }
  .shop-row .a-shop-card > span:last-child { font-size: 13px; line-height: 18px; }
  .way .a-album-cover { height: 90px; }
}
.item .stage { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--hair); }

.ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--olive); display: inline-grid; place-items: center; }
.ic svg { width: 18px; height: 18px; }

/* Home: the whole idea in three phones */
.head.center { text-align: center; margin-left: auto; margin-right: auto; }
.three { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.three-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.three-text { margin-top: 30px; max-width: 30ch; display: flex; flex-direction: column; align-items: center; }
.three-text .num { margin: 0 0 14px; }
.three-text h3 { margin-bottom: 8px; }
.three-text p { color: var(--soft); margin: 0; font-size: 17px; }
.three-arrow { position: absolute; right: calc(clamp(28px, 4vw, 56px) / -2 - 10px); top: 32%; width: 20px; height: 20px; display: grid; place-items: center; }

/* An iPhone: the screen is drawn at 390 × 844 and scaled to the frame */
.phone { position: relative; width: 100%; max-width: 290px; padding: 9px; border-radius: 46px; background: #161616;
  box-shadow: inset 0 0 0 1.5px #3a3a38, 0 28px 50px -14px rgba(0,0,0,.30), 0 8px 16px rgba(0,0,0,.08); }
.phone .glass { width: 100%; max-width: none; border-radius: 37px; overflow: hidden; background: var(--canvas); }
.pz { position: relative; width: 390px; height: 844px; zoom: var(--fit, 1); overflow: hidden; background: var(--canvas); text-align: left; }
.island { position: absolute; left: 50%; top: 18px; width: 31%; aspect-ratio: 126 / 37; transform: translateX(-50%); background: #000; border-radius: 999px; }
.sb { position: absolute; left: 0; right: 0; top: 0; height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 8px 32px 0 50px; z-index: 2; color: #111; }
.sb b { font: 600 17px/1 var(--sans); letter-spacing: -.01em; }
.sb span { display: flex; gap: 6px; align-items: center; }
.sb svg { display: block; fill: currentColor; }
.sb.light { color: #FFFFFF; }
.ios-full { height: 100%; background: #FFFFFF; padding-top: 62px; }
.screen.in-phone { width: 390px; height: 844px; zoom: 1; border-radius: 0; box-shadow: none; padding: 70px 16px 40px; justify-content: center; }

/* The lock screen, MeMo's notification held open */
.lock { position: relative; height: 100%; color: #FFFFFF; text-align: center; overflow: hidden; }
.lk-bg { position: absolute; inset: -20px; filter: blur(7px) brightness(.62) saturate(1.1); }
.lk-date { position: relative; padding-top: 86px; font: 600 21px/24px var(--sans); }
.lk-time { position: relative; font: 600 100px/1 var(--sans); letter-spacing: -.03em; margin-top: 4px; }
.lk-stack { position: absolute; left: 12px; right: 12px; top: 318px; text-align: left; }
.notif { display: flex; gap: 12px; align-items: flex-start; background: rgba(246,246,244,.86); color: #111; border-radius: 26px; padding: 15px 16px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.n-ic { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.n-txt { flex: 1; }
.n-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.n-top b { font: 600 17px/22px var(--sans); }
.n-top i { font: 400 14px/1 var(--sans); color: #6B6B66; font-style: normal; }
.notif p { margin: 2px 0 0; font: 400 16px/21px var(--sans); }
.n-actions { margin-top: 10px; width: 64%; display: flex; flex-direction: column; background: rgba(246,246,244,.86); color: #111; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.n-actions span { position: relative; padding: 13px 18px; font: 400 18px/22px var(--sans); }
.n-actions span + span { border-top: 1px solid rgba(0,0,0,.1); }
.n-actions .yes { background: rgba(0,0,0,.06); font-weight: 600; }
.n-actions .yes::after { content: ""; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  background: rgba(238,255,134,.95); box-shadow: 0 0 0 7px rgba(238,255,134,.35), 0 2px 6px rgba(0,0,0,.18); }

/* The promises under the phones */
.trust { list-style: none; margin: clamp(44px, 5vw, 64px) 0 0; padding: clamp(24px, 3vw, 32px) 0 0; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.trust .ic, .trust li > svg { width: 30px; height: 30px; flex: none; }
.trust .ic svg { width: 16px; height: 16px; }

/* Home: print, then Read more */
.home-print { padding-bottom: clamp(40px, 5vw, 64px); }
.readmore { text-align: center; padding: 0 0 clamp(56px, 7vw, 96px); }
.readmore .wrap { border-top: 1px dashed var(--olive); padding-top: clamp(44px, 5vw, 64px); max-width: calc(var(--wrap) + 2 * var(--gutter) - 2 * var(--gutter)); }
.readmore h2 { margin: 0 auto; }
.readmore p { font-size: 18px; color: var(--soft); max-width: 46ch; margin: 16px auto 0; }
.more-btn { margin-top: 28px; min-height: 56px; padding: 0 32px; font-size: 17px; }

@media (max-width: 860px) {
  .three { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; scrollbar-width: none;
    margin: 0 calc(-1 * clamp(20px, 4vw, 64px)); padding: 4px clamp(20px, 4vw, 64px) 12px; }
  .three::-webkit-scrollbar { display: none; }
  .three-step { flex: 0 0 min(72%, 280px); scroll-snap-align: center; }
  .three-arrow { display: none; }
  .phone { max-width: 250px; border-radius: 40px; padding: 8px; }
  .phone .glass { border-radius: 32px; }
  .island { top: 15px; }
  .trust { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 12px; }
}
.three-text .num { align-self: center; margin-top: 0; }

/* Home hero: the text and a picture of the app, real moments around it */
.hero-home { padding-bottom: clamp(40px, 5vw, 72px); }
.hero-home .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "top stage" "bottom stage"; align-items: start; row-gap: 0; }
.hero-home .h-top { grid-area: top; align-self: end; }
.hero-home .h-bottom { grid-area: bottom; padding-top: 30px; }
.hero-home h1 { font-size: clamp(46px, 5.6vw, 86px); }
.stage-fit { grid-area: stage; width: 100%; max-width: 560px; justify-self: center; align-self: center; }
.stage { position: relative; width: 560px; height: 600px; zoom: var(--fit, 1); }
.st { position: absolute; }
.st-blob { position: absolute; left: 70px; top: 70px; width: 440px; height: 440px; border-radius: 50%; background: var(--lime); opacity: .55; }
.st-a { left: 4px; top: 38px; z-index: 1; }
.st-phone { left: 158px; top: 14px; z-index: 2; transform: rotate(3deg); }
.st-c { left: 22px; top: 352px; z-index: 3; }
.st-b { left: 368px; top: 340px; z-index: 3; }
.st-n { left: 286px; top: 112px; width: 274px; z-index: 4; }
.st-n .notif { padding: 13px 14px 14px; gap: 10px; border-radius: 22px; background: rgba(252,252,250,.94); box-shadow: 0 16px 34px rgba(0,0,0,.20), 0 2px 6px rgba(0,0,0,.08); }
.st-n .n-ic { width: 36px; height: 36px; border-radius: 9px; }
.st-n .n-top b { font-size: 16px; line-height: 20px; }
.st-n .notif p { font-size: 14.5px; line-height: 19px; }
.st-yes { position: absolute; right: 14px; bottom: -22px; display: inline-flex; align-items: center; height: 40px; padding: 0 44px 0 20px; border-radius: 999px;
  background: #FFFFFF; font: 600 16px/1 var(--sans); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.st-yes::after { content: ""; position: absolute; right: 9px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--lime); box-shadow: 0 0 0 6px rgba(238,255,134,.45); }

/* How it works: the line of polaroids under its title */
.phero { --g: clamp(40px, 5vw, 64px); }
.phero .line { margin-top: calc(var(--g) - 10px); margin-bottom: calc(-1 * clamp(36px, 5vw, 64px)); }

@media (max-width: 980px) {
  .hero-home .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "stage" "bottom"; }
  .stage-fit { margin-top: 28px; }
  .hero-home .h-bottom { padding-top: 24px; }
}
.foot-grid a { overflow-wrap: anywhere; }
