/* femLove website. Colours and type follow the app's design system. */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin-full-normal.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/fraunces-latin-full-italic.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  --plum: #4e2263;
  --orchid: #8e5ba8;
  --rose: #d4607f;
  --rose-deep: #b84a68;
  --petal: #f4c3d0;
  --lilac: #d9c8ea;
  --lavender: #f1ebf7;
  --blush: #fbe6ec;
  --ivory: #fbf7f5;
  --paper: #fffdfc;
  --ink: #2b1631;
  --mauve: #6e5a74;
  --haze: #a898ac;
  --line: #eee6eb;
  --night: #241129;

  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 24px;
  --shadow: 0 1px 2px rgba(43, 22, 49, 0.04), 0 18px 50px -18px rgba(43, 22, 49, 0.18);
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

::selection {
  background: var(--petal);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink);
  color: var(--ivory);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Type ---------- */

.serif {
  font-family: var(--serif);
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  font-weight: 380;
  letter-spacing: -0.02em;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  color: var(--rose);
}

.display {
  font-size: clamp(50px, 7.6vw, 108px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.h2 {
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1;
}

.h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
}

.lede {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--mauve);
  max-width: 34em;
  text-wrap: pretty;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve);
}
.eyebrow .num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--rose);
}
.eyebrow::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
}

.muted {
  color: var(--mauve);
}
.small {
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Buttons and form ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  color: #fff;
  font: 600 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px -10px rgba(78, 34, 99, 0.55);
  white-space: nowrap;
}
.btn:hover {
  background: #5d2a76;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn--small {
  height: 42px;
  padding: 0 18px;
  font-size: 14px;
  box-shadow: none;
}
.btn--ghost {
  background: transparent;
  color: var(--plum);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover {
  background: var(--paper);
}
.btn .arrow {
  transition: transform 0.2s ease;
}
.btn:hover .arrow {
  transform: translateX(3px);
}

.waitlist {
  display: flex;
  gap: 8px;
  padding: 6px;
  max-width: 520px;
  background: var(--paper);
  border-radius: 999px;
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.waitlist input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font: 400 16px/1 var(--sans);
  color: var(--ink);
  border-radius: 999px;
}
.waitlist input::placeholder {
  color: var(--haze);
}
.waitlist input:focus {
  outline: none;
}
.waitlist:focus-within {
  box-shadow: var(--shadow), inset 0 0 0 1.5px var(--plum);
}
.form-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--mauve);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-note svg {
  flex: none;
}
.form-status {
  min-height: 1.5em;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
}
.form-status[data-state='ok'] {
  color: var(--plum);
}
.form-status[data-state='error'] {
  color: var(--rose-deep);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 245, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header[data-scrolled='true'] {
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}
.logo img {
  height: 22px;
  width: auto;
}
.logo span {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-variation-settings: 'SOFT' 100;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--mauve);
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy > * + * {
  margin-top: 28px;
}
.hero-copy .display {
  margin-top: 22px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--mauve);
}
.badge b {
  font-weight: 600;
  color: var(--plum);
  background: var(--lavender);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Hero: Today in front, Move and Sleep behind */
.hero-phones {
  position: relative;
  width: 100%;
  max-width: 540px;
  justify-self: center;
  aspect-ratio: 1 / 1.02;
}
.hero-phones .phone {
  position: absolute;
  width: 46%;
  padding: 8px;
  border-radius: 38px;
}
.hero-phones .phone .screen {
  border-radius: 30px;
}
.hero-phones .p-left {
  left: 0;
  top: 11%;
  transform: rotate(-7deg);
}
.hero-phones .p-right {
  right: 0;
  top: 11%;
  transform: rotate(7deg);
}
.hero-phones .p-front {
  left: 50%;
  top: 0;
  width: 52%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-phones .note {
  z-index: 3;
}
.hero-phones .note--a {
  top: -3%;
  left: -8%;
}
.ring-art .note {
  z-index: 2;
}
#cycle .note--b {
  right: -18%;
}
.ring-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--mauve);
}
.ring-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ring-legend .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot--period {
  background: #d4607f;
}
.dot--fertile {
  background: #d9c8ea;
}
.dot--pms {
  background: #f4c3d0;
}

