/* Zuppa 1.4 site: language switch with more languages, the language section, the import demo. Loaded after style.css. */

/* ---------- nav: EN | DE | more ---------- */
.lang { align-items: center; }
.lang-more { position: relative; }
.lang-more summary { list-style: none; height: 28px; padding: 0 10px; display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; border-radius: 999px; color: var(--muted); cursor: pointer; user-select: none; }
.lang-more summary::-webkit-details-marker { display: none; }
.lang-more summary .i { width: 15px; height: 15px; }
.lang-more summary::after { content: ''; width: 6px; height: 6px; margin: -3px 0 0 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); }
.lang-more[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.lang-more summary[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(43, 26, 20, .12); }
.lang-menu { position: absolute; right: -3px; top: calc(100% + 10px); z-index: 60; min-width: 196px; padding: 6px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -20px rgba(43, 26, 20, .35); display: grid; }
.lang .lang-menu a { height: auto; padding: 9px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); display: flex; justify-content: space-between; gap: 14px; }
.lang .lang-menu a:hover { background: var(--soft); color: var(--ink); }
.lang .lang-menu a[aria-current] { background: var(--soft); color: var(--ink); box-shadow: none; font-weight: 600; }
.lang-menu a small { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.lang-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 8px; }
@media (max-width: 480px) { .lang-more summary { padding: 0 8px; } .lang-more summary .i { display: none; } }

/* ---------- banner on the pages for languages the app doesn't speak yet ---------- */
.soon-bar { position: relative; z-index: 3; max-width: calc(var(--maxw) + var(--gut) * 2); margin: 14px auto 0; padding: 0 var(--gut); }
.soon-bar p { margin: 0; padding: 12px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); text-align: center; }
.soon-bar b { color: var(--coral-d); }

/* ---------- the language section ---------- */
.lx-body { min-width: 0; }
.lx-head { max-width: 760px; }
.lx .mark b { display: grid; place-items: center; }
.lx .mark .i { width: 18px; height: 18px; stroke-width: 2; }

/* the demo: one French page in, recipes out */
.demo { margin-top: clamp(44px, 5vw, 70px); display: grid; grid-template-columns: minmax(0, 1.05fr) 86px minmax(0, 1fr); align-items: center; gap: 0; }
.dsrc { border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--soft), 0 40px 70px -40px rgba(43, 26, 20, .5); transform: rotate(-1.2deg); }
.dsrc .url { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #EFE8DE; font-size: 13px; color: var(--ink-2); }
.dsrc .url i { width: 9px; height: 9px; border-radius: 50%; background: rgba(43, 26, 20, .18); }
.dsrc .url span { margin-left: 8px; flex: 1; min-width: 0; padding: 4px 12px; border-radius: 99px; background: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dsrc .bd { padding: 22px 24px 24px; }
.dsrc .ad { height: 46px; border-radius: 10px; margin: 14px 0; background: repeating-linear-gradient(-45deg, #F1EBE2 0 10px, #ECE4D9 10px 20px); display: grid; place-items: center; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #B9AA9C; }
.dcard h3, .dsrc h3 { font-family: var(--f-d); font-size: 23px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.dsrc ul, .dcard ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dsrc li, .dcard li { display: flex; align-items: center; gap: 10px; }
.dcard li::before { content: ''; width: 7px; height: 7px; flex: none; background: #EE8686; border-radius: 0 50% 50% 50%; transform: rotate(45deg); }
.dsrc li::before { content: '•'; color: var(--muted); }
.dstep { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.dstep b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; margin-bottom: 10px; border-radius: 99px; background: var(--soft); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.tag.now { background: #E6F0E3; color: #3F6B41; }
.tag.next { background: #FDECEC; color: var(--coral-d); }
.darrow { display: grid; justify-items: center; gap: 8px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.darrow .i { width: 34px; height: 34px; stroke-width: 2.2; }
.douts { display: grid; gap: 16px; }
.dcard { border-radius: 20px; background: var(--paper); padding: 18px 20px 20px; box-shadow: 0 0 0 1px var(--soft), 0 30px 60px -40px rgba(43, 26, 20, .45); }
.dcard.ghost { background: transparent; box-shadow: none; border: 1.5px dashed rgba(226, 59, 59, .35); padding: 14px 20px 16px; }
.dcard.ghost h3 { font-size: 19px; }
.dcard .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-note { margin: 26px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); max-width: 46em; }
.demo-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ten languages */
.langs { margin-top: clamp(70px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 80px); align-items: start; }
.langs h3 { font-family: var(--f-d); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 800; }
.langs p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.lgroup + .lgroup { margin-top: 22px; }
.lgroup > b { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.chips-l { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-l a, .chips-l span { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--ink-2); }
.chips-l .on { border-color: rgba(76, 122, 78, .4); color: var(--ink); }
.chips-l .on::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #4C7A4E; }
.chips-l .soon { border-style: dashed; }
.chips-l a:hover { border-color: var(--ink-2); }

/* real screens from the test build */
.shots { margin-top: clamp(60px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); justify-items: center; }
.shot { margin: 0; display: grid; justify-items: center; gap: 14px; }
.shot .phone { --pw: min(270px, 24vw); aspect-ratio: 1320 / 2868; }
.shot .phone img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--pw) * .125); }
.shot figcaption { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.shots-note { margin: 22px auto 0; text-align: center; font-size: 14px; color: var(--muted); max-width: 40em; }

@media (max-width: 860px) {
  .lx .mark .i { width: 15px; height: 15px; }
  .demo { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .dsrc { transform: none; }
  .darrow { grid-auto-flow: column; justify-content: center; align-items: center; }
  .darrow .i { transform: rotate(90deg); width: 26px; height: 26px; }
  .langs { grid-template-columns: minmax(0, 1fr); }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; padding: 0 var(--gut) 30px; margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: center; flex: none; }
  .shot .phone { --pw: min(230px, 62vw); }
}
@media (max-width: 480px) { .dcard .two { grid-template-columns: 1fr; } .dsrc .bd { padding: 18px; } }
@media (max-width: 420px) { .nav .btn { padding: 0 14px; } .nav-end { gap: 6px; } .soon-bar p { font-size: 14px; padding: 10px 14px; } }
