/* Paginapp marketing site. Two colours: ink and WhatsApp green. Yellow only marks "not final yet". */

:root {
  color-scheme: light;
  --ink: #111b21;
  --ink-soft: #3b4a54;
  --bg: #ffffff;
  --tint: #f2f7f4;
  --line: #d5ded9;
  --green: #25d366;
  --green-tint: #d9fdd3;
  --chat-bg: #efeae2;
  --table: #ddd5c8;
  --pending: #ffe14d;
  --radius: 16px;
  --gutter: 16px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); max-width: 40ch; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 32px; }
#como h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.ic { width: 24px; height: 24px; flex: none; }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--green); position: relative; flex: none;
}
.logo-mark::after {
  content: ""; position: absolute; left: 7px; top: 7px; width: 14px; height: 10px;
  background: var(--ink); border-radius: 2px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 45% 100%, 15% 130%, 15% 100%, 0 100%);
}
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; padding: 12px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.nav a { white-space: nowrap; }
@media (max-width: 640px) { .nav { gap: 18px; max-width: 100%; overflow-x: auto; scrollbar-width: none; } }
/* Language link: the other language, named in that language. When the header has no room for one row, the link
   stays next to the logo and the section links go to a second row. */
.lang {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.lang:hover { background: var(--green); }
@media (max-width: 1000px) {
  .lang { order: 1; margin-left: auto; }
  .nav { order: 2; flex-basis: 100%; margin-left: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--green); color: var(--ink);
  font-weight: 700; font-size: 1.15rem; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 -2px var(--ink); }
.btn:active { transform: translateY(0); box-shadow: none; }

.pending, .draft {
  display: inline-block; background: var(--pending); color: var(--ink);
  font-weight: 700; font-size: 1rem; padding: 4px 12px; border-radius: 8px;
}
.pending { margin-top: 16px; display: block; width: fit-content; }
.pending[hidden] { display: none; }

/* Hero */
.hero { padding: 28px 0 48px; }
.kicker { font-weight: 700; margin-bottom: 6px; font-size: 1rem; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 32px; height: 4px; background: var(--green); border-radius: 2px; }
.lead { font-size: 1.1rem; max-width: 64ch; margin: 12px 0 20px; }
@media (min-width: 720px) { .hero { padding: 40px 0 64px; } }
.hero-in { text-align: center; max-width: 1080px; }
.hero-in h1, .hero-in .lead { margin-left: auto; margin-right: auto; }
.hero-in h1 { max-width: none; text-wrap: balance; }
@media (min-width: 900px) {
  .hero-in h1 { white-space: nowrap; }
  .hero-row { display: flex; align-items: center; justify-content: center; gap: 32px; margin-top: 16px; }
  .hero-row .lead { text-align: left; margin: 0; max-width: 52ch; }
  .hero-row .btn { flex: none; }
}
.hero .slider { margin-top: 28px; }

/* Mock-up website: a browser window. Sizes in em so the same mock-up scales inside the laptop. */
.site {
  border: 2px solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--bg);
  font-size: 14px; line-height: 1.3; width: 100%; display: flex; flex-direction: column;
}
.site.after { border-color: var(--green); }
.site-bar { display: flex; align-items: center; gap: .35em; padding: .45em .7em; background: var(--tint); border-bottom: 1px solid var(--line); flex: none; }
.site-bar i { width: .6em; height: .6em; border-radius: 50%; background: var(--line); flex: none; }
.site-bar span {
  margin-left: .45em; flex: 1; min-width: 0; background: var(--bg); border-radius: .45em; padding: .15em .6em;
  font-size: .85em; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.site-body { padding: .75em .9em .9em; flex: 1; min-height: 0; display: flex; flex-direction: column; }
.site-nav { display: flex; justify-content: space-between; align-items: baseline; gap: .3em .6em; flex-wrap: wrap; margin-bottom: .6em; }
.site-nav b { font-size: 1.15em; }
.site-nav span { color: var(--ink-soft); font-size: .85em; white-space: nowrap; }
.site-nav .menu { position: relative; }
.site-nav .menu u { text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); font-weight: 700; }
.site-dd {
  position: absolute; top: calc(100% + .45em); left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--ink); border-radius: .6em; padding: .3em 0;
  box-shadow: 0 .3em 0 -1px var(--line);
}
.site-dd i { font-style: normal; color: var(--ink); padding: .25em 1em; white-space: nowrap; }
.site-dd i.on { background: var(--green-tint); font-weight: 700; }
/* The big picture of the site grows to fill the screen it is shown on */
.site-pic { position: relative; background: var(--green-tint); border-radius: .6em; flex: 1; min-height: 5.2em; display: grid; place-items: center; margin-bottom: .6em; }
.site-pic svg { width: 50%; height: 70%; max-width: 15em; max-height: 8em; color: var(--ink); }
.site-h { font-weight: 700; font-size: 1.1em; margin-bottom: .3em; }
.site-row { display: flex; gap: .6em; border-top: 1px solid var(--line); padding: .3em 0; }
.site-row span { font-weight: 700; min-width: 4.6em; flex: none; }
.site-row s { text-decoration-thickness: 2px; }
.site-row mark { background: var(--green-tint); color: var(--ink); font-weight: 700; padding: 0 .3em; border-radius: .3em; }
.site-map { position: relative; margin-top: .6em; height: 4.2em; flex: none; border-radius: .6em; background: var(--tint); overflow: hidden; }
.site-map svg { width: 100%; height: 100%; color: var(--ink); }
/* A collage of the site's sections: one big picture, smaller ones beside it */
.collage { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .4em; flex: 1; min-height: 9em; margin-bottom: .6em; }
.collage figure { position: relative; margin: 0; display: grid; place-items: center; background: var(--green-tint); border-radius: .5em; overflow: hidden; }
.collage .big { grid-row: span 2; }
.collage .wide { grid-column: span 2; background: var(--tint); }
.collage svg { width: 80%; height: 70%; color: var(--ink); }
.collage .wide svg { width: 100%; height: 100%; }
.collage figcaption { position: absolute; left: .4em; bottom: .3em; font-size: .75em; font-weight: 700; background: var(--bg); padding: 0 .4em; border-radius: .3em; }
.pic-tag {
  position: absolute; right: .6em; bottom: .45em; font-style: normal; font-size: .75em; font-weight: 700;
  background: var(--bg); padding: .1em .6em; border-radius: .45em;
}
/* Three key numbers of a site in a row (the choir: singers, rehearsal, next concert) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4em; margin-bottom: .6em; }
.stats p { margin: 0; padding: .35em .4em; background: var(--tint); border-radius: .4em; font-size: .8em; line-height: 1.2; text-align: center; }
.stats b { display: block; font-size: 1.35em; }
/* A menu page: the dishes of one section, each with its picture */
.dishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75em; align-content: start; }
.dish i { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--tint); border-radius: .6em; }
.dish i svg { width: 55%; height: 55%; color: var(--ink); }
.dish b { display: block; margin-top: .35em; }
.dish span { color: var(--ink-soft); }