/* The annotated cycle ring */
.ring-art {
  position: relative;
  width: 100%;
  max-width: 540px;
  justify-self: center;
  aspect-ratio: 1;
}
.ring-art svg.ring {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring .track {
  stroke: #efe7ec;
}
.ring .seg {
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: draw 1.3s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
.ring .seg.d2 {
  animation-delay: 0.25s;
}
.ring .seg.d3 {
  animation-delay: 0.5s;
}
.ring .tick {
  stroke: #e4dae0;
  stroke-width: 1.4;
  stroke-linecap: round;
}
.ring .today {
  opacity: 0;
  animation: pop 0.6s 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.ring-centre {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.ring-centre small {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--haze);
}
.ring-centre strong {
  font-family: var(--serif);
  font-weight: 340;
  font-size: clamp(96px, 13vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.ring-centre span {
  font-size: 17px;
  color: var(--mauve);
}

.note {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow);
  font-size: 13.5px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.note i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
}
.note b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.note em {
  font-style: normal;
  color: var(--mauve);
}
.note--a {
  top: 6%;
  left: -6%;
  animation-delay: 1.7s;
}
.note--a i {
  background: var(--blush);
  color: var(--rose);
}
.note--b {
  top: 44%;
  right: -10%;
  animation-delay: 1.95s;
}
.note--b i {
  background: var(--lavender);
  color: var(--plum);
}
.note--c {
  bottom: -1%;
  left: -8%;
  animation-delay: 2.2s;
}
.note--c i {
  background: var(--lavender);
  color: var(--orchid);
}
@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .ring-art,
  .hero-phones {
    max-width: 420px;
    margin-top: 24px;
  }
  .note--a {
    left: -2%;
  }
  .note--b {
    right: -4%;
  }
}
@media (max-width: 520px) {
  .waitlist {
    flex-direction: column;
    border-radius: 24px;
    padding: 8px;
  }
  .waitlist input {
    height: 50px;
  }
  .waitlist .btn {
    width: 100%;
  }
  .note {
    font-size: 12px;
    padding: 8px 10px 8px 8px;
  }
  .note i {
    width: 24px;
    height: 24px;
  }
  .note--a {
    top: 0;
    left: -4px;
  }
  .note--b {
    display: none;
  }
  .note--c {
    bottom: -4%;
    left: -4px;
  }
}

/* ---------- Words that scroll by ---------- */

.ribbon {
  border-block: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: slide 48s linear infinite;
}
.ribbon ul {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ribbon li {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 11px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 340;
  font-style: italic;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  color: var(--mauve);
  white-space: nowrap;
}
.ribbon li::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--petal);
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(80px, 11vw, 160px) 0;
}
.section-head {
  display: grid;
  gap: 24px;
  max-width: 820px;
}
.section-head .lede {
  margin-top: 4px;
}

/* Stats */
.stats {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 36px 32px 8px 0;
}
.stat + .stat {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-weight: 320;
  font-size: clamp(64px, 7.4vw, 104px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--plum);
  font-variation-settings: 'SOFT' 100, 'opsz' 144;
}
.stat strong sup {
  font-size: 0.42em;
  vertical-align: 0.9em;
  margin-left: 2px;
  color: var(--rose);
}
.stat p {
  margin-top: 18px;
  font-size: 17px;
  max-width: 22em;
}
.stat cite {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  font-style: normal;
  color: var(--haze);
}
.stat cite a {
  color: var(--haze);
  text-underline-offset: 3px;
}
.stat cite a:hover {
  color: var(--mauve);
}
.closer {
  margin-top: clamp(48px, 6vw, 72px);
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  font-weight: 340;
  font-variation-settings: 'SOFT' 100;
  max-width: 28em;
  letter-spacing: -0.015em;
}
.closer em {
  color: var(--rose);
}
@media (max-width: 820px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .stat,
  .stat + .stat {
    padding: 28px 0;
    border-left: 0;
  }
  .stat + .stat {
    border-top: 1px solid var(--line);
  }
}

/* Moments: text beside a real screen */
.moments {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  gap: clamp(72px, 9vw, 128px);
}
.moment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.moment:nth-child(even) .moment-media {
  order: -1;
}
.moment-copy {
  display: grid;
  gap: 20px;
  max-width: 30em;
}
.moment-copy .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--rose);
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
}
.moment-copy ul {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.moment-copy li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--ink);
}
.moment-copy li::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--rose);
  justify-self: center;
}
.moment-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  border-radius: 32px;
  background: var(--blush);
  padding: clamp(32px, 5vw, 64px) 24px;
  overflow: hidden;
}
.moment-media--lavender {
  background: var(--lavender);
}
.moment-media--paper {
  background: #f3ece8;
}
.moment-media .halo {
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(212, 96, 127, 0.18);
  pointer-events: none;
}
.moment-media .halo + .halo {
  width: 100%;
}
@media (max-width: 860px) {
  .moment {
    grid-template-columns: minmax(0, 1fr);
  }
  .moment:nth-child(even) .moment-media {
    order: 0;
  }
  .moment-media {
    min-height: 0;
  }
}

