/*
  Nao landing footer — one single footer, only for /nao/ and /es/nao/.
  Replaces the old "Take Nao with you" block + shared site footer stack.
  Reuses the shared footer classes (lk-site-end, lk-end-group, lk-end-bottom),
  so colors, light/dark inversion, socials, language switch and cookies stay identical.
*/

/* Surface: sits directly under the last Nao section, tighter than the shared footer. */
.lk-site-end.lk-nao-end{padding:40px 0 0}

/* Top band: Nao mark + message on the left, store actions on the right. */
.lk-nao-band{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:22px 40px;
  padding-bottom:30px;
  border-bottom:1px solid rgba(255,255,255,.15);
}
.lk-nao-lead{display:flex;align-items:center;gap:18px;min-width:0;flex:1 1 380px}

/* Nao mark: black artwork with transparent background; inverted to white on the dark footer. */
.lk-nao-mark{display:block;flex:none;width:58px;height:58px;filter:invert(1)}
html[data-theme="dark"] .lk-nao-mark{filter:none}

.lk-nao-copy{min-width:0}
.lk-nao-title{
  margin:0;font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.12;
  font-weight:750;letter-spacing:-.035em;
}
.lk-nao-note{margin:6px 0 0;max-width:62ch;font-size:.8rem;line-height:1.5;color:#b9bdc5}

/* Actions — same language as the Nao hero: round shapes, periwinkle accent (#8C95FF). */
.lk-nao-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}

.lk-nao-btn,.lk-nao-try{
  display:inline-flex;align-items:center;box-sizing:border-box;
  height:52px;border-radius:999px;white-space:nowrap;text-decoration:none;
  transition:filter .2s ease,background-color .2s ease,transform .2s ease;
}

/* Primary: Google Play */
.lk-nao-btn{
  gap:12px;padding:0 24px 0 8px;
  background:linear-gradient(135deg,#aab1ff,#8c95ff);
  color:#0a0d18;
  box-shadow:0 10px 24px -10px rgba(140,149,255,.65);
}
.lk-nao-btn-icon{
  flex:none;display:grid;place-items:center;
  width:36px;height:36px;border-radius:50%;
  background:#0e1220;color:#fff;
}
.lk-nao-btn-icon svg{display:block;width:16px;height:16px;margin-left:2px}
.lk-nao-btn-text{display:grid;gap:1px;text-align:left}
.lk-nao-btn-text small{font-size:.68rem;line-height:1.1;font-weight:600;letter-spacing:.01em;opacity:.72}
.lk-nao-btn-text strong{font-size:1rem;line-height:1.1;font-weight:700;letter-spacing:-.01em}
.lk-nao-btn:hover{filter:brightness(1.07)}

/* Secondary: Try it here */
.lk-nao-try{
  gap:10px;padding:0 22px 0 18px;
  border:1px solid rgba(246,246,244,.28);
  font-size:.92rem;font-weight:600;
}
.lk-nao-try svg{flex:none;width:18px;height:18px;color:#aab1ff}
.lk-nao-try:hover{background:rgba(255,255,255,.08);border-color:rgba(246,246,244,.5)}

.lk-nao-btn:focus-visible,.lk-nao-try:focus-visible{outline:2px solid #8c95ff;outline-offset:3px}

@media(prefers-reduced-motion:no-preference){
  .lk-nao-btn:hover,.lk-nao-try:hover{transform:translateY(-1px)}
}

/* Link columns: the shared four plus a dedicated Nao column. */
.lk-nao-end .lk-nao-links{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:20px 28px;padding-top:26px;
}

/* Closer to the columns than in the shared footer. */
.lk-nao-end .lk-end-bottom.preview-footer-bottom{margin-top:26px!important}

/* Light surface (site dark theme inverts the footer, as on every other page). */
html[data-theme="dark"] .lk-nao-end .lk-nao-band{border-bottom-color:rgba(16,17,20,.16)}
html[data-theme="dark"] .lk-nao-note{color:#62676f}
html[data-theme="dark"] .lk-nao-btn{box-shadow:0 10px 24px -12px rgba(47,59,255,.45)}
html[data-theme="dark"] .lk-nao-try{border-color:rgba(16,17,20,.28)}
html[data-theme="dark"] .lk-nao-try svg{color:#2f3bff}
html[data-theme="dark"] .lk-nao-try:hover{background:rgba(16,17,20,.06);border-color:rgba(16,17,20,.5)}
html[data-theme="dark"] .lk-nao-btn:focus-visible,
html[data-theme="dark"] .lk-nao-try:focus-visible{outline-color:#2f3bff}

@media(max-width:900px){
  .lk-nao-end .lk-nao-links{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:620px){
  .lk-site-end.lk-nao-end{padding-top:30px}
  .lk-nao-band{gap:18px;padding-bottom:24px}
  .lk-nao-lead{flex-basis:100%;gap:14px}
  .lk-nao-mark{width:50px;height:50px}
  .lk-nao-actions{width:100%}
  .lk-nao-btn,.lk-nao-try{flex:1 1 auto;justify-content:center}
  .lk-nao-end .lk-nao-links{grid-template-columns:1fr 1fr;gap:22px 18px;padding-top:22px}
  .lk-nao-end .lk-nao-links .lk-end-group:first-child{grid-column:1/-1}
  .lk-nao-end .lk-end-bottom.preview-footer-bottom{margin-top:22px!important}
}

/* Quiet, text-only access to Nao-specific support and legal pages. */
.lk-nao-end .lk-nao-meta-links{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  column-gap:15px;
  row-gap:5px;
  margin-top:10px;
}
.lk-nao-end .lk-nao-meta-links a{
  color:inherit;
  opacity:.76;
  font-size:.75rem;
  line-height:1.55;
  font-weight:500;
  text-decoration:underline;
  text-decoration-color:currentColor;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  transition:opacity .2s ease;
}
.lk-nao-end .lk-nao-meta-links a:hover,
.lk-nao-end .lk-nao-meta-links a:focus-visible{opacity:1}