/* Block "Tu web nueva": what you send, what you get, and the slideshow */
.sec.sub { border-top: 0; padding-top: 0; }
.way-l { display: flex; gap: 10px; }
.way-l span { font-weight: 700; min-width: 68px; flex: none; }
.way-l.big { font-size: 1.15rem; max-width: 46ch; margin-bottom: 8px; }
.way-l.big span { min-width: 80px; }
.lead-sm { font-size: 1.2rem; margin: -16px 0 32px; max-width: 40ch; }

.slider { position: relative; margin-top: 32px; }
.sl-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 0 8px;
}
.sl-track::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; min-width: 0; scroll-snap-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; align-content: start;
  justify-items: center;
}
.slide > * { width: 100%; max-width: 420px; }
.sl-label { font-weight: 700; font-size: .95rem; }
.sl-arrow { text-align: center; font-size: 2rem; font-weight: 700; line-height: 1; }
.sl-arrow::before { content: "↓"; }
@media (min-width: 860px) {
  .slide {
    grid-template-columns: 230px 40px minmax(0, 680px); grid-template-rows: auto auto;
    justify-content: center; align-items: center; column-gap: 0; padding: 24px;
  }
  .slide > * { max-width: none; }
  .sl-label { grid-column: 1 / -1; }
  .sl-arrow::before { content: "→"; }
}
.sl-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--bg); color: var(--ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer; display: none; place-items: center; padding: 0 0 4px;
}
.sl-btn:hover { background: var(--green); }
.sl-btn.prev { left: -24px; } .sl-btn.next { right: -24px; }
@media (min-width: 760px) { .sl-btn { display: grid; } }
.sl-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.sl-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.sl-dots i.on { background: var(--green); }