/* Phone frame around real app screens */
.phone {
  position: relative;
  width: min(300px, 74vw);
  border-radius: 46px;
  padding: 10px;
  background: #1d0f22;
  box-shadow: 0 2px 0 1px #3a2240 inset, 0 40px 80px -30px rgba(43, 22, 49, 0.55), 0 12px 30px -12px rgba(43, 22, 49, 0.35);
}
.phone .screen {
  position: relative;
  border-radius: 37px;
  overflow: hidden;
  aspect-ratio: 428 / 926;
  background: var(--ivory);
}
.phone .screen img {
  width: 100%;
  height: auto;
}
.phone .screen--scroll img {
  animation: browse 16s ease-in-out infinite alternate;
}
.phone .screen--scroll-short img {
  animation-name: browse-short;
}
@keyframes browse-short {
  0%,
  12% {
    transform: translateY(0);
  }
  88%,
  100% {
    transform: translateY(-21.5%);
  }
}
/* Taller screens travel further: 1 − 926 / image height. */
.phone .screen--scroll-mid img {
  animation-name: browse-mid;
}
/* Any height: set --travel on the screen to −(1 − 926 / image height). */
.phone .screen--scroll-var img {
  animation-name: browse-var;
}
.screen--t11 {
  --travel: -11.1%;
}
.screen--t15 {
  --travel: -15.2%;
}
.screen--t17 {
  --travel: -17.1%;
}
.screen--t27 {
  --travel: -27.9%;
}
.screen--t45 {
  --travel: -45.9%;
}
.screen--t21 {
  --travel: -21.4%;
}
.later {
  margin-top: 32px;
  display: grid;
  gap: 28px;
}
.later-item {
  padding-top: 24px;
  border-top: 1px solid var(--line, #eee6eb);
}
.later-item .h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.later-item p {
  margin-top: 10px;
  color: var(--mauve);
}
.later-item .plain-list {
  margin-top: 14px;
}
.badge--small {
  font-size: 12px;
  padding: 3px 4px;
}
.screen--t16 {
  --travel: -15.8%;
}
.screen--t43 {
  --travel: -43.6%;
}
@keyframes browse-var {
  0%,
  12% {
    transform: translateY(0);
  }
  88%,
  100% {
    transform: translateY(var(--travel, -25%));
  }
}
.phone .screen--scroll-tall img {
  animation-name: browse-tall;
}
@keyframes browse-mid {
  0%,
  12% {
    transform: translateY(0);
  }
  88%,
  100% {
    transform: translateY(-32.4%);
  }
}
@keyframes browse-tall {
  0%,
  12% {
    transform: translateY(0);
  }
  88%,
  100% {
    transform: translateY(-35.5%);
  }
}
@keyframes browse {
  0%,
  12% {
    transform: translateY(0);
  }
  88%,
  100% {
    transform: translateY(-29.3%);
  }
}
.phone--tilt {
  transform: rotate(-3deg);
}

.paper {
  width: min(440px, 86vw);
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 40px 70px -30px rgba(43, 22, 49, 0.45), 0 2px 8px rgba(43, 22, 49, 0.08);
  transform: rotate(2.5deg);
}
.paper img {
  border-radius: 6px;
}

/* Day log: everything you can note */
.daylog {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.chips {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 15px;
  font-weight: 500;
}
.chip::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dot, var(--plum));
}
.chip--rose {
  --dot: var(--rose);
}
.chip--lilac {
  --dot: var(--lilac);
}
.chip--petal {
  --dot: var(--petal);
}
.chip--orchid {
  --dot: var(--orchid);
}
.daylog-media {
  display: grid;
  place-items: center;
  position: relative;
}
.daylog-media::before {
  content: '';
  position: absolute;
  width: 92%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--blush), transparent);
}
@media (max-width: 860px) {
  .daylog {
    grid-template-columns: minmax(0, 1fr);
  }
}
.daylog h2 {
  margin-top: 24px;
}
.daylog .lede {
  margin-top: 24px;
}

