/* Aimantée : encres risographie sur papier lait */
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Italic.ttf") format("truetype"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat.ttf") format("truetype"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #F5ECDF;
  --paper-deep: #EBDDCB;
  --paper-light: #FBF6EE;
  --ink: #3A2321;
  --ink-soft: #6E534C;
  --ink-faint: #B39C90;
  --clay: #C65B3C;
  --clay-deep: #9E3F27;
  --blush: #ECBFB3;
  --saffron: #E7A63A;
  --secure: #7C8A4C;
  --anxious: #DA5A3E;
  --avoidant: #6F88A6;
  --fearful: #7A3352;
  --gutter: 24px;
  --max: 1120px;
  --ease-soft: cubic-bezier(.2, .8, .2, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .23  0 0 0 0 .14  0 0 0 0 .13  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.28'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--grain);
  color: var(--ink);
  font-family: "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--clay-deep); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:focus-visible, button:focus-visible { outline: 2px dashed var(--clay); outline-offset: 4px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 20px; z-index: 10; }
.skip:focus { left: 12px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  font-weight: 420;
  line-height: 1.06;
  margin: 0 0 .4em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(44px, 7.4vw, 86px); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
h2 { font-size: clamp(32px, 4.6vw, 52px); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; }
h3 { font-size: 24px; font-weight: 520; }
em, .it { font-style: italic; }
p { margin: 0 0 1em; }
.hand { font-family: "Caveat", "Segoe Print", cursive; font-weight: 600; font-size: 26px; line-height: 1.1; color: var(--clay-deep); }
.label { font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.soft { color: var(--ink-soft); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { padding: 88px 0; position: relative; }

/* ---------- header ---------- */
.top { padding: 20px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 28px; font-weight: 500; }
.brand svg { width: 38px; height: 38px; }
.top nav { display: flex; gap: 18px; align-items: center; font-size: 16px; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a:hover { text-decoration: underline; }
.lang { border: 1.5px solid var(--ink); border-radius: 999px 900px 999px 940px; padding: 3px 12px; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 18px/1 "Alegreya Sans", sans-serif;
  color: var(--paper-light); background: var(--clay);
  padding: 18px 28px; border-radius: 999px 960px 999px 940px;
  text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 5px 0 var(--clay-deep);
  transition: transform .26s var(--ease-soft), box-shadow .26s var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--clay-deep); }
.btn:active { transform: translateY(4px) scale(.98); box-shadow: 0 1px 0 var(--clay-deep); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn.ghost:active { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn svg { width: 22px; height: 22px; }
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- hero ---------- */
.hero { padding-top: 32px; padding-bottom: 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 em { color: var(--clay); }
.hero .lede { font-size: 21px; max-width: 32em; color: var(--ink-soft); }
.hero .note { margin-top: 18px; display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-soft); }
.hero .note svg { width: 18px; height: 18px; flex: none; }
.hero .hand-arrow { position: relative; margin-top: 22px; transform: rotate(-3deg); display: inline-block; }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .phone-stage { order: 2; }
}

/* ---------- phone mockup ---------- */
.phone-stage { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone-stage .halo { position: absolute; width: 120%; max-width: 520px; mix-blend-mode: multiply; opacity: .9; }
.phone {
  position: relative; width: 300px; aspect-ratio: 393 / 852;
  background: var(--ink); border-radius: 52px; padding: 11px;
  box-shadow: 10px 12px 0 var(--blush);
  transform: rotate(2.5deg);
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; margin-left: -46px; background: var(--ink); border-radius: 20px; z-index: 2; }
.screen { width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--paper); background-image: var(--grain); position: relative; }
.screen svg { width: 100%; height: 100%; }
.screen .ink-a, .screen .ink-b { mix-blend-mode: multiply; }

/* breathing blobs */
.breathe { transform-box: fill-box; transform-origin: center; animation: breathe 4.2s ease-in-out infinite; }
.breathe.b2 { animation-delay: -1.6s; }
.breathe.b3 { animation-delay: -2.8s; }
@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  43% { transform: scale(1.04, 1.03) rotate(1.5deg); }
}
.drift { animation: drift 9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, -4px); }
}
.pulse { animation: pulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- sections ---------- */
.intro-band { background: var(--paper-deep); background-image: var(--grain); }
.lead { font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 48; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.25; max-width: 24em; }
.lead em { color: var(--clay); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.pebble {
  background: var(--paper-light);
  padding: 30px 28px;
  border-radius: 34px 28px 38px 26px / 30px 36px 26px 34px;
  box-shadow: 5px 6px 0 var(--paper-deep);
  position: relative;
}
.pebble h3 { margin-top: 12px; }
.pebble p:last-child { margin-bottom: 0; }
.pebble .num { font-family: "Caveat", cursive; font-size: 46px; font-weight: 700; color: var(--clay); line-height: 1; }
.pebble svg.icon { width: 52px; height: 52px; }

/* styles */
.styles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 980px) { .styles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .styles-grid { grid-template-columns: 1fr; } }
.style-card { padding: 26px 22px 24px; border-radius: 30px 38px 28px 36px / 36px 28px 38px 30px; background: var(--paper-light); box-shadow: 5px 6px 0 var(--paper-deep); }
.style-card svg { width: 84px; height: 84px; margin-bottom: 10px; }
.style-card h3 { margin-bottom: 6px; }
.style-card p { font-size: 16px; color: var(--ink-soft); margin: 0; }
.style-card .hand { font-size: 22px; display: block; margin-bottom: 6px; }

/* map section */
.map-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .map-wrap { grid-template-columns: 1fr; } }
.map-figure { background: var(--paper-light); border-radius: 40px 34px 42px 30px; padding: 22px; box-shadow: 6px 7px 0 var(--blush); }

/* couple */
.couple { background: var(--blush); background-image: var(--grain); }
.couple .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .couple .wrap { grid-template-columns: 1fr; } }
.share-card {
  width: min(300px, 100%); aspect-ratio: 9 / 16; margin-inline: auto;
  background: var(--paper); background-image: var(--grain);
  border-radius: 30px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 9px 10px 0 var(--clay-deep); transform: rotate(-2deg);
}
.share-card .quote { font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 72; font-size: 30px; line-height: 1.08; }
.share-card .quote .a { color: var(--anxious); font-style: italic; }
.share-card .quote .v { color: var(--avoidant); font-style: italic; }
.share-card .foot { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 14px; }

/* program */
.days { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin: 28px 0 8px; }
.day { aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: var(--paper-deep); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.day.done { background: var(--clay); color: var(--paper-light); }
.day.today { background: var(--saffron); color: var(--ink); }
@media (max-width: 520px) { .days { grid-template-columns: repeat(6, 1fr); } }

/* privacy */
.privacy-band { background: var(--ink); color: var(--paper); background-image: var(--grain); }
.privacy-band h2 { color: var(--paper); }
.privacy-band .soft { color: var(--blush); }
.privacy-band .hand { color: var(--saffron); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
@media (max-width: 880px) { .prices { grid-template-columns: 1fr; } }
.price { padding: 28px 26px; border-radius: 32px 26px 36px 28px; background: var(--paper-light); box-shadow: 5px 6px 0 var(--paper-deep); position: relative; }
.price.best { box-shadow: 0 0 0 2px var(--clay), 6px 7px 0 var(--blush); }
.price .amount { font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100, "opsz" 72; font-size: 44px; font-weight: 500; line-height: 1; margin: 10px 0 6px; }
.price .per { font-size: 15px; color: var(--ink-soft); }
.price .tag { position: absolute; top: -14px; right: 22px; background: var(--clay); color: var(--paper-light); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 999px 900px 999px 940px; }
.fine { font-size: 15px; color: var(--ink-soft); margin-top: 22px; max-width: 46em; }

/* faq */
.faq details { border-bottom: 1.5px dashed var(--ink-faint); padding: 18px 0; }
.faq summary { cursor: pointer; list-style: none; font-family: "Fraunces", serif; font-variation-settings: "SOFT" 100, "WONK" 1; font-size: 22px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Caveat", cursive; font-size: 34px; line-height: .7; color: var(--clay); transition: transform .3s var(--ease-soft); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 46em; }

/* cta */
.final { text-align: center; }
.final .stores { justify-content: center; }
.final .lead { margin-inline: auto; }

/* care + footer */
.care { background: var(--paper-deep); border-radius: 30px 36px 28px 34px; padding: 24px 26px; font-size: 16px; display: flex; gap: 16px; align-items: flex-start; }
.care svg { width: 34px; height: 34px; flex: none; }
.care strong { font-weight: 700; }
footer { padding: 56px 0 48px; font-size: 15px; color: var(--ink-soft); }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; margin-top: 28px; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--ink); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* legal pages */
.legal { padding: 24px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(38px, 6vw, 60px); }
.legal h2 { font-size: 28px; margin-top: 1.6em; }
.legal h3 { font-size: 21px; margin-top: 1.3em; }
.legal p, .legal li { color: var(--ink); }
.legal .updated { font-family: "Caveat", cursive; font-size: 24px; color: var(--clay-deep); }
.legal hr { border: 0; border-top: 1.5px dashed var(--ink-faint); margin: 48px 0; }
.legal table { border-collapse: collapse; width: 100%; font-size: 16px; }
.legal th, .legal td { text-align: left; padding: 10px 8px; border-bottom: 1px dashed var(--ink-faint); vertical-align: top; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
