/* Tripflix: palette, tipografia e immagini sostituibili. */
:root {
  --ink: #0c152b;
  --muted: #535c6b;
  --pink: #f4258b;
  --teal: #10858e;
  --script: 'Caveat', cursive;
  --hero-image: url('assets/hero-coast.png');
  --banner-image: url('assets/traveler-banner.png');
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); font: 14px 'DM Sans', Arial, sans-serif; background: #fafafc; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; border: 0; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2 { font: 700 34px/1.08 var(--script); }
.container { width: min(1180px, 91%); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 20px; top: -80px; z-index: 20; background: white; padding: 12px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid #156db4; outline-offset: 4px; }
.handwritten { font-family: var(--script); font-weight: 600; }
.rose { color: var(--pink); }
.turquoise { color: var(--teal); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; padding: 12px 24px; border-radius: 20px; font-size: 16px; font-weight: 600; transition: transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 15px #0c152b20; }
.button svg { width: 19px; height: 19px; }
.pink { background: linear-gradient(110deg, #f51b84, #f63290); color: white; }
.teal { background: linear-gradient(110deg, #0b8790, #0f858c); color: white; }
.full { width: 100%; }
.icon-button { display: inline-grid; place-items: center; background: transparent; width: 40px; height: 40px; border-radius: 50%; }
.icon-button:hover { background: #ffffff70; }
/* Header e panorama della hero. */
.hero-scene { position: relative; background-color: #d9eff8; background-image: linear-gradient(180deg, #e0f5ff55, transparent 48%, #f8e5db30), var(--hero-image); background-size: cover; background-position: center; overflow: hidden; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 78px; position: relative; z-index: 3; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand > svg { width: 47px; height: 47px; color: #098dc6; transform: rotate(-6deg); }
.brand strong { font-size: 43px; line-height: .95; font-weight: 800; font-style: italic; letter-spacing: -2px; }
.brand strong > span { color: var(--pink); }
.brand small { display: block; font-size: 12px; margin-top: 5px; }
.header nav { display: flex; align-items: center; gap: 26px; font-size: 12px; }
.header nav button { background: none; padding: 0; }
.header nav a:hover, .header nav button:hover { color: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .button { font-size: 14px; min-height: 43px; border-radius: 25px; padding-inline: 24px; }
.menu-toggle { display: none; }
.hero { position: relative; padding: 8px 10px 24px; }
.hero-copy { padding: 0 24px 18px; }
.hero h1 { font: 700 clamp(48px, 5.8vw, 73px)/.92 var(--script); letter-spacing: -1px; position: relative; width: fit-content; }
.hero h1 span { color: var(--pink); position: relative; display: inline-block; }
.hero h1 span:after { content: ''; position: absolute; bottom: -1px; left: 5%; width: 95%; height: 5px; border-top: 4px solid var(--pink); border-radius: 50%; transform: rotate(-3deg); }
.hero h1 i { position: absolute; color: transparent; bottom: 12px; left: 48%; width: 30px; height: 30px; border-top: 5px solid #fdb820; border-bottom: 5px solid #fdb820; transform: rotate(-20deg); }
.hero-copy > p { font-size: 19px; line-height: 1.35; margin-top: 14px; }
.hero-note { position: absolute; right: 7%; top: 13px; font-size: 28px; line-height: 1.02; text-align: center; transform: rotate(-10deg); }
.hero-note:after { content: ''; display: block; width: 62px; border-top: 2px solid; margin: 12px auto 0; transform: rotate(-3deg); }
/* Moduli: elementi nativi, con lo stesso aspetto delle card del riferimento. */
.panels { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: stretch; }
.panel { min-width: 0; border-radius: 15px; padding: 22px 24px; box-shadow: 0 6px 12px #493f3c14; }
.budget-panel { background: #f3fffff5; }
.surprise-panel { background: #ffeef5f5; position: relative; }
.panel-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; }
.panel-heading h2 { font-size: 35px; }
.panel-heading p { font-size: 13px; margin-top: 4px; color: #343d4e; }
.search-icon { width: 45px; height: 45px; color: #147f89; }
.sparkle { font-size: 42px; line-height: 1; color: var(--pink); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.field { min-width: 0; background: #ffffffb5; padding: 7px 7px 5px; border-radius: 12px; box-shadow: 0 2px 5px #152d4110; border: 1px solid #edf0f3; }
.field > label { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #30384b; margin-bottom: 4px; }
.field > label svg { width: 14px; height: 14px; }
.field > label b { font-size: 16px; line-height: 14px; }
.budget-control { display: flex; align-items: center; background: #ecf5f7; border-radius: 8px; overflow: hidden; height: 39px; }
.budget-control > span { padding-left: 10px; background: white; height: 100%; display: grid; place-items: center; font-size: 18px; }
.budget-control input { width: 0; min-width: 0; flex: 1; border: 0; background: white; font-size: 18px; font-weight: 600; height: 100%; padding: 6px; appearance: textfield; }
.budget-control input::-webkit-inner-spin-button { appearance: none; }
.budget-control button { background: transparent; font-size: 23px; width: 42px; line-height: 24px; }
.budget-control button + button { border-left: 1px solid #dce9ec; }
.select-wrap { position: relative; display: flex; align-items: center; }
.select-wrap > svg { position: absolute; left: 8px; width: 17px; height: 17px; pointer-events: none; }
.select-wrap select { width: 100%; height: 39px; min-width: 0; padding: 5px 24px 5px 33px; background: #ffffffbf; border: 1px solid #f2f3f5; border-radius: 7px; font-size: 12px; }
.experiences { border: 0; padding: 0; margin: 15px 0 20px; min-width: 0; }
.experiences legend { padding: 0; margin-bottom: 10px; font-size: 13px; }
.experience-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.experience { display: flex; align-items: center; justify-content: center; gap: 8px; position: relative; padding: 12px 5px; background: #ffffffbd; border: 1px solid #e9edef; box-shadow: 0 2px 4px #17243808; border-radius: 11px; cursor: pointer; font-size: 12px; }
.experience input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.experience:has(input:focus-visible) { outline: 3px solid #156db4; outline-offset: 3px; }
.experience:has(input:checked) { background: #a7e5ed; border-color: #a7e5ed; }
.experience svg { width: 23px; height: 23px; }
.sea svg, .nature svg { color: #087d84; }
.city svg { color: var(--pink); }
.culture svg { color: #8935d7; }
.relax svg { color: #289c6a; }
.custom-dates { display: flex; gap: 12px; margin-top: 12px; }
.custom-dates[hidden] { display: none; }
.custom-dates label { flex: 1; min-width: 0; }
.custom-dates input { display: block; width: 100%; padding: 8px; border: 1px solid #dce9ec; border-radius: 8px; margin-top: 5px; }
.surprise-panel .panel-heading { margin-bottom: 5px; gap: 10px; }
.surprise-intro { font-size: 13px; margin-bottom: 18px; color: #3b3544; }
.textarea-wrap { background: #fff; border: 1px solid #f3eaf0; border-radius: 13px; padding: 14px; box-shadow: 0 3px 6px #59263708; margin-bottom: 10px; }
.textarea-wrap textarea { width: 100%; height: 87px; padding: 0; border: 0; resize: vertical; background: transparent; font-size: 13px; line-height: 1.45; min-height: 87px; }
.textarea-wrap textarea::placeholder { color: #626574; opacity: 1; }
.count { display: block; text-align: right; font-size: 10px; color: #727681; margin-top: 4px; }
.suggestions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 21px; }
.suggestions button { display: flex; align-items: center; gap: 9px; background: #ffffff90; border: 1px solid #f3e5ec; border-radius: 25px; padding: 9px 12px; font-size: 11px; text-align: left; }
.suggestions button:hover { background: white; }
.suggestions svg { width: 16px; height: 16px; }
.sticky { position: absolute; right: -24px; top: -38px; z-index: 2; width: 125px; padding: 12px; background: linear-gradient(120deg, #fff2b3, #ffec9b); font-size: 17px; line-height: .98; transform: rotate(-8deg); box-shadow: 1px 5px 6px #4b3f2533; }
.paperclip { position: absolute; right: 14px; top: -7px; width: 11px; height: 36px; border: 2px solid #ea448b; border-radius: 7px; transform: rotate(4deg); }
/* Vantaggi e destinazioni. */
.benefits { background: #ffffffde; padding: 23px 0; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefits article { display: flex; align-items: center; gap: 13px; }
.benefits article > svg { width: 39px; height: 39px; stroke-width: 1.6; }
.benefits h3 { font-size: 12px; font-weight: 700; margin-bottom: 4px; }
.benefits p { font-size: 11px; color: var(--muted); }
.inspiration { background: linear-gradient(115deg, #f0f1fa, #edf7fd); padding: 21px 0 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 12px; }
.section-heading p { font-size: 15px; margin-top: 2px; }
.text-link { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; background: none; padding: 10px 0; }
.text-link svg { width: 18px; }
.destination-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.destination { min-width: 0; border-radius: 16px; background: white; overflow: hidden; box-shadow: 0 2px 4px #1520320d; transition: transform .2s; }
.destination:hover { transform: translateY(-4px); }
.destination > img { height: 165px; width: 100%; object-fit: cover; background: #bfdae3; }
.destination-body { padding: 14px 16px 17px; position: relative; }
.destination-body h3 { font-size: 17px; margin-bottom: 3px; }
.destination-body p { font-size: 13px; padding-right: 23px; }
.tag { position: absolute; top: -18px; left: 12px; padding: 4px 11px; border-radius: 20px; font-size: 12px; }
.tag-sea { background: #13bfd0; color: #063640; }
.tag-city { background: #f13a95; color: white; }
.tag-relax { background: #8cdeb4; }
.tag-culture { background: #ffd25a; }
.destination-body button { position: absolute; right: 15px; bottom: 14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: white; }
.destination-body button svg { width: 17px; height: 17px; }
/* Banner fotografico, testimonianze e footer ondulato. */
.travel-banner { background-color: #b8d9e5; background-image: linear-gradient(90deg, #d7e8f360, transparent 55%), var(--banner-image); background-size: cover; background-position: center 50%; }
.banner-content { min-height: 195px; display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 23px 25px; }
.banner-content > .handwritten { font-size: 31px; line-height: 1.1; transform: rotate(-5deg); text-shadow: 0 1px 8px white; }
.banner-card { position: relative; transform: rotate(-3deg); background: #fffcfd; padding: 20px 74px 20px 24px; border-radius: 17px; min-width: 335px; box-shadow: 0 5px 20px #26304415; }
.banner-card h2 { font-family: inherit; font-size: 14px; line-height: 1.3; }
.banner-card p { font-size: 23px; line-height: 1.1; margin-bottom: 12px; }
.banner-card .button { min-height: 43px; font-size: 14px; padding: 10px 30px; }
.banner-plane { position: absolute; right: 21px; top: 24px; color: var(--pink); width: 30px; height: 30px; }
.flight-trail { position: absolute; right: 31px; bottom: 13px; font: 38px var(--script); color: var(--pink); border-right: 2px dashed; border-bottom: 2px dashed; border-radius: 50%; width: 45px; height: 56px; transform: rotate(25deg); }
.reviews { padding: 25px 0 33px; background: linear-gradient(110deg, #fafbfc, #f9fafb); }
.reviews h2 { margin-bottom: 18px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; display: flex; align-items: flex-start; gap: 15px; background: #fff; border: 1px solid #f1f1f3; border-radius: 15px; padding: 15px; box-shadow: 0 2px 5px #14253c03; }
.review > img { width: 55px; height: 55px; object-fit: cover; border-radius: 50%; background: #e7eef1; }
.stars { color: #ffb51c; font-size: 19px; line-height: 1; }
.review blockquote { font-size: 12px; line-height: 1.5; margin: 7px 0; }
.review figcaption { font-size: 11px; color: var(--muted); }
.footer { position: relative; background: linear-gradient(100deg, #fce7f3, #fff0de 65%, #fde6ef); padding: 22px 0 12px; margin-top: 30px; }
.wave { position: absolute; left: 0; top: -55px; width: 100%; height: 56px; color: #fbeded; stroke: none; }
.footer-content { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 92px; }
.motto { display: flex; align-items: center; gap: 24px; position: relative; }
.motto > svg { color: #159aaf; align-self: flex-start; transform: rotate(-16deg); width: 38px; height: 38px; }
.motto p { font-size: 43px; color: #e90c81; white-space: nowrap; transform: rotate(-6deg); }
.motto p:after { content: ''; display: block; border-top: 3px solid #ec188a; border-radius: 50%; width: 45%; height: 9px; margin-left: auto; }
.motto p > span { position: absolute; right: -23px; top: -21px; color: #f6b41a; font-size: 58px; transform: rotate(120deg); }
.footer-trail { position: absolute; left: -22px; top: 31px; color: #199bb0; border-right: 1px dashed; border-bottom: 1px dashed; border-radius: 50%; font: 34px var(--script); width: 45px; height: 63px; transform: rotate(30deg); }
.footer-steps { display: flex; gap: 30px; }
.footer-steps a { display: flex; align-items: center; gap: 9px; font-size: 11px; }
.footer-steps svg { width: 27px; height: 27px; }
.footer .button { min-width: 225px; border-radius: 24px; }
.demo-note { text-align: center; font-size: 10px; color: #76717a; margin: 16px 20px 0; }
/* Messaggi di anteprima: nessuna ricerca o prenotazione viene simulata. */
dialog { border: 0; border-radius: 20px; padding: 32px; max-width: 440px; width: calc(100% - 36px); box-shadow: 0 15px 70px #13253540; }
dialog::backdrop { background: #0c152b70; backdrop-filter: blur(3px); }
dialog h2 { margin-top: 10px; }
dialog p { line-height: 1.6; margin: 15px 0 22px; }
.dialog-close { position: absolute; right: 10px; top: 8px; font-size: 28px; }
/* Desktop compatto. */
@media (max-width: 1100px) {
  .header nav { gap: 20px; font-size: 11px; }
  .header-actions { gap: 10px; }
  .brand > svg { width: 40px; }
  .brand strong { font-size: 39px; }
  .panel { padding: 20px; }
  .panel-heading h2 { font-size: 31px; }
  .experience-options { gap: 7px; }
  .experience { gap: 6px; font-size: 11px; }
  .experience svg { width: 21px; }
  .hero h1 { font-size: 58px; }
  .destination > img { height: 140px; }
  .motto p { font-size: 37px; }
  .motto { gap: 20px; }
  .footer-steps { gap: 22px; }
  .footer .button { min-width: 215px; }
  .benefit-grid { gap: 16px; }
  .benefits article { gap: 10px; }
  .banner-content { min-height: 175px; }
}
/* Tablet. */
@media (max-width: 900px) {
  .container { width: 92%; }
  .header { flex-wrap: wrap; gap: 12px; padding-block: 14px 12px; }
  .header nav { order: 3; width: 100%; justify-content: center; gap: 30px; }
  .header-actions { margin-left: auto; }
  .hero-copy { padding-left: 5px; }
  .hero h1 { font-size: 58px; }
  .hero-note { right: 4%; font-size: 25px; }
  .hero-copy > p { font-size: 17px; }
  .panels { grid-template-columns: 1.15fr 1fr; }
  .panel { padding: 17px 14px; }
  .panel-heading { gap: 8px; }
  .panel-heading h2 { font-size: 29px; }
  .search-icon { width: 33px; }
  .panel-heading p, .surprise-intro { font-size: 11px; }
  .experience-options { gap: 5px; }
  .experience { flex-direction: column; gap: 5px; padding: 8px 3px; }
  .fields { gap: 8px; }
  .select-wrap select { font-size: 11px; padding-left: 27px; }
  .select-wrap > svg { left: 6px; width: 15px; }
  .budget-control button { width: 30px; }
  .sticky { width: 110px; font-size: 16px; right: -14px; top: -33px; padding: 11px; }
  .suggestions { gap: 7px; margin-top: 18px; }
  .suggestions button { font-size: 10px; padding: 8px; gap: 6px; }
  .panel .button { font-size: 14px; padding-inline: 10px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .benefits h3 { font-size: 13px; }
  .benefits p { font-size: 12px; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .destination > img { height: 185px; }
  .banner-content { padding-inline: 5px; gap: 20px; }
  .banner-content > .handwritten { font-size: 27px; }
  .banner-card { min-width: 310px; padding-left: 18px; padding-right: 60px; }
  .review-grid { gap: 12px; }
  .review { gap: 10px; padding: 12px; }
  .review > img { width: 40px; height: 40px; }
  .review blockquote { font-size: 11px; }
  .footer-content { flex-wrap: wrap; justify-content: center; column-gap: 55px; row-gap: 20px; }
  .motto { margin-right: 20px; }
}
/* Smartphone. */
@media (max-width: 700px) {
  .header { min-height: 76px; gap: 10px; padding-top: 12px; }
  .brand > svg { width: 34px; height: 34px; }
  .brand strong { font-size: 33px; }
  .brand small { font-size: 10px; }
  .brand { gap: 6px; }
  .header-actions { gap: 4px; }
  .header-actions .icon-button { display: none; }
  .header-actions .button { font-size: 12px; min-height: 39px; padding: 9px 16px; }
  .menu-toggle { display: block; order: 2; background: #ffffffb0; border-radius: 10px; width: 40px; height: 40px; font-size: 22px; }
  .header nav { display: none; gap: 0; flex-direction: column; background: #fffffff5; border-radius: 14px; padding: 8px; box-shadow: 0 8px 15px #12334414; }
  .header nav.is-open { display: flex; }
  .header nav a, .header nav button { width: 100%; padding: 12px; text-align: center; font-size: 14px; }
  .hero { padding: 20px 0 22px; }
  .hero-copy { padding: 0 3px 28px; }
  .hero h1 { font-size: clamp(43px, 8.7vw, 59px); line-height: .98; }
  .hero-copy > p { font-size: 16px; max-width: 440px; margin-top: 16px; }
  .hero-note { position: static; width: fit-content; margin: -8px 12px 24px auto; font-size: 23px; transform: rotate(-7deg); }
  .hero-note:after { margin-top: 5px; }
  .hero-scene { background-position: 63% top; background-size: auto 780px; background-repeat: no-repeat; background-color: #f8e6df; }
  .panels { grid-template-columns: 1fr; gap: 20px; }
  .panel { padding: 22px; border-radius: 16px; }
  .panel-heading h2 { font-size: 35px; }
  .panel-heading p, .surprise-intro { font-size: 13px; }
  .search-icon { width: 40px; height: 40px; }
  .fields { gap: 10px; }
  .select-wrap select { font-size: 12px; padding-left: 32px; }
  .select-wrap > svg { left: 8px; width: 17px; }
  .experience { flex-direction: row; padding: 12px 4px; gap: 6px; }
  .experience-options { gap: 7px; }
  .suggestions button { font-size: 12px; padding: 10px; }
  .panel .button { font-size: 16px; }
  .sticky { right: 12px; top: -16px; width: 116px; font-size: 16px; }
  .surprise-panel .panel-heading, .surprise-intro { padding-right: 95px; }
  .surprise-intro { max-width: 340px; min-height: 36px; }
  .textarea-wrap textarea { height: 100px; }
  .benefits { padding: 24px 0; }
  .benefit-grid { gap: 22px 15px; }
  .benefits article { align-items: flex-start; gap: 10px; }
  .benefits article > svg { width: 30px; height: 30px; }
  .benefits h3 { font-size: 12px; }
  .benefits p { font-size: 11px; line-height: 1.5; }
  .inspiration { padding-block: 25px; }
  .section-heading { align-items: flex-start; gap: 10px; }
  .section-heading h2 { font-size: 33px; }
  .section-heading p { font-size: 13px; }
  .text-link { font-size: 11px; max-width: 125px; gap: 5px; padding-top: 8px; text-align: right; }
  .destination-grid { gap: 17px 13px; }
  .destination > img { height: 160px; }
  .destination-body { padding: 17px 13px; }
  .destination-body h3 { font-size: 17px; }
  .destination-body p { font-size: 12px; }
  .destination-body button { right: 12px; bottom: 15px; }
  .banner-content { flex-direction: column; align-items: flex-start; padding: 28px 8px; gap: 75px; min-height: 370px; }
  .banner-content > .handwritten { font-size: 30px; }
  .banner-card { align-self: flex-end; min-width: 0; width: min(340px, 95%); }
  .travel-banner { background-position: 50% center; }
  .reviews { padding-block: 26px 35px; }
  .review-grid { grid-template-columns: 1fr; gap: 13px; }
  .review { padding: 17px; gap: 16px; }
  .review > img { width: 54px; height: 54px; }
  .review blockquote { font-size: 13px; }
  .review figcaption { font-size: 12px; }
  .footer-content { flex-direction: column; gap: 25px; }
  .motto p { font-size: 39px; }
  .motto { gap: 18px; margin-right: 0; }
  .footer-steps { gap: 35px; }
  .footer-steps a { font-size: 12px; }
  .footer { padding-top: 8px; }
  .footer .button { width: min(320px, 100%); }
  .demo-note { margin-top: 24px; font-size: 9px; }
}
@media (max-width: 420px) {
  .panel { padding: 18px 14px; }
  .panel-heading h2 { font-size: 30px; }
  .panel-heading p { font-size: 11px; }
  .hero-copy > p { font-size: 14px; }
  .desktop-break { display: none; }
  .experience { flex-direction: column; font-size: 11px; }
  .field > label { font-size: 11px; }
  .select-wrap select { font-size: 11px; }
  .destination-grid { grid-template-columns: 1fr; }
  .destination > img { height: 200px; }
  .motto p { font-size: 34px; }
  .suggestions button { font-size: 10px; }
  .header-actions .button { padding-inline: 12px; }
  .header-actions .button svg { display: none; }
  .sticky { width: 105px; }
  .surprise-panel .panel-heading { padding-right: 85px; }
  .surprise-panel .panel-heading h2 { font-size: 29px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition: none !important; }
}
@media (max-width: 350px) {
  .motto { gap: 10px; }
  .motto p { font-size: 29px; }
  .motto > svg { width: 28px; }
  .motto p > span { right: -12px; font-size: 40px; }
  .footer-trail { left: -8px; width: 30px; }
}
#favorites-dialog { width: min(560px, calc(100% - 28px)); max-height: calc(100dvh - 32px); overflow: auto; }
#favorites-dialog .modal-list { padding-left: 20px; margin-block: 20px; }
#favorites-dialog li { margin-block: 12px; overflow-wrap: anywhere; }
#favorites-dialog > a { display: block; margin-block: 16px; }
#favorites-dialog .text-link { font-size: 13px; }
@media (max-width: 700px) { .footer { overflow: hidden; } }

.demo-disclosure { margin: 0; padding: 10px 20px; background: #eaf8fa; color: #0c152b; text-align: center; font-size: 13px; line-height: 1.5; border-bottom: 1px solid #cde8ec; }