/* Privacy: the dark chapter */
.night {
  background: var(--night);
  color: #f4ecf0;
  position: relative;
  overflow: hidden;
}
.night .eyebrow {
  color: #c8b6cf;
}
.night h2 em {
  color: var(--petal);
}
.night .lede {
  color: #c8b6cf;
}
.night .rings-bg {
  position: absolute;
  right: -180px;
  top: 60px;
  width: 720px;
  opacity: 0.08;
  pointer-events: none;
}
.promises {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.promise {
  padding: 32px 32px 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.promise:not(:nth-child(3n + 1)) {
  padding-left: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.promise .n {
  font-family: var(--serif);
  font-style: italic;
  color: var(--petal);
  font-size: 16px;
}
.promise h3 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}
.promise p {
  margin-top: 12px;
  font-size: 15.5px;
  color: #c8b6cf;
}
.lockscreen {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}
.notif {
  width: min(380px, 100%);
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.notif img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}
.notif b {
  display: block;
  font-size: 15px;
  color: #fff;
}
.notif span {
  font-size: 14.5px;
  color: #e7dbe9;
}
.notif time {
  font-size: 12.5px;
  color: #b6a3bd;
}
.lockscreen p {
  max-width: 30em;
  color: #c8b6cf;
}
.lockscreen p strong {
  color: #fff;
  font-weight: 600;
}
@media (max-width: 960px) {
  .promises {
    grid-template-columns: 1fr 1fr;
  }
  .promise,
  .promise:not(:nth-child(3n + 1)) {
    padding: 28px 24px 28px 0;
    border-left: 0;
  }
  .promise:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
  .lockscreen {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 600px) {
  .promises {
    grid-template-columns: 1fr;
  }
  .promise:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

/* Cycle Link */
.link-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.link-lede {
  margin-top: 24px;
}
.link-media {
  display: grid;
  place-items: center;
  position: relative;
  padding: 40px 0;
}
#link,
#support,
#food {
  overflow: hidden;
}
#food {
  background: var(--paper);
}

/* Food and fasting: two phones, overlapping */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 40px 0 80px;
}
.duo .phone {
  width: min(258px, 100%);
}
.duo .phone:first-child {
  justify-self: end;
  transform: rotate(-3deg);
  z-index: 1;
}
.duo .phone:last-child {
  justify-self: start;
  margin: 90px 0 0 -14px;
  transform: rotate(3deg);
}
#support {
  background: var(--paper);
}
.plain-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 15.5px;
  color: var(--mauve);
}
.plain-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.plain-list li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--rose);
}
.link-media .big-rings {
  position: absolute;
  width: 100%;
  opacity: 0.16;
}
.share-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}
.share-list div {
  padding: 22px 24px;
}
.share-list div + div {
  border-left: 1px solid var(--line);
}
.share-list h3 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
}
.share-list ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 15.5px;
}
.share-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.share-list .yes::before,
.share-list .no::before {
  content: '';
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
}
.share-list .yes::before {
  background: var(--lavender) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%234E2263' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.share-list .no::before {
  background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='5' y='7.2' width='6' height='4.6' rx='1' fill='none' stroke='%23B84A68' stroke-width='1.3'/%3E%3Cpath d='M6.3 7.2V6a1.7 1.7 0 0 1 3.4 0v1.2' fill='none' stroke='%23B84A68' stroke-width='1.3'/%3E%3C/svg%3E") center/16px no-repeat;
}
@media (max-width: 860px) {
  .link-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .link-media,
  .duo {
    order: -1;
  }
}
@media (max-width: 520px) {
  .duo .phone:last-child {
    margin: 60px 0 0 -28px;
  }
}
@media (max-width: 480px) {
  .share-list {
    grid-template-columns: 1fr;
  }
  .share-list div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Journal list */
.posts {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.post-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 40px;
  gap: 24px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding 0.25s ease, background 0.25s ease;
}
.post-row time {
  font-size: 14px;
  color: var(--mauve);
}
.post-row h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
}
.post-row p {
  margin-top: 10px;
  color: var(--mauve);
  max-width: 40em;
}
.post-row .go {
  font-size: 22px;
  color: var(--rose);
  transition: transform 0.25s ease;
}
.post-row:hover .go {
  transform: translateX(6px);
}
.post-row:hover h3 {
  color: var(--plum);
}
@media (max-width: 700px) {
  .post-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .post-row .go {
    display: none;
  }
}