/* Phone: about twice as tall as wide, a thin dark frame with round corners, a notch, a home bar.
   The screen is a WhatsApp chat: status bar, header, messages, input bar. Text sizes in em. */
.phone {
  --w: 300px;
  position: relative; margin: 0; width: 100%; max-width: var(--w); justify-self: center;
  aspect-ratio: 9 / 19; display: flex; flex-direction: column;
  border: 8px solid var(--ink); border-radius: calc(var(--w) * .15); overflow: hidden; background: var(--chat-bg);
  font-size: 14px; line-height: 1.35;
}
.phone.sm { --w: 230px; border-width: 7px; font-size: 13px; }
/* Status bar: the time on the left, the notch in the middle, the battery on the right */
.phone::before {
  content: "10:31"; flex: none; display: flex; align-items: center; height: 32px; padding: 0 16px;
  font-size: .78em; font-weight: 700; background-color: var(--bg);
  background-image: linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink)), linear-gradient(var(--ink), var(--ink));
  background-size: 30% 16px, 18px 9px, 2px 4px;
  background-position: center 6px, right 18px center, right 15px center;
  background-repeat: no-repeat;
}
/* The green microphone button, at the right of the input bar */
.phone::after {
  content: ""; position: absolute; right: 10px; bottom: 18px; width: 2.6em; height: 2.6em; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111b21' stroke-width='2' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%23111b21'/%3E%3Cpath d='M6 11a6 6 0 0 0 12 0M12 17v4'/%3E%3C/svg%3E") center / 58% no-repeat var(--green);
}
/* WhatsApp header */
.phone-bar { display: flex; align-items: center; gap: 8px; padding: 6px 10px 8px; background: var(--bg); border-bottom: 1px solid var(--line); flex: none; }
.phone-bar::before { content: "‹"; font-size: 1.7em; line-height: 1; margin-right: 2px; }
.phone-bar strong { display: block; font-size: 1em; line-height: 1.2; }
.phone-bar small { display: block; font-size: .8em; color: var(--ink-soft); line-height: 1.2; }
.avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-weight: 700; flex: none; }
/* Chat: the newest message sits just above the input bar, as on a real phone; the home bar is drawn under it */
.chat {
  flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px 10px 18px;
  background: linear-gradient(var(--ink), var(--ink)) center bottom 6px / 36% 4px no-repeat;
}
.chat > * { flex: none; }
:lang(en) .chat::after { content: "Message"; }
.chat::after {
  content: "Mensaje"; flex: none; display: flex; align-items: center; height: 2.6em; margin: 6px calc(2.6em + 6px) 0 0; padding: 0 12px;
  border-radius: 999px; background: var(--bg); color: var(--ink-soft); font-size: 1em;
}
.msg {
  max-width: 80%; padding: 6px 9px 4px; border-radius: 10px; font-size: 1em; line-height: 1.35;
  overflow-wrap: anywhere; box-shadow: 0 1px 0 rgba(17, 27, 33, .12);
}
.msg.out { align-self: flex-end; background: var(--green-tint); border-top-right-radius: 2px; }
.msg.in { align-self: flex-start; background: var(--bg); border-top-left-radius: 2px; }
.msg u { text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.time { display: block; text-align: right; font-size: .75em; color: var(--ink-soft); margin-top: 1px; }
/* Voice note: play triangle, sound bars, length */
.msg.voice { display: flex; align-items: center; gap: 8px; width: 80%; max-width: 80%; padding: 8px 10px; }
.msg.voice .time { margin: 0; }
.play { width: 0; height: 0; flex: none; border-left: 1em solid var(--ink); border-top: .65em solid transparent; border-bottom: .65em solid transparent; }
.wave { display: flex; align-items: center; gap: 2px; flex: 1; height: 1.8em; }
.wave i { display: block; width: 2.5px; border-radius: 2px; background: var(--ink); opacity: .4; height: 35%; }
.wave i:nth-child(3n) { height: 85%; }
.wave i:nth-child(4n+1) { height: 60%; }
.wave i:nth-child(5n+2) { height: 100%; }
.wave i:nth-child(-n+7) { opacity: 1; }
/* Photo message: the picture fills the bubble, the time sits on the picture as in WhatsApp */
.msg.photo { padding: 3px; width: 84%; max-width: 84%; }
.msg.photo > div { position: relative; width: 100%; border-radius: 8px; overflow: hidden; display: grid; place-items: center; }
.msg.photo > div::after {
  content: "10:30"; position: absolute; right: 6px; bottom: 5px; z-index: 3; font-size: .72em; color: var(--bg);
  background: rgba(17, 27, 33, .5); padding: 1px 6px; border-radius: 6px;
}
.pic { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, var(--tint), var(--line)); }
.pic svg { width: 70%; height: 60%; color: var(--ink); }
/* A photo of a paper (a flyer, a menu card) on a grey table, taken with the phone: upright, 3:4 */
.shot { aspect-ratio: 3 / 4; background: radial-gradient(circle at 50% 35%, #e6e8ea, #c6cbcf); }
.paper {
  position: relative; z-index: 1;
  width: 84%; min-height: 72%; padding: 7% 6%; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 3px; text-align: center; font-size: .85em; line-height: 1.25;
  background: var(--bg); border-radius: 2px; box-shadow: 0 3px 10px rgba(17, 27, 33, .28);
}
/* The menu card lies a little tilted on the grey table */
.shot.held .paper { width: 80%; min-height: 66%; font-size: .78em; transform: rotate(-6deg); }
.shot.held .row { white-space: nowrap; }
.paper b { font-size: 1.15em; letter-spacing: .04em; }
.paper em { font-style: normal; font-weight: 700; align-self: flex-start; margin-top: 4px; border-bottom: 2px solid var(--green); line-height: 1.4; }
.paper .th { display: grid; place-items: center; width: 2.2em; height: 2.2em; flex: none; background: var(--tint); border-radius: 4px; }
.paper .th.big { width: 9em; height: 4.5em; margin-bottom: 4px; }
.paper .th svg { width: 72%; height: 72%; color: var(--ink); }
.paper .row { display: flex; align-items: center; gap: 5px; width: 100%; text-align: left; }
.paper .row small { margin-left: auto; font-size: 1em; font-weight: 700; }

/* Laptop: a lid with a thin dark frame around the browser window (16:10), a thin base a little wider than the lid.
   The website inside is sized from the laptop's width (cqw = 1% of it), so the whole page fits the screen at any size. */
.laptop { position: relative; width: 100%; padding: 0 18px; container-type: inline-size; }
.laptop .site { aspect-ratio: 16 / 10; border: 7px solid var(--ink); border-bottom-width: 18px; border-radius: 12px 12px 0 0; font-size: clamp(8px, 2cqw, 13px); }
.laptop::before {
  content: ""; position: absolute; top: 2px; left: 50%; transform: translateX(-50%); z-index: 1;
  width: 4px; height: 4px; border-radius: 50%; background: var(--ink-soft);
}
.laptop::after {
  content: ""; display: block; height: 14px; margin: 0 -18px; border-radius: 0 0 12px 12px;
  background: linear-gradient(var(--line), var(--line)) center top / 90px 4px no-repeat var(--ink);
}
/* Every site made with Paginapp carries this footer; it also pins the page content to a full screen */
.laptop .site-body::after {
  content: "Hecho con paginapp.com"; margin-top: auto; padding-top: .6em; flex: none;
  font-size: .8em; color: var(--ink-soft); text-align: center; border-top: 1px solid var(--line);
}
:lang(en) .laptop .site-body::after { content: "Made with paginapp.com"; }
.laptop .site-pic, .laptop .dishes { margin-bottom: .75em; }
/* A small laptop (a phone screen) has no room for the map and the footer line */
@container (max-width: 360px) {
  .laptop .site-body::after, .laptop .site-map { display: none; }
}

/* Sections */
.sec { padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 720px) { .sec { padding: 104px 0; } }
.sec > .wrap > .btn { margin-top: 32px; }

.arrow { justify-self: center; font-size: 1.8rem; font-weight: 700; line-height: 1; }

/* For whom */
.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card:first-child { border: 2px solid var(--ink); }
.gift { font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { background: var(--tint); border-radius: 999px; padding: 4px 14px; font-size: 1rem; }

/* Migration */
.migra { background: var(--tint); border-radius: 24px; padding: 32px 20px; }
@media (min-width: 720px) { .migra { padding: 56px; } }
.migra h2 { max-width: 20ch; }
.facts { display: grid; gap: 12px; margin-bottom: 32px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts li { background: var(--bg); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.facts span { font-size: 1.5rem; font-weight: 700; }
.facts span::before { content: ""; display: block; width: 32px; height: 4px; background: var(--green); border-radius: 2px; margin-bottom: 8px; }
.facts li { flex-direction: column-reverse; justify-content: flex-end; }
.yesno { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 760px) { .yesno { grid-template-columns: 1fr 1fr; } }
.yesno h3 { margin-bottom: 8px; }
.migra .btn { margin-top: 24px; }

/* Lists */
.list li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; }
.ic.ok { color: var(--ink); background: var(--green); border-radius: 50%; padding: 3px; margin-top: 2px; }
.ic.no { color: var(--ink); border: 2px solid var(--ink); border-radius: 50%; padding: 2px; margin-top: 2px; }
.list-num { list-style: decimal; padding-left: 1.4em; display: grid; gap: 6px; }
.list-dot { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; }

/* "?" toggles */
.why { margin-top: 8px; }
.why summary {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer;
  font-weight: 700; list-style: none;
}
.why summary::-webkit-details-marker { display: none; }
.q {
  width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--ink);
  display: grid; place-items: center; font-weight: 700; flex: none;
}
.why[open] .q { background: var(--ink); color: var(--bg); }
.why > :not(summary) { margin: 8px 0 8px 42px; }

/* Prices */
.h-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.h-row h2 { margin: 0; }
.slogan { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; margin: -8px 0 32px; }
.prices { display: grid; gap: 16px; margin-bottom: 16px; }
@media (min-width: 640px) { .prices { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.price.main { border: 2px solid var(--green); }
.amount { font-size: 2rem; font-weight: 700; margin: 8px 0 16px; line-height: 1.2; }
.amount small { display: block; font-size: 1rem; font-weight: 400; }
.price .list li { overflow-wrap: anywhere; }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 12px 0; cursor: pointer; font-weight: 700; font-size: 1.2rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--tint);
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; background: var(--green); }
.faq details > ul { padding-bottom: 20px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.made { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.legal { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal a { display: inline-block; padding: 12px 0; }

/* Legal stub page */
.legal-page { padding-bottom: 80px; }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 56px 0 32px; }
.legal-page h2 { margin: 40px 0 8px; font-size: 1.6rem; }
.legal-page .draft { margin-top: 4px; }

/* "Coming soon" window of the green WhatsApp buttons, while the WhatsApp number is not ready (site.js) */
.soon {
  border: 0; padding: 0; width: calc(100% - 2 * var(--gutter)); max-width: 400px;
  border-radius: 24px; background: var(--bg); color: var(--ink); box-shadow: 0 10px 0 -4px var(--ink);
}
.soon::backdrop { background: rgba(17, 27, 33, .55); }
.soon-in { padding: 32px 24px 24px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.soon-ic { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--green); color: var(--ink); }
.soon h2 { margin: 4px 0 0; font-size: 1.8rem; }
.soon .btn { margin-top: 8px; min-width: 160px; border: 0; font-family: inherit; cursor: pointer; }

/* A flyer the bot sends back in the chat */
.msg.photo > .flyer { display: block; }
.msg.photo > .flyer img { display: block; width: 100%; height: auto; }
.msg.photo:has(> .flyer) { width: 58%; max-width: 58%; }

.msg.photo.narrow { width: 62%; max-width: 62%; }
.msg.photo.narrow.xs { width: 50%; max-width: 50%; }

/* An example plays like a real chat (the script adds .anim to the slide): the messages are hidden until their turn,
   the one being typed shows a blinking cursor, the laptop shows a spinning ring while it waits (.wait), and the page
   fades in when it is ready (.done). Without JavaScript, or when the visitor asked for less motion, nothing is hidden. */
.anim .msg:not(.show) { display: none; }
.anim .msg.typing::after {
  content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em;
  background: var(--ink); animation: blink .9s steps(2, start) infinite;
}
.anim .laptop .site { position: relative; }
.anim .site-body { opacity: 0; }
.anim.done .site-body { opacity: 1; transition: opacity .6s ease; }
.anim.wait .laptop .site::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 3.2em; height: 3.2em; border-radius: 50%;
  border: .45em solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { to { visibility: hidden; } }

/* Editing examples: the site before and after the change, stacked, in place of the laptop */
.change { display: grid; gap: 8px; justify-items: stretch; width: 100%; }
.change .site { font-size: 11px; }
.change .site-pic { min-height: 3.4em; flex: none; }
.change .dishes { gap: .5em; }
.change .arrow { justify-self: center; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.tag { font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.tag-new { display: inline-block; background: var(--green); padding: 2px 10px; border-radius: 8px; }