/* Final call */
.final {
  text-align: center;
  padding: clamp(96px, 12vw, 176px) 0;
  position: relative;
  overflow: hidden;
}
.final .mark-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(900px, 140vw);
  transform: translate(-50%, -50%);
  opacity: 0.07;
  pointer-events: none;
}
.final .h2 {
  max-width: 13em;
  margin: 0 auto;
}
.final .lede {
  margin: 24px auto 0;
}
.final .waitlist {
  margin: 40px auto 0;
}
.final .form-note,
.final .form-status {
  justify-content: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 56px;
  font-size: 14px;
  color: var(--mauve);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.site-footer nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer nav a {
  text-decoration: none;
}
.site-footer nav a:hover {
  color: var(--ink);
}
.site-footer .fine {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--haze);
  max-width: 60em;
}
@media (max-width: 640px) {
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
}

/* ---------- Article pages (journal, privacy) ---------- */

.article {
  padding: clamp(48px, 8vw, 112px) 0 clamp(80px, 10vw, 140px);
}
.article .wrap {
  max-width: calc(760px + 2 * var(--gutter));
}
.article header {
  display: grid;
  gap: 22px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.article header h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.02;
}
.article .meta {
  font-size: 14px;
  color: var(--mauve);
}
.prose {
  font-size: 18.5px;
  line-height: 1.75;
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  font-size: 32px;
  line-height: 1.15;
  margin-top: 2em;
}
.prose h3 {
  font-size: 24px;
  margin-top: 1.6em;
}
.prose a {
  color: var(--plum);
  text-decoration-color: var(--petal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover {
  text-decoration-color: var(--rose);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose li::marker {
  color: var(--rose);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--rose);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  color: var(--plum);
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2.4em 0;
}
.prose .callout,
.prose aside {
  padding: 18px 22px;
  background: var(--lavender);
  border-radius: 16px;
  font-size: 16px;
}
.back {
  display: inline-flex;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mauve);
  text-decoration: none;
}
.back:hover {
  color: var(--ink);
}
.article-cta {
  margin-top: 64px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--blush);
  display: grid;
  gap: 16px;
}
.article-cta h2 {
  font-size: 30px;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .ring .seg {
    stroke-dashoffset: 0;
  }
  .note,
  .ring .today {
    opacity: 1;
    transform: none;
  }
  .ribbon-track {
    animation: none;
  }
  .phone .screen--scroll img {
    animation: none;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

.display .line {
  display: block;
}
@media (min-width: 961px) {
  .display em {
    white-space: nowrap;
  }
}
